Skip to content

A touchscreen matrix using an 3.5" ILI9488 TFT with resistive touch and a Raspberry Pi Pico

License

Notifications You must be signed in to change notification settings

DustinWatts/Pico-Matrix-Touch-Keyboard

Repository files navigation

Pico-Matrix-Touch-Keyboard

alt text

A touchscreen matrix using an 3.5" ILI9488 TFT with resistive touch and a Raspberry Pi Pico. The Raspberry Pi Pico has native HID Keyboard support. This sketch gives you 12 buttons in a 4x3 matrix. Each button can have one or more keyboard functions.

Earle Philhower's arduino-pico core

Installing the arduino-pico (https://github.com/earlephilhower/arduino-pico) core:

  • In the Arduino IDE go to File->Preferences.
  • Under "Additional Board Manager URLs" add this line: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json. Click OK.
  • Go to Tools->Boards->Board Manager. Type "pico" in the search box and click "Install" for "Raspberry Pi Pico/RP2040".

Upload settings

The sketch and board have been tested with the following Board Settings:

alt text

LittleFS

This example uses LittleFS for a tiny bit of storage. Storage is needed to store the calibration file that is created when calibrating the touchscreen. So make sure when you flash the Pico, you flash it with at least 64KB for the FS under "Flash Size".

Pico TFT Combiner board

For better connections and a nice finished project you can use the Pico + TFT Combiner board I designed. You can order these straight from PCBWay (https://www.pcbway.com/project/shareproject/Pico_Matrix_Touch_Keypad.html), donwload the gerbers, or the Kicad project. You can find them in the Pico_TFT_Combiner_Board folder of this repository. alt text

Connections

You can use the diagrams below if you want to connect the screen without using the combiner board. alt text alt text

Support Me

If you like what I am doing, there are a number of ways you can support me.

Platform Link
Twtter You can follow me on Twitter: @dustinwattsnl
YouTube You can subscribe to my channel on Youtube: /dustinWatts
Patreon You can support me by becoming a patron on Patreon: https://www.patreon.com/dustinwatts
PayPal.me You can make a one time donation using PayPal.me: https://www.paypal.me/dustinwattsnl

Get help

For quick access to help you can join my Discord server: https://discord.gg/RE3XevS

About

A touchscreen matrix using an 3.5" ILI9488 TFT with resistive touch and a Raspberry Pi Pico

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages