Go Down

Topic: What i need in order to rotate 60° right and then 60° left (back) ? (Read 572 times) previous topic - next topic

invader7

Hello , i will have some windows at my project and i will need a solution to open and close them , wich is the cheapest solution ? thanks !

I was thinking a motor which will rotate left-right and the next time it will be triggered it will rotate right-left.

jerseyguy1996

Arduino Uno;
Mega328

invader7


jerseyguy1996



Probably a stepper motor or a servo


this for example ? https://www.sparkfun.com/products/9065 and it needs 1 pin to control its direction ??

thanks


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.
Arduino Uno;
Mega328

invader7

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...

terryking228

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  

See: http://arduino-info.wikispaces.com/ArduinoPower

If they are really light, large servomotors like these should work: http://goo.gl/DHvUT  

They have 7 inch-pounds of torque. Test to see what forces you really have...


DISCLAIMER: Mentioned stuff from my own shop...
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

invader7



If they are really light, large servomotors like these should work: http://goo.gl/DHvUT  

They have 7 inch-pounds of torque. Test to see what forces you really have...



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..)

MichaelMeissner


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: http://makeprojects.com/Wiki/Servos

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.

invader7


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

MichaelMeissner

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.

Go Up