The ‘brain’ is all hooked up and working. I burned code into the PIC and verified some basic functionality. So far, it can do this:
Init the CPU board.
Turn on/off power to the SSC-32.
Turn on/off power to the servos.
Turn on/off power to the sensors (no sensors yet).
Send commands to the SSC-32.
The PIC brain has a 2nd serial port which can be hooked up to a PC (or whatever) so that it can report what it’s doing or receive commands. I suppose in the future I might add some sort of wireless hookup here…
The power system includes an “ideal diode” between the battery and the FET switches that control the power to everything else. The “ideal diode” is an LTC4412 chip and a SI4965 MOSFET. It allows me to hook up external power and/or an alternate battery, without disconnecting the normal battery, and without the diode-drop loss of an ordinary diode.
The PIC brain board is powered from an LM2940 LDO regulator. To help avoid PIC resets due to brownouts when the batts are getting low, I put a Schottky diode after the regulator, followed by a 1000uF cap. Another diode is in the ground leg of the LM2940, so that the output V is still very close to 5V. I probably will modify the SSC-32 to include the same diodes and cap, to make it less sensitive to brownouts. Or, I’ll just remove the SSC’s on-board regulator, and let it run from the LM2940.
No batteries yet. It still gets power from an AC supply.
No sensors yet.
Pete