A.k.a the ICU.
- Arduino IDE
- earlephilhower Raspberry Pi Pico library
- ACAN2515 2.1.0 library
- U8g2 2.30.1 library (AND NOT ANY VERSION AFTER)
- MD_MAX72XX 3.3.0 library
- Install git
- Clone this repo into any reachable folder using, in a command line of your choice (WSL Ubuntu, PowerShell, Terminal, etc),
git clone https://github.com/spartanracingelectric/SRE6-InstrumentCluster.git
- Change your branch if necessary by using
git checkout <BRANCH_NAME>
- Change your branch if necessary by using
- Install the Arduino IDE
- Install earlephilower's Raspberry Pi Pico library
- Within the Arduino IDE
Tools->Manage Libraries...
, install the ACAN2515, U8g2, and MD_MAX72XX libraries. MAKE SURE U8g2 IS VERSION 2.30.1 - Hook up a microUSB cable to the ICU board.
- Open
icu.ino
via the Arduino IDE within the SRE6-InstrumentCluster/icu/ folder - Configure Arduino IDE board to the Raspberry Pi Pico.
- The Pico is able to be overclocked to at least ~250MHz (based on silicon lottery). Feel free to experiment for each specific Pico. If the board seems like it bricks after an overclock, you may need to access the Pico BOOTSEL button. To unbrick, unplug the USB cable from your computer, hold the BOOTSEL button on the Pico, and reinsert the USB cable while holding the button. You should be able to upload with a slower clock speed which should unbrick your Pico.
- Upload the sketch!
- If you get a
No drive to deploy
error, double check thePort:
field in theTools
tab is set to a USB/COM port that the Pico is connected to. If this still doesn't work, do the BOOTSEL procedure as previously stated.
- If you get a
Wayne Flores, Project Lead, Hardware (Schematic and PCB design, PCBA)
Vincent Saw, EV Software Lead, Firmware & Hardware (Core Software Design, HW & FW Validation and Integration)
Johnathon Lu, Project Co-lead, Firmware (LCD FW design)
Katherin Clark, Project Member, Firmware & Hardware (Schematic and PCB design, button FW)
Shinika Balasundar, Project Member, Firmware (MAX7219 HW & FW validation)
Sean Widjaja, Project Member, Firmware (MAX7219 FW validation)
Spartan Racing Website
Pico Pinout
Hardware Bill of Materials
CDR Slides
DDR Slides