It’s that time of year again where the thermometer drops, the sun sets earlier, and we try to warm our hearts with the solstice festival that is common in our own respective cultures. Of course we all need a few strings of lights, but wouldn’t it be great if we had PWM controlled dimmable lights?
When he started out on his PWM-controlled, AC-powered light box, [Waterbury] immediately realized that relays were not going to be an optimal solution. The best way out of the mess he dug himself into would be via zero crossing. After getting a transformer wired up to a transistor for the detection circuit, a short bit of code was written in the wee hours of the morning and a proof of concept was had.
With the control box complete, [Waterbury] hacked up a quick VB app and piped the output of a WinAmp visualizer into the lights via serial. The Inception demo was great, but finer-grain control was needed. After seeing a Hack a Day post on a nice equalizer chip, the seven band output on IC were converted to UART.
[Waterbury] took his seven-band AC-controlled light box to a Halloween party with his synth and the results looked awesome. You can check that out after the break, but we’re really waiting to see his Christmas decorations this year.
Continue reading “Dimming AC lights the hard way”
The folks over at Toymaker Television have put together another episode. This time they’re looking at bridge rectifiers and how they’re used in AC to DC converters.
This is a simple concept which is worth taking the time to study for those unfamiliar with it. Since Alternating Current is made up of cycles of positive and negative signals it must be converted before use in Direct Current circuits; a process called rectification. This is done using a series of 1-way gates (diodes) in a layout called a bridge rectifier. That’s the diamond shape seen in the diagram above.
This episode, which is embedded after the break, takes a good long look at the concept. One of the things we like best about the presentation is that the hosts of the show talk about actual electron flow. This is always a quagmire with those new to electronics, as schematics portray flow from positive to negative, but electron theory suggests that actual electron flow is the exact opposite. Continue reading “Experimenting with bridge rectifers for AC to DC power conversion”
[Todd Harrison] needed a way to run a 12 volt PC fan from mains voltage. Well, we think he really just needed something to keep him occupied on a Sunday, but that’s beside the point. He shows us how he did this in a non-traditional way by using the resistive load of an incandescent light bulb, a diode, and a capacitor to convert voltage to what he needed. You can read his article, or settle in for the thirty-five minute video after the break where he explains his circuit.
The concept here is fairly simple. The diode acts as a half-wave rectifier by preventing the negative trough of the alternating current from passing into his circuit. The positive peaks of the electricity travel through the light bulb, which knocks down the voltage to a usable level. Finally, the capacitor fills the gaps where the negative current of the AC used to be, providing direct current to the fan. It’s easy to follow but the we needed some help with the math for calculating the correct lightbulb to use to get our desired output current.
Continue reading “Light bulb, diode, and capacitor step mains down to 12V DC”
Prepare to learn. [Grenadier] has put together a collection of information about AC electricity that can safely be called a super-post. In 62 parts he covers a myriad of topics, some of them safe, many of them not so much. You may want to spend time reading through everything that he has to offer, but just in case you don’t, step one is a table of contents. In it you’ll find a listing of major points including transformers of every kind imaginable; from microwave ovens, neon signs, bug zappers, x-rays, and televisions. [Grenadier] covers the type of transformers that these items use, where to find them, and how to set up your own experiments. There’s plenty of pictures and several videos where the high-powered sparks fly. We feel like there’s enough here that we can be satisfied with vicarious AC interactions while safely in front of our monitor and far away from the heart-stopping action.
[Kusnick] is into using digital camera rigs for book scanning. The problem is that keeping the batteries charged is a pain, but there’s no external AC adapter jack which would allow him to use the mains. His solution was to build his own adapter to replace the batteries.
There are some fancy book scanning setups that allow you to just flip through the pages, but it’s much simpler to build a rig that uses two cameras. [Kusnick's] setup is the latter, which means he’s found two inexpensive cameras that don’t need to be mobile. The first attempt at making an adapter featured a block of acrylic with the positive and negative contacts connected to a shielded cord which he then hooked to an external supply. The camera would come on and then turn off citing that the cameras were “for use with compatible battery only”. Turns out there’s some type of verification circuit built into the proprietary batteries. But the solution to that came quite easily; remove the circuit board from the battery and insert it in the adapter to trick the camera.
This collection of touch sensor information should be of interest to anyone who liked the simple touch sensor post from Thursday. That was a resistive touch sensor and is covered in detail along with AC hum sensors that trigger based on induced current from power lines around you, and capacitive touch switches like we’ve seen in past hacks. Each different concept is discussed and clearly illustrated like the slide above. [Giorgos Lazaridis] has also put together individual posts that build and demonstrate the circuits. We’ve embedded his resistive sensor demo video after the break and linked to all three example circuits.
Continue reading “Touch sensors: overview, theory, and construction”
[Ladyada] is working on a tutorial series covering power supplies. If you’ve ever built an electronic project you’ve used some type of power supply but we think that most people have no idea how you get from mains power to the DC voltages that most small projects use. So if you want to learn, get started with the first installment which covers AC/DC converters based on a transformer like the one seen above.
These transformers are inside the heavy and hot wall-wart plugs that come with many electronics. We used one along with a breadboard power supply when building the pumpkin LED matrix. They use a pair of coils to step down the voltage to a much smaller level. From there it’s a matter of rectifying the AC into DC power, which she talks about in an easy to follow discussion.
We understand this type of converter quite well but we’re a bit foggy on switch-mode AC/DC converters that don’t use a transformer. They’re much better because you don’t have to build a regulator into the target project like you do with wall-warts. Can’t wait until she gets to that part of the series!