Let's Make Robots!
Price: $5 USD
This thing is one of the most acurate light sensors I've seen.  You configure it by making pins 1 and 2 high or low to control it's sensitivity and make pins 7 and … Read more
It goes forward until it sees an obstruction and then turns towards the next most promising direction and goes forward again
Using a
This is a robot that is based on the start here bot, and my CD Scout.  It's basically the same input and output devices in the CD Scout, but this one has a better … Read more

Sharp IR tracking code

I'm trying to get a Sharp IR sensor on a servo to track the left edge of an object, i came up with this code:

symbol detection = 50

main:
readadc 4, b1
if b1 > detection then
goto servoleft
else
goto servoright
end if
goto main

servoleft:
servo 3, 100
return

servoright:
servo 3, 200
return

 

picaxe 28x1 starter board power

I put 4.5 volts on the main power terminals of the board, then put 6 volts on the 3 pin power circuit near the top of the board, because i was going to connect a servo and wanted to make sure i had enough power, but it wasn't connected yet.  I think i may have fried something, the chip got really hot.  was this too much power to put through the board?  i thought thats what that extra circuit was for.
It goes forward until it sees an obstruction and then turns towards the next most promising direction and goes forward again
Using a

wire to use to hook up motors and servos

i recently ruined my 2 gm-9 motors because i soldered the wire to the board and to the 2 motors, and i moved the motors around to get the balance right.  i snaped the copper connections off of the 2 motors because the wire was so stiff that it just tourqed them off.

 Can i use a different kind of wire?  What kind of wire should i use that will have more give than this stiff hookup wire?