STM32-SDI12
Its a SDI-12 library for STM32 microcontrollers.
Method
Single UART/IO pin is toggled between RX and TX. Compatible pins will depend on the STM32 microcontroller you are using.
Tested on
- [x] STM32L476RG (not 5V tolerant! level shifter is required)
- [x] STM32L073RZ (5V tolerant on pin PA9) by @dajtxx
Supports
Where a or b is a devices address and n is a stored data index.
- [x] Acknowledge active (a!)
- [x] Send identification (aI!)
- [x] Change address (aAb!)
- [x] Start measurement (aM!)
- [x] Send data (aDn!) where n = 0 to 9
- [x] Start verification (aV!)
- [ ] Start concurrent measurement (aC!)
License
This work is MIT licensed as found in the LICENSE file.