Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5239

MicroPython • Re: mpremote over UART/RS485

$
0
0
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 ...
Like I said on my prior post the function uart.flush() returns when the transmission is done!
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 ...
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



Viewing all articles
Browse latest Browse all 5239

Trending Articles