Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: mohamed on April 14, 2008, 04:31:10 PM
-
now after i had finished the robot and i decide to give it a try here is what happened
the robot goes is circles and i don't know what to do, is it the problem in the photoresistor or what
i remember a post about that problem but i couldn't find it so plz help me
also i want to make the robot to avoid obstacles could i do that without using the IR sharp or not
thanks
-
Is one of the servos on backwards?
if you look at the pictures, one servo is pointing in a different direction, but also flipped over.
-
i'm sorry but i didnt catch up what u r trying to say?
u mean that i have to flip one of the servos or what
thanks for r post
-
Yeah,
in the pictures of the $50 robot, one of them is flipped
-
i want to make the robot to avoid obstacles could i do that without using the IR sharp or not
Since the only inputs you have are based on light levels then it will only avoid obstacles if they cast a shadow.
the robot goes is circles
Other replies have mentioned flipping the servos. But to make sure then you could make a small program so that both motors go full forwards and see what happens. If it still goes in circles then you need to 'flip' one of the servos.
-
I had this problem too. I pulled off the photoresistors and tested them , and was getting way different readings from them in the same light. I think i may have gotten one a bit hot when I soldered it. Since I was planning on doing the sharp IR upgrade, I went ahead and did that rather than replace the resistors.
-
once you do the UART, you can do a printf of the photosensor output and find their individual ranges in different light and record it. Use admins UART and data logging tutorial for this. Then you can alter your code accordingly. It makes it really easy to make changes to your robots code once you get the bootloader working (I have it working on an ATmega8)
-
use a multimeter on your sensors to see what they are outputting