pmackenzie
Jul 03, 2006, 04:17 PM
I have a project using a 12F629. Software is all done, but I am hitting a hardware snag.
Power is provided by the BEC in a CC10, or via a PARKBec when using an Opto controller.
( I tried it both ways)
Everything works fine if I connect it after the motor battery is connected, but the PIC seems to be hanging if I let it power up along with the ESC.
I need all 6 I/O, so MCLR is disabled.
Here is the configuration directive:
__config _CP_OFF &_WDT_OFF &_PWRTE_ON &_INTRC_OSC_NOCLKOUT &_MCLRE_OF
There is a .1uF power supply bypass cap.
I added a 10uF filter cap in parallel but it made no improvement.
Short of adding a power switch, any suggestions?
Thanks,
Pat MacKenzie
Power is provided by the BEC in a CC10, or via a PARKBec when using an Opto controller.
( I tried it both ways)
Everything works fine if I connect it after the motor battery is connected, but the PIC seems to be hanging if I let it power up along with the ESC.
I need all 6 I/O, so MCLR is disabled.
Here is the configuration directive:
__config _CP_OFF &_WDT_OFF &_PWRTE_ON &_INTRC_OSC_NOCLKOUT &_MCLRE_OF
There is a .1uF power supply bypass cap.
I added a 10uF filter cap in parallel but it made no improvement.
Short of adding a power switch, any suggestions?
Thanks,
Pat MacKenzie