Voice Recognition (Raspberry Pi)

Introduction: Voice Recognition (Raspberry Pi)

About: the Raspberry Pi is Awesome!

Basic tutorial of how to setup a voice recognition module with the Raspberry Pi. (works offline)

Step 1: Parts

RPI 3 – https://goo.gl/CdVNoH

4 Amp Power Adapter – https://goo.gl/js4Uc7

16GB Micro SD – https://goo.gl/FDqZal

Voice Recognition Kit: https://goo.gl/TgtFk5

(ALT) Voice Recognition Kit: https://goo.gl/HdgVA2

Step 2: Setup

Physical Setup:





Voice Recording Process:

RPI Setup:

Update Raspberry Pi:

"sudo apt-get update"

Enable serial interface:

"sudo raspi-config"

Select “No” on first prompt, and “Yes” on second Save and Reboot

Step 3: Code

Run Script:

"python3 voice.py"


Step 4: Additional Info

Be the First to Share


    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Super-Size Speed Challenge

      Super-Size Speed Challenge
    • Audio Challenge 2020

      Audio Challenge 2020



    Question 1 year ago on Step 4

    Hi, is there a way I can increase the recording length to 40 seconds or 1 minute?

    I am looking to develop a project that should recognize a foreign language (Arabic) prayer. For now, I will be happy to see an LED output turns Green if the prayer matches with the recording.

    But, I am struggling to find if I can have the Arduino module that can record a command for up to a minute length!

    I hope I get a direction from you.

    Thank you