Never Forget Your USB Stick Again

USB sticks are very handy. They are a very portable and relatively inexpensive means of storing data. Possibly the most annoying part about using one of these devices is when you inevitable leave it behind somewhere by accident. This is especially true if it contains sensitive information. [Eurekaguy] feels your pain, and he’s developed a solution to the problem.

[Eurekaguy] designed a custom cap for USB sticks that beeps approximately every minute after the USB stick has been plugged in for five minutes. The cap is 3D printed and then slightly modified with four 1mm holes. Two wires are routed between these holes to make contact points for the VCC and GND pins of the USB stick.

The beep circuit is comprised of a tiny PIC12F629 microcontroller along with a couple of other supporting components. The circuit is wired together dead bug style to conserve space. Three AG5 batteries power the circuit. A small piezo speaker provides the repeating beep to remind you to grab your USB stick before you walk away from the computer.

[Thanks Irish]

Stereo Audio on a PIC32

The PIC microcontrollers are powerful little devices, and [Tahmid] is certainly pushing the envelope of what these integrated circuits can do. He has built (for educational purposes, he notes) an audio player based on a PIC32 and a microSD card. Oh, and this microcontroller-based audio player can play in stereo, too.

The core of the project is a PIC32MX250F128B microcontroller. 16-bit 44.1kHz WAV files are stored on the microSD card and playback is an impressive 12-bit stereo audio. It can also play back 8-bit files (with some difficulty). [Tahmid] programmed the interface to work through the serial port and it is very minimalistic, mostly because this was a project for him to explore audio on a microcontroller and wasn’t to build an actual stand-alone audio player that he would use from day to day.

Still, even though the project isn’t ready to replace your iPod, the core audio-processing parts are already done if you want to try to build on [Tahmid]’s extensive work. You could even build a standalone audio player like this but have it play high-quality 12-bit stereo audio!

Continue reading “Stereo Audio on a PIC32”

Simple and Elegant Single Digit Nixie Tube Clock

We’ve seen a few Nixie projects around here before, but this one might be the simplest yet. [Pinomelean] designed this simple nixie tube clock with just a handful of components.

The Nixie tube chosen for the project is an IN-12a. This tube can be purchased for around just four dollars. It is capable of displaying one digit at a time, zero through nine. Since the tube can only display one digit at a time, the clock is programmed to flash each digit of the current time one by one. There is a longer pause in between each cycle to make it easier to tell when the cycle begins and ends.

The system is broken into two main components. The first is the clock circuit. The clock runs off a PIC microcontroller with a 4MHz crystal. All of the logic is performed via the PIC and only a handful of other components are required. This includes some resistors and capacitors as well as a few high voltage SMD transistors to control the Nixie tube. [Pinomelean] has made this PCB design available so anyone can download it and make their own clock.

The second component to the clock is the power supply. The system is powered by a lithium-ion rechargeable battery, but [Pinomelean] notes that it can also be powered with USB. The lower voltage works well for the microcontroller, but the Nixie tube needs a higher voltage. [Pinomelean] built his own high voltage supply using components scavenged from an old disposable camera. This power supply board design is also made available for download, but it plugs into the main board so you can use another design if desired.. Check out the demo video below to see it in action. Continue reading “Simple and Elegant Single Digit Nixie Tube Clock”

Frappé Coffee Robot Offers Automated PIC-Me-Up

Although [Giorgos Lazaridis] has graced Hackaday several times, we’ve never covered the build of his frappé machine which reader [Jim] encountered after searching for information about the PIC16F1937. His site shows the build as in-progress, but he definitely has a working prototype here, and it’s definitely awesome.

Frappé coffee is made by mixing spray-dried instant coffee, a small amount of cold water, and sugar to taste in a manual shaker or a milkshake machine that uses a single beater. More water and/or milk is added as desired to top off the glass. The method was invented by accident in Thessaloniki, Greece, and has become quite popular.

In addition to sixteen pages of detailed build logs, [Giorgos] shot videos that demonstrate each of the modules that make up the machine. The operator puts a glass in a holder attached to a turntable. It moves first to the coffee and sugar dispenser, which fall through the same easily removable funnel. The next stop combines the add-water-and-beat steps beautifully. A length of hose strapped to the beater’s housing dispenses the initial cold water base. Then, the beater lowers automatically to beat the mixture. After mixing, the beater is drawn back up an inch or so, and more water is dispensed to rinse it off. Then the beater is fully withdrawn and the glass is filled the rest of the way. The final stop for the frappé is essential to the process: a bendy straw must be added. This is vitally important, and [Giorgos] handles it admirably with a stinger that shoots a straw into the glass.

