Serial communication on GPIO pin
-
I'm trying to use a GPIO port for SDI-12 communication (http://sdi-12.org/specification.php). It's a one wire, 1200 baud serial protocol. I was looking at the onewire.py module by danicampora from Pycom. Can this module be adapted to another one wire protocol?
-
@jmpratt
It is really different protocol
better if you really need it, try to addapt to micropython this one
https://github.com/EnviroDIY/Arduino-SDI-12/tree/develop/src -
Thanks @livius . That code is very helpful. Now, who wants to port it to MicroPython for me?
-
@jmpratt Did you have any luck with this?
-
@jimpower No I haven't. I ended up using a SDI-12 to serial conversion board. So instead of rewriting the SDI-12 protocol, I just read and write to the UART. It works fine, but requires and extra piece of hardware.
-
@jmpratt Would you mind providing me a link for the hardware you used? I was thinking of using the RS485 library and a 485 to uart breakout board.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login