Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: garriwilson on August 02, 2007, 09:21:39 PM
-
I just finished my photovore 50$ robot. When I turn on the switch on my battery holder, the wheels start going in opposite directions which causes the robot to spin in one place. If anyone knows what the problem is, I need help.
-
Could the signal leads for each servo be accidentally connected?
-
You might have wired the motors incorrectly. check again
-
Another problem: my LED isn't lighting up when I turn on the robot.
-
I just noticed something. When it spins in place, the left wheel goes backwards. And that's not the only thing: it goes faster than the right wheel.
-
Did you make sure that the servo's internal potentiometers were centred after modifying them. That is pretty important. Otherwise they will act like you say.
To ensure that they are centred, i send out a dead centre PWM signal, and adjust the potentioneter until the servo stops moving.
-
I already superglued the pots. When I program my microcontroller to set them to 0 degrees, they keep spinning in opposite directions. And I think that's right.
-
Another problem. It seems that my photoresistors are badly damaged because when I turn on the robot and point a flashlight on each resistor, it doesn't react at all. It just keeps going and going and going. (Stupid duracell bunny I bet it's his fault.)
-
Did you ever get it to work?
If the pots arent centered properly, and you dont want to redo them, change it in code instead.
When you see servo_left(30), change that number to alter the speed of the wheels.
There is also a chance you got some wiring messed up . . .
-
im having the same problem how did you fixit
-
Make sure you send a signal for the servos to spin in OPPOSITE directions, because when you put them on two different sides of the robot one of them is going to be reversed. It kind of hard to explain, but basically send a signal for one motor to spin forward and the other to spin backward and see if it works.
-
My photovore did that when it was in full light, like in the kitchen. It might be improper resistor values.