Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.91 KB

File metadata and controls

28 lines (23 loc) · 1.91 KB

CircuitPython_AP33772s

This is a CircuitPython library to control the Diodes Incorporated USB PD AP33772s sink controller. You can use this with a USB PD EPR source to get up to 28v at 5A out of a capable power supply.

The library supports the new Adjustable Voltage Supply (AVS) mode. AVS is logically similar to the old Programmable Power Supply (PPS) mode which let you pick your voltage up to 21v. AVS starts at 15v. It's interesting to me because I have a 24v device I want to power.

Getting Started

  1. Obtain a CircuitPython-capable microcontroller and connect a AP33772s to it. You can get an all-in-one board or a AP33772s breakout. I bought mine from CentyLab.
  2. Install CircuitPython on your board. This image works on the PicoPD Pro.
  3. Install the adafruit_bus_device and adafruit_register libaries in CIRCUITPY/lib/ download here
  4. Install AP33772s.py from this repo in CIRCUITPY/lib/
  5. Copy example.py over to CIRCUITPY/code.py

Links