Skip to content

Communicates with the STUSB4500 over I2C to easily add USB-C Power Delivery into your project.

License

Notifications You must be signed in to change notification settings

sparkfun/SparkFun_STUSB4500_Arduino_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkFun STUSB4500 I2C Interface Library

SparkFun Power Belivery Board - USB-C (Qwiic)

SparkFun Power Belivery Board - USB-C (Qwiic) (DEV-15801)

The Power Delivery Board uses the STUSB4500 power delivery controller which can be configured over I2C. This library talks to the controller to configure a USB Type-C power delivery adapter to switch the voltage from 5V up to 20V and 5A of current.

Library written by Alex Wende (SparkFun).

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

License Information

This product is open source!

Various bits of the code have different licenses applied. Anything SparkFun wrote is beerware; if you see me (or any other SparkFun employee) at the local, and you've found our code helpful, please buy us a round! Anything Maxim wrote has its own license. Anything that was co-writing with Peter Jansen is BSD.

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.