Anyone who’s manned a hackerspace booth at an event knows how difficult it can be to describe to people what a hackerspace is. No matter what words you use to describe it, nothing really seems to do it justice. You simply can’t use words to make someone feel that sense of accomplishment and fun that you get when you learn something new and build something that actually works.
[Derek] had this same problem and decided to do something about it. He realized that in order to really share the experience of a hackerspace, he would have to bring a piece of the hackerspace to the people. That meant getting people to build something simple, but fun. [Derek’s] design had to be easy enough for anyone to put together, and inexpensive enough that it can be produced in moderate quantities without breaking the bank.
[Derek] ended up building a simple “optical theremin”. The heart of this simple circuit is an ATTiny45. Arduino libraries have already been ported to this chip, so all [Derek] had to do was write a few simple lines of code and he was up and running. The chip is connected to a photocell so the pitch will vary with the amount of light that reaches the cell. The user can then change the pitch by moving their hand closer or further away, achieving a similar effect to a theremin.
[Derek] designed a simple “pcb” out of acrylic, with laser cut holes for all of the components. If you don’t have access to a laser cutter to cut the acrylic sheets, you could always build your own. The electronic components are placed into the holes and the leads are simply twisted together. This allows even an inexperienced builder to complete the project in just five to ten minutes with no complicated tools. The end result of his hard work was a crowded booth at a lot of happy new makers. All of [Derek’s] plans are available on github, and he hopes his project will find use at Makerfaires and hackerspace events all over the world.
[Anool]’s brother loves his motorcycle, and when he came across a ‘breathing LED’ mod for the brake light, he had to have one. Being tasked with the creation of a pretty cool mod, [Anool] came up with p.u.l.s.e., an extremely small LED controller and a slight tip ‘o the hat to Pink Floyd and the second or third greatest CD packagings.
The circuit is a slightly Apple-inspired mod for the parking light that keeps the lamp fully lit when the Neutral Detect line on the bike is high, and slowly pulses the LED in a ‘breathing’ pattern when the Neutral Detect line is low. Not a lot of logic is needed for something this simple, so [Anool] turned to the ATtiny45 and the Arduino IDE to accomplish his goal.
[Anool] created a circuit in KiCAD that would plug in to the lamp socket of his brother’s bike. A cluster of LEDs replace the T10 lamp inside the parking light, and a small amount of code takes care of the logic and breathing effect. It’s a great mod, and the astonishingly small size of the board puts him in the running for the smallest Arduino we’ve ever seen.
Videos of the light in action below.
Continue reading “The p.u.l.s.e Parking Light”
Deep in the Colorado foothills, there are two radio transmitters that control the time on millions of clocks all across North America. It’s WWVB, the NIST time signal radio station that sends the time from several atomic clocks over the airwaves to radio controlled clocks across the continent. You might think replicating a 70 kW, multi-million dollar radio transmitter to set your own clock might be out of reach, but with a single ATtiny45, just about everything is possible.
Even though WWVB has enough power to set clocks in LA, New York, and the far reaches of Canada, even a pitifully underpowered transmitter – such as a microcontroller with a long wire attached to a pin PWMing at 60kHz – will be more than enough to overpower the official signal and set a custom time on a WWVB-controlled clock. This signal must be modulated, of course, and the most common radio controlled clocks use an extremely simple amplitude modulation that can be easily replicated by changing the duty cycle of the carrier. After that, it’s a simple matter of encoding the time signal.
The end result of this build is an extremely small one-chip device that can change the time of any remote-controlled clock. We can guess this would be useful if your radio controlled clock isn’t receiving a signal for some reason, but the fact that April 1st is just a few days away gives us a much, much better idea.
Building line following robots is fun and easy. Building a line-follower that is this tiny is a different story. The surprising thing for us is that despite how it looks, this robot whose name is Rizeh doesn’t use wheels to get around. [Naghi Sotoudeh] built the line-follower using two vibrating motors, with needles (not shown above) making three points of contact with the ground.
His website is a little sparse, but hit the downloads page to get a PDF file that serves as the build log. We also downloaded the 32 second demo video which is worth it. The magic-marker track that the bot is circumnavigating isn’t any bigger than the palm of your hand!
Onboard the diy PCB you’ll find two GP2S04 IR reflectance sensors which detect the black line on a white paper. The power-up sequence spends a few seconds calibrating these sensors. Speaking of power, [Naghi] went with a lithium polymer cell from a Bluetooth headset. At the heart of it all is an ATtiny45 which uses its hardware PWM capabilities to drive the two motors.
Of course line-followers rank up there with self-balancers as our favorite robot projects. But by far the ones we love the most are the speed-run maze solvers.
Pressing the power button on your computer usually isn’t too much trouble, unless your computer is stored away somewhere hard to reach. [Joonas] has been hard at work on a solution that would also impress his friends, building a knock sensor to turn on his PC.
For around $10 in parts he put together an ATTiny45 that emulates a PS/2 device, which takes advantage of his computer’s ability to boot upon receiving PS/2 input. The build uses a Piezo buzzer and a 1M Ohm resistor as a knock sensor exactly as the official Arduino tutorial demonstrates, and one of those PS/2-to-USB adapters that are most likely lurking in the back corner of every drawer in your office.
[Joonas] used AVRweb to disable the 8X clock divider so there’d be enough clock cycles for PS/2 communication, then loaded some test code to make sure the vibrations were being detected correctly. You can check out his Github for the final code here, and stick around after the break for a quick video demo. Then check out a similar hack with [Mathieu’s] home automation knock sensor.
Continue reading “Turn a PC on with a Knock and an ATTiny”
We feel [Jim’s] pain in having to physically press the power button to boot his Network Attached Storage device after a power outage. If you live in an area with frequent brief but annoying power blinks it wouldn’t take long to brew up your own solution. Here you can see the ATtiny45 that he added for the auto-boot.
Aside from having to go upstairs in order to reboot the machine there is also a compulsory disk check that his Linksys NAS200 performs before files are available on the network. You can see that he used an 8-pin socket which lets him remove the chip for programming. The socket gets a ground connection from the shielding of the USB port, it pulls 5V off of the linear regulator right next to it, and the green wire connects to the power button’s conductor.
The sketch compiled for the chip starts a ten second timer are power up. When the timer goes off it pulls the pin low and then high, simulating a button press. In hobby electronics it’s a common problem that we have to invent issues to use as the next project. So it’s nice to see a real life application like this one.
[Brendan Sleight] has been hard at work on this wearable piece of tech. He doesn’t wear much jewelry, but a wedding ring and some cufflinks are part of his look. To add some geek he designed a set of cufflinks that function like traffic lights. Since he still had some program space left he also rolled in extra features to compliment the traffic light display.
That link goes to his working prototype post, but you’ll want to look around a bit as his posts are peppered with info from every part of the development process. The coin-sized PCB hiding inside the case plays host to a red, amber, and green surface mount LED. To either side of them you’ll find an ATtiny45 and a RV-8564-C2. The latter is a surface mount RTC with integrated crystal oscillator, perfect for a project where space is very tight.
The design uses the case as a touch sensor. Every few seconds the ATtiny wakes up to see if the link is being touched. This ensures that the coin cell isn’t drained by constantly driving the LEDs. The touch-based menu system lets you run the links like a stop light, or display the time, date, or current temperature. See a quick demo clip after the break.
Continue reading “Traffic light cufflinks”