Make your IoT board speak
Making your IoT board speak is interesting. Imagine your board give a voice notification about environment information such as temperature, humidity and so on. This happens if we implement speech module especially about Text-To-Speech module.
In this demo, we use Emic 2 for Text-To-Speech module and Arduino Uno R3 board. You can get it on Sparkfun store, https
.
Let's start.
Setting up
We use EMIC2 library to communicate between Arduino Sketch and EMIC 2 module. This library can found on https://github.com/pAIgn10/EMIC2. You can download and put it on Arduino library folder.
Now you can write sketch program using Arduino IDE.
Wiring
Connecting EMIC 2 module into Arduino board is easy. The following is our wiring:
Connect EMIC2 5V to Arduino 5V
Connect EMIC2 GND to Arduino GND
Connect EMIC2 SOUT to Arduino digital pin 9
Connect EMIC2 SIN to Arduino digital pin 8
Connect EMIC2 SP- to speaker -
Connect EMIC2 SP+ to speaker +
The following is a sample of our demo wiring: