maplebox logo

maplebox.org

Jukebox v1 (2013)

Problem: average stereo or music player has too many functions and options for an elderly person.

Solution: jukebox with three inputs: (1) on/off, (2) play/pause, (3) track forward/backward; offers up to 100 tracks

Project cost: ~60€ (45€ for Arduino and mp3 shield + miscellaneous parts)

Hardware

Development and test of basic function (August 4, 2013)

(1) Ardunino with mp3-player and (2) prototype of a 7-segment display

arduino and mp3-player arduino and mp3-player prototype of a 7-segment display prototype of a 7-segment display

Final assembly (December 22, 2013)

The PCB in the background holds two shift registers that drive the LEDs of the display, some resistors to limit the current, as well as a capacitor for input voltage filtering

jukebox inside jukebox inside
jukebox assembled: front jukebox assembled: front jukebox assembled: back jukebox assembled: back

Jukebox v2 (2020)

Problem: average stereo or music player has too many functions and options for little children, but more flexibility required than Jukebox v1. Commercial solution (Toniebox) too limited in choice of audio files and too expensive: 80€ for device and 12-15€ per album+RFID at time of writing.

Solution: jukebox with (1) intuitive selection of albums/tracks and play/pause using customizable RFID tags that are placed on the device, (2) on/off switch, (3) two push buttons for volume control (long press for track forward/backward); offers up to 100 albums with up to 255 tracks each (number of tracks per album according to Tonuino project, unconfirmed)

Project cost (baseline): less than 8€ (Arduino nano, RFID reader, mp3 module, level shifter for reliable communication between modules)

Project cost (actual): ~95€ (60% housing and I/O, 40% internal electronics) + miscellaneous parts (0.20-0.30€ per RFID tag, scrap wood, etc.)

Draft

Housing

Sketch draft of housing (June 9, 2020)

Sketch draft of housing Sketch draft of housing

Housing draft with actual parts (June 9, 2020)

Housing draft with real parts Housing draft with real parts

Bill of Materials

Amount Description Spare Parts Price (€)
Essential Parts
1USB Nano V3.0 ATmega328P CH340G 5V13.31
113.56 Mhz RFID RC522 Reader11.56
1DFPlayer Mini11.79
18 channel level shifter (Pegelwandler) 5V--3.3V, bidirectional11.21
Custom Parts
1Kingston microSD Speicherkarte, SDCS2/16GB Class 10no3.79
1Intenso Powerbank PM5200, 5200mAhno7.99
1Visaton FR 10 HM 20 W schwarz, 4 Ohmno6.99
2IRLML2502 MOSFET N-CH 20V 4.2A SOT-23180.21
26-pin SOT23 zum DIP Adapter180.16
122mm Power mark brass Push Button Switch with illumination, yellowno6.62
125mm Drucktaster m.Fassung LED grün Edelstahlno10.10
125mm Drucktaster m.Fassung LED rot Edelstahlno10.10
174HC14 (to debounce push button inputs)90.21
4Flachsteckhülsen 0.5 - 6 mm² DIN Kabelschuh Steckverbinder460.40
1Kentop Micro SD auf TF Karten Verlängerung Kabelno3.59
1Neutrik NAUSB-W Reversibler USB-Adapter (Typ A und B)(1)4.90
variousWire Cable 2/3/4/5 Pin, 2.54mm Pitch, Male-Female, 300mm, 26AWGvarious0.34
1USB Micro-Kabel 0,15m (Outlet – Power Bank) -- did not use11.79
1USB Mini-Kabel 0,15m (Power Bank – Arduino) -- did not use11.85
1Casani / Holzkörper für neue Bildformate 15x15x9cmno16.40
80mm x 90mmPLEXIGLAS® GS Platte, 2mm stark11.85
120mm x 120mmFliegengitter (Metallnetz für Lautsprecherschutz)tbd
160mm x 160mmFabric (speaker cover)various0
4 setsMagnastico Neodym Scheibenmagnete selbstklebend 8,0 x 0,75 mm21 sets1.29
1Mini Step-Up Spannungswandler Modul 5V 8V 9V 12V Power Boost Converter Arduinono2.99
4AUPROTEC Flachstecker Flachsteckhülsen 0.5 - 6 mm² DIN Kabelschuh Steckverbindervarious0.40
Accessories
1Kopfhörerbuchse PJ-306B / Umschalter80.61
2013.56 MHz NFC Tag Stickerstbd5.78
1013.56 MHz RFID Cardstbd2.00

Parts overview (July 12, 2020)

Everything has arrived (or found). I will not need all of the wires, IRLML2502 MOSFET, and automatically switching audio jack (PJ-306B), but this was the smallest amount I was able to order. The audio jacks are for future use.

Parts of Jukebox v2 Parts of Jukebox v2

