Tumgik
#usbtodc
adafruit ยท 10 months
Text
Tumblr media
PCB of the day! HUSB238 USB PD Sink Breakout ๐Ÿ”Œ๐Ÿ”‹๐Ÿ’ก
USB C has a nifty power management system where, by default, you can get a classic 5V at 1A power out from a power supply or port, but with some fancy twiddling, you can request higher voltages and currents. We've always wanted a simple breakout that could get you a range of voltages using just jumper pads, but we only had a little luck with IP2721. Then we found this chip - the HUSB238 https://en.hynetek.com/pdsink.html - used in a USB-to-DC cable, which seems perfect! It can do 5V to 20V with just a resistor setting and set the current. There's also an I2C interface that can be used to set them if the settings are persistent - we'll have to try it out. There's a library here if you want to see what the registers are like https://github.com/ltyridium/HUSB238-lib. Here's our draft for a breakout design.
25 notes ยท View notes