Botty 3 Updated
| Attachment | Size |
|---|---|
| botty.jpg | 245.51 KB |
| oly1.jpg | 194.8 KB |
| oly2.jpg | 192.08 KB |
| Drive_function.jpg | 12.63 KB |
Botty 3!
Updates:
* 16x2 Serial LCD
* Two Sharp-IRs
* Temp Sensor & Light Sensor
* Driving light, turns on when low light
3 Buttons for menu on lcd screen.
Built on the RP5 tracked chassis from polulu. More to come!
Update2:

Overview of the Drive function. Also my new IR-sensor 4-30cm arrived. Perfect for stair and other small objects sensing.
Update:
Sourcecode:



@ Mon, 2009-08-10 23:38
Small question about your
Small question about your code:
I don't get how the drive function works. Precisely, it's the time variable i don't get. Say you call Drive(0, 25); the drive function jumps to "if direction==0" and time becomes 24, but once it reaches the end does it loop back from the start of the "Drive" function? If yes, then when does it come out of it (there's no return in the "if time==0" part).
I mean...no, why should it auto-loop. But then how does it wait the, say, 25 seconds called by the Drive(0, 25) command?
@ Wed, 2009-08-12 18:14
Yes, the time function is
@ Wed, 2009-08-12 19:37
even if obsolete, i still
even if obsolete, i still don't understand how it works :=)
or did you mean "it doesn't work" by saying it's obsolete?
@ Wed, 2009-08-12 21:04
Yes, since It gives a new
@ Mon, 2009-08-10 02:58
Nice! I really like that
Nice! I really like that chassis. What voltage/pwm are the motors running at in the video? Are the gearboxes very noisy, compared to say a solarbotics motor?
I have a similar drive function on my bot too, makes it easy saying mGo(LEFT, 300); etc etc.
@ Mon, 2009-07-27 17:01
at 0.25s it commit a
at 0.25s it commit a mistake, it have to steer left but it go right.... :)
probably sensors scan (turret twist) is too slow compared to bot motion speed
@ Sun, 2009-07-26 23:29
IR and the ultrasound both
IR and the ultrasound both have their advantages and disadvantages. Using them together will be unique.
How well does the chassis work? Does it go straight? How powerful is it?
@ Mon, 2009-07-27 14:53
It works very well, I'm
@ Sun, 2009-07-26 23:12
yeah
@ Mon, 2009-07-27 03:43
Those maxbotics all have an
Those maxbotics all have an analog pin as well as PWM and rs232 level serial out. If you choose the analog they`re just as easy to plug in as an IR sensor.
I use the PWM though, just to save some analog in pins.