Skip to content

viktorchvatal/rpi-pico-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Raspberry Pi Pico Learning Demo

My personal walk through learning Rust development on Raspberry Pi Pico, featuring

  • dual code ARM Cortex M0+ microcontroller
  • 264K internal RAM and 2MB onboard flash
  • $4 price ($6 for WiFi version)
  • Pros: Cheap, good quality, breadboard-friendly, lots of RAM and Flash space, two cores
  • Cons: Some features are not supported in Rust (yet)

photo

Userful Resources

Other ARM Boards

Originally, my goal was to find a cheap ARM board that could be programmed in Rust programming language. First one I got was Blue pill - a small and low cost board with STM32F103C8 microcontroller and 20K RAM and 64K flash.

My experiments with this board can be found in blue-pill-rust repository.

photo

Speaking of Blue pill, I had problems to acquire cheap boards that did not carry fake STM microcontrollers. This is why I found Black pill - a successor with more powerfull STM32F411CEU6 microcontroller with 128K RAM and 512K flash.

More examples can be found in the black-pill-rust repository.

photo

However, Black pill was not so low cost any more. When Raspberry Pi Pico was announced, I was very happy about it. For very low cost, I got really powerfull ARM microprocessor with lots of RAM and onboard flash, with no problem about component quality.

Basic Programming and Debugging

Getting Started with USB loader - the easiest way to flash a program just by connecting RPI Pico to a USB port with BOOTSEL button active

photo

Getting started with Picoprobe - flashing and debugging Pico using another Pico

photo

Indicating panic with a LED

TODO: Photo

Digital Displays

LED display with MAX7219 driver over SPI

photo

SSD1306 OLED I2C Display

photo

Other Inputs and Outputs

Analog to digital converter and multicore

photo

PWM driven colored LEDs

photo

About

Rust Raspberry Pi Pico Learning Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published