Custom Christmas Light Controller Blocks Blinks

Finding that his recently purchased LED Christmas lights defaulted to an annoying blinking pattern that took a ridiculous seven button presses to disable each time they were powered up, [Matthew Millman] decided to build a new power supply that keeps things nice and simple. In his words, the goal was to enable “all lights on, no blinking or patterns of any sort”.

Connecting the existing power supply to his oscilloscope, [Matthew] found the stock “steady on” setting was a 72 VAC peak-to-peak square wave at about 500 Hz. To recreate this, he essentially needed to find a 36 VDC power supply and swap the polarity back and forth at the same frequency. In the end the closest thing he could find in the parts bin was a HP printer power supply that put out 30 volts, so the lights aren’t quite as bright as they were before, but at least they aren’t blinking.

To turn that into a pair of AC square waves, the power supply is connected to a common L298 H-Bridge module. You might expect a microcontroller to show up at this point, but [Matthew] went old school, and created his two alternating 500 Hz square waves with a 555 timer and a 74HC74D dual flip-flop.

Unfortunately, he didn’t have the time to get a custom PCB made before Santa’s big night. Though as he points out, since legitimate L298s are backordered well into next year anyway, having the board in hand wouldn’t have helped much. The end result is that the circuit has to live on a breadboard for the current holiday season, but hopefully around this time next year we’ll get a chance to see the final product.

Keep Coffee Warm Through Induction Heating

Transformers have an obvious use for increasing or decreasing the voltage in AC systems, but they have many other esoteric uses as well. Electric motors and generators are functionally similar and can be modeled as if they are transformers, but the truly interesting applications are outside these industrial settings. Wireless charging is essentially an air-core transformer that allows power to flow through otherwise empty space, and induction cooking uses a similar principle to induce current flow in pots and pans. And, in this case, coffee mugs.

[Sajjad]’s project is an effort to keep his coffee warm while it sits on his desk. To build this special transformer he places his mug inside a coil of thick wire which is connected to a square wave generator. A capacitor sits in parallel with the coil of wire which allows the device to achieve resonance at a specific tuned frequency. Once at that frequency, the coil of wire efficiently generates eddy currents in the metal part of the coffee mug and heats the coffee with a minimum of input energy.

While this project doesn’t work for ceramic mugs, [Sajjad] does demonstrate it with a metal spoon in the mug. While it doesn’t heat up to levels high enough to melt solder, it works to keep coffee warm in a pinch if a metal mug isn’t available. He also plans to upgrade it so it takes up slightly less space on his desk. For now, though, it can easily keep his mug of coffee hot while it sits on his test bench.

Continue reading “Keep Coffee Warm Through Induction Heating”

This Frequency Generator Knows How To Get Down

What kind of clever things could you do with a signal that had a period of 2 hours? Or 20? Any ideas? No seriously, tell us. Because [Joseph Eoff] has come up with a way to produce incredibly low frequency signals that stretch out for hours, and we’d love to figure out what we can do with it.

To be fair, it’s not like [Joseph] has any ideas either. He thought it would be an interesting project, and figures now that he has the technology, maybe some application will come to him. They say that if you’ve got a hammer everything looks like a nail, so maybe the next project he sends our way will be a sinusoidal fish feeder.

[Joseph] says doing the software side of things with Pure Data wasn’t a problem, but getting it out of the computer proved to be tricky. It turns out that your average computer sound card isn’t equipped to handle frequencies down into the millihertz range (big surprise), so they need to be coaxed out with some extra hardware. Using a simple circuit not unlike an AM demodulator, he’s able to extract the low-frequency signal from a 16 kHz carrier.

So if you ever find yourself in need of a handful of hertz, now you’ve got the tool to generate them. At least it’s more practical than how they used to generate low frequency signals back in the 1900s.

Modeling The Classic 555 Timer On A Breadboard

Over the years, readers have often commented that microcontrollers (or more specifically, the Arduino) are overkill for many of the projects they get used in. The admonition that the creator “Should have used a 555” has become something of a rallying cry for those who think modern electronic hobbyists are taking the easy way out.

But what if you think even the lowly 555 timer is overkill? In that case, perhaps you’ll be interested in a recent blog post by [TheMagicSmoke], where the reader is walked through the process of creating an analog of the classic integrated circuit on a somewhat larger scale. Finally, we can replace that cheap and handy IC with a mass of wires and components.

Alright, so you’ve probably guessed that there’s no practical reason to do this. Outside of some theoretical MacGyver situation in which you needed to create a square wave using parts salvaged from devices laying around, anyway. Rather, the project is presented as a good way to become more confident with the low-level operation of electronic circuits, which is something we think everyone can agree is a good thing.

The components used include a 74S00 quad NAND gate, a LM358 dual operational amplifier, a 2N2222A transistor, and a handful of passive components. [TheMagicSmoke] not only explains how the circuit is constructed, but shows the math behind how it all works. Finally, an oscilloscope is used to verify it’s operating as expected.

