Sunday, November 19, 2017

Arduino Speaks and Talks

Have an idea for a small Arduino meter and would be good to have the output to audio in addition to a normal display. Specially handy for troubleshooting without constantly looking at the meter. Googling on the various options, found a small library (Talkie) that does basically it without any external shield or component.

Here's how simple it can be:

Just add power... and connect pin 3 and GND to a speaker. If more power is needed, then place an external amp. Audio quality is good enough for the application. Voice is the classic computer tone but there are examples with other types in the library examples.

 Regarding the library, its at: but I was having problems with compilation on my IDE due to type declaration so got this "fork" version from here: that compiled fine.
The result with audio at the first try:

Have a nice week!


No comments: