I am confused. Are we talking "windows" as in the windows in a house......i.e. the things that typically require a reasonable to significant amount of force to open and close? If so, that servo won't even come close to having the torque needed.
sorry i didn't mention it , windows will be made of cardboard or something very lightweight... so i imagine how move them back and forth, or up and down....somehow...
Hi, If you're talking about real windows, look at automobile window motors and mechanism. Buy from Auto supply companies or scrap yards. 12V at 3 to 5 amps, maybe more at starting transient. You could control with relays.
For Arduino Power Control info see the INFO on the ArduinoInfo WIKI here - http://arduinoinfo.info
invader7:
Yes they will be very light , so a servo like this will work ! thanks ! how many pins does it needs ? (i hope 1 , i hope 1 , i hope 1.... etc..)
A servo needs 1 pin for control, plus ground and power. Here is a howto on using servos: Make: Projects
You might be able to control a small hobby servo powered by the 5v pin on the Arduino, but as you get to more than 1 servo, or servos that need more power, you should wire up the servos with external power (make sure you connect the Arduino and external power grounds). Here is a tutorial on wiring up servos: http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
Since a servo is 0..180 degrees, I would recommend makng 90 degrees the '0' point, and then you can go from -90 to +90 from that point, by adding 90.
MichaelMeissner:
Since a servo is 0..180 degrees, I would recommend makng 90 degrees the '0' point, and then you can go from -90 to +90 from that point, by adding 90.
Thanks for your answer !! its great , i undestood it the most importan was how many pins i will need , 1 pin is the best to hear ! how they work i will find it when i order them
I forgot to mention, buried in the servo documentation is the warning that on UNO's, the servo library turns off the PWM functionality of pins 9 and 10, no matter whether there is a servo on those pins. I have an LCD shield that wants to use pins 9 and 10 as PWM pins, and it is incompatible with using servos.