Go Down

Topic: Servos and music synchronisation with Seed Music Shield Seed v2.0 (Read 18 times) previous topic - next topic

Greg_Paris

Hello all,
I am working on a project that need to operate multiple servos in a specific sequence, and play specfic music tracks in accordance to this sequence.

Exemple:
servo1 from 0 to 90
play music track 1

servo 2 from 45 to 45
play music track 2


I am currently working with Arduino Mega, analog servos (with separate power supply) and Seeed Music Shield v2.0.
I have tried many options, but there is no way I can play specific music tracks in sequence with the servos. 
Seedstudio wiki page does not mention servo usage.
http://www.seeedstudio.com/wiki/Music_Shield_V2.0


Any help appreciated. Many Thanks.

Grumpy_Mike

Quote
I have tried many options, but there is no way I can play specific music tracks in sequence with the servos.
It is not cleare what you want to do.

Is the servo to move over the range during the time the track plays?
If so you need some way of knowing the time the track will play and make the servo move at the speed so that it takes the same time. You are best measuring it and then you know what time to include in what track.

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