Project tutorial
Voice-Controlled Locking Device

Voice-Controlled Locking Device

A voice-controlled project using the EasyVR Shield with an Arduino Uno and gen4-uLCD-43DT.

  • 2,084 views
  • 0 comments
  • 4 respects

Components and supplies

Apps and online services

About this project

This project entitled, Voice-Controlled Locking Device, as its name implies, is voice-controlled using the EasyVR Shield. It is working together with the Arduino UNO as a microcontroller, and the Gen4 uLCD-43DT as a graphics interface module.

Pre-defined pass codes and passwords can be used to operate the device, through the use of the EasyVR’s Commander program, where users can save and store their voice recordings and commands for the voice recognition.

Users can download the EasyVR manual using this link: http://www.veear.eu/downloads

Step 1: Build

  • Build the circuit as shown in the diagram
  • The EasyVR Shield should be connected between the Arduino UNO and the Gen4 Arduino Adapter Shield.
  • EasyVR Shield Version 2 was used in this project.
  • Connect the Gen4 Display to the 4D Arduino Adapter using a Gen4-IB and a FFC cable, use the Arduino printer cable for power supply.

Step 2: Program the EasyVR Shield

  • Connect the EasyVR Shield above the Arduino. At the back portion of the EasyVR Shield, remove and relocate the pin header to “PC”.
  • Connect and power on the device using the printer cable. Open the EasyVR Commander Tool and follow the next instructions.
  • Select the proper COM port.
  • Press the button to connect the EasyVR Shield.
  • Select an empty group you want to use.
  • Press the button to add a new command to the group list.
  • Press the button to teach and record your voice command.
  • Press the button to generate the Arduino (.ino) file for the new recorded files.
  • After adding and recording voice commands, disconnect the EasyVR Commander tool by pressing the disconnect button beside the connect button (see item number 1). Remove the pin header and return it to the “SW” side.

Step 3: Program the Arduino

  • To use the EasyVR Shield, read and follow the installation guide first, by downloading the user manual and Download the EasyVR Commander program for PC through this link:

http://www.veear.eu/downloads/

  • Open the project using the Arduino IDE. Make sure you have already downloaded/installed/added the EasyVR Library on your Arduino IDE, if not, please follow this link:

https://github.com/RoboTech-srl/EasyVR-Arduino/releases

  • Change and configure the settings on the “Tools”
  • Select the correct Communication Port.

Step 4: Compile

  • Click on the “Upload” Button to compile, debug and load the code to the Arduino UNO.
  • If uploading is successful, you will encounter this message:

Step 5: Serial Monitor (Optional)

  • The program uses the Serial Monitor to display debugging messages, you can open this as an option and to monitor the activities performed by the project.

Program The uLCD-220RD

Download this project file: Voice Controlled Locking Device Code. Open this file using Workshop 4.

Step 6: Compile

  • Click on the “Build Copy/Load” button.

Note: This step could be skipped. However, compiling is essential for debugging purposes.

Step 7: Comp’n Load

  • Connect the display to the PC using uUSB-PA5 and a mini USB cable. Make sure that you are connected to the right port. Red Button indicates that the device is not connected, Blue Button indicates that the device is connected to the right port.
  • Now click on the “Compile and Load” button.

Workshop 4 will prompt you to select a drive to copy the image files to a uSD Card. After selecting the correct drive, click OK.

Step 8: Mount uSD Card

  • The module will prompt you to insert the uSD card.
  • Properly unmount the uSD Card from the PC and insert it to the uSD Card slot of the display module. 

Demonstration

Video

Comments

Similar projects you might like

Voice-Controlled Locking Device

Project tutorial by 4D Makers

  • 3,002 views
  • 1 comment
  • 10 respects

4D Ping Pong

Project showcase by 4D Makers

  • 1,454 views
  • 0 comments
  • 6 respects

Alarm Clock

Project tutorial by 4 Makers

  • 1,287 views
  • 0 comments
  • 4 respects

Carfox: A Device to Find Them All

Project tutorial by Luis Roda Sánchez

  • 6,772 views
  • 2 comments
  • 28 respects

DIY Portable Distance Detection Device

Project tutorial by Viktor S

  • 5,897 views
  • 5 comments
  • 16 respects

Universal Remote Control

Project tutorial by 4D Makers

  • 2,334 views
  • 0 comments
  • 4 respects
Add projectSign up / Login