/mrgtimer_firmware

firmware for Manitoba Robot Games timer board

Primary LanguageG-codeGNU General Public License v3.0GPL-3.0

mrgtimer_firmware

firmware for Manitoba Robot Games timer board

Prerequisites

Use arduino 1.8... newer versions might work too

Install DFRobot LCD library. In Arduino IDE, go to "Tools > Manage Libraries..."

Search for DFRobot LCD and install DFRobot_RGBLCD1602 v2.0.0

Directories

old_sketches/race_timer

This is the original Arduino sketch by Bruce

old_sketches/mrg_timer

This is some work done by Troy, wholly ignorant of the previous work done by Bruce

mrgtimer_firmware

This is the functioning sketch, a combination of the above two works

kicad

board design files

Compilation

open the mrgtimer_firmware project in the arduino ide

this can be done with make gui (read the Makefile for instructions)

ensure the board type is set to 'Arduino Nano' (atmega328p variant)

Compilation w/ arduino-cli

Install arduino cli install avr core: ~/Software/arduino-cli core install arduino:avr now you can use the following: make verify make upload

Known Issues

Pins A6 and A7 cannot be used as outputs - these drive the finish lights

possible workaround: patch S0 and S1 to A6 and A7 respectively, drive those pins instead. would lose SPI ability though.