Soil moisture monitoring system built with Rust, utilising the avr-hal project. For now it only supports the Arduino Uno board, but the code can easily be adapted for other boards with the help of the avr-hal examples.
You need to have the following installed on your system:
Install the Rust compiler, this this curl command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
On Windows use rustup-init.exe.
The installation process for avrdude
will depend on your OS.
You can download avr-gcc
, which includes avrdude
.
You can use the following guide.
After downloading the archive extract it to C:\Users\Username\Programs\avr8-gnu-toolchain
.
Then, create a AVRGCCStart.cmd
file with this content:
set Path=%Path%;C:\Users\Username\Programs\avr8-gnu-toolchain\bin
set Path=%Path%;C:\Users\Username\Programs\avr8-gnu-toolchain\avr\bin
start cmd
After that save it, and then execute the script. From there you can change to where you've cloned the repository and follow the steps after.
avrdude
is packaged in a homebrew formula and can be installed with
brew install avrdude
There should be a avrdude
package in your distro package manager, for instance for Ubuntu you can use:
sudo apt-get install avrdude
Clone this repo:
git clone [email protected]:axiomatic-aardvark/oxide-h2o.git
And just run the project:
cargo run
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.