DIY Your ReSpeaker Adapter(Voice Control)




Introduction: DIY Your ReSpeaker Adapter(Voice Control)

About: Howdy, we are application engineers in Seeed. Sharing projects with maker community is awesome. Hope you like it XD Seeed is the IoT hardware enabler providing services that empower IoT developers to swiftly …

Have you heard about home automation with Amazon Echo and Raspberry Pi? In that case, you could control your home with your voice. But Amazon Echo and Raspberry Pi are too expensive.

Now we have an new idea. With Seeed Studio ReSpeaker and Wio Node, we are able to make a Voice House Control scheme with less money and without having to worry about the complexities of the human voice.

ReSpeaker is an open modular voice interface to hack things around you. Let you interact with your home appliances, your plant, your office, your internet-equipped devices or any other things in your daily life, all by your voice.

In this recipe, we will develop a voice control adapter and control it with some voice command. If you like this, please share with your friends!

Step 1: What Do We Need


ReSpeaker Core with a SD card

Wio Node

Grove - Relay

Power Adapter

USB Power Adapter



Soldering Iron

Solder wires


Wio Link APP IOS / Android

Step 2: Hardware Work 1

Unscrew the back of power adapter. There are 3 wires marked as “1”,”2”,”3” in the pictures. Cut wire “1” “2” "3" as the picture shown. After that, to make the first socket always power on, solder wire “1” to its copper sheet.

Step 3: Hardware Work 2

Connect wire “3” and “4”(new cable wire) to Grove - Relay. Then solder wire “4” to the copper sheet of the second socket as the picture above. Don’t forget to pull out the grove cable from the hole.

Finally screw down the back of power adapter.

Step 4: Setup Wio Node

Connect Grove - Relay to PORT0 of Wio Node and power Wio Node with a USB power adapter.(PS: Be careful to use eletricity)

Open Wio Link APP in your phone and connect Wio Node to a Wi-Fi following the APP's instructions.

After that, add a Grove - Relay to PORT0 in the APP, update the firmware and get API like this:

PS: Get your own access_token in ths API and add it to the "" python script

Step 5: Setup ReSpeaker

Serial console

  • baudrate:57600
  • terminal: putty on windows; "screen /dev/xxx 57600" on Linux/Mac

Connect to the Internet

  • Connect your smart phone/laptop to a Wi-Fi named LinkIt_Smart _xxxxxx and visit After setting a password of Respeaker and logining in, you need to select station mode, select a Wi-Fi network and enter the password as the picture above.

Step 6: Download and Edit Code

Download the code to ReSpeaker:

git clone

Then get a key from # get a key from and create '' with the key.
Add your own Wio access_token to ''

Step 7: Finish!

Run the python script


Try to say: "Hi ReSpeaker" , then it will repeat "hi" to you. And the next you could say "please turn on/off the relay" to control the adapter.

Let's try this!

Be the First to Share


    • 3D Printed Student Design Challenge

      3D Printed Student Design Challenge
    • Laser Challenge

      Laser Challenge
    • Unusual Uses Contest

      Unusual Uses Contest



    4 years ago

    can any say clearly about wio node role in this circuit

    Seeed Studio
    Seeed Studio

    Reply 4 years ago


    We use wio node here for getting "turn on/off" commands via wifi and controlling Grove - Relay.


    5 years ago

    Just a note on safety.

    This project deals with mains power, and I
    strongly advise you to follow the international conventions for wire

    Also be very careful when wiring mains power that the
    wires are connected correctly. At best, a wiring error will result in a
    small explosion and a bright blue flash, at worst you could electrocute
    yourself. Having shaken hands with the devil a few times myself, I can
    assure you that it's not a good thing to do.

    The European/international convention for wire colours is:

    Brown - Active (Red is no longer used)
    Blue - Neutral (Black is no longer used)
    Green/yellow stripe - Earth (Plain green us no longer used)

    In North America, the convention is:
    Black - Active
    White - Neutral
    Green or Green/yellow stripe - Earth

    It is very bad practice to use green coloured wire for any other function than ground in mains wiring.

    that the wires going through the relay contacts do not have to be
    different colours, this is AC we are dealing with, so direction through
    the relay is irrelevant. If you must use different colours for the mains
    wires going to the relay, I suggest you use red or orange for active.

    Seeed Studio
    Seeed Studio

    Reply 4 years ago


    Thanks for your nice advises! We must take notice of it!