Society of Robots - Robot Forum

Software => Software => Topic started by: dellagd on March 15, 2009, 06:51:00 PM

Title: does my circuit board work?
Post by: dellagd on March 15, 2009, 06:51:00 PM
is there a simple code I can put into my ATmega8 to see is my $50 board is working?


PLZ HELP THE SCIENCE FAIR IS ON APRIL 1ST!!!!!!!!!
Title: Re: does my circuit board work?
Post by: SmAsH on March 16, 2009, 11:21:18 PM
why can you not just upload the $50 robot code?
Title: Re: does my circuit board work?
Post by: dellagd on March 17, 2009, 06:07:45 AM
since I am having trouble modifing the servos, i am using the zero servos code, but I can't tell if its working.
Title: Re: does my circuit board work?
Post by: paulstreats on March 17, 2009, 11:05:58 AM
if the led comes on after you program it with the $50 code then it should be working.
Title: Re: does my circuit board work?
Post by: dellagd on March 17, 2009, 02:24:25 PM
all that happens w/ the zero_servo code is the servo twitches and the led blinks for the samw amount of time.
Title: Re: does my circuit board work?
Post by: paulstreats on March 17, 2009, 06:23:34 PM
try loading the full $50 code on and see what happens
Title: Re: does my circuit board work?
Post by: Resilient on March 17, 2009, 08:40:24 PM
So, I assume the zero_servo code, should center the servos? So if the servo centers itself then its working?

If you turn the servo away from the center point while the power is off, does it recenter when you power on?  If so it sounds like it is working.

If its for continuous rotation servos, change the code from a center position to a non center position and see if the servos spin.

Title: Re: does my circuit board work?
Post by: dellagd on March 18, 2009, 01:51:10 PM
Quote
all that happens w/ the zero_servo code is the servo twitches and the led blinks for the same amount of time.

w/ the code the servo will twich about 15 degrees and if I run it again, it will rotate another 15 until about 5 times later it doesn't twitch at all and stays in the same spot. I am not sure if this is what it is suppose to do so I don't know if the circut board is working!!!!