Show Posts
Pages: 1 [2] 3 4
16  Using Arduino / Motors, Mechanics, and Power / Re: Servo not rotating 180degrees. on: January 12, 2013, 10:00:36 pm
I understand, but the servo.writeMicroseconds(uS) command is fairly new to me. Is it possible that you  could send me a sketch on how to find the end points?
-thanks
17  Using Arduino / Motors, Mechanics, and Power / Servo not rotating 180degrees. on: January 12, 2013, 04:27:53 pm
Hello, I have two identical servos( http://www.abra-electronics.com/products/ROB%252d10333-Servo-%252d-Medium.html), however, when I hook it up to the appropriate voltage( 6v, 4AA batteries), it only rotates about 145 degrees. Any suggestions? I think it may be in my very simple program.


#include <Servo.h>
 
Servo myservo; 
 

 
void setup()
{
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object
}
 
 
void loop()
{
 
    myservo.write(90);              //I play around with the angles(0-180) but the most it can go is 170 and the minimum is about 25.
    delay(15);                       //I also play around with the delay(I put 20 for 170 degrees)
 
}


18  Using Arduino / Motors, Mechanics, and Power / Re: buzzing servos on: January 12, 2013, 04:22:13 pm
I have two servos, one without anything, and the other is hooked to a robotic claw. Both of them make noise, but when I increase the delay on 170 degrees to 20, its good. However, at 90 degrees, it does not make a buzzing sound at the delay of 15.
Any suggestions?
19  Using Arduino / Installation & Troubleshooting / Re: Bummed out: infamous avrdude: stk500_getsync(): not in sync: resp=0x30 on: January 12, 2013, 01:59:33 pm
hi,
I'm having the same problem...how did you fix it?
20  Using Arduino / Project Guidance / Re: How to unplug arduino on: January 12, 2013, 01:10:08 pm
ok, thanks!
21  Using Arduino / Motors, Mechanics, and Power / buzzing servos on: January 11, 2013, 01:29:01 pm
Hi,
im new to servo use, and I was using a medium servo(http://www.abra-electronics.com/products/ROB%252d10333-Servo-%252d-Medium.html) of operating voltage of4.8-6v. However, it worked without an external power supply. After trying with and without an external power supply, the servo kept on making a buzzing sound after it had moved. BTW, I was using 4 AA batteries. So howcome it buzzes?



my sketch
#include <Servo.h>

Servo servo1;

void setup(){
  servo1.attach(9);
}

void loop(){
  servo1.write(165);  // I changed these numbers constantly from 0-180 deg.
  delay(15);
}
22  Using Arduino / Project Guidance / Re: How to unplug arduino on: January 11, 2013, 01:00:08 pm
My motor is connected via motor driver ic. And no I have not thought about the switch. I just want to know if pressing reset and pulling the plug is safe?
23  Using Arduino / Project Guidance / How to unplug arduino on: January 03, 2013, 08:25:29 pm
Hi,
I have an Arduino uno running two dc motors, and I was just wondering how is the safest way to unplug it if the motors are running ? Should I just pull the usb plug out, should I press the reset button to let the motors slow down a quickly pull the plug?
24  Using Arduino / Motors, Mechanics, and Power / Re: Motors no longer working on: January 03, 2013, 08:22:33 pm
Oh, thanks guys,the battery was just drained. Also, if I want to use 3 motors, should I keep the 6v power supply(because the motors go really fast...its freaking me out a bit.)?
25  Using Arduino / Motors, Mechanics, and Power / Motors no longer working on: December 31, 2012, 03:50:02 pm
Hi,
I have 2 motors(1.5-3v) hooked up to 2 SN754410 motor drivers(1 motor on each SN754410). I attached both drivers on a breadboard and hooked them up so that they share the same power supply of 6v( 4 AA batteries) At first, they worked, but suddenly they stopped working. One motor does not work completely while the other motor only works for 1 or 2 seconds(supposed to work for 10 seconds). Is there something wrong with my power supply because my motors go really fast.And should I get some type of equipment like a voltmeter?
26  Using Arduino / Motors, Mechanics, and Power / Re: Weird motor problem on: December 30, 2012, 08:55:00 pm
Hey Drew, right now, i'm building a tank that will just move forward and turn for certain periods of time. Then im planning on hooking up a simple claw so it can pick up random things like a bottle of water...thanks for asking!
27  Using Arduino / Motors, Mechanics, and Power / Re: Weird motor problem on: December 29, 2012, 06:56:43 pm
Thank you Drew Davis, that helps a lot.
28  Using Arduino / Motors, Mechanics, and Power / Re: capacitor stopping motor?? on: December 29, 2012, 06:37:31 pm
Thank you:)
29  Using Arduino / Motors, Mechanics, and Power / Weird motor problem on: December 29, 2012, 06:18:32 pm
Hi,
I have a 1.5-3v dc motor, and I am using a SN754410 to control them. The problem is that when I hook up 1 motor with a 3v power supply(2 AA batteries), the motor does not move but it makes a tiny noise when I put it near my ear. (I thought the motor no longer worked, but then I used 2 motors with a 6v power supply, and the motors ran at full speed.) Any help clearing this up for me? thanks.
30  Using Arduino / Motors, Mechanics, and Power / Re: capacitor stopping motor?? on: December 29, 2012, 06:14:28 pm
So I should take out the capacitor because it will damage the H-bridge? Is that what is being said?
Pages: 1 [2] 3 4