davidbuckley.net |
home > | Timbug II < Simplhex > Imperial Ladies | 16 June 2021 |
Simplex and me, December 1994![]() |
In 1994 I obtained my first Parallax Basic Stamp-1 and in December 1994 decided to use it to control Simplhex. Since the Stamp didn't have twelve I/O lines, one for each servo, I used the same arrangement of four logical servos. Each logal servo was pulsed, directly, by a Stamp I/O pin. There was just enough room in the Stamp for a program to make Simplhex walk forwards until the one sensor, a microswitch on the nose, touched something then Simplhex would sit down and turn by holding the two centre legs straight out and rowing round using the four corner legs until it had turned sufficiently then stand up and continue walking.
The photograph shows Simplhex with the nose sensor and the Stamp-1 board mounted on a piece of mdf held onto Simplhex by ? - was it 'blue tak' or rubber bands?
Later I added two whiskers and changed the Stamp-1 for a PIC16C84. The Stamp program was compiled using Micro-Engineering Labs Basic Compiler.
The circuit board in the centre of the back routed the signals from the Stamp board to the servos.
Simplhex was voted the best hexapod at the Robot Olympics in 1996 and won a Plaque.
[Actually the plaques were very disappointing, all of them handed out at the event were exactly the same with no inscriptions.]
The best of the other walking robots were:
Simplhex was used continually for several days at another exhibition, I calculated it must have walked about 15Km, wearing flats on the ends of the legs and wearing out the pots in the servos in the process, so servo operation is now jerky.
I could have changed all the servos but I didn't have the heart to rip Simplhex apart and so although it worked very well it has now been retired.
However on the 18th July 2015 when I tried Simplhex the servos on the front left leg almost didn't move so I decided to replace all five defective servos with the 'new' HS-300 servos Martin Smith (of East London University) bought as replacements nearly twenty years ago. Great, Simplhex now strides about like new.
more photos of Simplhex in 2000
more photos of Simplhex in 2006
1 May 2021 - v4 - added standup-turns and single steps, remapped the servos to i/o ports.
SIMPLHEX_PicAxe18m2_4.BAS program size 978 bytes.
IR commands - TVR010_PicAxe_IR_controller [^] pace F [v] pace B [>] R turn step [<] L turn step [Power] IF standing THEN sit ELSE stand [0] walk [1] speed =1 [2] speed =2 [3] speed =3 [4] speed =4 [5] speed =5 [6] speed =6
13 April 2021 - v3 - added speed control
Now Simplhex can walk slowly with speed 1 or with speeds 2,4,6,8 on IRkeys 1,2,3,4,5.
Speed 5 is quite fast, 9.6"(24cm)/sec. which is 3/4 body length per sec. - about the same as human walking.
SIMPLHEX_PicAxe18m2_3.BAS program size 714 bytes.
12 April 2021 - v2 - added IR control
Corona lockdown time and I found a program I had started in 2015, well all I had done was to load the BS1 program into the PicAxe editor and rename the file. A PicAxe 18m2 with 2k of program memory has the same pinout as a BS1 and a Pic16C84 so I got Simplhex out of the cupboard, as you do, and modified it to accept IR commands from a Sony remote controller and fitted an old fashioned IR receiver in a metal shroud.
Now Simplhex can wander about as it did before, sensing obstacles with its two feelers and turning right or left to avoid them, But also if it is switched on with a feeler depressed it enters IR command mode where it responds to Forward, Backward, turn Right, turn Left, sit, standup, and enter autonomous mode as originally. However any IR command will exit autonomous mode and re-enter IR command mode.
The original BS1 program took 255 bytes out of the 256 available in the Stamp-1.
The new PicAxe 18m2 program takes 652 bytes.
I couldn't help but remember The Robot Olympics in 1996 where Simplhex won the 1st prize for multilegged unaided robots (ie autonomous robots) whereas several universities with all their resouces could only make hexapod robots that shuddered and shook with one that was just about able to walk slowly in a straight line. A sad state of affairs.
18 July 2015
I replaced the five worn out servos with 'new' HS-300 servos Martin Smith (of East London University) bought as replacements nearly twenty years ago.
9 March 2007
I went to a talk by Rex Garard at Sheffield University and my friend John Fox persuaded me to take a robot along and suggested Simplhex because he likes it. Last night I put in new AA Energiszr Lithium cells and tested Simplhex. Today in John's workshop I demonstrated Simplhex for Andy, another of John's friends who was going to the talk, and Simplhex was very tired dragging the rear feet. I tested the cells; all good voltage, but the supplied voltage of the battery after the diodes was only 4v! Testing each cell by connecting it in series with an analog test meter set to 10A indicated 2 to 3A was about all they could manage. So I rewired Simplhex to omit the two 3A diodes. Now Simplhex walks properly again. [But hmmmm the cells get warm!]
5th June 2006
Although Simplhex is now retired that doesn't mean it no longer works. Periodically it gets checked over and demonstrated. One thing that has puzzled me over the years is that originally Simplhex was very sprightly but in later years has been working as if it was very tired and could hardly stand up. Originally it worked off 4 AA NiCad or even 4 AA Alkaline cells and some of the NiCads were 10 years old! I have bought new Nicads from various sources, used high power Alkaline but nothing made any difference. The servos turn easily and nothing is binding so what could it be? Has Gravity increased? Unlikely! Even though some of the pots are suspect the servo mechanics are not worn. So I tried Simplhex from a bench power supply. At 5v and 3A Simplhex worked fine. Can it be that AA cells have changed and are now designed to limit their output current to 'safe' levels? Anyway I decide to put on an extra two cells and use a 5v regulator for the PIC and drop the voltage to the servos by running them through two 3A Si diodes in series. Success, Simplhex now works properly again.