Raspberry Pico
Documentation
Installation
- Install MicroPython
- Install rshell
pip3 install rshell(guide) - Install Minicom (USB serial) - AUR
Use
- Go to the folder of your choice
cd pico/experiments/and create amain.pyfile that will contain your MicroPython script - Run
rshell -p /dev/ttyACM0 --buffer-size 512wherettyACM0in the Pico adress on your machine. Rundmesg -wto see the devices connected to your computer, and therefore the address of your Pico. - Copy your local script to the pico by running
cp main.py /pyboard/main.py - Close the rshell connection
CTRL + xand unplug/plug your Pico - Run
minicom -b 115200 -o -D /dev/ttyACM0to read the serial communiction (replacettyACM0with your Pico address previously obtained)
OLED screen to Raspberry Pico through SPI
Wiring
GND->GNDVCC->3V3outCLK->GP10MOSI->GP11RES->GP2DC->GP5CS->GND
See this guide p.36 & this example on Github.