But what enables that particular node on the bus, lets it know data is for it, that it can send ? Though I think we may actually be agreeing it's not as simple as just waggling a direction signal ...Like I said on my prior post the function uart.flush() returns when the transmission is done!The challenge is in knowing when to do that. I am guessing it's fine when you have implemented an RS485 stack, have some protocol which defines which way data should be going and when, but ...
The thing that we don't know is like Hippy said is what kind of protocol you want to use. Modbus should be ok with micropython.
If you design your own please put a small delay between sending packet. On both unit server(pico) and client.
Statistics: Posted by hippy — Thu Jan 18, 2024 6:46 pm