The [Dallas Personal Robotics Group] recently put together a set of tutorials for their members, including the build process of a table-top robot, they call the Tiny Wanderer. The bot can be constructed pretty easily, and is meant as an introduction to robot building.
The small servo-driven bot uses simple edge sensors to ensure that it doesn’t fall off a raised surface. The sensors were built using a small IR LED and photo transistor, which is partially isolated from the LED by a piece of shrink tubing. An ATiny micro-controller takes two measurements of the amount of IR light entering the photo transistor – one with the LED on, the other with the LED off. The difference of these measurements is compared to determine if the edge sensors are hanging off the side of the table. The logic used here is pretty simple – the difference will be high if the sensors are hovering over a surface, due to reflected light, and low if the sensors are hanging over open space.
The writeup contains templates for building the bot’s structure, as well as source code and schematics for all of the electronic bits.
Be sure to stick around to see a video of the robot in action.
[youtube=http://www.youtube.com/watch?v=k_nPAFHxOYY&2=470]
OK, this is taking a sledgehammer to a walnut!
Why would you use a microcontroller for something you can do with an opamp!?!?!
Never gets old..or does it?
line flowers originally was design to teach students about analog logic
… back in my day we only had negative voltage and the electrons went the wrong way….
You carpers are pathetic.
It is over-engineering, but what I’d like to see next is mapping the extents of the desk, and cleaning the top of it.
This is a neat little project.
To jimbles, if the end goal was this little robot, you might have a point. But, this is intended to be built upon and the way they did it makes it very easy to tinker with and learn.
To therian, this is not a line follower. It ambles around a table and backs off when it finds an edge.
what’s a carper?
As Ralph says, this is an example project used to illustrate a broader range of maker/hacker techniques, categorized as “how to build stuff that uses mechanics, electronics, and firmware using cheap or free tools”. The DPRG tutorials section has the first of three tutorials along that theme posted: http://www.dprg.org/tutorials/2011-02a/index.html Keep an eye on that space for tutorials on how to design with the ATtiny family, and a quickstart for designing schematics and fab boards using KiCad. We’re a robot club, so we chose a robot as an easy example, but the source code and design are easily hacked to other purposes.
Have you built your first robot yet?