Initially started from Wifiibo, but has since been radically changed. It gave me an "arduino ready" copy of amiitool to use.
Uses M5ez for the user interface.
See it in action from my preview post on reddit.
Hardware Pieces:
- M5Stack Faces Pocket Computer
- M5Stack Proto Module
- Magic21x RFID Tag
- PN532 RFID Module
- 16 GB SD card (probably need much less, didn't realize how small all of this data really was... heh)
- 3D Print 1x
enclosure/M5Stack-PN532-Adapter.stl
and 2xenclosure/M5Stack-PN532-top.stl
. - Buy the things.
- Put the things together.
- Put the amiibo files, powersaves, and key in the right places on an SD card.
- amiibo files in
/library
, sub directories are encouraged. - powersaves in
/powersaves
, sub directories are not needed. - key in
/keys/retail.bin
- amiibo files in
- Put the latest release bin on the SD at
/firmware.bin
. - Put SD card into the M5Stack Core, and power it up.
- Use the stock startup menu to select
/firmware.bin
to load. - Go to
Settings > Re-initialize database
to seed your database. - Enjoy!
- Download the repo
- Install PlatformIO
- Run a PlatformIO upload to compile and set up the environment
- Edit
ESP32/main.cpp
and increaseusStackDepth
from8192
to16384
. - Run one more upload.
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 10.7% (used 56832 bytes from 532480 bytes)
Flash: [======= ] 72.9% (used 1432974 bytes from 1966080 bytes)
Increase usStackDepth to 10240 from 8192
During a full rebuild...
src/m5stack/classes/AmiiboDatabaseManager.cpp:162 operator()(): Item counter: 368
src/m5stack/classes/AmiiboDatabaseManager.cpp:163 operator()(): File count: 751
src/m5stack/utils.cpp:159 printHeapUsage(): Heap usage: 140440 of 318924 (44.02% free)
src/m5stack/classes/AmiiboDatabaseManager.cpp:174 operator()(): Processing file: /library/...
src/m5stack/utils.cpp:159 printHeapUsage(): Heap usage: 140440 of 318924 (44.02% free)
...
src/m5stack/classes/AmiiboDatabaseManager.cpp:162 operator()(): Item counter: 750
src/m5stack/classes/AmiiboDatabaseManager.cpp:163 operator()(): File count: 751
src/m5stack/utils.cpp:159 printHeapUsage(): Heap usage: 141096 of 319132 (44.20% free)
src/m5stack/classes/AmiiboDatabaseManager.cpp:174 operator()(): Processing file: /library/...
src/m5stack/utils.cpp:159 printHeapUsage(): Heap usage: 141096 of 319132 (44.20% free)