Easy Web Interface With GPIO Access Runs On Raspberry Pi

Here’s a Raspberry Pi hack that adds web control using PHP and MySQL. As you can see in the image, it serves up a webpage (using the Apache2 server) which allows you to change the state of the GPIO pins. It’s not super-complicated, but it is nice to see a step-by-step guide for installing and configuring the package.

Web interface GPIO control is one of the features we loved about the Adafruit Web IDE. But this offering is loaded completely from the RPi (the Adafruit package uses cloud based code) and utilizes the tools most Linux network admins will be used to. A MySQL database manages the connection between GUI commands and GPIO modification. The webpage is served up by a PHP script which takes care of polling and changing database values. Configuration requires a new database, plus the username and password which has access to it.

Music Challenge Has You Flapping Your Wrist To Make Sounds

glove-based-music-challenge

This glove controller let you play a musical game. The challenge is to perform the correct wrist motions at the right tempo to play the intro to the song Where is my Mind by the Pixies. This is demonstrated in the video clip after the break.

We often see flex sensors used on the fingers of glove projects, but this one does it all with an accelerometer. That module, along with the Piezo buzzer used for playback are affixed to the small breadboard on the back side of his hand. Rubber bands connect the Arduino to his third and forth fingers. The tempo and rhythm are pre-programmed but the tone generated is based on the gravity reading at the start of each note. If you don’t have your hand positioned correctly the wrong tone will be played.

The code was published in link at the top. It would be fun to see this altered as a hacked Simon Says game.

Continue reading “Music Challenge Has You Flapping Your Wrist To Make Sounds”

Glowing Super Bowl Helmets

glowing-football-helmets-adafruit

These geeky Superbowl decorations glow thanks to the EL panel hack which [Becky Stern] created. It’s almost impossible to make out in this image, but the EL panels have been applied to the surface of the helmet. On the San Francisco helmet you can just make out the black connector and cord at the bottom of the F.

El panels are a lot like EL wire (but they’re flat) in that the phosphors are excited when connected to a high voltage AC supply. You can cut the panels into shapes without a problem. The technique used here is to create a black vinyl mask to go over the top of the panel. This makes cutting the panel a lot easier.

The mask sticker is made on a vinyl cutter. [Becky] is a master at using the vector tool as you can see in the video after the break. She outlined each team logo with paths to create a file which the cutter can use. From there it took several tries to get the sticker just right as the curve of the helmet distorts the logos just a bit. Once it was dialed in she stuck the vinyl on the El panel and cut around the perimeter.

The Adafruit team sure loves to use electroluminescent accents.

Continue reading “Glowing Super Bowl Helmets”

FitBit Hack Causes Food To Spoil If You Don’t Exercise

exercise-or-starve

This hack could be titled ‘Exercise or Starve’. [Charalampos] needed some motivation to become more active. There’s a device called a FitBit tracker (black and blue on the left) which records your activity and submits it to a web interface. You get daily goals and can earn badges. But those stinking badges didn’t motivate him. He decided he needed something that would really get him off of the couch. So he hacked the FitBit to cut power to his refrigerator. Not meeting his goals will eventually result in a stinky mess and no dinner.

It’s a bad idea to cut power to the icebox. But we see this merely as a proof of concept. He’s using the Belkin WeMo networked outlet. Other than some security issues we discussed on Thursday this is a very simple way to control devices from your server. [Charalampos’] implementation uses the FitBit API to check his activity and drives the outlet accordingly.

Populate SMD Boads Using A Toothpick And Tweezers

Here’s a demonstration which proves you don’t really need special tools to populate a surface mount PCB. We’ve seen this board before, it’s the glass PCB server which [Cnlohr] developed and demonstrated by connecting the real world to Minecraft. It’s a tiny board and we were happy to have the chance to see his method for populating the parts before reflow soldering.

In the video after the break [Cnlohr] starts by dispensing a glob of solder pasted from its storage container. He mentions that as long as you store the stuff in the refrigerator it’s rather easy to work with. Because most of his projects are single boards it’s not worth it to have a solder stencil produced. Instead he picks up a bit of the solder glob on the end of a toothpick and applies it to each pad.

This isn’t really as bad as it sounds. The fine pitch TQFP footprints can just be dragged with a bit of the paste. After this application — which took around seven minutes — he grabs some tweezers (not the vacuum type) and begins placing each component. If he missed some paste he’ll discover it in this step and add where necessary. The last step is a trip through his toaster oven.

Continue reading “Populate SMD Boads Using A Toothpick And Tweezers”

Barometer Tells You To Take Your Bike Or The Train

bike

Before beginning his day, [Richard] needs to decide whether he should ride his bike to work or take the London tube. All the information to make that decision is available on the Internet – the current weather report, and the status of the subway lines and stations he’d be taking. The problem, though, is all these pieces of information are spread out in multiple places. [Richard]’s solution to this was to make a bicycle barometer that pulls data from these places and makes the decision to ride a bike or the tube for him.

[Richard]’s barometer is built around a nanode and an old clock he found at a flea market. The nanode queries the UK’s weather bureau and the London underground’s line and station status. All the variables under consideration are weighted; if it’s snowing, the output is much more likely to decide on the tube than if there was a slight drizzle.

It’s a really cool build that certainly makes a great use of the publicly accessible APIs made available by the London underground. You can check out a video of the barometer after the break.

Continue reading “Barometer Tells You To Take Your Bike Or The Train”

Getting Rid Of Telemarketers With A Banana Phone

Banana

The Federal Trade Commission really doesn’t like robocalls and other telephone solicitors selling you vinyl siding or home security upgrades. The FTC is even offering $50,000 to anyone who can do away with these robocalling telemarketers, and [Alex] looks like he might just claim the prize. He developed The Banana Phone, a device that eliminates those pesky telemarketers.

The basic idea of the Banana Phone is requiring callers to enter a four-digit pass code (played via text to speech over a relevant song to prevent a bot from getting through) before connecting them to the main line. Once a caller has been verified as human, their number is added to a white list so they won’t have to listen to [Raffi] every time they call.

The Banana Phone uses off-the-shelf parts  including a Raspberry Pi and a phone/Ethernet adapter with the total build cost under $100. You can check out a demo of the Banana Phone in action after the break starting at about 2:25.

Continue reading “Getting Rid Of Telemarketers With A Banana Phone”