It’s hard to quit smoking. Trust us, we know. Half the battle is wanting to quit in the first place. Once you do, the other half is mostly fighting with yourself until enough time goes by that food tastes better, and life looks longer.
Sure, there are apps that’ll do the same thing. But anyone who’s ever tried to quit smoking knows how important it is to stay busy every minute while your brain deals with the lack of toxins. It runs on an ATtiny85 and a DS1307 RTC chip. Looks to us like [Danko] adapted a board from a different project, and we love it when that’s a possibility.
Once upon a time, [hardwarecoder] acquired a Gen8 HP microserver that he began to toy around with. It started with ‘trying out’ some visualization before spiraling off the rails and fully setting up FreeBSD with ZFS as a QEMU-KVM virtual machine. While wondering what to do next, he happened to be lamenting how he couldn’t also fit his laptop on his desk, so he built himself a slick, motion-sensing KVM switch to solve his space problem.
At its heart, this device injects DCC code via the I2C pins on his monitors’ VGA cables to swap inputs while a relay ‘replugs’ the keyboard and mouse from the server to the laptop — and vice-versa — at the same time. On the completely custom PCB are a pair of infrared diodes and a receiver that detects Jedi-like hand waves which activate the swap. It’s a little more complex than some methods, but arguably much cooler.
Using an adapter, the pcb plugs into his keyboard, and the monitor data connections and keyboard/mouse output to the laptop and server stream out from there. There is a slight potential issue with cables torquing on the PCB, but with it being so conveniently close, [hardwarecoder] doesn’t need to handle it much.
Here’s a Big Mouth Billy Bass with extra lip thanks to Alexa. If you’re not already familiar, Big Mouth Billy Bass is the shockingly popular singing animatronic fish designed to look like a trophy fish mounted to hang on your wall. In its stock condition, Billy uses a motion sensor to break into song whenever someone walks by. It’s limited to a few songs, unless you like to hack things — in which case it’s a bunch of usable parts wrapped in a humorous fish! Hackaday’s own [Bob Baddeley] combined the fish with an Amazon Echo Dot, connecting the two with an ATtiny84, and having Billy speak for Alexa.
[Bob] had a few problems to solve, including making Billy’s mouth move when there was audio playing, detecting when the Echo was on, moving the motors and playing the audio. After a bit of research and a lot of tweaking, a Fast Fourier Transform algorithm designed for the ATtiny was used was used to get the mouth moving. The mouth didn’t move a lot because of the design of the fish, and [Bob] modified it a bit, but there was only so much he could do.
It’s all well and good for the fish to lie there and sing, but [Bob] wanted Billy to move when Alexa was listening, and in order the detect this, the best bet was to watch for the Dot’s light to turn on. He tried a couple of things but decided that the simplest method was probably the best and ended up just taping a photo-resistor over the LED. Now Billy turns to look at you when you ask Alexa a question.
With a few modifications to the Dot’s enclosure, everything now fits inside the original mounting plaque and, after some holes were drilled so the Dot could hear, working. Billy has gone from just a few songs to an enormous entire library of songs to sing!
Lazy eye (technically Amblyopia) is a sight disorder that affects about 3% of the population where one eye is stronger than the other. Historically, treatment is via an eyepatch or special drops, but research shows that it may be better not to cover up the strong eye for long periods. It suggests that occluding the eye for short periods using a liquid crystal panel can yield better results. To that end, [Raninn] decided to hack some LCD glasses meant for 3D TV viewing to make a low-cost lazy eye treatment device.
This is his second version of [Raninn’s] glasses. The first one took two batteries and didn’t generate enough voltage for the LCD panels. The newer design uses a Dickson charge pump to generate a higher voltage from the battery and surface mount MOSFETs to switch voltages to the panels.
The write up is very complete with details about how to create even the PC board. He didn’t get into a lot of details about hacking the glasses. We assume that’s because your glasses may be different from his. These shutter glasses aren’t too complicated, you’ll just need to find the connections to the panel.
The business card is an odd survivor from the past, when you think about it. When a salesman in a Mad Men style suit stepped out of his Studebaker and walked past a room full of typists to the boss’s wood-paneled office, he would have handed over a card as a matter of course. It would get filed away in the Rolodex.
These days, making your card stand out from the crowd of print-shop specials has become an art form. In our community this extends to cards with integrated electronics, such as this one with a persistence-of-vision display driven by an ATtiny from [James Cochrane], shown in the video below. It’s by no means the first such card, but he takes us through its design and construction in great detail which makes the video below the break worth a look. If you have never made a toner transfer PCB for example, you can see how his was made.
He makes the point that while a POV spinner needs only to display in one direction, a card has to be waved back and forth. Thus it needs to change the direction of its display, and needs a tilt sensor to activate this. His construction method uses through-hole components, but is surface mount in that they are soldered to the top surface of the board. The result is a rather attractive POV card that maybe isn’t something you’d hand out to all and sundry, but perhaps that’s not the point.
As with the age-old panic after realizing you have left an oven on, a candle lit, and so on, a soldering tool left on is a potentially serious hazard. Hackaday.io user [Nick Sayer] had gotten used to his Hakko soldering iron’s auto shut-off and missed that feature on his de-soldering gun of the same make. So, what was he to do but nip that problem in the bud?
Instead of modding the tool itself, he built an AC plug that will shut itself off after a half hour. Inside a metal project box — grounded, of course — an ATtiny85 is connected to a button, an opto-isolated TRIAC AC power switch, and a ‘pilot’ light indicating power. After a half hour, the ATtiny triggers the opto-isolator and turns off the outlet, so [Sayer] must push the button if he wants to keep working. He notes you can quickly double-tap the button for a simple timer reset.
As every Hackaday reader knows, and tells us at every opportunity in the comments, adding an Arduino to your project instantly makes it twice as cool. But what if, in the course of adding an Arduino to your project, you run into a problem and need to debug the code? What if you could use a second Arduino to debug the first? That would bring your project up to two Arduinos, instantly making it four times as awesome as before you started! Who could say no to such exponential gains?
Not [Wayne Holder], that’s for sure. He writes in to let us know about a project he’s been working on for a while that allows you to debug the execution of code on an Arduino with a second Arduino. In fact, the target chip could even be another AVR series microcontroller such as a the ATTiny85. With his software you can single-step through the code, view and modify values in memory, set breakpoints, and even disassemble the code. Not everything is working fully yet, but what he has so far is very impressive.
The trick is exploiting a feature known as “debugWIRE” that’s included in many AVR microcontrollers. Unfortunately documentation on this feature is hard to come by, but with some work [Wayne] has managed to figure out how most of it works and create an Arduino Sketch that lets the user interact with the target chip using a simple menu system over the serial monitor, similar to the Bus Pirate.
[Wayne] goes into plenty of detail on his site and in the video included after the break, showing many of the functions he’s got working so far in his software against an ATTiny85. If you spend a lot of time working on AVR projects, this looks like something you might want to keep installed on an Arduino in your tool bag for the future.