Automated Window Blinds help
436353
Posts: 5
Hey all,
We are doing automated window blinds as our group project. The basic idea is to use 4 photoresistors (2 indoor/2outdoor) to modulate the window blinds using continuous servo motor. One of my buddy suggested i use Basic stamps. I did some research and found that you can control servo motors using the basic stamps. Now the question is, How can i use 4 analog inputs,since the basic stamps can only handle digital inputs. Can u point me towards maybe a sample code some one has already written. Or an alternative idea.
Thanx in advance and sorry if i missed an already posted thread containing the info.
We are doing automated window blinds as our group project. The basic idea is to use 4 photoresistors (2 indoor/2outdoor) to modulate the window blinds using continuous servo motor. One of my buddy suggested i use Basic stamps. I did some research and found that you can control servo motors using the basic stamps. Now the question is, How can i use 4 analog inputs,since the basic stamps can only handle digital inputs. Can u point me towards maybe a sample code some one has already written. Or an alternative idea.
Thanx in advance and sorry if i missed an already posted thread containing the info.
Comments
Rich H
1. You can use the RCTIME command. W9GFO pointed to a good reference for using it.
2. You can put each of the photoresistors in a voltage divider circuit and use and analog to digital converter to measure the voltage across the phototransistor. A 4 channel ADC and its support documents can be found at:
http://www.parallax.com/Store/Components/IntegratedCircuits/InterfacingChips/tabid/613/CategoryID/78/List/0/SortField/0/Level/a/ProductID/240/Default.aspx