Garduino-Uno
References
Components & Controllers
- 1-2 Uno R3 m328p
- Soil moisture sensor + sunlight sensor: m328p-sensors
- 2 Uno R3 m2560
- OLED display shields for values on board near garden
- Boards B & C (displays): m2560-oled-shields
Board: Arduino Uno R3 m328p (sensors)
Controls all sensors, captures soil moisture and sunlight inputs, batches them, and outputs them to the logger board.
- Soil Moisture sensors:
- Sunlight sensors:
Connections:
- In: Soil & sunlight sensors
- Out-Channel 1: m2560 OLED displays
- Out-Channel 2: SD (logger)
Dev
There are a few ways to compile the system.
With both boards plugged in (builds and flashes to board)
avr-garduino/m328-sensors $ cargo run
avr-garduino/m2560-oled-shields $ cargo run
From root with provided aliases:
avr-garduino $ cargo build-328p && cargo build-2560
From root manual:
avr-garduino $ cargo build --verbose --package m328p-sensors --target=m328p-sensors/spec/avr-atmega328p.json
avr-garduino $ cargo build --verbose --package m2560-oled-shields --target=m2560-oled-shields/spec/avr-atmega2560.json
From package:
avr-garduino/m328p-sensors $ cargo build --verbose
avr-garduino/m2560-oled-shields $ cargo build --verbose
Special Thanks
I want to extend my gratitude to the contributors of the avr-hal crate. This project couldn't have done it without them :)