I am trying to make a simple (lol) EMF meter that reads the strength range of an EMF. So far I am using a 16x2 LCD, a Nano, a copper loop antenna that I made, and a 3MΩ resistor.
I wired the LCD to the Nano correctly (I got the I2C version ), and wired the antenna to pin A0 with the 3MΩ resistor going from A0 to GND.
Next I made a simple code that just reads the value of the analog pin and prints it on the display and in serial.
The problem is that the readings are strange (pun intended; "ghost meter"). When I place the antenna near a wall outlet or a power cable, the readings spike to about 40 and then immediately drop to 0 again. If I touch and hold the antenna, the readings go up to slowly 350 and then back down and stays on 0 for ~5 seconds, and repeat.
Oh, the wire attaching the antenna to pin A0 is ~6 inches long. The antenna is a loop antenna in a rectangular shape made of 22AWG solid copper (not enameled).
If you were in exactly the same location when he tested his device, yours would act the same. From your description, your device is working properly. The EMF is different in EVERY location in a building.
I do electrician stuff every so often, so I have my favorite pair of wire strippers and a simple voltage detector to make sure the line is off. It has 3 levels of sensitivity and three LEDs to indicate signal strength. I know that this device senses EMF to check voltage, but how would I copy that? It seems very basic. When it is put near a power source, it beeps and all three LEDs light up; when not, nothing happens.
How could I make mine do that, instead of what it is doing ? Not necessarily the three LEDs and the buzzer, but the way it reliably reads an EMF. It seems like I am missing something simple.
If you would post , per forum guidelines, a schematic diagram of your circuit (a photo of a hand-drawn schematic is acceptable) and a closeup photo of your actual hardware, people here would probably be more inclined to give you more help.
Which was my point. TBH I think this project is pointless as it stands, it doesn't measure anything useful.
The device the OP mentions that senses voltage will probably be seeing an alternating electric field generated by the mains. That's a different problem because the field comes from a low impedance source and so isn't discharged by the detector. You could sense that using an analogue input biased at mid-rail with say 2 1Mohm resistors, then looking at the 50/60Hz signal induced by the mains electric field. Clearly insulate the probe so you don't connect mains to the chip!
Certainly true! But it makes one aware that we are constantly in varying electromagnetic fields, no matter where we go. I know people who became rather paranoid when they learned this!
OP didn’t copy all the code in the project. The referred Hackster project is basically a “peak detector”. OP’s project sees the peaks but immediately clears them from the display. When I mocked up the circuit using my DVM and a 1MOhm resister, I got the same result. If you hold the reading, you get something closer to the Hackster project.
Yes. This project is pretty much just to be aware that we are constantly in electromagnetic fields; not so much for a specific measurement of something .