The KR01 currently hosts two microcontrollers:
-
an ESP32-based TinyPICO used as an external clock, and,
mounted at: /dev/ttyUSB0 open with: rshell -p /dev/ttyUSB0 script installed: ./main_ext_clock_esp32.py
-
an Itsy Bitsy RP2040, handling the three front bumpers, the mast, back port and starboard digital infrared sensors. This communicates over UART to Tx/Rx on the Pi.
mounted at: /dev/ttyACM0 open with: rshell -p /dev/ttyACM0 script installed: ./main_hihp_rp2040.py libraries at: ./upy/
-
a second RP2040, this time a QT Py RP2040 as an external clock as an alternative to the TinyPICO.
mounted at: /dev/ttyACM1 open with: rshell -p /dev/ttyACM1 --buffer-size=32 --baud=115200 script installed: ./main_qtpy_rp2040.py
-
if a Pyboard is connected it shows up as:
mounted at: /dev/ttyACM0 open with: rshell -p /dev/ttyACM0 installed at: /pyboard/flash or: /pyboard/flash
Note that on your own computer the actual tty used may differ.
To connect to the microcontroller, use rshell with the board's port as an argument.
When in rshell, the executable script can be found at: /pyboard/main.py
The 'edit' command will by default open vim.
If you have trouble copying files due to a timeout, use the following command arguments:
rshell -p /dev/ttyXXXX --buffer-size=32 --baud=115200
A NeoPixel support library in MicroPython on the RP2040 may be found at:
https://github.com/blaz-r/pi_pico_neopixel
The neopixel.py file should be copied to /pyboard/ on the microcontroller.
#EOF