Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time).
0 Members and 1 Guest are viewing this topic.
I'm getting now 5V at the servo bus and 4.94V at the sensor bus. Does that sound right?
[...] running the .hex centering file provided in the servo tutorial, nothing happens.
Interestingly enough, if I short the transistor leads (middle with either of the outer leads), the servo kind of rotates for a millisecond.
Here is a picture from when I built my $50 robot board:Maybe u can use that and compare to your own to try to see what the problem is.
Hi,Quote from: jp1390 on September 06, 2010, 08:18:26 PMI'm getting now 5V at the servo bus and 4.94V at the sensor bus. Does that sound right?Yes.Quote from: jp1390 on September 06, 2010, 08:18:26 PM[...] running the .hex centering file provided in the servo tutorial, nothing happens. If you have access to a 'scope (or know someone that has), measure the signal lead of the servo - it should carry pulses of 1.5ms each 20ms approximately.Quote from: jp1390 on September 06, 2010, 08:18:26 PMInterestingly enough, if I short the transistor leads (middle with either of the outer leads), the servo kind of rotates for a millisecond.If you by "transistor" mean the voltage regulator, stop doing that immediately!Why do you think shorting components will help anything? It's the safe route to destroying them!Your servo will almost allways jitter a bit when powered and when you short circuit your voltage regulator (you naughty kid, slap yourself ), you make a power down and power up (at least until you kill the regulator), hence a little jitter.The reason it doesn't do anything besides it could be that it is centered properly and the 1.5ms pulses should keep it that way.Try loading another program that actually moves the servo.
Thanks ... I only wished I used a thinner wire when I made the board, 22 AWG is much to large.The voltage regulator seems to be connected the proper way (at least ground and output are). But is the voltage regulators Input (the pin with the short red wire) connected to anything? From the picture it looks like the pin goes to the red wire and then is just soldered to a random spot...
The roundedness you get at the end of a soldering iron is usually due to keeping the soldering iron on for long periods of time (in excess of 2 hours), or forgetting to clean the soldering iron tip.Your wiring is good for the 5V regulator, so i really dont know what could be the problem Maybe, under worst case scenario, your chip is kaput...fried.
Try uploading the atmega168 upgraded code for the $50 robot to your robot with only one servo plugged in. Tell me if you can successfully program the chip, and if the servo moves.I don't know if not using an atmega8 would have any effect on the servo centering code, sorry.