Skip to content

Install sensor

Vec7or edited this page May 22, 2020 · 4 revisions

Limitations

  • Due to heavy hardware dependencies the sensor only works on a Wemos D1 mini
  • Currently the make setup only supports linux operating systems

Step by step

  1. Clone the sensor repository: git clone https://github.com/PlantWire/humidity-sensor
  2. Change directory: cd humidity-sensor
  3. Install arduino-cli and dependencies: sudo make prepare
  4. Build the sensor code: sudo make build_prod
  5. Connect the sensor to the pc via USB
  6. Upload the code to the sensor: sudo make upload_prod PORT=/dev/ttyUSB0 -> The port has to be adjusted to the one the sensor is connected on.

Clone this wiki locally