A digital dashboard for the SAME Minitauro tractor, built on Arduino. It reads engine speed from a pickup sensor and displays both the engine RPM and the PTO (Power Take-Off) RPM on a 16×2 LCD, with contextual prompts based on clutch and ignition state.
- Engine RPM measured via an interrupt on the pickup signal (rising edge).
- PTO RPM derived from the engine speed using a fixed ratio (
PTO_RATIO). - Reading smoothing through a small rolling average (
CACHEsamples). - Contextual messages on the LCD:
- engine off → "Turn the key to start the engine";
- engine off with clutch engaged → "Disengage the clutch to start";
- engine running → live engine and PTO RPM.
- Animated startup splash screen.
- An Arduino board with at least one external interrupt pin.
- A 16×2 HD44780-compatible LCD (driven via the
LiquidCrystallibrary). - A pickup/Hall sensor on the engine for the rotation signal.
- Digital inputs for clutch and ignition (alternator warning light).
| Signal | Arduino pin | Notes |
|---|---|---|
| LCD (RS, E, D4–D7) | 12, 11, 10, 9, 8, 7 | LiquidCrystal(12, 11, 10, 9, 8, 7) |
| Pickup | 2 | Interrupt, triggers on 0→5 V rising edge |
| Clutch | 3 | 5 V = engaged, GND = released |
| Engine on | 4 | 5 V = engine off, GND = engine running |
LiquidCrystal(bundled with the Arduino IDE).
With the Arduino IDE: open MinitauroSmartDashboard.ino, select your board and
port, then click Upload. From the command line with
arduino-cli:
arduino-cli compile --fqbn arduino:avr:uno .
arduino-cli upload --fqbn arduino:avr:uno -p COM3 .Edit the following in MinitauroSmartDashboard.ino:
PTO_RATIO— gear ratio between engine and PTO shaft.CACHE— number of samples used for the rolling average.PERIOD— refresh/sampling interval in milliseconds.PICKUP/CLUTCH/ENGINE_ON— input pin assignments.
Released under the GNU GPL v3 — see LICENSE.