upand_at_them
Active Member
I'm having real difficulty getting my packet radio decoder working over USB, via a CP2102 USB/UART adaptor.
The packet decoder works flawlessly when it's powered from a breadboard supply (wall wart feeding a 7805) and the communication is through the PC's regular COM (RS232) port.
And If I power the decoder from the CP2102 USB/UART adaptor and feed the comm through the regular COM port, it still works.
But if I power the decoder from the USB adaptor as well as feed the comm through the USB adaptor...Well, the communication link works (intro message transmits), but the packet decoder fails to decode any packets at all. It looks like there are ground/noise/capacitance issues that I can't figure out.
I have 0.1uF decoupling caps at both power rails. And the handheld (battery powered) radio shares the ground with the circuits in all of my tests. Do I need to isolate the USB adaptor in some way? Is there something I should be doing to prevent ground loops? I'm really clueless here.
Mike
The packet decoder works flawlessly when it's powered from a breadboard supply (wall wart feeding a 7805) and the communication is through the PC's regular COM (RS232) port.
And If I power the decoder from the CP2102 USB/UART adaptor and feed the comm through the regular COM port, it still works.
But if I power the decoder from the USB adaptor as well as feed the comm through the USB adaptor...Well, the communication link works (intro message transmits), but the packet decoder fails to decode any packets at all. It looks like there are ground/noise/capacitance issues that I can't figure out.
I have 0.1uF decoupling caps at both power rails. And the handheld (battery powered) radio shares the ground with the circuits in all of my tests. Do I need to isolate the USB adaptor in some way? Is there something I should be doing to prevent ground loops? I'm really clueless here.
Mike
Last edited: