| BrainStem® GP 1.0 Module | Index |
Contents
Power and Voltage Ratings
Power Supplies
Pinout Diagram
Board Dimensions
File Slots and Processes
Power and Voltage Ratings
The recommended input voltage for the GP 1.0 module onboard voltage regulator is 6V to 12V. At higher voltages within this range, the regulator will generate a lot of heat and the heatsink may get quite warm. The regulator is a LDO (low drop-out) LM2940 so it begins to regulate the current at about 5.5V and up. Below that, the regulator acts more like a straight pass-through with little regulation. It is possible to run the board at voltages from 4.5V to 6V, but when the regulator does not get enough voltage, it becomes prone to power glitches and the processor may reset itself.
The voltage regulator has an output current rating of 1 Amp. The GP 1.0 module uses 50mA at 6V. When connected to the RS-232 interface cable, the GP 1.0 module uses 60mA. (The level shifter draws an additional 10mA.) The regulator can safely provide power for several extra sensors.
The digital outputs can sink or source up to 20ma.
Power Supplies
The BrainStem GP 1.0 module has two power supply inputs, one for logic and one for servos. A 9V battery can be used as the logic power supply for the GP module but should not be used to power servos. A 9V battery will be drained fairly quickly if the module must supply power to several other devices. When powering many external devices, 4 or more rechargeable batteries (1.2V) may be a better choice for the logic supply.
A 4-pack of NiMH or NiCad AA cells may be insufficient when used as a common supply for several servos, several sensors, and the BrainStem. An insufficient power supply can create low voltage conditions which will make the processor reset or malfunction. A 6-pack of NiMH AA batteries makes a better common supply, though dropping the supply voltage to the servos is recommended. This can be done with high-current diodes (such as 1N4001). The usual operating voltage for servos is 6V. Two power diodes in series can drop the 7.2V produced by 6 NiMH AA batteries down to 6V.
A 6V supply that can handle a large current load, such as a lead-acid battery, will also work well as a common supply. A large bypass capacitor (100uf-1000uf) on the supply input will help prevent power glitches. Another option is to use separate logic and servo supplies.
Servos have a secondary connector for power. This connector shares a common ground with the board, but the "Servo Power" pin is only connected to the four servo power pins of the servo connectors. This allows the servo power be isolated form the logic power if desired. The two pin header for the servo power can be removed and a small jumper can be added which will make the servos and logic share the same power supply. This modification is shown below.

Pinout Diagram

Board Dimensions

GP 1.0 EEPROM File Slots and Process Slots
A BrainStem module stores TEA files in an EEPROM. Older GP 1.0 modules (Firmware Build 6 and earlier) contain 8 file slots numbered 0-7. Newer GP 1.0 modules (Firmware Build 7 and later) contain 11 file slots numbered 0-10. Each file slot in a GP 1.0 module is 1K in size. Programs can run in any of 4 "virtual machine" (VM) process slots numbered 0-3. Each process has a private stack space of 128 bytes. These processes can run concurrently. A 56 byte scratchpad RAM buffer may be used for sharing data between processes.
There is additional space on the EEPROM dedicated to storing reflexes. The GP 1.0 stores 128 reflex vectors and 128 reflex commands. For simple tasks, it may be possible to use a reflex instead of a TEA program and conserve process slots and/or file slots.