Prototype robot car
This is a prototype of a robot car I am designing for the classroom. The idea is to create a kit, cheap and simple enough for the classroom with enough educational value to challenge students for a semester.
Most robots use a differential skid steer system, I decided to use a car chassis which provides the additional challenge of 3 point turns.
The steering is driven by a DC motor with a potentiometer providing feedback. This allows the steering to be precisely controlled with suitable code.

The car is 75mm wide, 150mm long and about 60mm high. The large flat area at the front is ideal for adding a small breadboard.

Bumper switches have been replaced by the 3-axis accelerometer which can detect the magnitude and direction of a collision or impact when hit by another robot.
Using the accelerometer provides a number of challenges. Firstly the results must be filtered to reduce noise. Secondly I found that when the car does collide the body vibrates for a short period. This vibration must also be filtered in order to get an accurate reading.The accelerometer is also useful for detecting inclines and determining if the car is in danger of tipping over.
Four IR LEDs and phototransitors are mounted on the sensor PCB at the front of the car. These allow the car to follow a line and detect edges.
The body is made from laser cut acrylic panels and the aluminium chassis is from a previously discontinued solar car. The heart of the car is DAGU's new Micro Magician robot controller which has a dual 1A FET "H" bridge and the 3-axis accelerometer built in.

Currently I am learning to create libraries for Arduino so I can make some features easier to use. I have also had 1 teacher request the inclusion of an encoder.
I would love to put a mouse sensor underneath as this would measure distance, speed and direction (for steering calibration). The big problem is that the mouse sensor needs to be very close to the ground which limits ground clearance considerably.




@ Sat, 2012-01-21 22:23
I can see this making it's way
into a lot of robots. There's a lot packed into a tiny board there. I can't off hand think of any boards offering the controller, h-bridge and an accelerometer all in one. Is dagu planning to offer the board alone?
@ Sun, 2012-01-22 01:56
Yes, currently it is Chinese
@ Sat, 2012-01-21 20:33
I like it!
Nice clean well thought out design-as usual from the Oddbot. I got to tell you though, you have NO idea how bad I want to build a body for that thing..........
@ Sun, 2012-01-22 02:02
Ha ha
@ Sat, 2012-01-21 20:20
Servos
Nice Vehicle and a real novel way of detect and turn....
.... your Steering servo mech caught my eye though (very neat and i would like to try this out)....
It leads me to impulse you with :-
Strong Branded Servos are expensive for what they actually are - your steering Servo could be easily scaled up for real high power work (not just for steering) , i can see that using a potentiometer is ok provided you dont go past the end stops , you can put mechnical end stops however when the servo motor hits one it goes into stall situation and currents can go high....... How could you prevent this or better limit/control the holding current ?.....
@ Wed, 2012-01-25 16:56
G'day Gareth, perhaps the
@ Sat, 2012-01-21 16:55
Great board design Oddbot
Very convienent bridge & motor connectors. I really like the split of some of the data-pins with the 3 prong & some with the bi-gender header (very experimenter freindly). The IR reciever looks like it would have "fun" potential too. I'm a little suprised you put a USB connector vs FDTI (or other cable solution) if space was at a premium, but this was probably a convienence over space decision? All rails are 3v? Is there a strategy for handling 5v sensors?
I have an aunt who drives like that.. maybe she needs more sensors..
@ Sat, 2012-01-21 17:56
The design is aimed at small
@ Sat, 2012-01-21 15:21
Hey OddBot, nice car you've
Hey OddBot, nice car you've built there! I have a suggestion for your mouse sensor, mount it in the middle of the front axle, perhaps on a sled hinged at the front and wheeled at the back so it keeps a constant height towards the ground but allow to climb over obstacles instead of getting trapped. Being at the front, the sensor will allow both speed and steering control.
Cheers!
@ Sat, 2012-01-21 16:06
I agree
If I do install a mouse sensor then there is a hole in the chassis, originally intended for a miniature servo that is in a perfect position. This would allow the steering to be corrected as well as measuring speed/distance.
I have already experimented with using mouse sensors in the past to replace encoders. While they are more prone to accumlative errors they are cheaper, easier to use than a quadrature encoder, can measure 2 axis's simultaneously and still only need 2 data pins.