-
1Connect Raspberry Pi Pico Pins
Connect wires to pins:
GP9, GP10, GP11 (These will connect to keypad column pins)
GP12, GP13, GP14, GP15 (These will connect to keypad row pins) -
2Connect Keypad Pins
Looking from the top, the left-most pins are connected to the rows, and are followed by the column pins.
-
3Install CircuitPython on the Pico
Follow the Adafruit instructions here.
Make sure you're using a version newer that 6.2.X -
4Download the CircuitPython Firmware
Download and unzip the latest bundle for the Pico here.
Drag all of the included files on to the CIRCUITPY drive that shows up when the Pico is plugged into your computer via USB. -
5Install CircuitPython Libraries on the Pico
The firmware bundle that you downloaded in step 3 should contain a README file listing the required CircuitPython library files.
Download the latest version of the CircuitPython library bundle here.
Create a directory on the CIRCUITPY drive called "lib" if it doesn't already exist.
Find all of the files listed in the README from step 3 in the bundle after unzipping.
Copy all of the files (preserving the directory structure specified by the README) into the "lib" folder.
The board should reboot, and you should be ready to go after the LED stays on for 5 seconds or so.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Hello! I'm having trouble making my setup work. I was able to flash my newly-bought raspberry pi pico with circuitpython 7.3.3, and copied the contents of the "pico" folder to the root of the CIRCUITPY drive. At the last bit, I copied all the required files in the lib folder whilst maintaining the folder structure (including adafruit_matrixkeypad.mpy which i retrieved from the community libraries) but the board doesn't "reboot" with the LED as mentioned. I was hoping to get some help, Thank you in advance!
Are you sure? yes | no
No worries, I was able to make it run. I'll have to adopt it to work with the matrix keypad I bought
Are you sure? yes | no
roy2z im having a similar issue I believe, what did you do to solve it
Edit - I figured it out, it was a combination of the fact that I was using the pico firmware (Im using a QTPY rp2040) instead of going to Guy's website (i'm an idiot sometimes), and the README doesn't ask for the "keyboard_layout_base.mpy". I had to install mu, and check the serial console to find the error code.
Are you sure? yes | no
@Egrazil sorry about that! Glad you got it working. I have a pending update that will zip up all the builds on Github with the libraries included, I just haven't had a chance to finish.
Are you sure? yes | no