Skip to content

Kicad project for a raspberry pi hat. Monitors push button and turns on/off power. 8 channels of ADC available and some connectors for other peripherals. Onboard CAN device and transceiver connected to the raspberry pi

Notifications You must be signed in to change notification settings

gpgreen/chart_plotter_hat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1016cc0 · Jul 22, 2022

History

51 Commits
Aug 21, 2021
Apr 12, 2021
Sep 6, 2021
Jul 15, 2022
Mar 21, 2022
Mar 21, 2022
Jun 30, 2022
Jul 22, 2022
Sep 28, 2021
Jul 22, 2022
Sep 28, 2021
Jan 4, 2021
Feb 15, 2021
Sep 28, 2021
Jun 30, 2022
Sep 17, 2021
Dec 15, 2020

Repository files navigation

Chart Plotter Hat

KiCad design for Raspberry Pi Hat. Provides power and switch on/off for the board. A total of 1.2A is provided for use by the RaspberryPi. Also some connectors for GPS, barometric sensor, and ADC measurements. Provides 12V power for a remote video board which is switched at the same time as the Raspberry Pi. Contains a MCP2515 CAN Controller and MCP2551 CAN transceiver for access to CAN bus. The transceiver is isolated from the rest of the board. Has a Qwiic connector that allows I2C devices to be connected to the Raspberry Pi.

Functions

  1. Onboard ATmega328P
  2. 1.2A DC power for RaspberryPi provided by AdaFruit MPM3610 5V Buck Converter Breakout
  3. Video board power (12V) controlled by solid state relay G3VM-201FR
  4. Serial Connector for GPS with 5V power, routed to Raspberry Pi Uart1.
  5. 2 connectors with 4 pins each routed to adc pins on ATmega328P
  6. Qwiic Connector, routed to I2C1 on Raspberry Pi
  7. eeprom & power isolation as required by Raspberry Pi hat spec
  8. Onboard 3.3V power for the ATmega328P.
  9. SPI on ATmega328P routed to the Raspberry Pi SPI0 for communication
  10. MCP2515 CAN network device, controlled by Raspberry Pi on SPI1
  11. CAN is isolated to meet specs of NMEA 2000.
  12. Connector for external voltmeter, or see 13.
  13. Optional 12V voltage divider routed to ADC7 on the ATmega328P. This option is selected by a solder jumper.

Firmware

There are 2 projects for the firmware. One is using C, the other Rust.

  • C firmware for the onboard ATmega328P using avr-gcc and avr-libc.
  • Rust firmware.

The Rust firmware is still experimental. There are a number of compiler bugs for the 8-bit AVR's yet.

Board

About

Kicad project for a raspberry pi hat. Monitors push button and turns on/off power. 8 channels of ADC available and some connectors for other peripherals. Onboard CAN device and transceiver connected to the raspberry pi

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published