Posts

Showing posts from December 5, 2013

EMF (Electro Magnetic Field) detector

Image
Hi guys, I'm Saksham Prakash from Lucknow, India. Here is my newly made EMF detector. It will light up an LED whenever it is brought close to electricity. Working (Simple electromagnetism)- Wherever there is a flow of electric current (in an electric appliance), there is an electromagnetic field generated (around the wire Fig. 1) . When the antenna (coiled for better results) is brought close to it, current is induced in the antenna. The Arduino micro controller is programmed to detect this tiny amount of current and if it is above the normal criteria, it lights up the LED.  Program- void setup(){                                                    pinMode(A5,INPUT);                                     pinMode(9,OUTPUT);                                       Serial.begin(9600); } void loop(){                                                                 int a = analogRead(A5);                                       Serial.println(a);