Build a Screen-Free NFC Music Box for Kids
A DIY NFC music box lets a child tap a card to start a playlist with no screen to browse. Two builds, how to write the cards, and how to kid-proof it.
What a tap-to-play music box is
A DIY NFC music box is a speaker that starts a playlist when a child taps a card on it. The card does not hold music. It holds a short link, and a phone or a small computer inside the box reads the card and opens that link. You can build one in an afternoon, and the child never sees a screen.
Below: two builds (a spare Android phone, or a Raspberry Pi), how to write the cards, and how to kid-proof it.
What the card actually stores
An NFC card stores bytes, not audio. NXP's datasheet lists 144 bytes of user memory on an NTAG213, 504 on an NTAG215 and 888 on an NTAG216, and the room left for an NDEF message is a little smaller. A playlist link fits easily, a song does not. For a closer look at the three chips, see NTAG213 vs NTAG215 vs NTAG216. The cheapest one, the NTAG213, is plenty here.
Commercial players work the same way at heart: see how Yoto and Toniebox cards work.
Build 1: a spare Android phone in a box
This is the simplest build, and it needs no soldering.
You need a spare NFC Android phone, a charger, a small box with a lid, and a speaker (the phone's own works). Press the phone against the underside of the lid with foam so it can't slide, and keep it plugged in. Set up a music app with one playlist per card.
Android's developer documentation says devices usually look for tags while the screen is unlocked. So keep the phone awake and unlocked. A parent who built this kind of box noted that a locked screen can stop it working, so test that before you close the lid.
Newer Android versions change how web-link tags behave. In Android 16, a tag that stores an http or https link triggers a view action instead of the older tag-discovered action. In Android 17, a scan of such a tag shows an "open link" notification that needs a tap. Android 16 also lets people block an app from receiving tag scans (Settings, Apps, Special app access, Launch via NFC). If a tap does nothing, check that setting first.
Write the cards
Copy the share link for a playlist or album in your music app. Then write it to a card as a URL record with an NFC writer app. NFCore can write the card and read it back so you can check what is stored. One card per playlist works well.
If several apps can open the link, Android shows a chooser, which is a problem for a child. An Android Application Record can make one specific app open. Mark each card with a picture a child can recognize, and test every card before you close the box.
Build 2: a Raspberry Pi with a reader
If you want a box with no phone, a Raspberry Pi works. One maker used a Pi, a $5 MFRC522 reader and NTAG213 cards, with a script matching each card's UID to an action. It cost about $109, or about $55 reusing a Pi and speaker, and had a 5 to 10 second delay between tap and music, which a small child may find long.
The trade-off: a Pi doesn't depend on a phone's lock screen or Android's rules, but you write and maintain a script, and the card-to-music pairing lives in the script, not on the card.
Make it kid-proof
- Cap the volume in the phone or speaker settings, and hide the cable behind the box.
- Cut the lid so only the tap area is exposed, and fix the phone in place.
- Choose cards too large to swallow. If they might get wet, look at waterproof tags.
- Supervise young children around cables and mains power.
Picture cards can also run an NFC scavenger hunt on a rainy day.
What to do next
Start with the phone build: it's quick and easy to undo. Write two or three cards, test them on the phone you plan to use, then add more. To write and check the cards yourself, NFCore is on the App Store and Google Play.
Toy and game tags are a different story: see which game tags a phone can read and toys-to-life tag types before planning a build around them.
Frequently Asked Questions
Can an NFC card store a song?
No. An NTAG213 holds 144 bytes of user memory, so the card holds a short link and the music plays from an app or streaming service.
Do I need an iPhone or an Android phone for the box?
A spare Android phone is the simpler base, because it scans for tags while it is powered on and unlocked. If you want to use an iPhone, test a card on it before you build anything around it.
Will newer Android versions still open the link on a tap?
Not always in one tap. Android 16 handles web-link tags with a view action, and Android 17 shows an open-link notification that needs a tap. Test on the phone you will use.