My first Tonuino

Hi, here with some updates:

  • I’ve tried to connect everything, but my powerbank automatically shutdown after 1 minute of inactivity.
  • My other problem is that RFID reader doesn’t work properly: a fixed red led is switched on, but putting an empty card on it have no effect. Because I’m building 2 TonUINOs (and I have double components), I tried to use a second RFID reader, tried to change the 8 jumper cables, tried to use my second „AZDelivery TonUINO Set“, tried to use my second soldered PCB circuit but nothing changes.

This is my logs:

TonUINO JUKEBOX
by Thorsten Voß
Stephan Eisfeld
and many others
---------------
flashed
  Nov 26 2021
  19:57:54
prefs read
  v1
prefs migrate
  -
init nfc
Firmware Version: 0x0 = (unknown)
WARNING: Communication failure, is the MFRC522 properly connected?
init mp3
   start 15
     max 25
    menu 15
      eq normal
   files

Here a new video

Do you have any suggestions?
Thanks

Ok, found a FAQ for the RFID problem (Problem in der Verbindung zum RFID bei Verwendung des Nanos mit dem Aufdruck „2038“)

Switching pin 9 with 6 solve the issue!! Because I’m using this version of the firmware, is it correct to change as following?

  • const uint8_t nfcResetPin = 9; —> const uint8_t nfcResetPin = 6;
  • const uint8_t statusLedPin = 6; —> const uint8_t statusLedPin = 9;

And now also the powerbank issue is fixed!!

Thanks!

Yes this is correct for that firmware. You can use any free pin by the way. So you don’t need to switch the LED pin. The issue is most likely that your nano does not output correct 3.3V. You’ll find similar issues on the forums.

Ok, used pin D8 which was free both on board and firmware:

  • const uint8_t nfcResetPin = 9; —> const uint8_t nfcResetPin = 8;

Do you have any idea why using a MicroSD card extender

the card is not read?

With some it works with some it does not. It’s probably a voltage issue.

I once had the same problem and was able to solve it by desoldering the 330 ohm resistor on the board of the extender as described here.

Thank you molino: I saw that topic and I was planning to remove that resistor to solve the issue related to auto shutdown after a period of inactivity. Do you think that this could solve also the SD card reading problem?

Yes I do. At least with my setup, it solved this exact problem.

Wow,after removing the resistor, my microSD card works fine with the extension cable!
I also confirm that the auto shutdown, configurable via admin menu, works fine using the powerbank :star_struck:

1 „Gefällt mir“

Hi, I’m finishing assembling my first TonUINO, and I have some doubts about the charging cable.
My box has:

  • A powerbank (Intenso S10000)
  • A switch on the 5V cable
  • The auto shutdown timer enabled on 5 minutes
  • A MicroSD extenion cable (without resistor - already removed)

After 5 mins of inactivity, red light on Nano switches off, and the green one remains on. After about 1 minute, also the green light switches off.

If I try to reproduce the same situation, but with the charging cable connected (so powerbank charges), what happens is different:

  • After 5 mins of inactivity, red light on Nano switches off, and the green one remains on and never swithes off
  • If I remove the cable, red lights on DFPlayer and Nano switch on again, but TonUINO doesn’t works (no music, no admin menu)
  • If I switch off the system using the switch, all lights switch off (no electricity at all).

Why this difference? If powerbank is charging, auto shutdown via timer only switch off TonUINO functionality, but the system stays always on?

Thanks

Because your powerbank does not shut off while it is charging, the last part in @stephan"s explanation does not happen.

After the timer expired and the TonUINO switched to power saving mode, it cannot wake up itself. It does only work again after the power supply was disconnected.

Using the shutoff of the powerbank is not always reliable. Since you can’t influence the behaviour of the powerbank.

An alternative would be to configure a wakeup by interrupt on the play button in the CheckStandbyTimer function just before deep sleep execution.
At the moment all interrupts are disabled before deep sleep. So there is no come back.
You may keep an Interrupt enabled on the play button and then call the setup() after sleep(). So tonuino will make a complete restart after wakeup.

Thanks for the explanations: it’s not a big problem for me, just curiosity.
I’ll charge powerbank when my child is not using the box, simple! :grinning:

Hi, finally my firsts TonUINOs are ready for Christmas!
It wasn’t easy for me to reach this goal, but I’m satisfied, and thanks to all who helped me on this forum.
My biggest difficulties have been:

  • Zero knowledge on electronic circuits
  • Zero knowledge on soldering
  • The issue on Nano explained here
  • A problem on DFPlayer Mini received with TonUINO kit from AZdelivery: SD card isn’t stable inside the slot, and you can remove it without pushing it until the click. This was a bigger problem for me, because I’m using an SD card extension cable, so when I assembled the box, moving all the pieces, the cable lost the contact with the slot. Same problem with another player from AZdelivery: I solve this adding a piece of scotch tape between the slot and the extension cable.
  • One of my 22 rfid cards won’t works: it could be damaged?

Here you can see some picture:








6 „Gefällt mir“

Hi, after some weeks my child love to use TonUINO!
After watching him usng it, I’ve some questions:

  • He place the card on the box the first time, so music starts, but after that, he usually move it several times, so the song stops and restarts from the beginning. It could be a good idea to implements a setting that disable this behavior if current song is the same of the placed card.
  • My child has 16 months and for now he has no idea of the meaning of the buttons on the box, so he usually play/pause or increase/decrease volume inadvertently. It could be a good idea to implements a keys sequence (like the one to enter in admin menu) to lock/unlock the buttons.
  • I’ve noticed that, sometimes, if I switch on the box and I place on it a „party“ card, it won’t play (also if I remove and place it again). The only way I’ve found is to place another card (that works fine), remove it and place the first card again.

Thanks!

For some playback modes this is a feature.

you can make a modifier card for this. You have three options, wich can fit your problem:

  1. „Krabbler-Modus“(Toddler Mode) it blocks the buttons, but not the cards
  2. „TonUINO-Sperre“ (Lock Mode) it blocks all inputs
  3. „KITA-Modus“ (Kindergarden Mode) it queues tha cards placed on the TonUINO. All inputs are working

The Modifier are activated by placing the modifier card on the TonUINO, then you hear a jingle.
The Modifier is active as long as the TonUINO is powerd. To Deaktivated you place the card again on the TonUINO.

You can make a modifier card over the admin menue

Thank you!
Probably the „modifier card“ is an option on the original project: I’m using this fork and it’s probably missing

Yap no modifier in my fork. But you have local language instead. :wink:

If you have a remote (IR sensor required) you can lock the buttons with the remote though. I implemented that for parents…

You could trigger the same with a long press of a button or something. Should not be too hard to hack in because the „lock“ feature is already in…

Yes!! Multilanguage shoud be implemented in main project too!