|
|
|
|
|
|
|
|
|
|
|
Spockie-Tech
Site Admin
Joined: 31 May 2004
Posts: 3160
Location: Melbourne, Australia
|
Our experience with PicAxes running in Robots is summed up in one word..
Isolate !
Run the Micro from a seperate battery, optoisolate the inputs from the receiver (since it will share a common ground with whatever other ESC's you are running), use relays on the outputs, clamp the relay coil spikes with diodes and keep the power bus that the relays are switching seperate to the micro.
They really dont like the 100amp drain voltage spikes that are common in a robot, so you have to do everything possible to keep those nasty spikes out of the Micro.
Either that, or spend a lot of time with a 'scope and diodes,caps etc to make sure the Micro is well shielded from all the noise.. Micro's work on microamps and <5v. Massive Voltage Spikes are not a comfy environment for them
Last resort, put a visible status led on the bot, and have the micro flash it in different patterns according to what it is doing.. have a blink pattern for a reset-power-up, and various states, so you can tell if its having trouble and crash/resetting easily. _________________ Great minds discuss ideas. Average minds discuss events. Small minds discuss people
|
Thu Dec 11, 2008 10:53 pm |
|
|
|
|
|
|