Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Smart Internet of Things Projects

You're reading from   Smart Internet of Things Projects Discover how to build your own smart Internet of Things projects and bring a new degree of interconnectivity to your world

Arrow left icon
Product type Paperback
Published in Sep 2016
Publisher Packt
ISBN-13 9781786466518
Length 258 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Agus Kurniawan Agus Kurniawan
Author Profile Icon Agus Kurniawan
Agus Kurniawan
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

Preface 1. Making Your IoT Project Smart 2. Decision System for IoT Projects FREE CHAPTER 3. Building Your Own Machine Vision 4. Making Your Own Autonomous Car Robot 5. Building Voice Technology on IoT Projects 6. Building Data Science-based Cloud for IoT Projects Index

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:

Writing...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime