rs232 to rs485 conversion #10254
Unanswered
travelo94
asked this question in
RP2040 / Pico
Replies: 2 comments 19 replies
-
... is hardly a problem description someone can work with. You know that RS232/RS458/UART are completely different things electrically ? |
Beta Was this translation helpful? Give feedback.
9 replies
-
Glancing into Thonny I see, that you can use it to update the ESP32 firmware, after having downloaded the proper version. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi im using uart on pico with rs232 converter now i want to use rs485 ,
i wrote some demo code on rs232 that works.
`from machine import UART, Pin
import machine
uart=(0, baudrate=9600, bits=8, parity=None, stop=1, tx=Pin(0), rx=Pin(1), txbuf=256, rxbuf=256, timeout=2000)
data=[0x00,0x01]
uart.write(bytes(data))
uart.read()
`
do i have to change anything to use rs485? beacuse when i connected circuit it didnt worked
Beta Was this translation helpful? Give feedback.
All reactions