Arduino sketch and iPhone app for an automated window blinds system, capable of opening, closing, and scheduled opening of window blinds connected to a stepper motor. Read more about the project here, or watch a video of the completed build in action on YouTube.
The Arduino sketch was developed to run on an Arduino Uno R3 connected to an Adafruit Motor / Stepper / Servo Shield and a SparkFun CC3000 WiFi Shield. Updating the sketch to use a different Arduino board, motor controller, or CC3000 based WiFi shield should be trivial.
Contains the Blinduino.ino sketch file and its library dependencies. To use, move the /Arduino/Blinduino directory into your Arduino development folder and copy the libraries into your Arduino libraries directory. The libraries are a combination of new development, modfied vendor libraries, and un-modified code. They break down as follows:
- Adafruit_CC3000_Library Modified from original Adafruit library. Trimmed to reduce compile size and allow the sketch to run on an Uno. See Program Space section of the project write up for more info.
- Adafruit_Motor_Shield_V2_Library Adafruit library
- CC3000_NTP New Adaptation of Arduino NTP client code for use with the CC3000 WiFi shield.
- CC3000_RequestHandler New Basic HTTP request parser and handler for requests sent to an Adafruit_CC3000 server.
- EEPROM_Tools New A few EEPROM read/write shortcuts.
- Time Arduino Time Library
- TimeAlarms Library by Michael Margolis
Contains the Blinduino controller iPhone app project. Dependencies are managed with CocoaPods. See site for setup instructions if you don't already use CocoaPods, and then run pod install to install required dependencies. Unit tests can be run via the standard XCode test interface.