Path: EDN Asia >> Design Ideas >> Power/Smart Energy >> Control holiday lights with a magic wand
Power/Smart Energy Share print

Control holiday lights with a magic wand

19 Dec 2012  | Vladimir Rentyuk

Share this page with your friends

This circuit allows you to turn on your holiday bulbs with a wave of the magic wand. The strings flash in sequence. At the heart of the idea is the magnetic wand. It gives the appearance of real magic. The main part of the circuit is a digital magnito-resistive sensor IC4 (Figure 1). Typical Hall-effect sensors are not suitable for this design because they do not work over an extended sensing distance. They also do not switch when excited by either magnetic pole. The Honeywell 2SS52 sensor works from either the north or south pole. It has good sensitivity to a magnetic field.

Click to enlarge

You place a magnet into the end of your "magic wand." You put sensor IC4 in the PCB or the housing of this device. The wand will work over a distance of 1in. R6 and C4 preset the device to an off state at power up. This RC circuit gives a high level output. This resets all the D-flip-flop triggers via the R inputs. You use capacitor C3 to make NAND gates IC1-1 and IC1-2 into a free-running oscillator. The reset circuit disables this signal generator at power up.

When you move a magic wand near sensor IC4, the trigger IC2-1 will change its output. This enables the signal generator and a binary counter formed by IC2-2, IC3-1, and IC3-2. The output drivers Q1, Q2, and Q3 will be opened by high outputs of the binary counter. The LED's chains will sequence in a binary counting mode. You can adjust the counting frequency by changing the values of R4 and C3. A second swipe of your magic wand will toggle IC4 and the lights will turn off. You could adapt this circuit with optocouplers and ac TRIACs to drive LED lights meant for ac wall power.

Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.

Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming

News | Products | Design Features | Regional Roundup | Tech Impact