Communicating between Rpi <-> Pico via USB

6. node-red-mcu

@ralphwetzel recommended me here to use node-red-mcu-plugin.

Similar to Kaluma, this could work only, if somebody would provide a "ready to use" example, how to communicate through the default USB with the "main NR".
I've searched for it for several days, but concluded:

  • USB is reserved for debugging + new firmware upload.
  • Communicating with the Pico board would be possible through Wifi or Ethernet only (which the USB version of Pico board does not have).
  • There is no MQTT -> to serial or Webserver over serial protocol built in, Moddable scripts assume a presence of ESP32 or similar chip.
  • UART is reserved for PINs only.

Also it had to be written for both sides (host + board) laying down the communication protocol from scratch.
Once uploaded the firmware to the board, it would be impossible to dynamically change a "mcu-node" to something else. (For example an IO pin to PWM) from host side.