Go Down

Topic: question about arduino+compass sensor+playing audio? (Read 409 times) previous topic - next topic

zhirantaha

hi
i want to use a compass sensor instead of writing the degrees in serial monitor i want to get the result by sound, is there anything that can do that job connected with arduino and play custom sound
like we have 8 direction for each direction play a sound??
thanks for replaying

HazardsMind

So you want to replace visual numbers with tones?

That can be done, you will need to use either Case statements or IF statements to play a certain tone, but yes it can be done.
Now if you have a MP3 shield, you may be able to play a particular melody for each direction, im not sure though, I never used a MP3 shield before.

Maybe some else can confirm that for me.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories


HazardsMind

http://www.billporter.info/2012/01/28/sparkfun-mp3-shield-arduino-library/
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy