I'm concerned about killing expensive LiPos. And I know that Raspberry Pi (RPi) systems should not be killed, but should be properly shut down.
Knowing that the RPi issue will require coordination between the boards, I'm going to leave that issue alone until I solve the communications problem. But knowing I have a processor in the Abortix-M board, and I can program, I've decided to have the Arbotix un-power the entire hexapod if it hasn't been asked to move for maybe a couple of minutes.
I'm going to add two push-buttons alongside the power switch: Start and Stop. The Stop button will be read by the Arbotix and used, along with a "no changes" timer, to decide whether power-down the system. And maybe beep as it goes...
In series with the existing power switch I'm going to add a power MOSFET whose gate input will be driven by the Arbotix and can also be made active by the Start button.
To start, turn the switch on and press the Start button briefly. To stop, let the hexapod time out or press the Stop button.
Both the electronics and the firmware are fairly simple. Let me know if you want more details.
-- Brooks
Bookmarks