Forget Siri – Make Wolfram Alpha Your Personal Assistant

So you can spend a bundle on a new phone and it comes with a voice-activated digital assistant. But let’s be honest, it’s much more satisfying if you coded up this feature yourself. Here’s a guide on doing just that by combining an Asterisk server with the Wolfram Alpha API.

Asterisk is a package we are already familiar with. It’s an open source Private Branch Exchange suite that lets you build your own telephone network. Chances are, you’re not going to build one just for this project, but if you do make sure to document the process and let us know about it. With the Asterisk server in place you just need to give the assistant script an extension (in this case it’s 4747).

But then there’s the problem of translating your speech into text which can be submitted as a Wolfram query. There’s an API for that too which uses Google to do that translation. From there you can tweak abbreviations and other parameters, but all-in-all your new assistant is ready to go. Call it up and ask what to do when you have a flat tire (yeah, that commercial drives us crazy too).

[Thanks M]

Nice Shoes, Wanna Recognize Some Input?

Even though giant multouch display tables have been around for a few years now we have yet to see them being used in the wild. While the barrier to entry for a Microsoft Surface is very high, one of the biggest problems in implementing a touch table is one of interaction; how exactly should the display interpret multiple commands from multiple users? [Stephan], [Christian], and [Patrick] came up with an interesting solution to sorting out who is touching where by having a computer look at shoes.

The system uses a Kinect mounted on the edge of a table to extract users from the depth images. From there, interaction on the display can be pinned to a specific user based on hand and arm orientation. As an added bonus the computer can also recognize users from their shoes. If a user is wearing a pair of shoes the computer recognizes, they’ll just walk up to the table and the software will recognize them.

Continue reading “Nice Shoes, Wanna Recognize Some Input?”

DIY Dimmable Clapper For All Your Lazy Lighting Needs

For the lazy man who can’t be bothered to buy a proper wattage lamp here’s the Clever Clapper, a Clapper that finally has the ability to dim the lights.

Like the clapper we saw last month, [Pete]’s version uses an ATtiny2313 and an electret mic. What sets [Pete]’s version apart from the vintage 80s model is the ability to dim the lights. Like any clapper, two hand claps within a second toggles the relay. Clapping three times within one second puts the lamp into fading mode. In this mode, the lights dim up and down with PWM until a fourth clap is detected.

[Pete] saw that the program memory in his ATtiny2313 wasn’t 100% full, so he added a few more capabilities. If you shine a laser onto his circuit, a relay trips and turns on a decorative moon lamp. There’s also a ‘lecture mode’ that feeds the microphone directly into the microcontroller to vary the PWM signal. The result is a light that brightens with more intense sound. Check that feature out after the break after the demo video of [Pete]’s Clever Clapper.

Continue reading “DIY Dimmable Clapper For All Your Lazy Lighting Needs”

Tool Box Light Dimmer Helps Out A Friend, Offers Up Design Tips

toolbox-lighting

[miceuz] has a friend that works as a theatre technician, and in the course of his job he often needs to jigger with various stage components while shows are in progress. As you can imagine, the lighting situation is far from ideal, so he asked [miceuz] to build him an adjustable lighting solution for his tool box.

The circuit itself is relatively straightforward, using an ATMega88 to provide the PWM required for dimming and color control. Input is taken from three different sources, a rotary encoder for color selection, a pot for brightness control, and a button to turn the light strip on and off.

[miceuz] says that while project came together pretty easily, it still presented some issues along the way which provide some useful design reminders for beginners (and some veterans) alike.

First and foremost: debounce, debounce, debounce. [miceuz] forgot this mantra and made a mad dash to add capacitors to his design after etching the PCB to ensure that his inputs were not bouncing all over the place. He also noted that one should always be sure to read the ADCL before the ADCH register when decoding ADC data. His final observation is that using thick traces is the best policy whenever possible – he ran into a lot of issues with traces detaching during assembly, which he had to rework with wire and solder.

In the end, his friend was happy with the result, and [miceuz] is a better hacker for having worked through his issues. What sorts of important/useful lessons have you learned through the course of your projects? Be sure to share them with us in the comments.

Automating The Shutdown Of APC UPS Devices

ups-shutdown-device

[Ishan Karve] works in some bizarro world where the building management demands that all servers and Uninterruptible Power Supplies be shut down at the end of each evening. While inconceivable to most systems admins, he has no recourse but to comply. This means that his employees need to turn things off before they leave for the day, and since they often work up to 15 hours a day, waiting for Windows server to shut down seems like an eternity.

Being the good manager he is, [Ishan] decided to build a device that handles the clean shutdown of their servers and UPS for them. An Arduino board serves as the brains of the device, communicating with and issuing shutdown commands to the UPS over a serial port. The Arduino is also connected to the office network, enabling it to send ARP requests to the servers in order to determine when they have completely shut down for the day. In order to protect against an accidental shutdown due to network connectivity issues, [Ishan] added an RTC module to the mix so that the Arduino does not issue shutdown commands until at least 8 pm.

Instead of waiting around for Windows to do its thing, [Ishan’s] employees can take off once they start the server shutdown process, knowing that they are totally compliant with their landlord’s crazy requests.

Fully Loaded Electronics Lab Makes Your Projects A Breeze

There’s really nothing special about this hack. [Craig Hollabaugh] needed an Arduino shield for hosting a Pololu motor driver and making connections to external hardware. What really caused us to spend way too much time reviewing his posts is that [Craig’s] narrative style of documenting the project is delightful, and we’re envious of his electronics lab. That link points to the first of four project pages. The next page is linked at the bottom of each page, or you can find the collection after the break.

[Craig] starts by designing a single-sided shield in Eagle. It’s been years since he made his own PCB, and it takes him about four tries to get the toner transfer right (we’ve also been victim to the wrong mirroring of the resist!). When it comes time to drill for the pin headers [Craig] uses his 3D printer to make a bracket allowing the Dremel to mount to the drill press. There’s a good tip here about buying carbide bits from Harbor Freight; we thought eBay was the only place to get these. Many of us would need to put in a parts order, but this workshop has a well-organized stock of everything he needs. He also has the solder paste and PID outfitted toaster oven to reflow the board. Oh, and when he forgets to add a resistor it’s off the rework station to add one.

See what we mean… one can never have too many tools.

Continue reading “Fully Loaded Electronics Lab Makes Your Projects A Breeze”

Unshredding Paper

[Roel] had read that people won the DARPA shredder challenge, but that their technology was kept a secret, interested in this concept he also remembered an episode of the X-Files where they had reconstructed shredded paper using a computer system. Unlike most computer based TV show BS this did not seem to be too far fetched so he went about trying it himself.

First a note is written, and then cut up into strips, the strips are then scanned into a computer where the magic happens. Next each strip outlined in polygons and then the software is to follow the polygon outline looking for a change in color at the pixel level. The software then goes into a pattern matching mode and reassembles the paper based on a scoring system.

While not many people use old fashioned strip shredders anymore, the basic idea works and if you really wanted to expand it could be applied to cross cut or particle shredders.