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 controlled house 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.
Hardware WorkUnscrew 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 powered on, solder wire “1” to its copper tab.
Connect wire “3” and “4” (new cable wire) to Grove - Relay. Then solder wire “4” to the copper tab 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.
Setup Wio NodeConnect Grove - Relay to PORT0 of Wio Node and power Wio Node with a USB power adapter. (PS: Be careful with electricity)
Open Wio Link APP in your phone and connect Wio Node to a WiFi access point following the APP's instructions. After that, add a Grove - Relay to PORT0 in the APP, update the firmware and get API like this: http://cn.wio.seeed.io/v1/node/resources?access_token=c79dfaf4d5f720b925e2b262220d99fd&data_server=https%3A%2F%2Fcn.wio.seeed.io PS: Get your own access_token in this API and add it to the "main.py
" Python script.
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 WiFi named LinkIt_Smart _xxxxxx
and visit 192.168.100.1
. After setting a password of re-speaker and logging in, you need to select station mode, select a WiFi network and enter the password as the picture above.
Then get a key from # get a key from https://www.microsoft.com/cognitive-services/en-u... and create 'creds.py
' with the key. Add your own Wio access_token to 'main.py'.
Comments
Please log in or sign up to comment.