EMI Detector Using Arduino




Introduction: EMI Detector Using Arduino

About: Hey, in 1968 I wanted to be an Electronic Engineer. I graduated from Middlesex University (Enfield Campus - North London) when it was still a polytechnic in 1997. I came to Coventry forthe work in September 19…

I recently had a problem with electrical noise, and developed this simple EMI noise detector to track the source down. This Instructable describes my problem, and the solution I developed. I offer it in the hope it will be useful to you or else spark further ideas in your mind.

Step 1: The Problem

Having the house to myself, for the first time in a long time, I intended to enjoy some of my vinyl collection at volume levels which would bias my loud-speakers into their optimum operating mode, especially as vinyl is making a resurgence.

Hmmmm.... the Beatles sounded like they were frying chips, which began as soon as the stylus set down upon the disk. As soon as the tone arm returned to its rest the frying/sizzling stopped... very strange (as the Beatles said in Penny Lane.)

Clearly, when the arm was lifted off the record or on its rest it was muting. When the record was playing it was un-muted and picking up interference from somewhere.

My first though was that the near-by central heating timer was generating noise, as the TV was clearly off.

I decided I needed an EMI sniffer ...£$£$ how much???? Then I remembered an earlier Instructable about using an Arduino as an EMI detector, so I thought I would develop my own, based on a simple light-level meter we had made at an Arduino workshop run at Coventry Makerspace (http://www.coventrymakerspace.com)

Step 2: The Prototype

I set-to replacing the light-dependent-resistor with a high-value resistor and a piece of wire as an aerial/antenna. After a bit of tuning it worked pretty well. I replaced four of the red LEDs with three green and one yellow. The Arduino senses the voltage on pin A5 ( the analogue input pin nearest the end!!) and the more the voltage the more LEDs light up.

It worked pretty much as expected, after a bit of tweaking of the threshold values. .pdfs of the design files are provided and a video of the prototype working...

Step 3: Parts List

The components list:

3 x red LEDs

1 x yellow LED

3 x green LEDs

7 x 1KΩ resistors

1 x 4.7MΩ resistor

1 piece of perforated board (dare I say plain Vero Board?)

Arduino connector strips

1 Battery connector

Hook-up wire

(Please see images 1-3 above)

...oh, yes, and an Arduino - of course!!


Soldering iron, solder, cutters and pliars

I decided to use the perforated board to save the time and expense of developing a PCB - I used point-to-point wiring instead.

Step 4: Putting It Together

I cut the perforated board to size (as you can see it was recycled from another project!) then just as I was about to glue the connector strips I realised that the spacing on the Arduino was not consistantly 0.1 pitch. I set about "relieving" the edge ...yep, the board sheared (D'Oh!!) ...but wait; happy accident. with the use of a file to clean the edge, everything fitted perfectly, please see images 1 and 2.

I then realised that the LEDs would not fit on the 0.1 pitch, so I spaced them out ... they then did not nicely align with the Arduino pins, so you will see in the script I used alternative pins for the final version! Images 3 to 6 show me constructing the circuit; I soldered wires to the connector pins (outputs 13, 11, 9, 7, 5, 3 and 1) for the LEDs, then placed the LEDs, then verified I had them the right way round (!!!) before soldering them to the wires. I then placed the 7 1K resistors, soldered them to the LEDs and the negative connection, then the 4.7M resistor was placed, one end soldered to ground, the other to the piece of wire I was using as an antenna. As shown in image 7, I was ready to go. The .pdf is the final script ...wow, its even allowed me to upload the actual .ino script...enjoy!

Step 5: Results - and Result!

The first result was drooping - no the antenna, so I had to stiffen it with a piece of stiffer wire.

The next problem was that my PP3 battery had seen better days and died ... in the end I just plugged the Arduino into a powered USB hub!

Well, then there was a surprise; the central heating clock was making no noise at all (well, Randall, you see, good honest name that - nearly my name!)

Ahhh, but the TV was emitting lots of noise ! As you can see from image 3 above, the TV was "turned off", but image 4 shows it was still turned on at the wall.... hmmmm... I turned it off att he plug ... and all was quiet as shown by image 5. RESULT!

So, I was able to enjoy Sgt. Pepper in all its analogue glory... until my wife and kids came in and turned the TV on again! My next project is clearly mending the TV!

Soldering Challenge

Participated in the
Soldering Challenge

Be the First to Share


    • Puzzles Challenge

      Puzzles Challenge
    • CNC and 3D Printing Contest

      CNC and 3D Printing Contest
    • Lamps Challenge

      Lamps Challenge


    mati ur rehman
    mati ur rehman

    7 years ago

    i want to make a metal detector using tda0161, when the detector detects the metal from a specific distance the buzzer sounds but as the metal comes near and near the buzzer sound increases!!

    so anyone guide me for this

    i want to use this with arduino

    As an electronic tech, I enjoyed finding out the EMI source as much as the build description. I wouldn't be surprised to learn you had a failed or high ESR electrolytic cap or two in your TV's power supply. Anyway, I look forward to seeing that 'able whenever you get around to doing it. Cheers.


    Reply 7 years ago on Introduction

    Hey; thanks for your comment ... glad you enjoyed the article. Yes, I have happy memories of working on a switched-mode power supply (July 1975 - when they were in their infancy) - a colleague had a theory that all electronic components were made of smoke, letting some smoke out did no harm to some but destroyed others!!

    I'm hoping for a dry joint or two rather than component failure ... ho ho!



    Reply 7 years ago on Introduction

    Yes the soldering should never be assumed to be perfect. It is an equally likely outcome and a lot cheaper to fix, too.

    Allegedly one of my coworkers had a little tiny golden plunger with which he could put the magic smoke back inside the component. Lucky git.

    I also read/enjoyed your 'able on yorkshire pudding. You should consider adapting your recipe for the camping food contest. The entries so far are pretty uninspiring, but yorkshire pudding on the barbie would almost certainly place in the top two or three.

    Just in case you hadn't heard about the contest, I thought you should be aware of the opportunity. I'd vote for it.


    Reply 7 years ago on Introduction

    Hey; thanks for the heads-up...I'd not considered puds on the barbie (...fire in the sky???)...guess they would have to be pre-cooked so they didn't slip through the grill! (Sorry, running joke at work ... 'X' on the 'Y' elicits the response "fire in the sky" as in smoke on the water ... )


    7 years ago

    Nice write up and clever solution.


    Reply 7 years ago on Introduction

    Thank you. I was quite pleased that I got it looking like a shield... fortunately the connectors came with the Arduino ... and only £3 (UK) ... I can't beleive how cheap hardware is these days - my first micro cost me £150, and I paid £32 for 32K of DRAM... which I had to solder onto a board myself, along with the decoupling capcitors... my wife got me a 32G memory stick last week for £16 (OK, it was on offer but hey, I never expected memory to become that cheap) oooh...I must be getting old!!!

    Thanks for your comment.