revised README structure

This commit is contained in:
Mikkeli Matlock
2026-01-26 00:35:48 +09:00
parent c7edc30b79
commit 4d7edd694a
5 changed files with 213 additions and 15 deletions

36
arduino/README.md Normal file
View File

@@ -0,0 +1,36 @@
# Arduino
Sensor interface running on Arduino Nano, communicating with Pi via UART.
## Sketches
| Folder | Purpose |
|--------|---------|
| `main/` | Primary telemetry sketch |
## Current Capabilities
- Battery voltage monitoring (voltage divider on A0)
- Serial output at 9600 baud, 1Hz update rate
## Planned
- RPM sensing (pulse counting from ignition coil)
- Engine temperature (thermocouple/NTC)
- Gear position indicator
- Turn signal / high beam status
## Hardware
- **MCU**: Arduino Nano (ATmega328P)
- **Connection**: UART to Pi GPIO (TX→RX, RX→TX, common GND)
- **Voltage sensing**: Resistor divider scaled for 0-20V input range
## Protocol
Simple text-based for now:
```
V_bat: 12.45V
```
Future: structured binary or JSON for multiple sensors.