Project tutorial
The CyrosBox

The CyrosBox © CC BY-NC

An Arduino-based RFID music player.

  • 3,487 views
  • 1 comment
  • 15 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

1. Introduction
2. What you need for building one
3. How to build
4. Flashing the Arduino
5. Prepare the micro SD ard
6. Credits

Introduction

Some time ago I want to build a music player for my son. I want to use a Raspberry pi and a RFID reader but it never worked well, than I found other projects like mine and they use Arduino UNO or NANO instead of a Raspberry Pi. So, I built one with Arduino UNO and one with Arduino NANO, and both work perfect. The first CyrosBox was born.

The CyrosBox is a music player that uses RFID cards or RFID tags for select wich song or playlist is played. The only thing what you have to do is put a card on the box and the music starts playing. It is easy for kids to use and adults will like it too.

What you need for building one

1 - Arduino UNO or NANO LINK
2 - DFPlayerMini LINK
3 - RFID reader/writer LINK
4 - 3 buttons LINK
5 - Speaker LINK
6 - 1k resistor LINK
7 - tools, wires, soldering iron, powerswitch ...
8 - casing (3D-printed or an woodenbox or something else) LINK
9 - micro SD card

THIS ARE NO AFFILIATE LINKS BUY WHEREVER YOU WANT. IN OTHER SHOPS THIS STUFF IS CHEAPER!!!

Here are some affiliate links for RFID cards with this you can support the orginal project.

Here you can buy a starter kit with all electronics and 10 RFID cards : Here

How to build one

I only make cable connections it is more flexible to put it in a case. You can also only use this LINK to assemble the circuit.

You can buy a circuit board on the homepage of the orginal project HERE.

Flashing the Arduino

For compiling and flash the firmware you need the Arduino IDE you find it HERE . You have to install the driver for your Arduino. The driver for the Chinese boards with CHG340G/CHG341G chip can you find HERE. And this package from GitHub LINK.

After installing the Arduino IDE you have to install some libraries (Sketch -> Include library -> Manage libraries...).

This libraries are needed:

  • MFRC522
  • DFPlayer Mini Mp3 by Makuna
  • JC_Button

Now open the Tonuino.ino (is in the GitHub package) in the Arduino IDE and make some settings.

Tools -> Board : "Arduino NANO" (or Arduino UNO depends on which one you take)
Tools -> Processor : "ATmega328P"
Tools -> PORT : this port what your arduino use (COM1 at my pc)

Now press the upload button and wait 1-2 minutes (until upload finish is written there).

Prepare the micro SD card

First format your micro SD card. Copy the "mp3" folder from the GitHub package to the root of the SD-card. This folder include the german (i do some in english if someone need this) voice files for setting up new RFID cards.

The folder structure are folders named 01 - 99 (the first folder 01, the second folder 02 ...). Create the folders in root of SD card.

255 mp3 files supported by every folder. Rename your mp3 files like 001.mp3, 002.mp3 other filenames did'nt work.

Don't put other files (like .txt, .pdf...) on the SD card the DFplayer mini don't can handle it (only folders and mp3).

Credits

Thanks go to Thorsten Voß he has made the arduino sketch and the base of my circuit his homepage can be found here: LINK.

The orginal project in german language can be found here: Tonuino.

Message me

Code

Github
https://github.com/xfjx/TonUINO

Custom parts and enclosures

Thingiverse
https://www.thingiverse.com/thing:3173356

Schematics

Chematics
Cyrosbox schaltplan 3sw0rjifu3

Comments

Similar projects you might like

Boom Box

Project in progress by Team Trouble

  • 3,334 views
  • 2 comments
  • 8 respects

Arduino UNO Guitar Pedal

Project tutorial by electrosmash

  • 49,855 views
  • 28 comments
  • 160 respects

Heart Rate Monitoring System

Project tutorial by Team HRMS

  • 17,186 views
  • 4 comments
  • 30 respects

Smart Blinds

Project tutorial by Froz3nArcher

  • 14,444 views
  • 3 comments
  • 49 respects

Minimal MIDI Drum Kit with 3D Printer

Project tutorial by ryokosaka

  • 10,284 views
  • 1 comment
  • 30 respects

ANDI - Random Rhythm Generator - Electronics

Project tutorial by ANDinstruments

  • 7,864 views
  • 0 comments
  • 26 respects
Add projectSign up / Login