Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shuts down after powering up #1

Open
adarshgd opened this issue Dec 30, 2020 · 8 comments
Open

shuts down after powering up #1

adarshgd opened this issue Dec 30, 2020 · 8 comments

Comments

@adarshgd
Copy link

BOARD SHUTS DOWN AFTER 2 SECONDS AND POOR SOUND QUALITY

HELP ME PLZ
PROVIDE YOUR EMAIL ID..
THANKS

@tfry-git
Copy link
Owner

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
Copy link
Author

adarshgd commented Dec 31, 2020 via email

@tfry-git
Copy link
Owner

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

  • folder 1
    • file1.mp3
    • file2.mp3
    • ...
  • folder 2
    • file1.mp3
      ...

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
Copy link
Author

adarshgd commented Jan 2, 2021

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

@tfry-git
Copy link
Owner

tfry-git commented Jan 2, 2021

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
Copy link
Author

adarshgd commented Jan 4, 2021

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

@adarshgd
Copy link
Author

adarshgd commented Jan 5, 2021

instead of PT8211 can i use TDA1311A?

@tfry-git
Copy link
Owner

tfry-git commented Jan 5, 2021

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").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants