uugear / Witty-Pi-4

Software and Firmware for Witty Pi 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Witty-Pi-4

Witty Pi is an add-on board that adds realtime clock and power management to your Raspberry Pi. It can define your Raspberry Pi’s ON/OFF sequence, and significantly reduce the energy usage. Witty Pi 4 is the fourth generation of Witty Pi and it has these hardware resources onboard:

  • Factory calibrated and temperature compensated realtime clock with ±2ppm accuracy.
  • Dedicated temperature sensor with 0.125 °C resolution.
  • On-board DC/DC converter that accepts up to 30V DC.
  • AVR 8-bit microcontroller (MCU) with 8 KB programmable flash.

Witty Pi 4 supports all Raspberry Pi models with 40-pin header, including A+, B+, 2B, Zero, Zero W, Zero 2 W, 3B, 3B+ and 4B.

References:

Modify the Firmware:

If you want to change the behavior of Witty Pi 4, you can modify the firmware, compile it and upload to your Witty Pi 4.

To compile the firmware, you need to install ATtinyCore (V1.5.2) in your Arduino IDE.

Here are the configurations on your Arduino IDE:

To upload the firmware to Witty Pi, you can follow this document.

About

Software and Firmware for Witty Pi 4

License:MIT License


Languages

Language:C++ 44.1%Language:Shell 32.4%Language:C 23.5%