Hey,
I wan't to use modbus library in pico. First of all, I just try ModbusSerial. I am trying to use this https://github.com/techbase123/micropython-modbus github source.
To start I want to write a simple number using modbus poll, pi pico is connected to my computer via usb. Can I read the value I wrote directly from the computer via modbus without using any transmitter?
I want to use serial communication used at https://github.com/pycom/pycom-modbus/b ... er/main.py but it mentions uart pins.
I am beginner. How can I send data with using modbusRTU micropython on pico. Is there any suggestion or example library for that ? Additionally, I don't know how connection should be? Should I use transreceiver or sth like that or usb port enough for reading this datas with modbus poll on windows.
Raspberry Pi Pico micropython ModbusRTU
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Raspberry Pi Pico micropython ModbusRTU
Try a forum search on Modbus.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
-
- Posts: 2
- Joined: Mon Apr 05, 2021 7:45 pm
Re: Raspberry Pi Pico micropython ModbusRTU
I am beginner and it is hard to understand these many informations. I spent many times and still there is no solution. I just want to read or write data with using micropython modbus in pi pico. So, I don't know how can I send data with using only usb cable connected to pi pico ? In the code sample, there is a class which taking parameters as pins, what are actually pins? May you help me about this? Any suggestions or any ideas do you have? Thanks