Strap your Tildagon to your Hacky Racer, radio-controlled Henry Hoover, karaoke tuk-tuk, or anything else that needs a speedometer.
Written as a demo for my event-based GPS Hexpansion firmware concept, and therefore requires the presence of a GPS Hexpansion such as that made by The Machine Shop initialised with the latest GPS Hexpansion firmware.
- A/D buttons: Cycle through units (knots, mph, km/h, m/s)
- B/E buttons: Cycle through dial speed ranges (e.g show 0 to 10, 0 to 20, or 0 to 30 mph)
- F button: Suspend Speedometer and return to the Tildagon main menu.
NOTE: This app requires Tildagon OS v2.0.0 or newer!
This is due to making use of new Hexpansion utility functions to interact with EEPROM firmware code running on the GPS module.
Available from the app store: https://apps.badge.emfcamp.org/apps/33002130/
Cross compile with the mpy-cross tool and download to the badge with the mpremote tool:
cd emf-speedometer
mpy-cross app.py
mpremote fs cp app.mpy :/apps/mbooth101_emf_speedometer
If your GPS Hexpansion arrived uninitialised, or you need to manually re-flash the Hexpansion firmware for any reason, you can do so by inserting the GPS Hexpansion into port 2 of your Tildagon, and running the following commands:
cd emf-speedometer
mpremote mount EEPROM + run EEPROM/prepare_eeprom.py + cp EEPROM/gps.mpy :/hexpansion/app.mpy
Once complete, the GPS Hexpansion may be inserted into any port. The script is just hard-coded to port 2 for flashing the firmware.
speedo_demo.webm
The 3D printed Tildagon case is by Nightcaster, plans available from Printables.
This repo is MIT licensed.