ShreyanR
Published © MIT

Control Arduino Uno through Google Assistant/Alexa

Use a smart plug to turn on and off your Arduino board using an app or a voice assistant.

BeginnerFull instructions provided5,554
Control Arduino Uno through Google Assistant/Alexa

Things used in this project

Hardware components

Smart Plug
*MAIN COMPONENT*
×1
Arduino UNO
Arduino UNO
Any non-wifi arduino board is fine.
×1
5 mm LED: Green
5 mm LED: Green
Main test subject (any color LED is fine)
×1
Resistor 220 ohm
Resistor 220 ohm
Necessary for LED.
×1

Software apps and online services

Arduino IDE
Arduino IDE
The Arduino IDE. You can also use the Arduino web editor.

Hand tools and fabrication machines

USB type a to type b
To connect arduino uno to computer
Female USB Adapter
To connect Arduino and the USB cable to the smart plug

Story

Read more

Schematics

Arduino LED cicuit

This image was made by Arduino in their "Blink" tutorial. My circuit is the same connection.

Code

LED_CODE

C/C++
Copy and paste into the Arduino IDE
int led = 13;

void setup() {
  
  pinMode(led, OUTPUT);
  
}

void loop() {
  
  digitalWrite(led, HIGH);
  
}

Credits

ShreyanR
0 projects • 6 followers
Contact

Comments

Please log in or sign up to comment.