Skip to content

Instantly share code, notes, and snippets.

@calebccff
Last active November 1, 2023 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calebccff/fe98f132a69d60cec1eb49f77e2af2ab to your computer and use it in GitHub Desktop.
Save calebccff/fe98f132a69d60cec1eb49f77e2af2ab to your computer and use it in GitHub Desktop.
USB control board
  • USB hub that can do power control on one port (via pico), one USB-A female port for going to the phone
  • second USB goes to pico
  • 12v in via a barrel jack which powers an LDO with ~3.8-9v 4A output
  • output adjustable via software or just a pot
  • output voltage/current measured by MCU
  • Pico attached to board
  • pico GPIO pins exposed via some header for phone UART and button control
  • Should have a jumper to adjust between 1.8/3.3v UART
  • (just 1.8/3.3v is fine and i know from experience that a single voltage divider on the TX is enough for this)
  • Spare i2c and a few extra GPIOs for future expansion
@MartijnBraam
Copy link

Blinky LED for board identification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment