Djeff-209 MkI
| Attachment | Size |
|---|---|
| djeff209v1.bas | 3.11 KB |
Djeff-209 is my first robot, based on the LMR Start Here robot.
I swapped out the wheels for tracks, and an SRF05 ultrasonic in place of the Sharp IR sensor.
At first, Djeff would try to avoid invisible objects, so I simply added an additional range check before initiating collision avoidance (I was getting "ghost returns" from the SRF05).
Articles (and code) I used to get off the ground:
"How to make your first robot" and "How to connect SRF05 to Picaxe 28 pin Project Board".
My code is attached.




@ Wed, 2010-09-22 21:18
Nice my friend,looks like my
Nice my friend,looks like my first robot too....but yours is cleaner and your wires aren't a mess like mine.
One question....since I'm still learning programming languages. In you code,you didn't have to declare the pins for your motors as high and low? I was looking for pin4 to pin7 but you're using A and B. Can you explain please? Thanks and congrat for your robot,I like the servo movements.
@ Wed, 2010-09-22 22:46
purists may not like it but...
Hi, and thanks :-)
I used the "forward " and "backward" commands instead of the "high" and "low", it was easier to type ;-)
The "A" and "B" refer to the motors.
So, "Forward A" means "high 4 : low 5"; "Forward B" means "high 6 : low 7".
Same idea for the "Halt A"; you're actually saying "low 4 : low 5".
CT
@ Thu, 2010-09-23 03:34
Thanks for your fast reply
Thanks for your fast reply my friend. Yes that's easier,I didn't know those were command. I've tried your code on my robot,just had to switch the motors wiring. Did you try the Frits clean_navigation code,it works fine to me. Keep up the good work.
@ Thu, 2010-09-23 15:42
even i used clean_navigation
even i used clean_navigation for my SHR..it worked great for my robot..
@ Mon, 2010-09-20 21:49
Congrats! Good basic SHR. It
Congrats! Good basic SHR. It looks well constructed.
Now it's time to add more features or take what you learned and build something new!