RP2040 communication with MAX and processing ide #11457
-
In my project, RP2040 is connected to MAX3001 with which it communicates using SPI. The values are read back from MAX and plotted in a open source software called processing. I have written the scripts in Micropython. But the issue is with the ports. Please let me know how to resolve this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The rp2040 has two uarts, so the simplest software solution would be to add a uart to usb convertor, and thus have access to two com ports, one for Thonny, and the other for your datastream. On windows opened Com ports cannot be shared between processes, so Thonny and Processing cannot both acces COM4:. On Linux sharing ports is possible, but will require Thonny, processing, and your Micropython code to accommodate for that |
Beta Was this translation helpful? Give feedback.
-
unfortunately I am using windows. Is there any solution for live streaming of data from MAX? |
Beta Was this translation helpful? Give feedback.
-
The RP2040 port does usually use the USB interface for communication, which is mapped into the PC's OS asl COM port. Maybe COM4 in your case. You can use the hardware UART devices in addition, but then you have to attach e.g. a UART/USB adapter. Other option:
|
Beta Was this translation helpful? Give feedback.
The RP2040 port does usually use the USB interface for communication, which is mapped into the PC's OS asl COM port. Maybe COM4 in your case. You can use the hardware UART devices in addition, but then you have to attach e.g. a UART/USB adapter. Other option: