Skip to content

A serial console and power switching hat for the Raspberry Pi

License

Notifications You must be signed in to change notification settings

Cambridge-AdvancedOS/cam-power-uart-hat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Serial and Power Switching Hat

A Raspberry Pi Hat that provides USB serial access to the Pi's serial console. It allows for both power injection and switching via a JST-XH connector. There is also a combo temperature sensor/eeprom that can be accessed over USB.

Created for the L41 Advanced Operating Systems course at UCAM CST.

Overview image showing the power hat attached to a RPi 4B

Board Details

Detail view of the PCB with various chips labelled

Notable ICs

  • MCP2221A - USB UART Interface chip, provides USB communications, GPIO control used for status LEDs and the power switching, and I2C interfacing to control the temperature sensor/eeprom.
  • MCP98243 - I2C temperature sensor and eeprom chip accessible via the MCP2221A. Could be substituted for other I2C chips as long as the power/GND and I2C pins match.
  • RQ5C060BC - High power Pch MOSFET, can be substituted for any other high power (min 3A) MOSFET with a low gate threshold (must fully activate at Vgs = 3v3) and a GSD pin arrangement.

Connectors

  • Micro USB - Provides USB data and can provide power to the onboard ICs in the absense of the JST connector. No power is passed forward to the RPi however, so it cannot be powered from a single USB cable.
  • JST-XH - Main power supply for the RPi, cables should be fitted with XHP-2 connectors with +ve on pin 1 and -ve on pin 2.
  • RPi connector - Fits to the top end of the RPi GPIO header, uses a minimum of pins and leaves the remainder for other interaction.

License

Designed by Thomas Bytheway for University of Cambridge.

Schematic details inspired by:

Designed by Limor Fried/Ladyada for Adafruit Industries.

Designed by Limor Fried/Ladyada for Adafruit Industries.

Creative Commons Attribution/Share-Alike, all text above must be included in any redistribution. See license.txt for additional details.

About

A serial console and power switching hat for the Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published