Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 3.4 KB

File metadata and controls

62 lines (37 loc) · 3.4 KB

Helium_MakerfabsSoilMoistureSensorV3

Working version as of 18 Nov 2022.

Based on slight adaptation of the code here: https://community.home-assistant.io/t/makerfabs-soil-moisture-sensor-v3-lorawan-ttn-v3-and-ha-integration/446021, and of @denicola2's helium decoder here https://gist.github.com/denicola2/79639d7b17bf1b828c7cfeffedee0a13

image

image

GristleKing blog post

https://gristleking.com/how-wet-can-ya-get-lets-get-muddy/

Equipment needed:

Sensor https://www.makerfabs.com/lora-soil-moisture-sensor-v3.html
3.3V USB to TTL / Serial converter https://www.makerfabs.com/cp2104-usb-to-serial-converter.html Makerfabs recommended
https://ftdichip.com/products/ttl-232r-3v3/ Arduino recommended
https://www.sparkfun.com/products/9873 Arduino recommended
https://www.amazon.com/Serial-Adapter-Signal-Prolific-Windows/dp/B07R8BQYW1/ Not ideal, but what I had lying around
https://www.amazon.com/dp/B07X4ZTRD2 did NOT work
Dupont wire and header pins optional depending on converter

Connecting and uploading to the board:

  1. Use EITHER the power output of the USB-TTL converter OR batteries to power the sensor, not both
  2. If the USB-TTL converter does not have DTR, you must use the RST button on the sensor to upload a sketch: hold down RST, press upload, wait until the status shows "uploading", immediately release RST
  3. If connection does not work, try reversing RX and TX
  4. What worked for me: sensor powered by batteries; converter GND, RX, TX only connected, RX-TX reversed

Software needed:

Helium setup:

  1. Pay careful attention to the byte order and order of the variables APPEUI, DEVEUI, APPKEY. These are different than what is displayed in the helium console by default
  2. Use the decoder provided here and paste it in the helium console.

Reference info: