6.5 KB
Newer Older
Claus Näveke's avatar
Claus Näveke committed
1 2
# RfidShelf
Make your shelf play MP3s!
Claus Näveke's avatar
Claus Näveke committed

Nitek's avatar
Nitek committed
4 5 6
Use some cheap hardware (Esp8266/NodeMcu, RC522, VS1053 MP3 breakout board) to create an RFID controlled MP3 (and more) shelf. Impression of the first prototype:

[![RfidShelf Prototype](]( "RfidShelf Prototype")
Claus Näveke's avatar
Claus Näveke committed

This is how the first "test subject" reacted:
Nitek's avatar
Nitek committed

10 11 12 13 14
[![RfidShelf Test](]( "RfidShelf Test")

## The idea
When I was a little child I loved my tapes, vinyls and later CDs. Choosing my own music or listening to Pumuckl all day. Nowadays everything is available as MP3 which makes it hard for little kids to choose their own music. Since I wanted to give my son the same possibilities I decided to start this project:

Nitek's avatar
Nitek committed
Rfid cards can the be assigned a folder containing MP3 files on a SD card, played when the card is put on the shelf. Using some creativity (and/or the Internet and a printer) those cards can be customized to represent their content, giving the kid the ability to distinguish them. A WiFi web interface gives you the ability to manage the files on the shelf and to program the cards.
16 17 18 19 20 21 22

## Features
* Easy to use: kids proof!
* Safe: No wiring on the outside, just a USB cable going in
* Cheap: ~ 30€ depending on the parts you choose
* Easy to managed: Web interface to configure everything needed

Nitek's avatar
Nitek committed
23 24 25 26 27 28 29
## Repository structure
* /Fritzing contains the sources for the wiring diagram
* /RfidShelf Arduino/platformio sources for building the firmware
* /RfidShelf/build/ current firmware image
* /ShelfBoard KiCad source files for the shelf board pcb
* /ShelfBoard/gerber current shelf board gerber files

Nitek's avatar
Nitek committed
30 31 32 33 34 35
## Tools required
* Electric drill
* Hole saw (if you don't have one, you can [get it at ikea]( together with the shelf)
* Soldering iron
* Long, stable screw driver or something similar

36 37 38 39
## Hardware
I tried a variety of hardware combinations both focusing on being cheap and easy to assemble. Based on that I can recommend a few setups, depending on your budget and your ability/willingness to solder. Most items can be bought on Aliexpress for a few bucks, the links are only meant to be an example.

### Common for all:
Nitek's avatar
Nitek committed
40 41
Some light soldering is required to attach the pin headers to the MFRC-522

42 43 44 45 46 47 48 49 50 51
* [Shelf (All Ikea Lack Shelfs and even Tables should work, but I only tried the one linked) ~6€](
* [NodeMcu (make sure to get correct version, because the vary in size!) ~2,50€](
* [MFRC-522 Rfid Reader ~1,50€](
* [3W 8Ohm In-Ceiling Speaker ~6,50€](
* [USB Connector ~1,50€](
* [Rfid Cards ~0,25€ each](
* Micro USB Cable + USB Power Supply (Just use one from your old smart phone)
* Jumper Wires

### Cheap (~30€)
Nitek's avatar
Nitek committed
52 53
Disclaimer: I had some noise issues with this version, probably due to all the wires flying around.  
Some more light soldering is required to attach the pin headers to the amplifier.
54 55 56 57
* [Base plate for NodeMcu (also available as a kit including the NodeMcu) ~1,50](
* [VS1053 MP3 + SD Board ~6,50€](
* [PAM8302 Amplifier ~1,00€](
* SD Card (NOT a micro SD but a big one!)
Nitek's avatar
Nitek committed
59 60

### ShelfBoard based (~40€)
Nitek's avatar
Nitek committed
61 62 63 64 65
The ShelfBoard comes in 4 pack when ordered at, so if you build more shelves or share with someone else, the price is quite good. Components are the same as for the "cheap" version, but instead of the base plate use the following:
* [ShelfBoard (~10,00€)](
* [2.54mm single row female pin header - 15 pin](
* [2.54mm single row right angle male pin header ](
* [2.54 single row right angle female pin header - 10 pin](
66 67 68 69

### Easy (~45€)
Nitek's avatar
Nitek committed
The Adafruit board offers a good sound quality and already has an amp on board. Be sure to by the correct board, there is also a version without the amp, but a phone jack instead!
* [Base plate for NodeMcu (also available as a kit including the NodeMcu) ~1,50](
Nitek's avatar
Nitek committed
* [Adafruit Music Maker FeatherWing w/ Amp ~30,00€](
73 74 75
* A MicroSD Card

Nitek's avatar
Nitek committed
76 77 78
## Wiring
(See /Fritzing folder for vector/svg version if this image)
79 80 81 82 83

## More Pictures
![Shelf with speaker](images/shelfspeaker.jpg)

Nitek's avatar
Nitek committed
84 85 86 87 88
## Random Notes
* Instead of cards you can also use those blue key fob Rfid tags, like the one included in most MFRC-522 kits. Maybe you can "implant" it into a teddy or something similar.
* Neutrik NAUSB-W seems to be a great alternative for the USB port if manage to get it for a fair price at ebay. It fits a round whole and therefore is easier to mount into the shelf.

89 90
## Disclaimer
Everything in this project I did up to my best knowledge. Nevertheless this comes without guarantee. Do not hold me responsible in case something unexpected/undesired happens.
91 92

[![Build Status](](