https://github.com/oxplot/fabpide2
STUSB4500 Breakout — Stand-alone USB PD Sink Controller
https://github.com/oxplot/fabpide2
Last synced: 4 months ago
JSON representation
STUSB4500 Breakout — Stand-alone USB PD Sink Controller
- Host: GitHub
- URL: https://github.com/oxplot/fabpide2
- Owner: oxplot
- Archived: true
- Created: 2019-10-15T05:50:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-13T14:36:50.000Z (over 3 years ago)
- Last Synced: 2024-08-05T10:17:44.468Z (over 1 year ago)
- Language: C++
- Homepage: https://blog.oxplot.com/usb-pd-standalone-sink-controller/
- Size: 15.8 MB
- Stars: 93
- Watchers: 6
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
**[See the newer fpx module](https://github.com/oxplot/fpx)**
**If you're looking for a similar board to this, checkout [Sparkfun's
Power Delivery Board](https://www.sparkfun.com/products/15801).**
---
fabpide2 is a PCB kit that breaks out Stand-alone USB PD sink controller
[STUSB4500](https://www.st.com/en/interfaces-and-transceivers/stusb4500.html)
by STMicroelectronics.
You can [buy this kit from
tindie](https://www.tindie.com/products/18263/).
See [my blog
post](https://blog.oxplot.com/usb-pd-standalone-sink-controller/) for a
bit of background.
# Flashing configuration with Arduino
One way to use STUSB4500 is to flash desired PDO configurations in its
NVM and it will work autonomously from then on. To use the chip in this
manner:
1. Open the [arduino
flasher](arduino/stusb4500_flasher/stusb4500_flasher.ino) in Arduino
IDE.
2. Install the [Software I2C library in this
repo](arduino/libs/SoftI2CMaster.zip) on your Arduino IDE (via Sketch
menu -> Include Library -> Add .ZIP library) — *note: adding the
library may automatically add `#include` lines at the top of the sketch -
be sure to remove those*
3. Follow the comments on the top of the sketch.
# Control via uC
Another way to use STUSB4500 is to connect it to an external uC to
dynamically control the chip and respond to events.
[Andrew](https://github.com/ardnew) has implemented an [Arduino
library](https://github.com/ardnew/STUSB4500)
called `STUSB4500` which is available in the official Arduino IDE
repository and can be installed from inside the IDE.
# Is this open source?
Yes. You can find the gerber files for revision 2 under `gerber/`
directory.
