This snippet of Hello World code lets [Nico Ritschel] turn the Pin 13 LED on his Arduino on and off using Siri, the voice-activated helper built into iPhones. The trick here is using the Ruby programming language to get Siri Proxy talking to Arduino via the USB connection. He calls the project siriproxy-arduino.
On one end of the hack resides SiriProxy, a package not approved by Apple which is capable of intercepting the Siri messages headed for Apple’s own servers. The messages are still relayed, but a copy of each is available for [Nico’s] own uses. On the other side of things he’s building on the work of [Austinbv’s] dino gem; a Ruby package that facilitates control of the Arduino. It includes a sketch that is uploaded to the Arduino board, opening up a Ruby API. The collection of code seen above defines the pin with the LED connected and then listens for a specific Siri commands to actuate it.
Take a look at [Nico’s] explanation of the module in the video after the break.
Continue reading “Siri controlled Arduino using Ruby”
It seems like tinkerers are always being tapped to build or repair exhibit hardware. This time around it’s [Dino’s] turn. He’s been asked to alter a light bulb efficiency demo so that it includes an LED option.
The idea here is that you crank a generator to power different types of light bulbs. There’s an ammeter built in, but possibly the best feedback is knowing how hard you have to crank to illuminate the most inefficient choice. As it stands there is a toggle switch to choose between incandescent and CFL bulbs. [Dino’s] solution is to use a three-position rotary switch. He removes the toggle switch and replaces it with a socket for the LED bulb. A new location for the rotary switch is chosen and he does a bit of work to get it mounted securely. If you haven’t worked with this type of switch before he takes the time in the video after the break to explain how they work.
Continue reading “Light bulb efficiency exhibit updated with LED bulb option”
Perennial Hackaday favorite [Dino] has an article in this months Make magazine. It’s an automated ball launcher that allows you to play fetch with your dog without wearing your arm out.
The powerhouse inside [Dino]’s ball launcher is a windshield wiper motor powered by an 18 Volt cordless drill battery pack. When a ball in dropped into the hopper, it turns on a switch sending some power to the motor.
The swing arm that actually launches the ball is anchored to the frame of the ball launcher with a spring. This stores energy for one half of a rotation of the motor until the arm rotates half way around inside the box. Then, the arm quickly accelerates and launches the ball across the yard.
[Dino] says he’s working on training his dog to drop the ball into the chute after retrieving it, creating a perpetual game of fetch. At least until the battery runs down, that is. Video after the break.
Continue reading “[Dino] builds a Fetch-O-Matic for this month’s Make”
[Dino] is about three-quarters of the way through his talking box project. He’s completed one of the two boxes, and is showing off the technique he uses to marry motion with sound in order to mimic flapping lips with the box top.
You may remember [Dino’s] first look at the EMIC2. It’s a single-board text to speech module which is what provides the voice for the box. But what fun is that without some animatronics to go along with it? So [Dino] started playing around with different concepts to move the box top along with the speech. This is easier said than done, but as you can see in the video after the break, he did pull it off rather well. He built a motor control circuit that takes the audio output of an LM386 amplifier chip and translates it into drive signals for the motor. The shaft is not directly connected to the lid of the box. Instead it has a curved wire which is limited by a piece of string so that it doesn’t spin too far. It lifts the lid which is hinged with a piece of cloth.
Continue reading “[Dino’s] talking box(es)”
This is the EMIC2 text-to-speech module. You can see from the logo on the bottom left it’s the latest gadget coming out of [Joe Grand’s] Grand Idea Studios. [Dino] tipped us off about his first experience with a prototype of the board. He’s driving it with an Arduino and the video after the break shows that the sound rendering is high quality and the words are very easy to understand. One of the things that we think is interesting is that the serial communications used to drive the board are not uni-directional. In fact, there’s a serial terminal that provides documentation on how to use the chip. Obviously this is most suited to the Arduino, which always has a PC-side terminal window available to it.
[Joe] himself shows some of the potential for the board. He gave new life to a broken toy by replacing its internals with a PIC-based circuit to drive the EMIC2. That video is also found after the break. He’s just using the demo clips, but from that you will get a good idea of the vocal modulations this device is capable of. The board rings up at $60 and is available from Parallax.
Continue reading “EMIC2 text to speech module”
[Dino’s] project of the week is a backup alarm for your car. This is a feature that has become popular on many large vehicles like SUVs where visibility is an issue when moving in reverse. But it doesn’t sound like he was motivated by the need to have this in his own car. Instead, he was looking for something to build using a laser range finder.
[Joe Grand] (the brains behind DEFCON badges) has been working on an inexpensive laser range finder for Parallax. He sent one of the first-run prototype boards to [Dino] for beta testing and we’re glad that [Dino] decided to show it off. It uses a small red laser diode and a camera module to measure distance in millimeters. The board communicates serially and this particular project uses an Arduino along with a character LCD and speaker to display distance and sound an alarm when the car is within a meter of an object.
Check out the video after the break to see the build in its entirety. The system works reasonably well, if the object you’re about to hit is perfectly lined up with the laser dot.
Continue reading “Automotive backup alarm”
Well, this metal suit might not make you a dinosaur, but it would be perfectly possible for you to play one on your computer. Retailing on eBay for a mere $2,397.99 OBO (plus Freight for a 350 pound box), this device was made and used for the motion capture of Ugobe’s Pleo Robot. With the right external components (no word on what those are), it would be perfectly possible to get this suit up an going back on Motion Capture as all the onboard electronics are included. This setup would be perfect for anyone planning an animated dinosaur movie that needs some reference movements, or for any mad
scientist engineer who needs a control rig for a 40 story robotic dino of death. The possibilities are endless!
[eBay via Engadget]