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

sleep mode? #2

Open
victuxbb opened this issue Apr 5, 2016 · 12 comments
Open

sleep mode? #2

victuxbb opened this issue Apr 5, 2016 · 12 comments

Comments

@victuxbb
Copy link

victuxbb commented Apr 5, 2016

Hi, if I use the "mp3_sleep()" to save battery, how I can wake up again? If I call to "mp3_play (1)" for example doesn't hear anything like volume was 0 but I tried to set volume and nothing happens...

Any help please?

Thanks!

@minesofmoria
Copy link

I'm running into a similar issue :/

@ArtNumerique
Copy link

I am running into the very same issue. Any updates???

@Apexaddicted
Copy link

Same issue. Wish there was a fix.

@FedericoBusero
Copy link

Wake-up code for SD card should be
mp3_set_device (2);

@SirVolvic
Copy link

In the Datasheet I found here: https://github.com/Arduinolibrary/DFPlayer_Mini_mp3/raw/master/DFPlayer%20Mini%20Manual.pdf

It states that standby command is: 0x0A (used in library command mp3_sleep() )
and "normal operation" is: 0x0B (not used in any command)

@wanglanshu
Copy link

hi i have suceed made the dfplayer mini going to sleep mode(by sending mp3_sleep) and i also know how to wake it up.but when i measure how many ampere it cost,i found that whether the dfplayer go into sleeping mode it still cost 18ma,so the sleep mode does not save any battery.i want to know if i did something wrong,or the dfplayer just cannot save any battery

@PowerBroker2
Copy link

Sleep and wakeup functions are supported in this library via sleep() and wakeUp(), respectively. Also, I believe @wanglanshu is right in that putting the device to sleep doesn't save power other than preventing any commands to play a track (power intensive) from actually executing

@wanglanshu
Copy link

wanglanshu commented Jan 27, 2021

Sleep and wakeup functions are supported in this library via sleep() and wakeUp(), respectively. Also, I believe @wanglanshu is right in that putting the device to sleep doesn't save power other than preventing any commands to play a track (power intensive) from actually executing

still useless wether send comand 0x0a or 0x09 04 will not save any energy,the new library sleep is actually send 0x09 04 but i didnt see any difference sill waste energy even cant stop playing music totally useless。in a simular device:jq8900,i find its PDF says this kind music player has design defect,its power amplifier will always waste 18ma wether dfplayer is playing music ,sleeping or not。so if you want to save energy you have to completely cut dfplayers power off

@SchroedersKater
Copy link

Any new idea on this?

@gungprog
Copy link

try using a separate amplifier module then use the DAC_R AND DAC_L which is in the DFplayer module for audio output
to the amplifier. in the program use myDFPlayer.disableDAC(); to stop audio output and myDFPlayer.enableDAC(); to open audio output

myDFPlayer.disableDAC(); this will be useful for eliminating noise in the speaker

@Pelectrome
Copy link

there is a way you can use a transistor to power the device, then use your ICU to turn it on/off this method works for me for many sensors and devices that doesn't have sleep feature.

@hamid57ir
Copy link

hamid57ir commented Sep 19, 2023

connect tx pin of microcontroller to addkey1 pin with 1 kiloohm resistance. so first command such as mydfplayer.play() causes your dfplayer exit from sleep mode.

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