Skip to content

wahyukusumo/RP2040-Macropad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RP2040 Macropad

This is a macropad firmware for Raspberry Pi Pico RP2040 written in Circuitpython. This firmware support up to 8 rotary encoders, 20 buttons, and a TFT display. Or you can just adjust it like however you like.

Table of Contents

Features

  • 6 Rotary encoders.
  • 240*240 TFT Display to display information and image or gif. *RP2040 will struggle to play gif btw
  • deej rotary encoder support.

🛠 Build

You can adjust this build to fil what you need

Hardwares Needed

  • Raspberry Pi Pico
  • 2 Expansion Board PCF8574
  • 6 EC11 Rotary encoders
  • 20 button switches
  • ST7789 TFT Display
  • Prefboard
  • Wires

Schematic

Schematic

Software

Installation

  • Install Circuitpython v9 to your Pi Pico
  • Download or clone this repository
  • Move all files inside lib/lib-circuitpython-v9 to your Pi Pico lib folder
  • Copy these file from this repository to your Pi Pico:
    • config.py
    • code.py
  • If you want use custom font, you
  • This is what your Pi Pico directory should look like:
│   boot_out.txt
│   code.py
│   config.py
├───lib
│   │   adafruit_pcf8574.mpy
│   │   adafruit_pioasm.mpy
│   │   adafruit_st7789.mpy
│   │   deej.py
│   │   digitalio.mpy
│   │   rotaryio.mpy
│   │   rp2pio_dualincrementalencoder.mpy
│   │   macropad.mpy
│   │   display.mpy
│
├───media
├───fonts

Configuration

  • config.py is to assign your microcontroller pins.
  • code.py is to assign your buttons and encoders actions.

My Build Log

Update later...

About

Micropython firmware for RP2040 macropad using 20 buttons, 6 encoders and TFT display.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages