We’ve all seen the old movie scene where the executive calls his assistant on the intercom for some task or other. [Jan] may not be an executive, and he may not have an assistant. He does have Raspberri, his voice controlled personal digital assistant. Raspberri started life as a vintage Televox intercom box. [Jan] found it at a second-hand store, and snapped it up in hopes of using it in a future project. That project eventually happened when [Jan] got a Raspberry Pi and learned how to use it. He decided to build the Televox and Pi together, creating his own electronic assistant.
[Jan] started by adding a cheap USB sound card and WiFi module to his Pi. He also added a small 3 Watt audio amp board. The Televox used a single speaker as both audio input and output. [Jan] didn’t want to make any modifications to the case, so he kept this arrangement. Using a single speaker would mean dead shorting the audio amplifier and the sound card’s microphone input. To avoid this, [Jan] added a DPDT relay controlled by the original push-to-talk button on the Televox. The relay switches between the microphone input and the audio output on the USB sound card. Everything fit nicely inside the Televox case.
With the hardware complete [Jan] turned his attention to software. He went with PiAUISuite for voice input. Voice output is handled by a simple shell script which uses google voice to convert text to speech. For intermediate processing, such as scraping a weather website for data, [Jan] created custom python scripts. The end result is pretty darn good. There is a bit of lag between saying the command and receiving an answer. This may be due to transferring the audio files over WiFi. However, [Jan] can always get away with saying his assistant was out getting him more coffee!
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.