Hello there! I'm a hobbyist and I have a major and urgent issue.
I've made a USB device by using the PIC18F4550 and on the same board I have a power transformer (220 V -> 2x12V, 2A).
The problem is, whenever I turn the power transformer on/off (entering it into the mains outlet or decoupling it), it disconnects my USB device from the PC for 1 second and then it automatically reconnects. As I've read on the internet, it's an issue caused by EMI, but I don't know how to prevent it. The USB wire is a shielded B-Type...
And I'm sure the issue is caused by the transformer, cause even if it's not on the board, unconnected to anything, not even a rectifier bridge, at 20cm from the device, it disconnects my usb device...
Help please, I need to implement a solution very fast!
P.S. I'd rather not place the transformer in a separate box...
I've made a USB device by using the PIC18F4550 and on the same board I have a power transformer (220 V -> 2x12V, 2A).
The problem is, whenever I turn the power transformer on/off (entering it into the mains outlet or decoupling it), it disconnects my USB device from the PC for 1 second and then it automatically reconnects. As I've read on the internet, it's an issue caused by EMI, but I don't know how to prevent it. The USB wire is a shielded B-Type...
And I'm sure the issue is caused by the transformer, cause even if it's not on the board, unconnected to anything, not even a rectifier bridge, at 20cm from the device, it disconnects my usb device...
Help please, I need to implement a solution very fast!
P.S. I'd rather not place the transformer in a separate box...