Unstructured technical notes

This article is part of: notes.

Raspberry Pico

Documentation

Installation

  1. Install MicroPython
  2. Install rshell pip3 install rshell (guide)
  3. Install Minicom (USB serial) - AUR

Use

  1. Go to the folder of your choice cd pico/experiments/ and create a main.py file that will contain your MicroPython script
  2. Run rshell -p /dev/ttyACM0 --buffer-size 512 where ttyACM0 in the Pico adress on your machine. Run dmesg -w to see the devices connected to your computer, and therefore the address of your Pico.
  3. Copy your local script to the pico by running cp main.py /pyboard/main.py
  4. Close the rshell connection CTRL + x and unplug/plug your Pico
  5. Run minicom -b 115200 -o -D /dev/ttyACM0 to read the serial communiction (replace ttyACM0 with your Pico address previously obtained)

OLED screen to Raspberry Pico through SPI

Wiring

  • GND -> GND
  • VCC -> 3V3 out
  • CLK -> GP10
  • MOSI -> GP11
  • RES -> GP2
  • DC -> GP5
  • CS -> GND

See this guide p.36 & this example on Github.

Created 14/06/2021

Updated 14/06/2021