Fork me on GitHub

Project Notes

#535 AC Line Detector

Playing around with a simple AC line current detector.

Build

Here’s a quick demo..

clip

Notes

There are a bunch of suggested circuits for simple AC line detection if you just google.

This is a quick build of a common approach - essentially using an antenna to stimulate a “triple Darlington” cascade of NPN transistors for extreme gain.

Construction

The most common circuit is perhaps this design. It is powered from 9V, with resistors sized for current-limiting the transistors and load (usually and LED, piezo or both):

common_circuit

The circuit I’ve built here is however sized for a lower voltage. I’ve seen examples running from 4.5V, but I’m pushing the extreme end at 3V. To achieve that, all resistors are eliminated, and the construction of the antenna starts to become more significant.

Since we’re detecting 50/60Hz hum, the resonant frequency of the antenna is not particularly important, it is more a case of having sufficient inductance to tap enough energy to trigger the detector (I think).

Schematic

Breadboard

Breadboard Test

I initially tested the circuit on a breadboard:

AcLineDetector_bb_build

A quick demo showing it actually working:

clip

Final Build

Finalizing the circuit, attached to a 2xAAA battery holder:

AcLineDetector_build

Credits and References

About LEAP#535 powerdetector
Project Source on GitHub Return to the LEAP Catalog

LEAP is just my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.

For a while I have also included various scale modelling projects here too, but I've now split those off into a new repository. Check out LittleModelArt if you are looking for the modelling projects!

Project Gallery Notebook LittleCodingKata LittleModelArt More on my blog