Hackster is hosting Hackster Holidays, Ep. 5: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 5 on Friday!
grabowpd
Published

Alexa Controlled Smart Window Blinds

Using Alexa API and voice services on Amazon Developer. I window blind will be controlled using a motor and an Arduino board.

AdvancedWork in progress1,715
Alexa Controlled Smart Window Blinds

Things used in this project

Story

Read more

Schematics

Ardunio Schematic

http://www.dummies.com/computers/arduino/how-to-spin-a-dc-motor-with-the-arduino/

Code

Arduino Code

Arduino
This is the code that controls the motor on the Arduino
int motorPin = 9;
void setup() {
  // put your setup code here, to run once:
  pinMode(motorPin, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite(motorPin, HIGH);
delay(1000);
digitalWrite(motorPin, LOW);
delay(1000);
}

Credits

grabowpd

grabowpd

1 project • 1 follower
Thanks to Brandon Barnhart and Joshua Richards.

Comments