Hi , i am building a electronic dice for a college project that displays a number on a 7 segment led when a button is depressed. When the button is held down the counter is enabled and the 7 seg will display the numbers 1-6 and loop back around. when the button is depressed it displays a number.
ive had a idea of adding audio to the dice so that when a number is displayed it will call out the number. Ive found an ic that has 8 memroy banks, i will be using 6 locations to store each number. The problem im having is how to link the audio ic to the dice. one idea i came up with is to use the output from the bcd counter and connect that to a demultiplexer so that when the bcd outputs a binary number the demux will select the correct output wich will switch on the correct number memory bank on the audio ic. The input has to go low for the audio to be be played on the memory bank.
The problem that im having is that when you hold the button down. it will continually count from 1-6 untill the button is released. so this will constantly play each audio bank. i was thinking of having some sort of delay so that a retrigerable monostable is conntected to the outputs of the bcd and keeps re setting untill the button is depressed and the then the monstable will then carry on and charge a capacitor up to 0.7 and switch on a transistor which is connected to the enable.
I hope you get the jist of what im after. if theres any easier way of linking the audio to the display will muchly be appreciated.
ive had a idea of adding audio to the dice so that when a number is displayed it will call out the number. Ive found an ic that has 8 memroy banks, i will be using 6 locations to store each number. The problem im having is how to link the audio ic to the dice. one idea i came up with is to use the output from the bcd counter and connect that to a demultiplexer so that when the bcd outputs a binary number the demux will select the correct output wich will switch on the correct number memory bank on the audio ic. The input has to go low for the audio to be be played on the memory bank.
The problem that im having is that when you hold the button down. it will continually count from 1-6 untill the button is released. so this will constantly play each audio bank. i was thinking of having some sort of delay so that a retrigerable monostable is conntected to the outputs of the bcd and keeps re setting untill the button is depressed and the then the monstable will then carry on and charge a capacitor up to 0.7 and switch on a transistor which is connected to the enable.
I hope you get the jist of what im after. if theres any easier way of linking the audio to the display will muchly be appreciated.
Attachments
-
53.1 KB Views: 24