For this project we wanted to create something that could be put to use in our own homes. For the prototype a set of unused blinds were used so that nothing was damaged if something did not work out right. Once this project is completed this device will be set up in an actual home for everyday uses.
How It's Set UpWe used two Photons one working as the light detector with a photoresistor on it and one working as a servo motor to control the actual motion of the blinds. The photoresistor uses the voltage across to change the variance in resistance. The higher the light intensity the larger the resistance drop is. This is how the threshold was determined. To allow the Photons the send a messages when the device is used two separate IFTTT programs must be made. One for “Day” and one for “Night”. Two more programs are made to record the data so that the automatic blinds have a record of when it is opened and closed.
Photoresistor
- Take the Photon and place on the breadboard.
- Take the photoresistor and place one end on A0 and the other end on A5.
- Then take a 220 Ohm resistor and place on A0 and A5. (This set up came with the Photon kit as one of the starter builds)
- Lastly connect to a power pack or a wall plug to apply power to the Photon and place in window sill.
Servo
- Take the Photon and place on the breadboard.
- Connect the brown wire of the servo to ground (GND), the red wire of the servo to VIN, and the orange wire to D1.
- Connect the rood into the spool with superglue.
- Cut the tooth picks to make a holder for the servo.
- Place the rod back into the blinds and connect the Photon.
The 3D-printed spool is glued on to the end of the blinds rod and the safety pin is placed in it.
After the glue dries, the rood can be placed back into the blinds. A small end cap is placed on the end of the blinds so that the rod can not pull out.
A motor holder was crafted out of popsicle sticks as seen below and then is placed on and glued to prevent the motor from shifting side to side.
Photoresistor
Servo
IFTTT
For this project 4 IFTTT applications where made. Two were for notifications if the blinds where open or closed and two were for tracking of the open and closing of the blinds with a time stamp. The google sheet automatically collects the data from the IFTTT application.
Comments
Please log in or sign up to comment.