Need some Christmas eve help with audio on a arduino based lightsaber project/


hi.

i'm trying finish christmas gifts, lightsabers i'm building using diyino board (https://forum.arduino.cc/index.php?topic=393174.0),
which has:
- atmega328p-au (based on arduino nano)
- mpu-6050 6-axix accelero- , gyrometer gesure/motion detection
- yx5200-24ss wav/mp3 decoder (same chipset on dfplayer mini)
- sd card slot music/sound files storage
- 3w audio amplifier

so, ordered various parts needed, including diyino boards, , got them in nick of time.  i've got them assembled, not getting audio.  have sdcards formatted , loaded wav files, using instructions , code here (https://github.com/neskweek/lightsaberos). 

the diyino boards had test code loaded on them when arrived, , play sound after soldering before loading new source , compiling.  no compile errors, , transferred fine.  else seems work, including light on blade, motion detection, etc.  initial "click" 3w, 4ohm, speaker, , if put ear right it, can hear highpitched hum, seems correlate luxeon led on blade.

i tried replacing speaker earbuds make sure speaker wasn't issue, same result.

this output of serial monitor:
code: [select]
l02�������������������������
connecting dfplayer...
connected dfplayer !

not sure if should getting else.

any in troubleshooting appreciated.







i figured out of problems.  libraries have configured "just so", , documentation wasn't clear enough (to me).  had replace some, rename some. 

anyway, have sound now!  problem have now, when retract blade, hum sound continues minute.   


Arduino Forum > Using Arduino > Audio > Need some Christmas eve help with audio on a arduino based lightsaber project/


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor