Slashdot Mirror


Building a Small Autonomous Robot?

Nedward asks: "For Christmas I would like to give a friend all the equipment to build a small (approx 1 ft^3) mobile autonomous robot. I have looked up some kits online, but I would like more freedom than the kits offer (fully programmable, etc). The challenge: I only have $200.00 to spend. Has anyone put together a robot (CPU, motor, sensors and so forth) with that kind of a budget? Any other suggestions?"

43 comments

  1. Lego Mindstorms by nuxx · · Score: 3, Insightful

    Two words:

    Lego Mindstorms

    The perfect getting started programmable robotics kit...

  2. Lego my robot by BortQ · · Score: 2, Interesting

    What about the robotic Lego packs? Seems like that would be a good fit for what you seek. Don't write it off if you have never seen one, they are pretty cool. (Although it cannot be used like a general purpose CPU).

    --

    A Multiplayer Strategy Game for Mac OS X, Windows, and Linux
  3. Lego Mindstorms by bjz · · Score: 3, Informative

    Take a look at the Lego Mindstorm kits http://www.legomindstorms.com/. They're in the $180 to $200 dollar range and come with all the parts your friend would need. Plus, there are several choices for programming the Lego Mindstorms programmable brick on both Windows and Linux, including BrickOS, Lejos(Java), and NQC(Not Quite C).

  4. One word response by FueledByRamen · · Score: 5, Informative
    MC68HC811E2P.

    I've built a few robot platforms around the 68hc11 brain, and that chip is the easiest one to get started with:
    • 8 bucks each, from any number of suppliers
    • Single-chip solution - the only external components are an 8 MHz crystal and 2x 22pf capacitors
    • DIP package - fits into Radio Shack solderless breadboards nicely
    • It's fast - a whopping 2 MHz
    • 256 bytes of RAM, and a 2K EEPROM for program storage
    • 16 lines of digital I/O, 8 ADCs, input compare and output compare timer lines, 2 serial ports, and a few other nicities
    You can download code to it over the serial port (and write it into the EEPROM), with the addition of 1 more chip - a MAX232 serial level converter. Tools for its instruction set (compilers, assemblers, etc) are very easy to find, as are schematics for a basic setup for the chip and for the serial converter. A google search should reveal a BASIC and a FORTH compiler for it, among various other (free) tools.

    The guys at the Seattle Robotics Society do a lot with this architecture, and they have plenty of articles and links pertaining to it.
    --
    Every cloud has a silver lining (except for the mushroom shaped ones, which have a lining of Iridium & Strontium 90)
    1. Re:One word response by jacobdp · · Score: 5, Informative
      DS89C450.
      • Costs around $10, or you can get two free samples from Dallas Semiconductor, the manufacturer.
      • 8051 archictecture.
      • Also a 40-pin DIP package; just add a crystal and some capacitors.
      • 33 MHz, and most instructions are executed in 1 clock cycle.
      • 1k RAM, 64k Flash.
      • Two serial ports, 32 pins of digital I/O, timers, counters, etc.
      • Serial port programmable with just a MAX232 and a 74HC125; there's a bootloader program in ROM built in on the chip.
      • Programmable in whatever, but there's a free C compiler available, which is quite easy to get started with
      And it's a recent design (last year, IIRC) - but it's based on the incredibly popular 8051 architecture, so there are tons of software tools available for it.
  5. Get down! by AbsurdProverb · · Score: 1

    You may have some trouble getting your hands on a neural processing computer for under 200$.

  6. Just one question by Odocoileus · · Score: 5, Funny

    Can I be your friend?

    --
    ...
  7. Check out some sumo resources by TomGroves · · Score: 3, Informative

    You might find sumo-related resources helpful or inspiring. Full-size (Japan) scale sumo's are 20cm^2. Mini-sumo (the most popular scale in the US) is limited to 10cm^2. Many of the designs focus on low-cost parts, tricks, etc.

    I have a list of some mini-sumo links here

  8. lots of different options.. by hari · · Score: 5, Informative

    Trusty 'ol HandyBoard
    68HC12
    Lego Mindstorm
    8051 development board
    Good 'ol Parallax

    There are also chips/development boards from Microchip (manufacturers of PIC series of ucontrollers) and Atmel.

    Most of the above DO NOT come with motors, sensors, base, wheels etc. However, these are not difficult to find at a nearby hobby shop.

    For a little more challenge, get a DSP board (TI, Motorola, Analog devices etc). You can get a good new/used one for pretty cheap from eBay

    1. Re:lots of different options.. by alienw · · Score: 1

      For most microcontrollers, a dev board is not necessary. PICs are in-circuit programmable, and the only external part they require to run is a ceramic resonator. You can make a programmer for PICs for about $5 (see here). I would just make a board with the programmer, a PIC, and a jumper to switch it to programming mode. Route all the I/O pins to a header and put all sensors and electronics onto that board.

    2. Re:lots of different options.. by Anonymous Coward · · Score: 1, Informative
      The PICmicro platform is pretty good, but frequently new users have to get started with MPASM, since free compilers are pretty sparse (JAL is okay, and some makers have limited use demos). MPASM really turns people off because of the sheer amount of code you have to write to do something useful.

      The Atmel AVR systems have a full free toolchain based on GCC, and can be in-circuit-programmed for cheap. You can't get the highest-end chips in DIP, but you don't need Mega128's for most projects.

      Best solution for starting out: the OOPic. The OOPic is a PICmicro programmed with a pseudo "object oriented" hardware language, and a simple scripting language. Compiler is free, works great, uploads over a serial cable. You can quickly hack up little things to try. There's also the Basic Stamps, but I haven't used those.

      After you get happy with doing things like that, you can expand and get into AVR's and PIC's directly. Maybe by then you'll be able to justify in your mind buying a compiler, too.

    3. Re:lots of different options.. by alienw · · Score: 1

      I started with MPASM and that's the only thing I use still. I really think things like the OOPic are kinda pointless (not to mention overpriced). Half the fun is being able to use the processor directly for microsecond-definite timing and other neat features. Microcontrollers are for simple things. If you are doing something that is too complex to write in assembly, you shouldn't be using an 8-bit microcontroller.

      I don't see any point in using a compiler, really. Compilers generate very inefficient code, often generating 15 instructions where 3 would suffice. In a processor with 2K of ROM and 40 bytes of RAM, that's not good. Compilers are nice for some things, but are most certainly optional.

  9. Here's one under $100 by Anonymous Coward · · Score: 5, Informative

    http://www.junun.org/MarkIII/Info.jsp?item=1

    "This is the complete Mark III Robot kit, everything you need to build a working autonomous robot including controller board, sensors, pre-programmed PIC, chassis, wheels, motors, documentation and software. Just add batteries. Assembly required."

  10. Alternative suggestion... by quamaretto · · Score: 1

    But you'd have to have gotten started on it in March.

    --
    *is run over by rotten tomatoes*
  11. Cybikos ? by Anonymous Coward · · Score: 0

    There is an SDK that allows you to write code for a cybiko. It as a serial port that could hook up to something like this: iom42. Cybikos can cost as little and $7 to $15 used. You just need a small lead-acid battery, motors, legos, and sensors after that. Which will probably put you over $100, but it may be as close as you can get -- you get to program it in C instead of assembly, unlike most of the PIC chip solutions, and if you get two, they can talk to each other wirelessly and colaborate.

  12. Handy Cricket by Grond · · Score: 4, Informative

    The Handyboard is a favorite of robot hobbiests and researchers. We use them in our Mobile Robotics class at Uni. The full-on Handyboard is about $299, though. A somewhat reduced version of the Handyboard, the Handy Cricket is available for $99 from Gleason Research with a sensor/motor kit included. If you check the Handyboard page, there are several other vendors, including ones that sell unassembled kits for less, if you're not afraid of a little (okay, a fair bit of) soldering.

    I recommend using Lego to build the body of the robot as it's highly reconfigurable, cheap, and fun to play with even without the robot parts.

  13. Budget by cowbutt · · Score: 1
    Wow, $200 is a quite astonishingly low budget for this project, nevertheless - good luck!

    My alma mater had an 'Intelligent Autonomous Vehicles Lab', which consisted of M680x0 VME machines mounted to a motorized chassis with a bunch of sensors (collision, light, ultrasound, video). I'm pretty sure they were powered by rechargeable lead-acid cells when they were 'off the leash'. I dread to think how much all that must have cost back then. Probably a few grand per robot. :-/

    More details can be found in this introductory paper.

    I'd suggest going with a similar design, but using slightly less esoteric hardware - a soekris device, perhaps. Unfortunately, that'll probably blow most of your budget alone. :-(

    --

  14. Hobby Engineering by mwilson · · Score: 2, Informative

    These guys sell a sumo platform (BASIC Stamp powered) for $90. That leaves room in the budget for upgrades. or buy two so they can battle :)

    1. Re:Hobby Engineering by Anonymous Coward · · Score: 0

      Not to dis HobbyEngineering, but their sumo robot (the sumovore I think) has no brain. It's a hard-wired electronics gadget and cannot be reprogrammed for any purpose at all.

      The Junun Mark III, at only a little bit more, is a far better choice.

  15. Robot Builder's Bonanza by thomthom · · Score: 2, Informative

    Go to your nearest library (or bookshop if you want to buy it. good reading if you like that stuff) and get a copy of "Robot Builder's Bonanza". It's a big book on how to make small robot projects on low budgets. I got it my self and it's really interesting. The projects are easy to understand and easy to manipulate to your own desires.

    1. Re:Robot Builder's Bonanza by TheOtherChimeraTwin · · Score: 1
      That book lists for $25 (OK, you can find it cheaper, but it is still a big chunk of the tiny budget.)

      I'd recommend instead making a robot costume. You could show up in the costume with a nice red bow, vacuum the carpets, serve a couple of drinks, and sneak out after everyone goes to bed.

  16. Does he own a Palm? by Bastian · · Score: 1

    If so, give him the PalmPilot robot kit!

    It doesn't do a whole lot - 3 infrared rangefinders for sensors, not much (if any room) to add more sensors or devices, but it does move holonomically. =D

    1. Re:Does he own a Palm? by AndroidCat · · Score: 1

      If he doesn't have a Palm, I'm sure he can find a cockroach.

      --
      One line blog. I hear that they're called Twitters now.
    2. Re:Does he own a Palm? by magefile · · Score: 1

      Holonomically?

    3. Re:Does he own a Palm? by Bastian · · Score: 1

      It can move in any direction, it can turn while moving in a straight line, blah blah blah.

  17. Why not this? by Anonymous Coward · · Score: 0
  18. +5 Informative? Are you slashbots morons? by Anonymous Coward · · Score: 3, Informative

    The HC11 has been nearing the end of its life for years now. You'd be nuts to use that chip in a new design.

    Consider using an AVR chip. Its a nice, modern RISC (32 registers, compared to the shitty HC11's handful). They are much cheaper, have a shitload more memory and peripherals, and tons faster (16/24 MIPS). Even a common-as-dirt PIC chip would be better then this.

    The tools are much better for PICs and AVRs because they are much more popular.

  19. robot controller from compubotics by malice95 · · Score: 1

    Check out compubotics robot controller.. 70$
    plus pick up 2 servos, modify them for continious
    motion and wammo.. easy and cheap robot for about
    100$ Spend the rest on sensors, etc.

    1. Re:robot controller from compubotics by harrkev · · Score: 1

      The parent is right about the servos. You can get gearhead motors for under $20 each and fifteen minutes of work.

      Here is my complete recomendation:

      ***Brains***
      Anything that you are familiar with. Can be a palm, PocketPC, microcontroller, or PC104 board. Just be sure that whatever you choose has a good compiler and debugger. You will also need some digital inputs and outputs. And an analog-to-digital converter is VERY nice to have (almost manditory).

      One approach to use if you have an old Palm/PocketPC device is to interface it to a microcontroller through an RS-232 interface. The microcontroller can drive the digital I/O (sensors, motors, etc.), and just pass data back and forth to the real brains. This means that your microcontroller code is as small and simple as possible, and all of the real work takes place in a platform with a screen and good development tools. This is the best "gheto" approach for those on a shoestring budget.

      If you have more money, a PC104 or a good microcontroller board would be a good choice. It is possible to get these with abundant digital and analog I/O. This means that you only have one processor to code for. The down side is that you will likely have to spend some money for one of these boards, which may put you over your budget.

      ***Brawn***
      Modified hobby servos. These are readily available, and come in all sizes from extra-small to extra-large. Just glue or screw some wheels to the round horn. You can remove the board and control them with an external H-bridge. Your other option is to leave the board in, remove the potentiomenter feedback linkage, and control them with a PWM signal. This has the advantage of only taking one digital output in order to control the servo two ways. However, it requires writing PWM code.

      Get these from any on-line hobby store (or buy local if you are in a hurry).

      ***Body***
      Model aircraft plywood. This is the BEST stuff to use. It is very strong, and very light. You can get two square feet for around $10 to $20 (depending on thickness). You can cut it with simple hand tools, and put it together with "Zap-A-Gap" ($3) or equivalent (extra-thick superglue). Throw in a coping saw for $12 and $3 for sandpaper. This stuff is VERY easy to work with, and you can do anything with it. You can even paint it when you are done. My opinion is that Legos suck because they fall apart too easily, and they are too heavy. Once again, this is available at any good hobby store.

      ***Sensors***
      You have a ton of options here.

      If you can find/afford them, a PSD-type sensor such as a Sharp GP2D02 is very nice to have (google "GP2D02" for some cool info). But it has been close to a decade since I have played with this stuff, so that model is no doubt discontinued and replaced with something better.

      You can also create circuitry to drive IR LEDs at 40KHz, and then use sensors to detect the reflected light. These sensors are made to go in things like VCRs and DVD players to detect 40KHz-modulated signals from a remote control. So they are digital devices, but some (such as some Sharp metal cans) can be hacked to give out an analog signal. E-mail me for details if you are interested.

      Hamamatsu also makes some nice digital sensors which have an LED driver built in. These also detect only their own LED, which is VERY nice. The only down side is that they only output digital signals.

      You would also be surprised what you can do with something simple like a CDS photo sensor.

      ***Power***
      Rechargable batteries. Standard AA NiMH cells from your local department store work well. If you are building a BIG robot, you can also try using a gell-cell. But these are very heavy.

      Remember - the name of the game is to have fun!

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
  20. RoboSapien + PDA Phone by sonamchauhan · · Score: 1

    This Slashdot story: "Hacking the RoboSapien" shows how to control the Robosapien - a $100 humanoid-ish toy robot - with the infrared port of a strapped-on PDA.

    Two options for the PDA controller:

    1. You can use a PocketPC and a free Visual C++ API
    You may get a cheap PocketPC on Ebay.

    OR

    2. You can use a PalmOS PDA, along with a program called SAPBench that works out to $25.
    You could either use a cheapo palm Zire, or get a Treo 300 PDA + phone which I saw on sale for as cheap as $85 on Froogle.google.com. The Treo 300's internet connectivity could give you pretty interesting 2-level control of this "robot".

  21. Handy Andy... by seanellis · · Score: 1

    My robot, scratch build. Total cost about $100, if you bought everything new. I scavenged most of the bits from my "box-o-bits", though.

  22. Another good chip to work with by Andy+Dodd · · Score: 1

    The higher end Atmel AVRs are nice chips, and you can program them with GCC too, although I actually prefer CodeVisionAVR.

    I think Atmel's midrange chips (in the $8 range) beat the HC11s, and have LOTS of nice features.

    --
    retrorocket.o not found, launch anyway?
  23. Using RC Model vehicles by riedquat · · Score: 1

    For the mechanical side of things, consider buying a cheap radio controlled vehicle and modifying that for autonomous operation. For about $50 you get the batteries, motors and transmission done for you - building them from scratch can be more problematic than you might think.

    On models I've bought, replacing the controller was as simple as cutting four tracks on a PCB and connecting them straight to a microcontroller. This leaves you with plenty of money left for sensors and processors.

    1. Re:Using RC Model vehicles by kah731 · · Score: 1

      It has been found that most RC vehicles run too fast for most hobby robot applications.

  24. Only two motors by mark99 · · Score: 1

    Last I looked (and bought), they only had two motors. Althoug it really is amazing what you can do with only two motors, everything I really wanted to build really needed like 6 or so.

  25. Robot Possibilities by Anonymous Coward · · Score: 0

    Lego Mindstorms is a neat way to start, but it can be a very limiting platform. For the most part you are limited to 3 sensors and 3 motors - and the base kit only comes with 2 motors.

    If your friend would be happy with Lego robots, that would be a good choice. If you want to look at some kits that allow a lot more interation on more of the complexities, check out:
    Parallax - SumoBot Robot ~$150

    Also you could look at mixing and matching:
    Budget Robotics - Tracked platform
    Acroname - Controllers

    There are other options, especially if you friend would be interested it doing more work from scratch.

    -- Keith - My: Robot Blog Main Blog

  26. Hobby Robot Options by kah731 · · Score: 2, Informative

    Lego Mindstorms can be a great way to start. But it can be limiting. It comes with only 2 motors. It can control only 3 motors and have 3 sensors. The programming environment can be limiting too, but there are other options on the web to help.

    If you think your friend would be interested in something a little more complex, I can point you to some other resources...

    There are some robot kits on the market. A pretty good one is: SumoBot Robot ~$150

    Or you could get a platform and controller board seperately:
    Tracked Motorized Platform ~$60
    Controllers The OOPIC II Starter package ~$70 is a decient starter

    A number of hobby clubs in Colorado like the Atmel Atmega Microcontrollers for building custom robot board such as the DARC Board.

    The Portland Robot Group has a lot of great information for people starting out with hobby robotics.

    My robot blog with lots of pictures.

  27. $200 for an autonomouse robot kit... by cr0sh · · Score: 2, Informative
    ...is easily do-able.

    You basically have 3 main parts or units for an autonomous robot - the body, the brains, and the sensors. You want to do this cheap, and you want to do this fast. So, start off with the body:

    Go down to the Goodwill stores in your area. Look around. See something that can be used for the body? Grab it. Miscellaneous parts? Grab it. Go on 50% off day, all the better. You are looking for things like remote controls, old joysticks, used VCRs and cassette recorders, old radio controlled cars or other similar things (or remote controlled tank devices, etc). I was at some Goodwills these past two weekends, I managed to score 2 old "battlebot" toys (nice battery operated simple tank drives), 1 full direction radio-shack dune buggy, and a complete Star Wars Droid Mindstorms kit (cheesy, yeah - but goes great with my full RCX 1.5 kit) - spent less than 10 bucks (!). You want the remotes for the IR LEDs in them, and the other stuff for motors and gears, etc.

    Another possibility (though more expensive) is to get some cheapo toys and such from bargain places (like Big Lots) that will work for a robot body. Don't forget ideas like a piece of 2x2 plywood, a couple of casters, a couple of lawnmower wheels, and a couple of cheap power screwdrivers (all that should be doable under $50.00).

    Get him the "Robot Builder Bonanza" book - he will need it and cherish it - buy a used copy for cheap. Don't worry about the condition much, if he likes your gift, he won't care.

    Alright, so you got the body - you need the brains. Hopefully, you didn't spend much more than 10 dollars on the body - but no more than $50. And the book should be cheap, too ($10.00 if you bought it used). So, for the brains you need something easy to use - go for a Basic Stamp 2 (Parallax). The hardware is cheap ($40.00), the software is plentiful (even free), and there is a lot of documentation and tutorials online. Interface electronics will be needed - a good pack of resistors, transistors (throw in many NPN and PNP power transistors for H-bridges, too), diodes, capacitors, and some relays and LEDs. Also, add several "glue logic" chips (most won't be needed for the Stamp, but they're cheap, so put some in). Toss in a breadboard, and add a few copper-holed protoboards, too.

    Now, for sensors: remember those remote controls from Goodwill - well, there is where you get some of your sensors: You want simple devices for the sensors, so go with IR LED/phototransistor pairs - easy to drive and sense from the Stamp. The remotes and such will have one or more of the IR LEDs you will want (and some of the LEDs, as well). The VCRs, etc that you pick up will also have the receiver units or phototransistors needed (or, just buy some phototransistors). The reason I say get the stuff from Goodwill, is that the parts can sometimes be cheaper to get this way than buying new - but shop around, it may be cheaper to buy many of the parts from say, All Electronics or something.

    Throw in some double-sided tape, some corruplast or thin plywood, a pack of screws and/or bolts - and hopefully he (or she?) will have enough imagination to supply to turn it all into a functional robot...

    --
    Reason is the Path to God - Anon
  28. Basic Kit by neuroneck · · Score: 1

    PIC 16f877
    Protoboard
    Wire
    Caps and resistors.
    IR-rangefinder by sharp
    Photoresistors
    2 DC motors with gearbox/wheels
    Plexi, screws
    20Mhz crystal
    5-volt regulator
    9-volt battery pack
    Pic programmer
    Free download of PIC assembly from Microchips website.

    Done.

  29. check this out by deimors · · Score: 1

    Solarbotics makes a pretty cool mini-sumo kit which can have a couple different brains slapped in.

    At $120 canuck, how can you go wrong

  30. what about a personal robot from japan? by mcmonkey · · Score: 1

    Don't overlook the AWESOM-O 4000