1
0
mirror of https://github.com/whowechina/iidx_pico.git synced 2024-11-13 18:00:51 +01:00
iidx_pico/README.md
2023-04-08 14:33:40 +08:00

8.6 KiB

Pico IIDX - Beatmania IIDX controller

Features:

  • It's thin, really thin.
  • Turntable and keyboard are detachable with magnetic connector, hotswap!
  • HID lights, of course!
  • Multiple turntable effects.
  • Many live settings.
  • All source files open.

Thanks to many respectful guys/companies who made their tools or materials free or open source (KiCad, OpenSCAD, InkScape, Raspberry things).

Caution

This is a difficult build, much more difficult than my previous Pico Popn project:
https://github.com/whowechina/popn_pico.
I suggest you to build my Pico Popn first.
This Pico IIDX project:

  • Heavily depends on 3D printing, both FDM and SLA (resin).
  • Requires skills to solder tiny components and thin cables.

Move forward only if you're REALLY interested.

Due to my limited personal time, this document is unfinished and still in progress. So stay tuned!

HOW TO BUILD

Turntable Materials

  • 1x AS5600 hall angular sensor board set (23mm*23mm)
  • 1x 6mm*2mm magnet (must be radially magnetized), normally comes with the AS5600 board set.
  • 1x 61804-2RS deep groove ball bearing (20x32x7mm), normally < 5US$;
  • 1x WS2812B LED ring board, use ones with dense LED arrangement (>=32 LEDs);
  • 3x M4*10mm screws (large flat head is better) and hex nuts, for bearing.
  • 4x M3*12mm screws, for spinning disc.
  • 2x 1N4148 diode (choose ones easy to solder)
  • 1x Custom cut acrylic disc, 4mm thickness.
  • 11x 12mm non slip self-adhesive silicon pads (also for Keyboard).
    https://www.amazon.com/Cabinet-Dampening-Adhesive-Circular-Stoppers/dp/B07XXWG818

Keyboard Materials

Detachable Cable

  • 1x HDMI cable (ultra slim, diameter < 4mm), at least 50cm in length, we'll cut the HDMI connectors off, so pick a cheap one.
  • 2X Magnetic pogopin connector sets, male and female. PCB side should use ones with 90-degree pins, cable side use ones with straight pins.

Step 1 - Buy

  • Keyboard PCB
    Just go JLC and make the order. Make sure the board thickness is 1.2mm, it's very important!
  • Turntable PCB
    It's an optional one. It makes the wiring and soldering inside the turntable a litter easier.
  • Acrylic disc
    Choose the dxf file according to your disc size and find a vendor to cut the 4mm black acrylic.

Documentation still in progress, come later...

Step 2 - 3D Print

Keyboard

  • PCB bottom (pcb_bottom_*.stl, choose one according to your connector choice)
    FDM, PLA/PETG transparent, 0.2mm layer, 4 walls.
  • PCB top (pcb_top.stl)
    FDM, PLA transparent, 0.2mm layer, 4 walls.
    If you have Bambu Lab's AMS system, use PLA black/gray for 3.0mm+ layers.

Turntable

For following prints, FDM, PLA, 0.4 nozzle, 0.16-0.2mm layer, 4 walls. And very important: "Seam Position" should be set to "Random" in your slicer, not only it looks better, it makes the bearing-flange coupling smoother and tension distributed more evenly.
These are all printed with

  • Base (TT_base_xxx.stl), choose one of the 150, 170 or 180, based on your choice of disc size, 20-60% fill.
  • Bearing seat (bearing_seat_6804.stl), 20-60% fill.
  • Flange for disc (TTshaft_6804.stl), 60% fill.

Pogopin Connector

It's very small and requires higher accuracy.

  • Housing for pogopin connector (pogo_bottom.stl, pogo_top.stl).
    FDM, PLA, 0.2 nozzle is recommended, 0.1mm layer, 4 walls, 60% fill.

Button keycaps

SLA (resin), regular white, 0.05mm layer, check out my orientation:

Step 3 - Solder

  • Turntable
    There're a set of I2C and a WS2812B signal line together in the cable that connects turntable and the keyboard. Unfortunately, these signals crosstalk. So, we have to use shield cables for them. Two I2C lines should have a shield cable, and the WS2812B signal should have another shield cable. Good thing is, an HDMI cable has 4 shield cables and bunch of other small cables. We can make use of it.

    To ease the pain of soldering cables and 2 1N4148 diodes. I made a turntable PCB. But I haven't tried it myself.

Documentation still in progress, come later...

Step 4 - Assemble

  • Assemble the turntable
    I don't know how to draw an explosion diagram, this is done by coding in OpenSCAD:

    These shows how a bearing is installed.

  • Install the low-profile stabilizers.
    https://docs.keeb.io/choc-stabs
    A little trick here. As the PCB footprint is made to support both choc v1 and v2, that leaves some wobble space for choc v1 and makes it difficult to align. So leave the key switch unsoldered, when the stabilizer, the key switch and the keycap are all in place, push the keycap down and then solder the key switch. This way the key switch will be aligned to the stabilizers better.

  • Assemble the keyboard
    It's very easy.

Step 4 - Firmware

  • For the new build, hold the BOOTSEL button while connect the USB to a PC, there will be a disk named "RPI-RP2" showed up. Drag the uf2 firmware binary file into it. That's it. There's a small hole at the back side of the keyboard, it is facing right to the BOOTSEL button.
  • If it is already running my IIDX firmware, hold two small AUX buttons together will do the same as the BOOTSEL button.
  • For now, some configurations are hardcoded, if you want to change something, you need to build by yourself.

Documentation still in progress, come later...

What If?

  • I can't find pogopin connector.
    Solution: I figured out another connector choice, which is a 3.5mm 4P headphone jack. It uses analog to communicate turntable movements, but I'm still testing it, so stay tuned. I will update this document.
  • I don't have Bambu Lab's machine, or I don't have an AMS system.
    Solution: There're many online vendors and people providing paid Bambu printing service. Or you can just use other 3D printers. It's just the numbers in the OpenSCAD source file or STL files are finetuned on my Bambu Lab X1. You may need to adjust a little on your 3D printer system to get perfect result. And regarding the multi-color thing, maybe you can just paint the top layer by hand. I know people do miniature painting, I think it would be similar.
  • STL files are not accurate, difficult to assemble.
    Solution: 3D printer systems are different one from another, it results in small differences even with same model file and some configuration. If the printed parts are not happy with each other, you can fiddle with the OpenSCAD source file and the numbers in it for your case.
  • I don't have resin printer.
  • I can't find Kailh low-profile stabilizer.
  • I don't have electronic DIY gears.
    Solution: OK, this is an electronic hobby project, maybe it's not for you if you don't plan to do electronic DIYs. There're many good IIDX controllers you can purchase somewhere online.