Maker Pro
Maker Pro

UM3482 Melody IC

Hey there, I am connecting this IC according to the right hand side diagram. And it works. But then that connection will just keep repeating the same melody. So, how can I modify it so that I can play all the 12 melodys available in the IC AUTOMATICALLY when the supply in ON? I plan to make a music box that can play the 12 songs automatically.

Thank you

MusicBox.png
 

Harald Kapp

Moderator
Moderator
Select playing mode 2 (see datasheet).
Add a timer that triggers CE such that after each song CE has a L-H edge transition. You will have to set the rate of the timer according to the length of the songs.
Use e.g.a 555 timer IC
 

Harald Kapp

Moderator
Moderator
You could try to detect the end of a song by looking at the AC signal at the speaker - transistor connection. If this signal goes to static HIGH for some time (depending on the intervall between songs) the end of a song has been reached. You can generate an L-H edge to trigger the IC from that intervall by using a low-pass and a Schmit-Trigger.

I'll leave the details to you.
 
You could try to detect the end of a song by looking at the AC signal at the speaker - transistor connection. If this signal goes to static HIGH for some time (depending on the intervall between songs) the end of a song has been reached. You can generate an L-H edge to trigger the IC from that intervall by using a low-pass and a Schmit-Trigger.

I'll leave the details to you.

How's the algorithm for this ?
 
Top