The purpose of this application is to provide a remote procedure call (RPC) interface over an external Arduino device tailered for the Mikapod Soil
configuration.
Supports collection of instrument time-series data from 6 different sensors via Mikapod Soil (Arduino) device:
- Temperature
- Humidity
- Pressure
- Altitude
- Illuminance
- Soil Moisture
You must have the following installed before proceeding. If you are missing any one of these then you cannot begin.
Go 1.15.6
-
Please visit the Mikapod Soil (Arduino) device repository and setup the external device and connect it to your development machine.
-
Please find out what USB port your external device is connected on and export the following environment variable to your console. Note: please replace
/dev/cu.usbmodem14201
with the value on your machine, a Raspberry Pi would most likely have the value/dev/ttyACM0
.export MIKAPOD_SOIL_READER_DEVICE_PATH=/dev/cu.usbmodem14301
-
Download the source code, build and install the application.
GO111MODULE=on go get -u github.com/mikaponics/mikapod-soil-reader
-
Run our application.
mikapod-soil-reader
-
If you see a message saying
Started soil reader service
then the application has been successfully started.
This application is licensed under the BSD license. See LICENSE for more information.