help with home automation PLEASE!
atari7202
Posts: 2
alrighty... here's whats happening with my project- so i plan on using the bS2 {board of education} to open and close my blinds {the kind the flip up and down} I'm using the continuous rotation servos to control the open/closing and i will be using a leaf switch to detect they are open all the way and i will jsut have it set to close with a timer or maybe a leaf switch also so I'm figuring it out still
so here is the problem the programming.
i would like to know how or what statements to use since im kinda new
i would like it to open when when i have a relay open or apply 5 volts or so on a input or whatever i would like it to stop when it hits the leaf switch and then go back up when the relay turns of for "x" number of seconds
would i be using if then statements some how? please help a newb out
so here is the problem the programming.
i would like to know how or what statements to use since im kinda new
i would like it to open when when i have a relay open or apply 5 volts or so on a input or whatever i would like it to stop when it hits the leaf switch and then go back up when the relay turns of for "x" number of seconds
would i be using if then statements some how? please help a newb out
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Since you already have the BASIC Stamp 2 and BOE, have you already completed What's A Microcontroller? Robotics with the Boe-Bot
There are very useful lesson in those books that will help working with the BASIC Stamp 2; also if someone offers suggestions with reference to the book or lesson (which is common for the forums), you know how to utilize it. Both books are free for download, and another book that will be a great help when programming is the BASIC Stamp Syntax & Reference Manual; that book covers all the commands and how to use them.
BASIC Stamp Syntax & Reference Manual:
http://www.parallax.com/Portals/0/Downloads/docs/prod/stamps/web-BSM-v2.2.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Respectfully,
Joshua Donelson
www.parallax.com