1
\$\begingroup\$

Hey all I am looking to monitor the voltage/plugged in of a USB-C device.

I am using the INA219 to monitor the voltage using the I2C (SDA/SCL) lines to my Arduino (not shown in the schematic).

I just want someone who's more knowledgeable about USB-C PD to let me know if what I have here will work with checking when the item is plugged in.

The R1 is a RESC6331X70N.

I based the INA219 off of this from Adafruit.

enter image description here

enter image description here

This is what I am trying to do - a led that is there to indicate when the power source is connected to a device.

enter image description here

\$\endgroup\$
4
  • \$\begingroup\$ It depends what device you want to monitor and with which cable. The VConn may not be used by a cable or device at all, and a source may not provide it if there is no cable that requests it. \$\endgroup\$
    – Justme
    Commented Feb 18 at 1:04
  • 1
    \$\begingroup\$ The question contains monitor the voltage/plugged in of a USB-C device, but the schematic shows the INA219 connected to monitor the voltage/current from the VCONN pin rather than the VBUS pin of the USB-C plug. From USB Type-C VCONN Requirements VCONN is only to supply an e-marker or USB3/USB4/Alternate Mode signal redriver ASIC embedded within the USB Type-C cable. Whereas VBUS supplies power to the actual USB-C device. Can the question be edited to clarify which is to be monitored? \$\endgroup\$ Commented Feb 18 at 9:17
  • \$\begingroup\$ @ChesterGillon if the VBUS is used when connecting the device then that would be the one I’m looking to check. I just didn’t know which one it would be so that if one side is plugged into a power source then it wouldn’t indicate it was connected to the device until the other said was actually connected as well. \$\endgroup\$
    – StealthRT
    Commented Feb 18 at 16:50
  • \$\begingroup\$ @StealthRT The USB standards are open and freely available for download. Required reading for you: usb.org/document-library/usb-type-cr-system-overview usb.org/document-library/… \$\endgroup\$ Commented Feb 19 at 3:40

0

Browse other questions tagged or ask your own question.