1
0
mirror of https://github.com/whowechina/popn_pico.git synced 2024-11-12 01:30:47 +01:00
popn_pico/README.md

131 lines
7.3 KiB
Markdown
Raw Normal View History

2022-09-12 09:45:42 +02:00
# Pico Popn - Pop'n Music Controller
<img src="doc/main.jpg" width="80%">
2022-09-12 09:45:42 +02:00
Features:
* It's tiny.
* 1000Hz polling rate.
* HID lights (9 button lights and Logo RGB).
* RGB rainbow effects.
2023-01-28 14:33:29 +01:00
* Light brightness control (v1.2+).
2022-09-12 09:45:42 +02:00
2022-09-12 09:55:50 +02:00
<video src="https://user-images.githubusercontent.com/11623830/189601050-35440f27-5d67-4410-8533-f4e92887f753.mp4" controls="controls" width="50%">
2022-09-12 09:55:03 +02:00
</video>
2022-09-12 09:55:50 +02:00
<video src="https://user-images.githubusercontent.com/11623830/189601062-6984f811-3431-485f-bb1b-faf98aed2351.mp4" controls="controls" width="50%">
2022-09-12 09:55:03 +02:00
</video>
2022-09-12 09:45:42 +02:00
Thanks to:
* SpeedyPotato, for his great SDVX pico project which inspired me in the first place. I also got many materials from his repo. Check out his great projects: https://github.com/speedypotato.
* CrazyRedMachine, I got panel arts from his SVG files: https://github.com/CrazyRedMachine/PopnPanel.
* Many respectful guys/companies who made their tools or materials free or open source (KiCad, OpenSCAD, InkScape, Raspberry things).
2023-01-28 14:33:29 +01:00
## Special Notes
For builds v1.1 and earlier, you need to do a small modification and the main PCB to get brightness control with latest firmware.
See the bottom of this document.
2022-09-12 09:45:42 +02:00
## HOW TO BUILD
### Step 1 - Buy
* Place order at jlcpcb.com for PCB and plate. Gerber zip files are **/PRODUCTION/PCB.zip** and **/PRODUCTION/PLATE.zip**. Leave everything default in JLC's ordering page (board thickness is 1.6mm). Choose what ever color you like, I prefer white.
2022-09-13 16:41:30 +02:00
<img src="doc/pcb_and_plate.jpg" width="50%">
2022-09-12 09:51:35 +02:00
2022-09-12 09:45:42 +02:00
* Order 3D printing service for the case, FDM with transparent PETG filament or SLA with half-transparent resin. If you own a 3D printer, do it yourself. The file is **/PRODUCTION/pico_popn_case.stl**.
2022-09-13 16:41:30 +02:00
<img src="doc/case_3d_print.jpg" width="50%">
2022-09-12 09:51:35 +02:00
2022-09-12 09:45:42 +02:00
* Buy other components (get few more for tolerance):
* 1 * Raspberry Pi Pico (https://www.raspberrypi.com/products/raspberry-pi-pico/)
* 9 * Gateron Hotswap Sockets (https://www.gateron.co/products/gateron-hot-swap-pcb-socket)
* 9 * Gateron 3.4mm-travel switches (I prefer Box CJ Switch, https://www.keychron.com/products/gateron-box-cj-switch)
* 1 * USB Type-C socket (918-418K2023S40001 or KH-TYPE-C-16P)
* 10 * WS2812B-4020 side-facing RGB LEDs
* 9 * 2835 white LEDs (0.2W or 0.5W)
* 10 * 0603 220ohm resistors
* 2 * 0603 5.1kohm resistors
* 2 * Tactile Switches (4.5x4.5x6.5mm or 4.5x4.5x7mm or KAN4542-0701C)
* 4 * set of M3 screws/nuts/spacers (I'll explain later)
* 9 * Keycaps (many choices I'll explain later)
### Step 2 - Solder
* Use the smallest soldering iron tip you have.
* Use solder flux, always keep the pins "wet".
2022-09-12 09:45:42 +02:00
* Soldering iron temperature set to around 300°C.
* Use tweezers to hold components.
* Tricks for Type-C socket and 4020 RGB LEDs.
2022-09-13 16:41:30 +02:00
* Put flux on all those small pins. Melt a tiny little bit solder (seriously very very little bit) at the iron tip. Then quickly solder the pins. Flux and very little bit solder is the key.
2022-09-12 09:45:42 +02:00
* 2 resistors near USB socket are 5.1k ohm, others are all 220ohm.
* Don't forget to solder 3 "holes" which connects to the Raspberry Pi Pico's USB pins.
<img src="doc/usb_soldered.jpg" width="40%">
2022-09-12 09:45:42 +02:00
* 4020 RGB LEDs are side-facing, don't make it "up-facing".
<img src="doc/leds_soldered.jpg" width="30%">
* They look like this when finish:
<img src="doc/pcb_soldered_up.jpg" width="100%">
<img src="doc/pcb_soldered_down.jpg" width="100%">
2022-09-12 09:45:42 +02:00
### Step 3 - Firmware
* Use a USB cable to connect the PCB to a PC/Mac computer while pressing down the small button on Raspberry Pi Pico. An explorer window will pop up. If it doesn't show up, navigate to a disk labeled "RPI-RP2".
2022-09-13 16:41:30 +02:00
<img src="doc/rpi_rp2.png" width="50%">
2022-09-12 09:45:42 +02:00
* Drag the UF2 file (**/PRODUCTION/pico_popn.uf2**) to the root of this new disk.
* The RGB lights will start rainbow effects.
* If it's not working, go back to Step 2 and fix it.
### Step 4 - Assembly
* Insert 9 key switches into the plate, be careful, don't bend the leads.
<img src="doc/switch_installed.jpg" width="30%">
* Put the PCB into the case.
* Gap between the plate and the PCB is about 3.4mm. There're many ways to fix and fasten boards and case. Here's my solution, I reprocessed the screws and spacers as they didn't come with proper length.
<img src="doc/screw_solution.png" width="50%">
<img src="doc/screw_real.jpg" width="50%">
* Another way is to use a long M3 screw from top side and a nut at the bottom side. Between PCB and plate, use a 3.5mm length M3 spacer with no threads. You can also 3D print some spacers using provided **/PRODUCTION/screw_spacer.stl**.
* Don't forget get some anti-slip silicone pads.
<img src="doc/screw_final.jpg" width="50%">
2022-09-12 09:45:42 +02:00
* Almost done.
<img src="doc/assembled_top.jpg" width="50%">
<img src="doc/assembled_back.jpg" width="50%">
2022-09-12 09:45:42 +02:00
### Step 5 - Keycaps
2022-10-04 05:45:58 +02:00
* If you have resin printer, you can make them by yourself.
2022-10-06 16:39:39 +02:00
* Make half-transparent resin by mixing translucent and white resin (2:1) as the base resin.
2022-10-04 05:45:58 +02:00
* Mix some drops of UV resin pigment, you can make all Pop'n Music button colors.
<img src="doc/color_pigment.jpg" width="50%">
2022-10-05 13:10:31 +02:00
* 3D file is **/PRODUCTION/popn_keycap.stl** or if you're using Chitubox - **/PRODUCTION/popn_keycaps.chitubox**. Orientation and support should be like this to get perfect button surface.
2022-10-06 16:49:28 +02:00
<img src="doc/button_resin_support.png" width="50%">
2022-10-06 16:39:39 +02:00
* These are printed by my Elegoo Mars 3 Pro.
<img src="doc/keycap_3d_print.jpg" width="50%">
2022-10-04 05:45:58 +02:00
* There're many other choices.
* Homemade bottle cover keycaps
<img src="doc/keycap_bottle_cover.jpg" width="50%">
* Homemade coat buttons keycaps
<img src="doc/keycap_coat_button.jpg" width="50%">
* DSA color keycaps
<img src="doc/keycap_dsa.jpg" width="50%">
* DSA transparent keycaps
<img src="doc/keycap_dsa_2.jpg" width="50%">
* MA color keycaps
<img src="doc/keycap_ma.jpg" width="50%">
* XDA 1.5U color keycaps
<img src="doc/keycap_xda15x.jpg" width="50%">
* About the homemade process.
* I bought these inexpensive 3gram/5gram distribution bottles just to get the covers (28-30mm diameter).
<img src="doc/homemade_bottles.jpg" width="50%">
* Cut the shaft/socket out of regular transparent keycaps.
<img src="doc/homemade_get_shaft.jpg" width="50%">
* Drill some holes on them so later we can apply UV resin better.
<img src="doc/homemade_drill_holes.jpg" width="50%">
* Apply UV resin, glue the socket and the cover together.
<img src="doc/homemade_uv_resin.jpg" width="50%">
<img src="doc/homemade_glue_together.jpg" width="50%">
* Don't forget alignment.
<img src="doc/homemade_alignment.jpg" width="50%">
* After cured by UV light, they look like this:
<img src="doc/homemade_cured.jpg" width="50%">
2023-01-28 14:33:29 +01:00
## Modification for v1.1 and earlier PCB
In the first version of main PCB (v1.1 and earlier) I chose a wrong GPIO for the button 9 LED which caused a PWM conflict. To support brightness and fading control, that must be fixed.
The idea is to cut the old LED 9 track and wire it to a different pin (GPIO18). The blue * mark in the picture means "to cut the track" and the red * mark means "to solder".
If you don't need brightness and fading control, you don't need make this modification, just use v1.1 firmware.
Sorry for the mistakes I made.
<img src="doc/v12_fix.jpg" width="50%">
<img src="doc/v12_fix_1.jpg" width="50%">
<img src="doc/v12_fix_2.jpg" width="50%">