1
0
mirror of https://github.com/whowechina/aic_pico.git synced 2024-11-15 01:57:35 +01:00
aic_pico/README.md

102 lines
4.4 KiB
Markdown
Raw Normal View History

2023-11-11 13:42:41 +01:00
# AIC Pico - Amusement IC Card Reader, AIME & Cardio Emulator
2023-11-11 13:37:08 +01:00
<img src="doc/main.jpg" width="80%">
<img src="doc/variants.jpg" width="80%">
Features:
* It's small, smallest as far as I know.
* Easy to make.
* Sega AIME I/O and Spicetools CardIO emulation.
* Command line of rich features.
* Supported card:
2023-11-11 15:18:56 +01:00
* Felica (Amusement IC)
* ISO/IEC 14443 Type A (BanaPassport, Mifare, Amiibo, some IC tags, some ID tags, etc.)
2023-11-11 13:37:08 +01:00
* To be updated.
* Emulates virtual AIC from any Mifare cards.
2023-11-11 13:42:41 +01:00
* Variants
2023-11-11 13:37:08 +01:00
* AIC Pico
2023-11-12 04:17:54 +01:00
* AIC Key PN532 (see notes 1 below)
* AIC Key PN5180 (see notes 1 below)
* AIC Pico Lib (see notes 2 below)
2023-11-11 13:37:08 +01:00
* All source files open.
2023-11-12 04:17:54 +01:00
Notes:
1. Be patient, I'm working on them. And there's chance I will fail.
2. So one can integrate "AIC Pico" into a Raspberry Pi Pico based controller. Will be ready when I finish AIC Key.
2023-11-12 04:58:57 +01:00
<img src="doc/aic_pico_lib.jpg" width="40%">
2023-11-11 13:37:08 +01:00
2023-11-11 13:42:41 +01:00
Thanks to many respectful guys/companies who made their tools or materials free or open source (KiCad, OnShape, InkScape, Fritzing, Raspberry things), ChatGPT and GitHub Copilot helped a lot as well.
2023-11-11 13:37:08 +01:00
And thanks to community developers that inspired me and helped me: CrazyRedMachine (https://github.com/CrazyRedMachine) for the Spicetools Card IO part, Sucareto's AIME Reader (https://github.com/Sucareto/Arduino-Aime-Reader) for the AIME protocol part.
## Notes
Check out my other cool projects, they're all great, I promise.
https://github.com/whowechina/
This project:
* Heavily depends on 3D printing, a Bambu AMS system helps a lot.
* Requires skills to solder tiny components and wires.
## **Disclaimer** ##
I made this project in my personal time with no financial benefit or sponsorship. I will continue to improve the project. I have done my best to ensure that everything is accurate and functional, there's always a chance that mistakes may occur. I cannot be held responsible for any loss of your time or money that may result from using this open source project. Thank you for your understanding.
## About the License
It's CC-NC. So DIY for yourself and for your friend, don't make money from it.
## HOW TO BUILD
Seriously, this is the easiest one among all my Pico series projects.
### Components
2023-11-11 13:42:41 +01:00
* 1x Rasberry Pi Pico or Pico W (clones work too).
2023-11-11 13:37:08 +01:00
https://www.raspberrypi.com/products/raspberry-pi-pico
* 1x PN532 Module (the Red Square board version, cheap clones work too).
https://www.elechouse.com/product/pn532-nfc-rfid-module-v4/
* Some thin wires.
* Thin WS2812B LED strip.
* 4x M2*8mm screws.
### 3D Prints
* **aic_pico_bottom.stl**
The bottom part.
For the top part, choose one that fits your need.
* **aic_pico_top.stl**
Regular top part.
* **aic_pico_top_ams.3mf**
Regular top part, for multi-color printing.
* **aic_pico_top_tall.stl**
Taller top part, so a thicker LED strip can fit.
* **aic_pico_top_tall_ams.3mf**
Taller top part, for multi-color printing.
2023-11-11 13:42:41 +01:00
### Assembly
2023-11-11 13:37:08 +01:00
I'll let these images do the talk.
<img src="doc/wiring.png" width="80%">
<img src="doc/assemble_1.jpg" width="80%">
<img src="doc/assemble_2.jpg" width="80%">
<img src="doc/assemble_3.jpg" width="80%">
<img src="doc/assemble_4.jpg" width="80%">
#### Notes
* The firmware supports up to 16 LEDs on the WS2812B LED strip. I personally used 3 as shown in main title image. But you can experiment with different LED numbers, as long as they fit within the housing.
* The mode switch on PN532 must be in "I2C" mode, picture below shows the correct settings.
<img src="doc/pn532_i2c.jpg" width="40%">
2023-11-12 04:17:54 +01:00
2023-11-11 13:37:08 +01:00
### Firmware
* UF2 file is in `Production\Firmware` folder.
2023-11-11 13:46:26 +01:00
* 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.
2023-11-11 15:23:49 +01:00
* It has a command line to do configuration. You can use this Web Serial Terminal to connect to the main USB serial port of the board. (Note: "?" is for help)
2023-11-11 13:46:26 +01:00
https://googlechromelabs.github.io/serial-terminal/
2023-11-11 15:23:49 +01:00
* You can use "update" command in command line to update the firmware in the future, so you don't need to open the housing.
2023-11-11 13:37:08 +01:00
* Spicetools cardio (Card I/O) HID is supported;
* SEGA AIME protocol is supported on a second serial port.
2023-11-12 04:17:54 +01:00
* Some command line commands:
* "level [0..255]" to adjust the brightness.
* "nfc" manually to detect cards.
* "update" reboot into firmware update mode.
* Given my limited hobby time, the firmware may not be fully tested. Please report any anomalies.
2023-11-11 13:37:08 +01:00
## CAD Source File
I'll post when I finish all variants.