Set the device ID for shared monitoring
Connect and test
- With USB unplugged and the 12 V supply off, connect only this probe. Connect brown to +12 V and black to 12 V supply negative.
- On the SparkFun board, connect the probe’s wire to A and its blue wire to B. Join the supply’s negative terminal to SparkFun GND for the signal reference.
- Plug the ESP32 into this PC with a USB data cable. Power the probe, put its sensing end in the water, and click Test this probe in desktop Chrome or Edge. Select the ESP32’s COM port if prompted.
The test reads this probe continuously and shows the latest reading. Click Disconnect serial port to finish.
First time connecting the ESP32? Open All Sensors for the shared setup. Before rewiring, disconnect the serial port, unplug USB, and switch off the 12 V supply. Renke wiring manual
Connect and test
Plug the ESP32 into the PC with a USB data cable. In desktop Chrome or Edge, click Test this sensor and choose the ESP32’s COM port if prompted. The test shows live readings from this sensor. Click Disconnect serial port to finish. Unplug the ESP32 before changing wires. Sensor reference
First time connecting the ESP32? Open All Sensors for the shared setup.
All Sensors
Renke RS‑485 and ESP32 inputs
LoRaWAN is waiting for the workbook connection.
Choose sensors to monitor
The three Renke probes start selected. An ESP32 input is selected after its first successful individual test.
Run the probes together
- Test each probe separately in its tab and verify its ID. Use 1 for blue-green algae, 2 for dissolved oxygen, and 3 for chlorophyll-a.
- Disconnect the serial port, unplug the ESP32, and switch off the 12 V supply. Use one ESP32 and SparkFun board for all three probes. Run the RS‑485 bus from probe to probe, joining every A to A and every B to B at the SparkFun board. Wire the probes in parallel to the 12 V supply and join supply negative to SparkFun GND.
- Wire the ESP32 inputs as shown in their own tabs. Open Choose sensors to monitor to review which sensors will be recorded.
- Plug the ESP32 back into the PC, power the connected probes, and click Start monitoring. Select the ESP32’s COM port if prompted. Keep this page open and the PC awake while recording.
The dashboard takes a saved reading about every 15 seconds per responding probe.
Set up LoRaWAN wireless monitoring
- Test each sensor over USB first. Assign Renke IDs 1, 2, and 3 as shown above. Disconnect power before wiring the DFRobot DFR1115-915 in I²C mode. Connect its VCC → 3V3, GND → GND, T/D → D21 (SDA), and R/C → D22 (SCL). Attach the node and gateway antennas before powering them. DFRobot node wiring
- Set the DFR1093-915 gateway to US915 and register the node using OTAA. Use its DevEUI, JoinEUI (AppEUI), and AppKey. Give the gateway internet access over Ethernet or Wi-Fi. DFRobot device registration
- Download the DFRobot_LWNode library ZIP. In Arduino IDE, choose Sketch → Include Library → Add .ZIP Library. Use the shared ESP32 sketch and save the wireless settings file as
lorawan-config.hin the sketch folder. Fill in the OTAA values and gateway sub-band locally. Enable the sensors you wired, then upload the sketch. - Open the gateway’s Node-RED, import the gateway flow, and edit its Gateway settings node. Enter your DevEUI and the write-only connection from Sensor Dashboard → Connect the LoRaWAN gateway in the workbook. In the MQTT broker settings, use your local SIoT credentials. Deploy the flow. DFRobot Node-RED guide
The field node sends a snapshot about every five minutes. An active USB test takes priority. After you disconnect, the same sensor tab returns to its latest LoRaWAN reading. The workbook stores raw voltage for wireless analog probes. The dashboard converts it using the calibration saved in this browser.
Solar power for the outdoor station
The field power parts are the Xunyunda 12 V 10 Ah LiFePO₄ battery, the WERCHTAY 100 W bifacial panel, and the Renogy Wanderer 10 A PWM controller. Use the battery label’s charging voltage and maximum current. Check the actual panel label for open-circuit voltage (Voc) and short-circuit current (Isc), including any rear-side gain, before connecting. Renogy rates the US Wanderer at up to 50 V PV input and 10 A charge current.
Compare the panel’s charging current with the battery’s limit before connecting. Follow the Wanderer manual to connect the battery before the panel and program the 12 V lithium profile. Plan a fused DC branch for the probes and a regulated 5 V USB supply for the ESP32. The LoRaWAN node connects to the ESP32’s 3.3 V supply. Power the indoor gateway separately. Renogy manual
Rodeostat
IO Rodeo USB potentiostat
Plug the Rodeostat into this PC by USB and select its COM port when prompted.
Test results
Run a test to see the trace and measured current.
Checking Google Sheets sync…
Connect and run the first test
- Connect the Rodeostat directly to the PC with a USB data cable. Plug the 50 kΩ dummy cell into its electrode connector. IO Rodeo dummy cell
- In desktop Chrome or Edge, click Connect Rodeostat above and choose its COM port. The firmware version and hardware variant will appear.
- Click Load 50 kΩ dummy-cell settings, then Run Test. The preset uses constant voltage at 0.10 V for 5 seconds. Look for a nearly flat trace around 2 µA in magnitude.
- Check the sync status under Test results. Use Save Data to download a copy. For a real experiment, match the working, reference and counter leads to your procedure. IO Rodeo test reference
ESP32 firmware setup
Connect the ESP32 to the PC with a USB data cable. For the pictured Micro‑USB ESP32 and a USB‑C computer, use a USB‑C to Micro‑USB data cable.
Flash this sketch once for the ESP32-WROOM-32. It handles both the Renke RS‑485 bus and the five ESP32 sensor inputs over the same USB connection.
- Download the ESP32 sketch. Put it in a folder named water-sensor-bridge and open it in Arduino IDE.
- Follow Espressif’s Arduino setup to install esp32 by Espressif Systems. Install OneWire by Paul Stoffregen in Library Manager.
- Select ESP32 Dev Module, choose the board’s COM port, and upload. Close Arduino Serial Monitor before using this dashboard.
The dashboard and the Renke bus use 4800 baud, 8N1.
ESP32 and SparkFun wiring
| ESP32-WROOM-32 | SparkFun SP3485 |
|---|---|
| 3V3 | VCC |
| GND | GND |
| TX2 (GPIO17) | RX-I |
| RX2 (GPIO16) | TX-O |
| D25 (GPIO25) | RTS |
USB powers the ESP32, and the ESP32’s 3V3 pin powers the SparkFun board. The separate 12 V supply powers the Renke probe. If the SparkFun board has bare holes, fit a header or screw terminal for secure connections.
Use the ESP32 board with a USB socket and a metal-shielded module. The AliExpress option labeled “Adapter for 30pin” is a carrier for that board.
Calibration
Capture the live signal at two known references. The dashboard displays millivolts until you save calibration and whenever a reading falls outside the reference range.