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.py
file that will contain your MicroPython script - Run
rshell -p /dev/ttyACM0 --buffer-size 512
wherettyACM0
in the Pico adress on your machine. Rundmesg -w
to 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 + x
and unplug/plug your Pico - Run
minicom -b 115200 -o -D /dev/ttyACM0
to read the serial communiction (replacettyACM0
with your Pico address previously obtained)
OLED screen to Raspberry Pico through SPI
Wiring
GND
->GND
VCC
->3V3
outCLK
->GP10
MOSI
->GP11
RES
->GP2
DC
->GP5
CS
->GND
See this guide p.36 & this example on Github.