DC to DC conversion has come a long way. What was once took an electromechanical vibrator and transformer has been reduced to a PC board the size of a largish postage stamp that can be had for a couple of bucks on eBay. So why roll your own buck-boost converter for the ground up? Maybe because sometimes the best way to learn is by doing.
Hearing aids are probably more high-tech than you think. They are tiny. They have to go through a lot of trouble to prevent feedback. They need a long battery life. The good ones match their amplification to the inverse of your hearing loss (amplifying only the bands where you don’t hear as well).
[NotionSunday] put together a hearing amplifier project that probably doesn’t hit many of those design criteria. However, thanks to a 3D printed case, it looks pretty good. The device uses a dual opamp to boost the output from two microphones and feeds it to a conventional headphone.
When a job can be handled with a microcontroller, [devttys0] likes to buck the trend and build a circuit that requires no coding. Such was the case with this “Clapper”-inspired faux-AI light controller, which ends up being a great lesson in analog design.
The goal was to create a poor man’s JARVIS – something to turn the workshop lights on with a free-form vocal command. Or, at least to make it look that way. This is an all-analog circuit with a couple of op amps and a pair of comparators, so it can’t actually process what’s being said. “Aziz! Light!” will work just as well as any other phrase since the circuit triggers on the amplitude and duration of the spoken command. The AI-lite effect comes from the clever use of the comparators, RC networks to control delays, and what amounts to an AND gate built of discrete MOSFETs. The end result is a circuit that waits until you finish talking to trigger the lights, making it seems like it’s actually analyzing what you say.
We always enjoy [devttys0]’s videos because they’re great lessons in circuit design. From block diagram to finished prototype, everything is presented in logical steps, and there’s always something to learn. His analog circuits that demonstrate math concepts was a real eye-opener for us. And if you want some background on the height of 1980s AI tech that inspired this build, check out the guts of the original “Clapper”.
In order to help his friend prepare for a talk at DEFCON this weekend, [Craig] built an IR photodiode amplifier circuit. The circuit extended the detection range of the hack from a few inches to a few feet. We’re suckers for some well-designed analog circuitry, and if you are too, be sure to check out the video embedded below.
In the first article about measurement systems we looked at sensors as a way to bring data into a measurement system. I explained that a sensor measures physical quantities which are turned into a voltage with a variable conversion element such as a resistor bridge. There will always be noise in any system, and an operational amplifier (op-amp) can be used to remove some of that noise. The example we considered used an op-amp in a differential configuration that removes any disturbance signal that is common to both inputs of the op-amp.
But that single application of an op-amp is just skimming the surface of the process of bringing a real-world measurement of a physical quantity into a digital system. Often, you’ll need to do more work on the signal before it’s ready for sampling with a digital-to-analog converter. Signal conditioning with amplifiers is a deep and rich topic, so let me make it clear that that this article will not cover every aspect of designing and implementing a measurement system. Instead, I’m aiming to get you started without getting too technical and math-y. Let’s just relax and ponder amplifiers without getting lost in detail. Doesn’t that sound nice?
The physical world is analog and if we want to interface with it using a digital device there are conversions that need to be made. To do this we use an Analog to Digital Converter (ADC) for translating real world analog quantities into digital values. But we can’t just dump any analog signal into the input of an ADC, we need this analog signal to be a measurable voltage that’s clean and conditioned. Meaning we’ve removed all the noise and converted the measured value into a usable voltage.
Things That Just Work.
This is not new information, least of all to Hackaday readers. The important bit is that we rely on these systems daily and they need to work as advertised. A simple example are the headlights in my car that I turned on the first night I got in it 5 years ago and haven’t turned off since. This is not a daytime running lights system, the controller turns the lights on when it’s dark and leaves them off during the day. This application falls into the category of things that go largely unnoticed because simply put: They. Work. Every. Time. It’s not a jaw dropping example but it’s a well implemented use of an analog to digital conversion that’s practical and reliable.
Once upon a time, [Mike] bought an hourglass for his sister. He intended to build it into a clock and give it to her as a gift, but life and other projects got in the way. Fast forward a couple of decades to the point when it all came together and [Mike] had everything he needed on hand to build a beautiful wooden clock that automatically flips the hourglass over.
Every 60 minutes, the bulb, which is situated inside a handcrafted maple ring, rotates 180 degrees to restart the flow of sand. Whatever number is at the top of the outer wheel denotes the current hour. The digit for the next hour is always at the five o’clock position relative to the current hour. This works out because the pockets on the outside of the bulb’s ring share a 5:6 ratio with the gear teeth on the outer ring. Confused? Watch the time-lapse video from [Mike]’s that shows it in action.
[Mike] was determined to build this clock using only things he already had on hand, like a cheap digital watch to keep time and a car window motor to rotate the hourglass. He hacked a USB port into the watch so he could use the hourly chime function to trigger the motor through a quad op-amp. The motor runs until it is triggered to shut off optically—a pair of slits cut into the gear that moves the hourglass pass over a sensor. [Mike] built a beautiful box to hold the guts from a nice piece of walnut and spared no detail in the design.
There are a ton of build pictures on the projects site and an in-depth video tour of the clock, which is embedded after the break. Whether they are designed to amaze or confuse, we love a good clock build around here. If you’re into hourglasses, we featured a digital version not too long ago.