Hello Everyone,
I'm currently working on a DC Load project. I designed it so it can be autonomous (i.e. logging to its internal memory) but it can also be hooked to a PC for continuously logging data onto a HDD. The MCU is a PIC24HJ128GP510A. My goal is to also the USB ground, which is earth referenced when hooked to a PC. My idea is to use a USB isolator (ADuM3160) and then feed a CY7C64225 to convert the signal to UART. The unit is power by an 18VDC wallpack adapter, so there is no earth reference coming from the unit PSU.
My concern is when the unit is used when not connected to a PC. Then the "earth" ground is now floating since there is no connection between the USB earth and the PSU common (GND). This also means the chassis is no longer "grounded" to earth. Connecting earth to DGND and/or AGND would solve the issue in this case but it will also means the whole device will now be earth referenced when hooked to a PC, which I would like to avoid. Could this be an issue with the DC wallpack: connecting earth to the common wire?
If instead I build an internal PSU (transformer, diode bridge, etc), I could use the unit's power cord ground wire to connect to the chassis and problem solved. But wouldn't that create some kind of ground loop if the unit and the PC are connected to different wall sockets?
Thanks for any insights.
A confused hobbyist