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

Sounds keep hanging - Incomplete play #31

Closed
MycaelRaustin opened this issue Dec 20, 2017 · 13 comments
Closed

Sounds keep hanging - Incomplete play #31

MycaelRaustin opened this issue Dec 20, 2017 · 13 comments

Comments

@MycaelRaustin
Copy link

Hi, I've set-up a homebrew arduino nano with an RGB star.
I followed all the wiring and configurations;
My saber is powering up and displaying its lights well, but I noticed that sound effects keeps
hanging or keeps getting interrupted. Sometimes it plays perfectly, sometimes it don't.

I've reviewed all my wirings and reuploaded the ino file on my arduino twice-thrice.
Even did a full reformat of my SDcard and followed the copy-paste instructions.

Question:
1.) Could this be related to the calibration or configuration of my MPU6050?

2.) I noticed with LSOS that there was a 470-Ohm resistor connecting to Rx of the DFPlayer. Does anyone know why this is no longer included in FxSaber's set-up?
Reference: https://github.com/neskweek/LightSaberOS/blob/master/README/Schematic_std.png

3.) What power supply do you guys feed your sabers? I initially tried a vape battery with 3.7V(18650). Right now, I'm using a 5vdc power supply.

Any help would be great! Keep up the good work!! XD

@jbkuma
Copy link
Collaborator

jbkuma commented Dec 20, 2017 via email

@MycaelRaustin
Copy link
Author

Thanks for the response, jbkuma :)

Got it.
Just curious, what's the significance of the 470-Ohm resistor at the RX line?
Do you think having this could help fix the sound-play interruption?

@Protonerd
Copy link
Owner

If you supply your board with 5V (i.e. form USB for instance) you will need the resistor for level shifting purpose. If you go for a single 3.7V battery you might omit it.

As to the incomplete plays, your DFPlayer might be defective or your sounds might not be hum-extended. Where did you get your sound fonts?

@NATODevTeam
Copy link

Hi, friends. I nave same problem. Sound fonts I take here https://github.com/Protonerd/FX-SaberOS/tree/master/soundfonts. But after switch off saber the sound "powerOff" stil replay and replay non stop. Can you help with this bug?

@AirmakZ
Copy link

AirmakZ commented Feb 23, 2018

Hi NATODevTeam,
Your behavoiur is not the same as the discussed in this topic, but is exactly same as the phenomena I’m facing in my project.
Basically once a track is played in loop mode (like hum) the next single play is executed in loop as well.
It’s not a software bug I think but related maybe with hardware (or hardware firmware).
Cloud you check the device mounted in your DFPlayer? Is it an original XY5200?
It’s just a theory right now. Your information can maybe confirm it.
As a fast test, could you perform a power on and fast power off (in hum sound is not player,

@AirmakZ
Copy link

AirmakZ commented Feb 23, 2018

Sorry, previous message is incomplete.

If hum is not player (it’s using loop mode) and you play power off track during power on track playback you will not see this issue.

@NATODevTeam
Copy link

Thanks all for answers.
AirmakZ the chip mounted in DFPlayer clear (top cover burned laser, China made).

@AirmakZ
Copy link

AirmakZ commented Feb 26, 2018

I have samples with the reference deleted with laser too and the same issue.
I cannot be sure because I’m waiting for original XY IC’s, but consider it as a possible root cause.

@AirmakZ
Copy link

AirmakZ commented Mar 9, 2018

Hi! I confirmed what I suspected... After exchange in the DFPlayer module the non XY device with an original XY all works like a charm.
Cheers!

@JagdNutCrkr
Copy link

AirmakZ, where did you end up purchasing the DFPlayer Mini with an original YX IC? I'm having a similar problem with the looping issue. I tried two different vendors already from Amazon, but the same results. I've asked for refund both times because the pictures show they have the YX IC, but don't when I receive them.

Thanks in advance.

@AirmakZ
Copy link

AirmakZ commented May 21, 2018

As a reference you should confirm is SMD components are having a white square around solder area.
Also Led color is blue instead of red but it cannot be confirmed in the pictures!
Check this link as reference
http://s.aliexpress.com/BveIZVri

@JagdNutCrkr
Copy link

Thanks for the reference AirmakZ!

@jbkuma
Copy link
Collaborator

jbkuma commented May 21, 2018 via email

@jbkuma jbkuma closed this as completed Oct 23, 2019
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

6 participants