Ajax Harbinger of the Robot Apocalypse
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.
Wanders around without bumping into walls, guards small area, sings.
- Actuators / output devices: 2 GM9 motors and 3 servos
- Control method: IR TV remote control
- CPU: Picaxe 28x1
- Operating system: Picaxe basic
- Power source: 4 AA NiMH
- Programming language: Picaxe basic
- Sensors / input devices: SHARP IR sensor, IR remote control sensor
- Target environment: indoors