o.k. i can figure something like that, but can you post a real schematic?!? case not we can still imagine something.
Did you try a capacitor between wiper pot and ground close to the PIC. It can also be a kind of ground loop...
what is the POT impedance?!? Where the supply come for the POT?
Maybe some kind of isolated dc-dc converter on the 5v can help. Opto coupler between PIC and h-bridge driver to be ground isolated.
OR probably also isolated your digital ground of the analog ground can also give a better result.
can be many things. Can also be caused by some floating pin not tied to ground or VCC. What about the 5V supply line ???
If you can post picture of the final stuff and schematic, we can help.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks