Speech recognition based home automation
3.9 (8 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
115 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Speech recognition based home automation to your Wishlist.

Add to Wishlist

Speech recognition based home automation

Learn and explore the concepts of speech recognition and control to get started on your DIY smart home.
3.9 (8 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
115 students enrolled
Last updated 7/2017
Current price: $10 Original price: $95 Discount: 89% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 1 hour on-demand video
  • 10 Articles
  • 2 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Learn basic concepts of speech recognition, the Jasper voice-control platform, and Snowboy hotword detction.
  • Learn how to integrate Snowboy's offline hotword detection with Jasper's voice platform.
  • Learn to connect appliances to the Raspberry Pi using relay modules.
  • Program Jasper voice-controlled modules to control lights, fans, and a servo motor.
  • Apply the above to setup a custom/personalized automation system.
View Curriculum
  • Basic knowledge of Linux - basic navigation, and ALSA configuration.
  • Python programming knowledge - the regular expression operations module and file handling I/O
  • Basic working knowledge of household appliances (fans, lights etc.) and circuitry.

This course will focus on teaching you how to set up your very own speech recognition-based home automation system to control basic home functions and appliances automatically and remotely using speech commands. Furthermore, we will teach you how to control a servo motor using speech control to move the motor through a required angle.
To learn how to automate your home, the best place to start is with your personal needs. So, in this course, we will focus on basic control of lighting and ventilation inside a home. This will give you a solid base to build upon by teaching you the basics required for simple speech-controlled automation and enable you to automate almost any appliance in your house – limited only by your creativity and knowledge. 
Once we have grasped basic lighting control, we will move on to controlling a servo motor using PWM output from the Raspberry Pi GPIO pin. We will also use python file I/O to store the motor’s position.
This home automation course will involve teaching you how to control and automate lighting and ventilation appliances, with the potential for expansion of the system to control a variety of services and functions – from home appliances to monitoring and security systems. The system used for home automation will involve using Raspberry Pi 3 and writing python codes as modules for Jasper, which is an open-source platform for developing always-on speech controlled applications. 
This course aims to help you attain control of household activities, and appliances via futuristic speech recognition. Using Speech-to-text and text-to-speech engines, it is possible to communicate effectively and efficiently with Jasper to carry out simple commands or tasks like activating, and deactivating relay switches to control home appliances without the need for physical exertion.  
This course will also teach you how to modify the open source Jasper platform to use Snowboy hotword detection engine for offline speech recognition for keyword detection while using wit ai online speech recognition for command word detection. We do this as a precaution to safeguard the privacy of the user while retaining Jasper’s always listening feature.

Who is the target audience?
  • This course is meant for anyone with an interest in speech recognition and home automation.
  • This course requires basic knowledge of the Raspberry Pi, Python programming, and Linux.
  • This course is meant for intermediate-level programmers looking to create a personalized speech-control system.
Compare to Other Home Automation Courses
Curriculum For This Course
22 Lectures
Introduction to speech recognition based home automation
3 Lectures 18:24

This lecture gives you a complete overview of the course. It contains a rundown of the course contents.

Preview 03:02

This lecture is meant to be an introduction to the concepts of automation and speech recognition. It also outlines the advantages of an automated system over conventional systems.

Preview 05:38

This lecture lists the various hardware and software requirements of the speech-recognition based home automation system. 

The lecture is divided into two parts - Hardware and software requirements - with the software requirement section providing a brief introduction to each software platform or application.

Hardware and software

Quiz relating to topics learned in section 1.

Quiz - 1
3 questions
Software installation
7 Lectures 34:55

This lecture is the starting point of the project. It focuses on setting up a USB audio device connected to the Raspberry Pi and then installing the Jasper voice platform and eSpeak-TTS on the Pi.

Getting started

Setting up Audio devices for the latest version of Raspbian Jessie

This lecture deals with post-installation configuration of the Jasper voice platform. 

This includes setting up of a personalized Jasper profile, changing Jasper's microphone settings to improve quality, and adding the Speech-to-Text and Text-to-Speech engines to the Jasper platform.

This lecture also guides you through training and validating your wit.ai bot.

Configuring Jasper and setting up wit.ai

Step by step procedure for installing Jasper with Wit.ai STT and espeak TTS

This lecture begins the process of modifying Jasper to swap its passive listening feature for Snowboy hotword detection. 

This lecture involves a step-wise guide to installing Snowboy hotword detection on the Raspberry Pi followed by its integration to the Jasper voice platform.

Using Snowboy for keyword detection

Generating pmdl file for snowboy from raspberry pi, using the snowboy API

This lecture contains new Python files required to swap Jasper's passive listening feature with Snowboy's hotword detection. 

It also contains reference material that can be used to edit the existing Python files for Snowboy integration and customization.

Modified Jasper files - Snowboy integration

Questions relating to the Jasper installation and snowboy integration processes.

Quiz - 2
3 questions
Programming the Jasper platform
6 Lectures 11:35

This lecture is meant as a guide to aid in the writing of custom voice modules for the Jasper platform. It contains brief explanations and examples on how to write a standard Jasper voice module.

Developing your standard module

This lecture contains a pictorial representation of the circuit and connections needed to setup the basic lighting and fan control system.

Circuit diagram - Light and fan control

This module teaches you how to write a very basic light and fan control Jasper voice module. 

It involves multiple lines of Python code and step-by-step explanations for each segment of the code.

Creating the home automation module

This lecture contains complete error-free source code of the Jasper voice module for light and fan control.

Source code - Light.py

This lecture demonstrates the real time working of the home automation system using the voice Jasper module created in the preceding lectures.

Real time demonstration - Light and fan control

Light and Fan control using Snowboy
Servo motor control
6 Lectures 14:23

This lecture contains a pictorial representation of the circuit needed to setup a servo motor control system.

Circuit diagram - Motor control

This lecture begins with a brief introduction to servo motors. 

The lecture then moves on to writing a Jasper voice module to control a servo motor. It is a guide to the Python code - including the file handling I/O section. The code is split into manageable sections for ease of understanding.

Preview 07:57

This lecture contains complete error-free source code of the Jasper voice module for servo motor control.

Source code - Motor.py

This lecture demonstrates the real time working of servo motor voice-control system using the Jasper voice module created in the preceding lectures.

Real time demonstration - Motor control

Controlling Servomotor using Snowboy

Questions relating to programming the Jasper platform and servo motor control.

Quiz - 3
3 questions

The final lecture of this course. Contains a summary of the course and outlines avenues for possible expansion of the project.

About the Instructor
Venkatesh Varadachari
4.1 Average rating
746 Reviews
13,726 Students
32 Courses
Founder of ScratchNinja, PiWizards and Money-Wizards

Venkatesh Varadachari is the founder of Money-Wizards Global Pte Ltd, that owns the education brands Money-Wizards, PiWizards and Scratch Ninja.

Venkatesh believes that knowledge should be made available to people in all walks of life. Venkatesh also believes in the power of education to transform lives.

Venkatesh has an MBA from the prestigious Indian Institute of Management, Bangalore.

He also has a degree in Electrical Engineering from Madras University and a Masters in Financial Engineering from National University of Singapore.

Satyajeet .
4.0 Average rating
576 Reviews
9,089 Students
21 Courses
Senior Product Engineer - Technology

Satya is a passionate technology enthusiast and is excited about the possibility of impacting education through technology. Satya holds a Masters in Computer Applications from VIT, one of the premier engineering institutes in India. He is a product engineer and spends his time creating exciting courses around the credit card sized Raspberry Pi.

Abhishek Vijay
3.9 Average rating
8 Reviews
115 Students
1 Course