Pages: [1]   Go Down
Author Topic: What i need in order to rotate 60° right and then 60° left (back) ?  (Read 391 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Sr. Member
****
Karma: 3
Posts: 268
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Probably a stepper motor or a servo
Logged

Arduino Uno;
Mega328

Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Sr. Member
****
Karma: 3
Posts: 268
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Arduino Uno;
Mega328

Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 23
Posts: 1753
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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

Ayer, Massachusetts, USA
Offline Offline
Edison Member
*
Karma: 50
Posts: 1766
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley 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
Logged

Ayer, Massachusetts, USA
Offline Offline
Edison Member
*
Karma: 50
Posts: 1766
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: