Let's Make Robots!

Ajax Harbinger of the Robot Apocalypse

Wanders around without bumping into walls, guards small area, sings.
Ajax.bas37.88 KB

Ajax is my first robot, he is based on the LMR "start here robot" with a few extra features. Ajax is 32 centimeters tall and about 1 kilogram in weight. His body is made of MDF (dense cardboard) and his head is the cap from a spray paint can. POWER: 4 AA NiMH batteries. DRIVE: 2 GM9 geared motors. MICROCONTROLLER: PICAXE 28X1 PROGRAMMED: PICAXE Basic SERVOS: 3, one for his head and one for each arm. SENSOR: SHARP IR range finder. CONTROL: IR remote control sensor. SOUND: Piezo speaker. BLING: Four LEDs, based on the tech tip from TomPhysics. Ajax can perform 6 functions they are: STOP - Do nothing. BIT - Built In Test, moves around and waves its arms and head to show it is up and running. DRIVE - Can be driven around using the remote control like a toy car. GUARD - Scans an area saving range measurements to memory and then alerts if any of the ranges change. WANDER - Move around at random, trying not to bump into anything. SING - Play one of the four tunes that are built in to the PICAXE 28X1. Ajax has been a lot of fun to build and program, I am looking forward to building my second robot soon. Attached as a file below is Ajax's source code, it should be readable in any plain-text editor.

Comment viewing options

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

Nice presentation!  I like Ajax! 

He looks fantastic. Thanks for sharing.

Hi, guy.  Looks pretty cool! Good show.


Hello Dan, great to hear from you.  I hope things are going well?  I see you are still working on the 3-D printer, I look forward to reading how all that is coming along.  Glad you liked the video, I notice most people do not appear in their videos here, most don't even talk.  This is understandable, many are camera shy , but since I only know most of you from this web site, I thought it would be fun to let you see how I look and sound as well as watching my robot put through his paces.  Sadly I was convinced I looked just like ...Brad Pitt... until I saw my own video.  Imagine my SHOCK!!!!  Thanks for the comment, great hearing from you.

I finished the 3D printer a few months ago. (Have been working on my novels lately. I need to get back on the robotics trail, but have been more into getting my books published. -have 3 available through Amazon currently.)

There's some interesting ideas for the rest of us who want to build something a bit beyond a SHR. Perhaps you should add some cliff detection sensors to save him falling off the desk. Nice build and good to see you again after a break. I think this explains why we haven't seen you for a bit.

Hi Merser, great to see you again.  Ajax was just full of "lessons" before I was done with him.  His IR sensor is mounted too high and so he can 'trip' over low objects like some chair legs.  Also he detects obstacles to one side much more quickly than on the other.  There was a good tech tip here somewhere that warned of that.  While its cute to mount the sensor horizontally to look like eyes, you are probably better off mounting it in the vertical position.  My current intention on robot #2 is to mount two IR sensors in servos low on the base and angle them down.  They will scan as the robot rolls forward and look for ...low obstacles and edges.  I will use IR sensors and sonics at middle and head to try and get a robot that can miss most of the furniture.  I am still catching back up on my LMR reading, looking forward to reading your posts.

Very cool little bot, way beyond start here in my opinion!

Great video explaining it all as well and glad to see you build.


The LMR start here robot was a great learning experience and easy to expand off of.  Adding servos for the arms was very easy, the piezo speaker not hard.  Wiring up the IR sensor for the remote control was a bit more challenging, I am a computer programmer and "electronically challenged", but it finally worked and gives me a lot of options.  Appreciate the kind remarks, thanks again.

Haven't seen you for a while Kingart! Nice work. Looking at the body, you say that's MDF? I've used that for some home improvement projects before-your finish work on it is impressive. How thick is it? I like the modal programming aspects of this bot too. Giving him options like that adds to personality.
Anyway, glad to see you back, in the PicAxe club, and posting! Hope the next one is as much fun