This Instructable covers the concepts of Amazon alexa eho dot, Raspberry pi Gpio controlling by using alexa.
The main problem while handling alexa is everytime you need to add some skills in your aws account which requires lot of time, to establish communication between alexa and external devices, but this instructable will eliminate this headache and i just want to make it as simple as i can.....
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Things You Need:
3. Relay Board / Led.
setting up Raspberry Pi:
1. Install pip
Command: sudo apt-get install python-pip
2.update and Upgrage
sudo apt-get install update && sudo apt-get upgrade
Step 3: RUN YOUR CODE
Credits to this man::
All credit goes to https://github.com/toddmedema/echo/
Download the zip file
extract the zip file to raspberry pi desktop
then type these commands:
in the terminal
1.pi@Raspberrypi : $ cd /Desktop/
2.pi@Raspberrypi : $ cd /Desktop/ $: cd /ALEXA HOME
3.pi@Raspberrypi : $ cd /Desktop/alexa home $ cd /IOT-Pi3-Alexa-Automation-master
4. sudo python RPi_name_port_gpio.py
Now ask alexa to " find connected devices",
then it will ask you to wait for 20 secs
then say something like
alexa, kitchen on
alexa, kitchen off
Step 4: Different Codes for Different Applications
if you extract the zip file you will get the 2 codes:
1. connect two leds / relays (phycial pin 7, 11 (not gpio pin numbers7,11))
RPi_name_port_gpio.py---> run this code if you want to control two devices only
alexa, lihgt on
alexa, lihgt off
alexa, fan on
alexa, fan off
2.connect eight leds / relays
RPi_name_port_gpio_8_Relays.py (phycial pin 7, 11,13,5,15,8,12,10 (not gpio pin numbers))
for commands see the program.