Skip to content

kaydenkehe/mintypico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mintyPico

This repo contains the code and files necessary to build the mintyPico
For this project, you should have a drill, a dremel, and a soldering iron. A set of metal files would also be nice!
BE AWARE: In my experience, only high quality cables for charging will work. Using a bad USB-C charging cable can cause the mintyPico to freeze

mintyPico Showcase

USAGE:

The top left button starts games
The bottom left button switches the pico into "low-power" mode (disables display and turns cpu clock frequency down 5x)
To switch the Pico back into normal mode, while holding the low-power button, press the right button, then the top button, then the left button
The four rightmost buttons operate the games

CODE:

sh1106.py: Driver for display, code can be found at https://github.com/robert-hh/SH1106. I included it in this repo in case the code changes and becomes incompatible; all credit to the original author, Robert Hammelrath
main_lipo.py: Main code for those using Pimoroni Pico LiPo with a battery (Rename to main.py)
main_normal.py: Main code for those using a normal Pico without a battery (Rename to main.py)

OTHER FILES:

highscores.txt: Keeps records of highscores. Should be downloaded to the Pico along with main.py and sh1106.py
prints.zip: Contains all 3D print files
--screenholder.obj: Holds display in place
--holeguide.obj: Guide for drilling holes in the tin
--base.obj: Holds the Pico and battery
--buttonholder_lipo.obj: Holds the button switches
--buttonholder_normal.obj: Holds button switches, doesn't include space for low-power button
pcb.zip: Contains gerber files for PCB. I ordered my PCB from https://www.pcbway.com/

PARTS:

Display: https://www.amazon.com/Teyleten-Robot-Display-Raspberry-Microcontroller/dp/B08J1D212N/
Pimoroni Pico LiPo: https://shop.pimoroni.com/products/pimoroni-pico-lipo
LiPo battery: https://www.amazon.com/Battery-Packs-Lithium-Polymer-100mAh/dp/B0137KTPP0/
Altoids Smalls Tins: https://www.amazon.com/ALTOIDS-Smalls-Peppermint-Breath-0-37-Ounce/dp/B005CXDWT6/
Buttons: https://www.amazon.com/dp/B09YPQV1F9/
Wire: https://www.amazon.com/StrivedayTM-Flexible-Silicone-electronic-electrics/dp/B01KQ2JNLI/
Tape: (I know it's expensive, but it works really well) https://www.amazon.com/gp/product/B07GWRF9D8/

Breadboard Prototype

NOTES:

Feel free to use the code and files from this project in any capacity you like, commercial or otherwise :)
My two main sources of inspiration for this project are the mintyPi from sudomod, and the Pico snake project from Hari Wiguna
mintyPi: https://www.youtube.com/watch?v=YqE2x-0JYzs
Pico snake: https://www.youtube.com/watch?v=5r_6mbYlLVo