tfry-git / ClosedPlayer

Kid-friendly RFID-tag-based MP3 player
GNU General Public License v3.0
15 stars 5 forks source link

shuts down after powering up #1

Open adarshgd opened 3 years ago

adarshgd commented 3 years ago

BOARD SHUTS DOWN AFTER 2 SECONDS AND POOR SOUND QUALITY

HELP ME PLZ PROVIDE YOUR EMAIL ID.. THANKS

tfry-git commented 3 years ago

BOARD SHUTS DOWN AFTER 2 SECONDS

The program will shut down if it detects low voltage. Connect GPIO36 to 3.3V (or to your battery, with an appropriate voltage divider).

AND POOR SOUND QUALITY

You may want to play with the output options in config.h. Best quality (but most work) is using an external DAC.

adarshgd commented 3 years ago

Hey , i sorted it...now its working fine.. bt one problem is..its not assigning the Rfid cards automatically .... help me plz...

On Wed 30 Dec, 2020, 8:41 PM Thomas Friedrichsmeier, < notifications@github.com> wrote:

BOARD SHUTS DOWN AFTER 2 SECONDS

The program will shut down if it detects low voltage. Connect GPIO36 to 3.3V (or to your battery, with an appropriate voltage divider).

AND POOR SOUND QUALITY

You may want to play with the output options in config.h. Best quality (but most work) is using an external DAC.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tfry-git/ClosedPlayer/issues/1#issuecomment-752655427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIT3BZF6ZQ5V2GHXK22DHLTSXM7LHANCNFSM4VOIOCHQ .

tfry-git commented 3 years ago

I can only guess, here (works for me): Auto-assign assigns one directory per tag (as in an "album" mode). Thus you will have to layout the files on you SD-card as

etc. Don't put any mp3s in your top-level folder, or else auto-assign will consider your whole sd card to represent a single album.

Hope this helps. Otherwise: Does tags.txt get created? You could post that, here, for further troubleshooting.

adarshgd commented 3 years ago

yes i did like what you said .. ut the prolem still persists.. image

tfry-git commented 3 years ago

That log shows that a tag was read that already has a stored association. So that directory (with only a single file in it) was played(*). When done, the player stopped, and - after a while - it shut down. If you want to re-associate the tag, remove the corresponding line from tags.txt on the SD card.

BTW, the numbers printed below seem to indicate that your volume control (GPIO39) is somewhat unstable.


(*) The log does not show, whether playing the file was successful. If it wasn't, some of the first things to try will be using a filename without spaces in it, and using a lower bitrate. I'm not sure, whether or not 320kps poses a problem, but I've been using lower rates so far.

adarshgd commented 3 years ago

now its working fine, i have made all corrections,, sorry , i forgot add a pot to GPIO39.....

adarshgd commented 3 years ago

instead of PT8211 can i use TDA1311A?

tfry-git commented 3 years ago

From the datasheet, it looks like it probably will. If you want something known to work, pick one of the DACs officially supported by https://github.com/earlephilhower/ESP8266Audio (section "AudioOutput classes").