https://github.com/oxplot/fpx
easy USB-C power for all your devices
https://github.com/oxplot/fpx
usb-c usb-pd
Last synced: 7 months ago
JSON representation
easy USB-C power for all your devices
- Host: GitHub
- URL: https://github.com/oxplot/fpx
- Owner: oxplot
- License: bsd-3-clause
- Created: 2020-04-19T07:19:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T09:13:22.000Z (over 1 year ago)
- Last Synced: 2025-03-31T05:06:40.071Z (8 months ago)
- Topics: usb-c, usb-pd
- Language: C
- Homepage: https://fpx.oxplot.com
- Size: 5.5 MB
- Stars: 321
- Watchers: 14
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# fpx: easy USB-C power for all your devices
This repository contains the hardware design and firmware for [fpx
module](https://fpx.oxplot.com).
## Hardware
Main enabling component of fpx is
[STUSB4500](https://blog.oxplot.com/usb-pd-standalone-sink-controller/)
standalone USB-PD IC by STMicroelectronics. The rest are supporting
components and an AVR ATtiny 816 which programs the NVM flash on
STUSB4500 by converting configuration read from a light sensor.
[The KiCad files](./board) are verified for manufacturing, and include
all the part numbers.
*fpx* is a [certified open
hardware](https://certification.oshwa.org/au000008.html) [OSHW] AU000008
## Firmware
[The firmware](./firmware) is written as a single C file with no
interrupts and provided as an Atmel Studio solution. It should however
be easily buildable by GNU toolchain. The source is well commented and
self-documenting.
## Configuration
The [main configuration tool](https://fpx.oxplot.com/#configure) exists
in the form of a web page. The Javascript part of the page documents the
encoding used to transfer configuration using light flashes.
Due to its simplicity, the configuration tool can be ported to any
device/platform that can pulse light with a reasonable timing accuracy
(e.g. Arduino).
## Licensing
All the content of this repo including the documentation, hardward design files, firmware and configuration utilities are licensed under the [Revised BSD license](./LICENSE).
## History
[See my blog post](https://blog.oxplot.com/fpx) about fpx and its
predecessor
[fabpide2](https://blog.oxplot.com/usb-pd-standalone-sink-controller/).