We respect a hacker on a mission, just last month [TheMagicSmoke] put together a similar “back to basics” post on how to interface with an I2C EEPROM.

Your USB Serial Adapter Just Became A SDR

To say that the RTL-SDR project was revolutionary might be something of an understatement. Taking a cheap little USB gadget and using it as a Software Defined Radio (SDR) to explore the radio spectrum from the tens of megahertz all the way into gigahertz frequencies with the addition of nothing more than some open source tools may go down as one of the greatest hacks of the decade. But even in the era of RTL-SDR, what [Ted Yapo] has manged to pull off is still pretty incredible.

With a Python script, a length of wire attached to the TX pin, and a mastery of the electron that we mere mortals can only hope to achieve, [Ted] has demonstrated using a common USB to serial adapter as an SDR transmitter. That’s right, using the cheap little UART adapter you’ve almost certainly got sitting in your parts bin right now and his software, you can transmit in the low megahertz frequencies and even up into VHF with some trickery. The project is still very much experimental, and though this may be the first time, we’re willing to bet this isn’t the last time you’ll be hearing about it.

The basic idea is that when sending certain characters over the UART serial line, they can combine with the start and stop bits to produce a square wave burst at half the baud rate. [Ted] found that sending a string of 0x55 at 19200 baud would generate a continuous square wave at 9600 Hz, and if he turned the baud rate all the way up to 2,000,000 where these USB adapters top out, that signal was transmitted at 1 MHz, right in the middle of the AM dial.

A neat trick to be sure, but alone not terribly useful. The next step was to modulate that signal by sending different characters over UART. [Ted] explains at great length his experiments with multi-level quantization and delta-sigma schemes, and each step of the way shows the improvement of the transmitted audio signal. Ultimately he comes up with a modulation scheme that produces a impressively clean signal, all things considered.

This alone is impressive, but [Ted] isn’t done yet. He realized that this method of transmission was generating some strong frequency harmonics which extended far beyond the theoretical maximum 1 MHz frequency of his UART SDR. In his experimentation he found he was able to pick up a signal from all the way out to 151 MHz, though it was too poor to be of any practical use. Dialing back the expectations a bit, he was able to successfully control a cheap 27 MHz RC toy using the 43rd harmonic of a 631 kHz signal at a range of about 10 feet with a FT232RL adapter, which he notes produces the cleanest signals in his testing.

[Ted] is still working on making transmissions cleaner and stronger by adding filters and amplifiers, but these early accomplishments are already very promising. His work reminds us of a low frequency version of the USB to VGA adapter turned GHz SDR transmitter, and we’re very eager to see where it goes from here.

Continue reading “Your USB Serial Adapter Just Became A SDR”

Tachometer Uses Light, Arduinos

To measure how fast something spins, most of us will reach for a tachometer without thinking much about how it works. Tachometers are often found in cars to measure engine RPM, but handheld units can be used for measuring the speed of rotation for other things as well. While some have mechanical shafts that must make physical contact with whatever you’re trying to measure, [electronoobs] has created a contactless tachometer that uses infrared light to take RPM measurements instead.

The tool uses an infrared emitter/detector pair along with an op amp to sense revolution speed. The signal from the IR detector is passed through an op amp in order to improve the quality of the signal and then that is fed into an Arduino. The device also features an OLED screen and a fine-tuning potentiometer all within its own self-contained, 3D-printed case and is powered by a 9 V battery, and can measure up to 10,000 RPM.

The only downside to this design is that a piece of white tape needs to be applied to the subject in order to get the IR detector to work properly, but this is an acceptable tradeoff for not having to make physical contact with a high-speed rotating shaft. All of the schematics and G code are available on the project site too if you want to build your own, and if you’re curious as to what other tools Arduinos have been used in be sure to check out the Arduino-based precision jig.

Continue reading “Tachometer Uses Light, Arduinos”

Follow The Bouncing Ball Of Entropy

When [::vtol::] wants to generate random numbers he doesn’t simply type rand() into his Arduino IDE, no, he builds a piece of art. It all starts with a knob, presumably connected to a potentiometer, which sets a frequency. An Arduino UNO takes the reading and generates a tone for an upward-facing speaker. A tiny ball bounces on that speaker where it occasionally collides with a piezoelectric element. The intervals between collisions become our sufficiently random number.

The generated number travels up the Rube Goldberg-esque machine to an LCD mounted at the top where a word, corresponding to our generated number, is displayed. As long as the button is held, a tone will continue to sound and words will be generated so poetry pours forth.

If this take on beat poetry doesn’t suit you, the construction of the Ball-O-Bol has an aesthetic quality that’s eye-catching, whereas projects like his Tape-Head Robot That Listens to the Floor and 8-Bit Digital Photo Gun showed the electronic guts front and center with their own appeal.

Continue reading “Follow The Bouncing Ball Of Entropy”