Skip to content

tcyrus/fpx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fpx: easy USB-C power for all your devices

This repository contains the hardware design and firmware for fpx module.

Hardware

Main enabling component of fpx is STUSB4500 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 are verified for manufacturing, and include all the part numbers.

Firmware

The 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 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).

History

See my blog post about fpx and its predecessor fabpide2.

About

easy USB-C power for all your devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 40.7%
  • HTML 36.9%
  • Go 22.4%