Hexbug Hack Chapters
(Updated for New HXB27e
PC board)


CH1-Possibilities
  CH2-Whats Inside  
  CH3-Controller Design  
CH4-Assembly
CH5-Control Software
CH6-Testing, Programming
& Final Assembly
CH7-Downloads
CH8-Upgrades
     


  Hexbug Hack
Give your Hexbug a Real Brain!
Chapter 8 - Upgrades -

 

As I was finishing the first version of the Bug, lots of new possibilities and design branches where coming to mind. Incorporating all of them into one new design is possible, but would not be very practical. Instead, it seems that there will need to be some branching of the family tree.

The first upgrade will be to control/program the bug via a standard TV remote control. This will require an IR-Receiver module. After a fair amount of searching, the lowest possible operating voltage I could find was 2.5 volts for the Vishay TSOP34838. This poises a problem for the second upgrade- rechargeable batteries.

 There are three types of batteries that can be used in the Bug:

1) LR44/GP76A alkaline- These are the standard, stock battery the bug comes with. Two supply a nominal 3 volts.

2) V40H NiMh, (nickel-metal hydride)- These come in a form factor which will fit in the battery compartment with a little modification to allow for their added height. Two supply a nominal 2.5 volts.

3) Li-Ion, (lithium-ion)- I have found no cell that will fit in the Bug’s battery compartment, but there are cells small enough to be tucked under the shell. A single cell will provide a nominal 3.7 volts.

Comparison of Batteries - Voltage vs. Capacity:

Battery Type Capacity Voltage @ 100% Capacity Voltage @ 20% Capacity Voltage @ End
Alkaline 110 mAh 1.55 1.20 0.90
2 cells --- 3.10 2.40 1.80
NiMh 40 mAh 1.30 1.18 1.00
2 cells --- 2.60 2.36 2.00
Single Li-Ion 210 mAh 4.10 3.70 3.00

The alkaline cells will just be able to power the IR receiver module when the cells are 80% used up.

The NiMh cells will just be able to power the IR receiver module when fully charged, and has only about 36% of the alkaline cells’ capacity, so IR control isn’t practical. But this would be a good choice for a solar-recharging Bug. The small solar cells that would fit on the Bug would be a good match for these low capacity cells. And an added benefit would be that searching for a bright spot to recharge in would drive most of the Bug’s behavior. More frequent charging means more ‘activity’- what fun would a ‘self-recharging’ robot be if its batteries only needed charging once a month?

Only one Li-Ion cell would be needed due to its higher voltage, and it has almost twice the capacity of the stock alkaline cells. Even at the end of its capacity, its voltage will still operate the IR receiver module. The IR receiver could also be used as a means of finding a charging station.

Lining up the pro's and con's:

Pro’s Con's
Alkaline:
Will power IR Receiver module Not rechargeable
Batteries will need replacing
NiMh:
Rechargable Will not be able to power IR Receiver module
Will fit in stock battery compartment with minor modifications The Bug will move a bit slower
Good match to small solar cells Low capacity
Li-Ion:
Rechargeable Will not fit in the stock battery compartment; special mounting required
High capacity Charging must be carefully monitored
The Bug will move a bit faster Discharge must not go below 3.0 volts or cell will be permanently damaged
Will power IR Receiver module
Good choice for charging station

So the Bug will have three branches to its family tree-

The ‘A’ Bug: Stock alkaline battery, IR TV remote control

The ‘B’ Bug: A “Photovore”, it uses solar cells to recharge its NiMh batteries and is constantly looking for a ”bright spot”.

The ‘C’ Bug: Faster, more independent and a bit more aggressive, it uses a Li-Ion cell for extended range. The IR receiver module provides both TV remote control and helps it find its charging station.

All three Bugs can also have speed control thanks to the configuration of this H-bridge. Because there is an on/off control MOSFET for the bridge, it can be pulse width modulated (PWM) to regulate speed. A simple program should be able to cause it to creep very slowly, as if it’s trying to sneak away (timid ‘B’ Bug behavior), or like it’s stalking something (the more aggressive ‘C’ Bug). It could also slowly reduce its speed like its falling asleep.

More to come on the 'A' Bug soon...

Why no ‘Cliff’ detection??
One of the first upgrades I considered once I had the Bug running was 'edge of the desk avoidance'. A little analysis shows this to have a fatal flaw:

When the Bug comes at 90° to the edge of the desk, it could sense the edge, and make a reverse turn greater than 90° and head back into the safe area of the desk. If the bug is traveling almost parallel to the edge, or worse, encounters a corner, its reverse turn will back it over the edge.

To deal with all possible edges it would at least need to be able to backup, and turning both right and left would be a big plus.

 

 
 Taking Ideas into Reality
  Edison was very insightful in his definition of genius. There are lots of good ideas and inspirations, but all by themselves they have little value. It takes effort and insight, tools, materials, and lots of time to bring them into solid existence. Applied Inspirations, LLC was founded to assist in bringing new ideas into physical reality by providing:
Examples - Tutorials and projects that demonstrate ideas taken from concept to reality.
Tools - PC boards, software, hardware and kits to explore turning new ideas into products.
Services - For those without the skills, tools or time, we provide services to develop part of, or the whole idea.