[Giorgos]’s coffee robot is built around a PIC16F1937. He rolled his own PCB for the motherboard and each of the machine’s modules. There is a lot of logistical ingenuity going on in this project, and [Giorgos]’ build logs convey it all very well. Be sure to check out [Giorgos]’ machine in action after the break. The full set of eight videos that shows each module and culminates in the one below is well worth your time.

Continue reading “Frappé Coffee Robot Offers Automated PIC-Me-Up”

Solar Powered Circuit Waters Your Plants


If you want your plants to stay healthy, you need to make sure they stay watered. [Dimbit] decided to build his own solar powered circuit to help automatically keep his plants healthy. Like many things, there is more than one way to skin this cat. [Dimbit] had seen other similar projects before, but he wanted to make his smarter than the average watering project. He also wanted it to use very little energy.

[Dimbit] first tackled the power supply. He suspected he wouldn’t need much more than 5V for his project. He was able to build his own solar power supply by using four off-the-shelf solar garden lamps. These lamps each have their own low quality solar panel and AAA NiMH cell. [Dimbit] designed and 3D printed his own plastic stand to hold all of the solar cells in place. All of the cells and batteries are connected in series to increase the voltage.

Next [Dimbit] needed an electronically controllable water valve. He looked around but was unable to find anything readily available that would work with very little energy. He tried all different combinations of custom parts and off-the-shelf parts but just couldn’t make something with a perfect seal. The solution came from an unlikely source.

One day, when [Dimbit] ran out of laundry detergent, he noticed that the detergent bottle cap had a perfect hole that should be sealable with a steel ball bearing. He then designed his own electromagnet using a bolt, some magnet wire, and a custom 3D printed housing. This all fit together with the detergent cap to make a functional low power water valve.

The actual circuit runs on a Microchip PIC microcontroller. The system is designed to sleep for approximately nine minutes at a time. After the sleep cycle, it wakes up and tests a probe that sits in the soil. If the resistance is low enough, the PIC knows that the plants need water. It then opens the custom valve to release about two teaspoons of water from a gravity-fed system. After a few cycles, even very dry soil can reach the correct moisture level. Be sure to watch the video of the functioning system below. Continue reading “Solar Powered Circuit Waters Your Plants”

Checking Email With The ESP8266

Ever so slowly, everyone’s favorite WiFi adapter is making its way into Internet-enabled projects. [jimeer01] created a device that reads the subject and sender lines from the latest email in his inbox and displays it on an LCD using the ESP8266 WiFi chip.

[jimeer] is using a ByPic for writing to the LCD and querying an inbox through an ESP8266 module. The ByPic is a board built around the BV_Basic firmware, stuffing a PIC microcontroller in an Arduino form factor and giving it a BASIC interpreter. Because this board isn’t ‘compile and flash’ like an Arduino, it’s perfectly suited for changing WiFi configurations and IMAP server credentials on the fly.

The device grabs the latest email in an inbox and displays the date, sender, and subject on the display. After scrolling through those lines, the PIC hits the ESP8266 to query the server again, grabbing the latest email, and repeating the whole process again, all without needing to connect the device to a computer. Video below.

Continue reading “Checking Email With The ESP8266”

This Analog Cambot Plays Outside the Lines

There are quite a few flavors of line following robot. No matter how they’re made, most are built for speed and accuracy. The Cambot by [Jorge Fernandez] however makes use of a traditional video camera to read visual input instead of the reflective sensors we’re used to seeing in these types of robots. Because of this it lacks those swift and agile qualities, but scores points with its unique analog design, over-sized tricycle wheels, and stylish RCA jacks poking out on the side.

Coupled with a PIC 16F84A microcontroller, [Fernandez] divides the video input from the camera into 625 lines. The PIC is responsible for scanning horizontally across these lines and translating the proportions of black and white into PWM pulses. The duration these proportions are seen by the camera determines the PWM frequency fed to the left and right servo motors driving the robot.

As far as line-followers go, this is a refreshing retro approach to the concept. [Hernandez] outlines the finesse about driving his cambot on his blog (an English translation can be read here) and provides a complete schematic for those who are interested in whipping up their own quirky little machine.

Continue reading “This Analog Cambot Plays Outside the Lines”