Author Options:

Ardunio to play random sayings when triggered? Answered

I'm looking to make a device that will play random sayings when toggled. The idea would be it would say one random, pre-recorded saying of a list of...say...20. Once played, it would stop, and not play another saying until toggled again: in other words, if you press and hold the button, it will only play one recording, regardless how long you hold it down.


The forums are retiring in 2021 and are now closed for new topics and comments.

Best Answer 8 years ago

Sure any uP can access a Record/Play chip which has enough message 
room to assign them to 8 or 16 addresses.

The Arduino can use 3 or 4 output lines to select and play a random
address on the sound chip and the uP  will not play another selection
until the button is first released and then pressed again = easy code...