Not shown in picture:

Test of illuminated push buttons (July 12, 2020)

Buttons from left to right: (1) Power on/off (latching), (2) Next track / volume up (momentary), (3) Previous track / volume down (momentary).

The green and the red button are a bit dim in the picture. The photograph shows them operating at 5V, but they are designed to operate at 12V. I will add a boost converter to run them at 9V or 12V.

Test of illuminated buttons Test of illuminated buttons

Housing: milling and drilling (July 20, 2020)

Housing after milling the card slot and drilling holes for the buttons and charging connector.

Bare housing with connector and buttons Bare housing with connector and buttons

Prelminary assembly of housing. The holes for the handle and the interior structure are still missing.
The card holder is shown with a partially inserted RFID card. Note the hole in the plexiglass cover. This is how a card can be pushed out. Additionally, the diameter of 35 mm serves as landing pad for figurines with a matching stand that contains a RFID tag.

Assembled housing Assembled housing Assembled housing (2) Assembled housing (2) Assembled housing (3) Assembled housing (3)

Assembling the housing (August 1, 2020)

The dust work is finally done! Final steps will be applying oil to the housing, glazing the handle, mounting the magnets that hold the front cover, and mounting the buttons and charging connector.
Note the additional cutouts in the frame shown in the first and second picture. The rectangular cutout is for the SDcard holder. The small hole just above is for the third push button to enter the admin menu.

Housing parts ready for assembly Housing parts ready for assembly Housing assembled, front cover off Housing assembled, front cover off Housing assembled, front cover mounted Housing assembled, front cover mounted

Sockets for the figurines – RFID-tagged wood (August 1, 2020)

IoT meets wood – trial run for placing an RFID-tag hidden inside the socket of figurines.

Socket parts Socket parts Socket assembled Socket assembled

The result passes the mechanical test. It fits! We will see later, whether I damaged the tag along the way.
The edges of the plexiglass still looks a bit funny. The protective sheet is still in place.

Socket on housing (1) Socket on housing (1) Socket on housing (2) Socket on housing (2)

Prototype electronics (August 12, 2020)

Works like a charm...

Prototype electronics Prototype electronics

Prototype electronics and firmware patches, rev4 (August 15/16, 2020)

The Arduino nano has internal pull-up resistors and the latest Tonuino firmware uses the library JS_Button to debounce the inputs. The external pull-up and analog debouncing can be spared. This frees up some space for placing the entire power distribution network on the main PCB. Here is a view of the schematic and silkscreens for jukebox v2, rev4:

Schematic v2 rev4 Schematic v2 rev4 Silkscreen v2 rev4 Silkscreen v2 rev4

The breadboard looks much cleaner as well:

Simplified electronics prototype Simplified electronics prototype

At this time, I added two patches to the latest (i.e. development) Tonuino firmware and did some refactoring for ease of maintenance:

View difference of the patches

PCB assembly, incl. update of layout, rev5 (August 18, 2020)

The layout had to be adjusted due to avoid collisions with the power inlet and the speaker. Good thing that we have some space left in the corners!
For anyone interested in reproducing the PCB, here are top and bottom silkscreen on 2.54mm grid:

Silkscreen v2 rev5, top/bottom separate Silkscreen v2 rev5, top/bottom separate

Can you spot the connection that I was missing at this time? Hint: it is on the bottom layer... ;-) The PCB worked as expected after closing this gap (sic!). I am amazed by the smooth transition from prototype breadboard to PCB. Thank you, KiCAD!

PCB top view PCB top view PCB bottom view PCB bottom view

Putting everything together (August 19, 2020)

A final test...

PCB assembled PCB assembled

...and then fitting everything into the box. Looks like I even have additional space left.

System assembled System assembled

All done and ready to use (August 20, 2020)

Are you able to tell the difference between the initial sketch and the real deal?

Sketch draft of housing Sketch draft of housing System ready to use (1) System ready to use (1) System ready to use (2) System ready to use (2)

A couple more views with the first two figurines. The RFID tag is hidden in the bottom, cf. my previous post from August 1.

System ready to use (3) System ready to use (3) System ready to use (4) System ready to use (4)

More Figurines (September 8, 2020)

Cost per piece: 20ct for RFID tag + 20ct miscellaneous material cost (+ use of already licensed music)

New Figurines, Sept 8, 2020 New Figurines, Sept 8, 2020

More Figurines (December 7, 2020)

Wintertime! Cost per piece: 20ct for RFID tag + 20ct miscellaneous material cost (+ use of already licensed music)

New Figurines, Dec 7, 2020 New Figurines, Dec 7, 2020

New Figurine (December 28, 2020)

Bedtime music

New Figurine, Dec 28, 2020 New Figurine, Dec 28, 2020