The House Bot
Here is my current project and first post:
Originally conceived with 4 wheels, half way through the build process I thought it would be cool to balance, so no casters yet. After a few weeks of fiddling with the IMU and Kalman filters, it outputs a good angle, but takes way to long to settle at the correct number. There is no way it will balance until a correct angle can be generated without a settling time. A dual omni wheel suspension system is in the works so that progress can be made on navigation and docking if the balancing ends up to be more trouble than its worth.
Short term to do list:
Balance or add casters
Fix up the PID
Hookup and mount the IR and Ultrasonics
Make a base charger
Eventually, I would like to add a camera or small laptop with webcam to do some image processing for nav and docking, maybe telepresence.
More Details:
Base decks: 1/8" Aluminum sheet, 1/4" angl, thread rod
Electronics: Technological Arts Adapt9S12DP256, Sparkfun Bluesmirf serial port connection to PC, Sparfun 5 Axis IMU, protoboard motor driver with LMD18200's.
Locomotion: 24v gearhead motors with encoders, 5.5" electric scooter wheels with integrated toothed pulley, belt drive to gain a bit more torque and reduce wear on the gearheads
I added some pictures to a blog entry, which I thought would show up on this page, but didn't: http://letsmakerobots.com/node/1735
September 28 Update:
I ditched the balancing idea after weeks if fiddling with the Kalman filter. I came fairly close, but I just could not get the correction to update fast enough. The Kalman filter produced an accurate angle, it just took too long to get it. By the time the correct angle refreshed, the robot was falling to far. I picked my motors and belt ratios for raw torque, not speed unfortunately.
I added a 4 inch ball caster to the front, and two 3 inch omnis to the back. Both omnis share an axle which is mounted on bearings. This axle is connected to the drive wheel axle through 2 aluminum angle arms and 2 more bearings. Right now suspension is accomplished by bungie cords until I find some shocks at a good price.
Omni wheel with lock tab adapter I made.

Underside showing the Omniwheels and suspension.

I mounted the VFD display and some 10 turn pots in a plastic case on the back and neatened up the wiring a bit. Next up is a pan/tilt head with a bunch of sensors. I am planning on using GP2D12s, SRF04s, and a couple of Polaroid rangers. I coded up servo control via PWM since there was a free timer in that module, saving the general purpose timer for other things. Fortunately both sonar modules use nearly the same code, so not much work had to be done there. The biggest issue I ran into was I overlooked a pull up resistor required for the Polaroids(Doh!).
Display and Potentiometers

Messy(but improved!) wiring.

The two videos are of dead reckoning maneuvers using the encoders.
http://www.youtube.com/watch?v=Lo7m98Tu870




@ Tue, 2009-02-24 20:36
Hey, where did you get the
@ Wed, 2009-02-25 01:46
Kornylak , I ordered the
@ Fri, 2008-08-15 08:50
Why are you using a VFD?
@ Fri, 2008-08-15 16:06
The VFD was a cheap and easy
@ Thu, 2008-08-14 14:43
Self charge dock
I like the idea of a robot that knows when to recharge itself. I was actually hoping to make one that can do, among other things, just that. How does your robot know when it needs recharging? I suppose it's monitoring its own battery level (right...?), but what components do you use to do this?
/Dan,
@ Thu, 2008-08-14 16:34
Re: self charge dock
@ Fri, 2008-08-15 09:13
Oh my, that sounds like a
Oh my, that sounds like a very bad idea. There is a lot more to charging batteries than that.
There is a special chip called a UC3906 that does all the work for you. There's a copy of the datasheet on my website http://asmith.id.au/files/uc3906-battery-charger.pdf but you can find it in many places on the internet.
Here's a sketch of the circuit that I use for a 6 volt sealed lead acid battery http://asmith.id.au/photos/sla-battery-charger.jpg
I'll get busy and draw it up properly at some stage. The values will change for other combinations of batteries but the datasheet goes into great detail about the calculations involved.
However your method for measuring the battery voltage is fine as far as I know. Certainly it's worked for me.
@ Wed, 2009-02-25 02:58
There is nothing wrong with
@ Fri, 2008-08-15 16:02
I was thinking about having
@ Thu, 2008-08-14 10:08
(I saw your blog-posting,