Hi all,
I posted a thread here sometime about my PIC18f2520 which wouldn't work in my H-bridge. The reasons are:
- I left LVP pin unprogrammed. That's why the PIC was picking up noise and modifying part of the program memory.
- Electromag. Interferance (EMI). Even with LVP programmed off, EMI from the H-bridge (with LC filter connected) keeps interfering with the PIC. As a result, output pins occassionally blank out. Anyone know how to prevent EMI from getting to the PIC? Thought of a Faraday cage but made of what? Also thought of locating the filter as far as possible, but I guess there must be a limit to that...
Better still, anyone know of a PIC with high tolerance to EMI?
Thanks
ed
I posted a thread here sometime about my PIC18f2520 which wouldn't work in my H-bridge. The reasons are:
- I left LVP pin unprogrammed. That's why the PIC was picking up noise and modifying part of the program memory.
- Electromag. Interferance (EMI). Even with LVP programmed off, EMI from the H-bridge (with LC filter connected) keeps interfering with the PIC. As a result, output pins occassionally blank out. Anyone know how to prevent EMI from getting to the PIC? Thought of a Faraday cage but made of what? Also thought of locating the filter as far as possible, but I guess there must be a limit to that...
Better still, anyone know of a PIC with high tolerance to EMI?
Thanks
ed