Meet ‘Raspberri’, Your Personal Voice Controlled Assistant

raspda

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!

pda-inside

15 thoughts on “Meet ‘Raspberri’, Your Personal Voice Controlled Assistant

  1. The way he wrote up the construction of the circuit, it sounds like he is installing the relay before the amp so basically the output of the amp would be connected to the mic input when switched.

    But from looking at the pics, I can see it is wired correctly. He may want to throw together a wiring diagram in case someone gets this confused.

    Awesome build. I love everything made in bakelite. I have an old bakelite radio/phonograph intended for a project one day.

    1. Ms. Johnson, you’ve never lied to me. Am I still a good person?

      [on intercom] I don’t know, sir. I’m a program built into the intercom.

    2. And perhaps use the voice recognition to request a sandwich, hooking up an email to the local deli delivery service. At the same time, speakers could be triggered in the next room to play the sound of Miss Johnson using a rotary dial to order lunch for you.

      But i alwalys take these things too far.

      1. “At the same time, speakers could be triggered in the next room to play the sound of Miss Johnson using a rotary dial to order lunch for you.”

        Now that’s just cheating. There should be an actual rotary phone (or at least the dial from one) and a motor!

        1. So long as we are taking authenticity to this level he would probably need to stuff a resistor in a cigarette, place that inside the case and run just enough current to warm it up.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s