more than likely i'll use MOSFET to drive them or dedicated chip. I will use a different supply line. I mean if your motor are 5Volt, i will use a separate voltage regulator ONLY for them. Never share the PIC and logic Vdd line with the target load supply line.
Also,- i'll use a different ground for my PIC and for the Motors.
- i'll tie all unused pin of the PIC to somewhere (vdd or GND)
- i'll ensure the PIC Vdd line is correctly filtered
- i'll screen the PIC and controller section properly to avoid incoming noise and spikes
- maybe i'll use opto-isolator between the PIC and the motor driver. In your case.. it shouldn't be too much of problem as you don't drive a lot of current
- i'll insert a bead on the PIC gnd line
HTH
Last edited by mister_e; - 22nd July 2006 at 21:37.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks