Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.59 KB

File metadata and controls

18 lines (15 loc) · 1.59 KB

D32 Pro Sapflow Firmware

Setup

  1. Follow Arduino-ESP32 installation instructions here: https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md.
  2. Install dependencies
  3. Compile and upload to microcontroller

Dependencies install on Arduino

Note re: RTC Library

Currently, the example code sets the time in the RTC module to match the local time of whatever machine you compiled the code in. As a result, rtcUnixTimestamp erroneously treats your local time as UTC. In order to adjust for this, you'll need to add an offset when analyzing the data later on. For example, if you're in Pacific Time, you'll need to add 8 hours to the rtcUnixTimestamp value to adjust for your timeszone.