Let's Make Robots!

Tenacious A

navigate around, make sounds, communicate with other 'bots, flash lights
AttachmentSize
TenaciousA Source Code63.79 KB

 

Tenacious A is one of "twins" -- a pair of hacked Morphibian R/C toys. These can be had for about US$21, are differentially steered, four-wheel drive, with lots of room inside for circuitry, sensors, etc. The are designed to be waterproof, and while I had to remove some of the water proofing to make room for infrared sensors, they are very tough physically and can be handled by kids, can fall off tables, run straight into walls and keep going. We made the subsumption programming very robust; these guys don't get trapped.

My goal with these 'bots was to keep them cheap, cheap, cheap, cheap and also have a matched pair that could run some experiments with our in-house infrared communications protocol. These are esp. useful, because unlike some of the larger 'bots and nests, these puppies must use their IR leds/detectors for obstacle sensing AND tx/rx of IR data. Gets quite tricky "talking with your eyes" and without mistaking IR communication (or interference) for actual obstacles. Last week's tests were great -- Tenacious A communicated clearly, sees obstacles, and rarely sees "ghosts" when "seeing" with his "eyes/ears".

Total cost to build, including the platform itself, was around US$30. Circuitry is pretty simple -- an L293D motor driver and an SX for basic control. A small 5v boost regulator module boosts the 3AA NiMH rechargeables to 5v for the electronics. A whisker contact on the back and a piezo speaker up top round things out. In an effort to save power wherever possible, most circuitry (leds, IR detector, etc) are powered from the SX pins rather than the main rails -- this lets the SX shut down as much as possible when the 'bot "goes to sleep". The Morphibians all have these great white LED headlights -- full PWM with fading is set up for both to make the 'bot expressive.

The small green LED above the left rear wheel is both a "heartbeat" LED and a light detector -- I've become a huge fan of using regular LEDs as light detectors. The light readings are what set overall brightness for the LED headlights, so they only come on in the dark. Quite effective when the 'bot runs from a well lit area to a dark corner, under the couch, etc. Technically, Tenacious B (the twin to the 'bot shown here) is on the bench getting some final touches installed. I'll photograph both of them side by side sometime in the next week. I really wish I had decent video of a lot of this stuff in action, but our video camera gave up the ghost late last year, and our still camera doesn't shoot very clear video (though I've been experimenting and trying to squeeze better quality out of it in this regard).

A .zip archive with my SX firmware and associated libraries is attached to this post.


The jagged hole aft of the batteries allows for inserting an SX key for programming.

The small red PC is a boost regulator circuit (1-4v in, 5v out) picked up online.


Last note -- Tenacious B is much neater in appearance (second time around, y'know). I had much more trouble with the optics on the IR obstacle detectors than I would have thought -- basically this platform is so low that is was quite tricky to place the IR leds and detector so they would reliably see obstacles without reflecting from the floor. Hence the nasty duplicate holes up front where I tried different placements. Oh well.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I loved this bot and Im Im gonna do it for my first build. I just had a few questions, did you add the capacitors on the motors? Could this be done with a picaxe 28X1? thank you so much!

I added .1uf noise suppression caps on the motors.

I don't see why the basic 'bot couldn't be built on a Picaxe, but I don't think the IR transmit/receive code would be doable on that micro. The rest is pretty basic stuff -- PWM with ramping for the motors, sending/reading short IR pulses for obstacle dection, reading the switch for the rear whisker, controlling a few LEDs.

i was just about finished with my Mr Shark Fin Soup robot when my wife asked about this site. after hearing the name and calling me "her little geek" i found your bots. love what you did with the morphibians platform. these things look great. great build and great bots 

Yes, tenacious A and B exist. I just haven't had time over the last few months to do much robot work, let alone shoot and post video. But I will try to do so before the end of Sept (no promises). Below is a pic of the "twins" along with the IR comm. "sniffer" that I use for testing our in-house IR comm. protocol.

Why did we never get any video on this one? Does it still excist? Can you shoot it in action? Please?

Thanks for sharing so much information.  It's really cool how you repurposed the Morphibians.  Looking forward to seeing more!

Awesome! Any chance you could upload some video? I'd love to see it in action.

Nice bots! I'm impressed!

 

Glad I'm not gonna have to reinvent the wheel for my Ant Farm! I mean IR comm and avoidance. I was looking for a small  mechanical platform to build my ant bots. Still looking, but yours looks interesting. I'll get a couple to experiment. Thanks for sharing!

Keep up the updates, we need them!