Arduino ISD1820 Voice Recorder & Playback Module

(Last Updated On: February 26, 2020)

Arduino ISD1820

Description

Arduino ISD1820 Voice Recorder & Playback Module- In this tutorial, you will learn how to interface the ISD1820 Voice Recorder and Playback Module with Arduino and play different recorded messages using different Sensors. In this tutorial, we will cover both the manual and automatic control of the ISD1820 Module.

There are situations when you need to play a specific recorded voice message depending on the situation. Like for example, in case if someone ends up in a car accident when a sensor detects a strong hit a pre-recorded voice message is played endlessly.

The ISD1820 Voice Recorder and Playback Module can also be used in Security based projects. When an intruder is detected a voice message is played endlessly.

The ISD1820 module can be used in offices where you need to play different voice messages, for example when someone opens the door; a welcome message is played only one time.

If it’s a break time you can record a new message, now this time if someone opens the door the break time voice message will be played. You can record different messages depending on the situation.

Without any further delay let’s get started!!!

The components and tools used in this project can be purchased from Amazon and DigitSpace, the components Purchase links are given below:

Purchase from DigitSpace ISD1820:

Arduino Uno: https://amzn.to/2uBb3sW

ISD1820 Voice Recording Playback Module: https://amzn.to/2tiAWNz

Magnetic Reed switch/Sensor for the door: https://amzn.to/2uYd4Px

FlexiForce sensor: https://amzn.to/2tCck2d

LDR Sensor with digital and analog outputs; https://amzn.to/2R8edN4

Some other components and tools:

Mega 2560: https://amzn.to/2ze1kdu

Super Starter kit for Beginners https://amzn.to/2KJvmKG

Jumper Wires: https://amzn.to/2KMoVXs

Bread Board: https://amzn.to/2MS4q8X

12v Adaptor:  https://amzn.to/2Ntr6h1

PCB plate: https://amzn.to/2IUwpCt

Variable Supply: https://amzn.to/2MT4Qfj

Digital Multimeter: https://amzn.to/2Nvft9i

Vero Board / stripboard: https://amzn.to/2MTf9jD

Soldering iron kit:  “best” You guys should definitely purchase this https://amzn.to/2zfoNuJ

Solder wire: https://amzn.to/2ufUMWf

Wire Stripper: https://amzn.to/2KOqxfU

Wirecutter: https://amzn.to/2ucIq14

PCB small portable drill machine: https://amzn.to/2Nu62XF

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!


About the ISD1820 Voice Recorder and Playback Module:

Arduino ISD1820

This is the ISD1820 Voice Recorder and Playback Module. This voice recorder module comes with a non-volatile storage and playback capability for 8 to 20 seconds. The recording time can be changed which I will discuss in a minute.

As you can see this voice recorder module is provided with push buttons which means you can directly or manually control this module. This voice recorder module is also provided with male headers due to which it can be interfaced with different types of controller modules such as Arduino, STM32, 8051 family of controllers, PIC microcontrollers and so on. This module is also provided with an On-chip audio amplifier that can drive a .5W 8-ohm speaker directly without the need for any external amplifier circuit.

Arduino ISD1820

This speaker is good for testing purposes but if you are planning to use this module in a real project then you will need to connect the output of this module to an external amplifier IC like for example LM386.

Arduino ISD1820

If you want to change the record duration, an external resistor is necessary to select the record duration and sampling frequency, which can range from 8 to 20 seconds. Currently, the record duration of this module is 10 seconds as this module by default comes with a 100k resistor ROSC. As per the datasheet, you can select any of these resistors to select a record duration of your choice.

Arduino ISD1820

By following this typical schematic you can also make this module by yourself.

ISD1820 Datasheet: isd1820 datasheet

Arduino ISD1820

This is the ISD1820 IC, a Microphone, this is where we connect the positive and ground wires of the speaker.

As you can see the three push buttons and male headers are clearly labeled as REC, PLAYE, PLAYL, VCC, GND, FT, P-L, P-E, and REC.


ISD1820 manual control:

Arduino ISD1820

First, let’s check how this module can be manually controlled. Connect 5 volts and ground from the Arduino or a power supply with the VCC and ground pins. Now press the record button and start talking. To play the entire voice message press PLAYE. You need to push and hold the PLAYL button and the message starts playing and if you want to stop the playback at any time, simply release the button.

During the testing, it was hard to hear anything. The .5w 8-ohm speaker is not going to work in real projects, so, before I am going to explain how this module can be automatically controlled using Arduino and sensors, first I replaced the .5w 8-ohm speaker with the external speakers powered up using a 12 volts power supply.

Arduino ISD1820

I played the same message again, and this time it was pretty cool. You can even use very high power speakers, so far you are able to provide the desired power needed for the speakers.

Arduino ISD1820

While using the ISD1820 manually, you don’t need the Arduino or any other controller board. All you need is the 5 volts power supply. In the picture above, I am only using the Arduino to power up the ISD1820 Voice Recorder and Playback Module.


Playing the same voice message endlessly using Arduino:

Using the male headers the ISD1820 can be easily interfaced with the Arduino. The circuit diagram and programming is explained below, or you can also watch a video available at the end of this article.

ISD1820 interfacing with Arduino Circuit Diagram:

Arduino ISD1820

The circuit diagram is very simple. The VCC and GND pins of the ISD1820 Voice recorder and Playback module are connected with the Arduino’s 5 volts and GND. While the P-E pin is connected with the Arduino’s pin number 5. Now let’s write a simple Arduino program to play a recorded voice message again and again.



Arduino ISD1820 Programming:

Arduino ISD1820 program explanation:

For the ISD1820 Voice recorder module, you don’t need any library. As you can see the P_E pin of the voice recorder module is connected with the Arduino’s pin number 5. The pin is set as the input using the pinMode() function. Now to play a voice message endlessly you need to change the pin status.

Now let’s make this a little bit complex by making a hit detection system for a car. So, when a hit is detected a voice message will be played endlessly.

Car Accident Detection System:

If some end up in a car accident, along with text message to the parents/guardians a voice message can be played to inform the people far away from the accident location. I have a detailed tutorial in which a message is sent to the parents along with the GPS location. In the following project, I am not using the gsm module. But you can add this project with my previous project based on the Car accident location tracking.

Arduino Car Accident detection and voice message circuit diagram:

Arduino ISD1820

This time I added the FlexiForce sensor which is also known as the force sensitive resistor. One leg of the FlexiForce sensor is connected with the Arduino’s 5 volts while the other leg of the FlexiForce sensor is connected with a 10k resistor. A wire from the middle of the FlexiForce sensor and a 10k resistor is connected with the Arduino’s analog pin A0. A 47uf electrolyte capacitor is connected in parallel with the 10k resistor. If you want to learn in detail about the FlexiForce sensor then watch my tutorial on the FlexiForce sensor.

Car Accident Detection and voice message Arduino programming:

I am using the same Arduino pin number 5. Rest of the programming I have already explained in the FlexiForce getting started tutorial, in the code I did a little modification, I added the if condition which means if the force value is greater than or equal to 3 then enter into an infinite while loop which plays the voice message again and again.

For the practical demonstration, watch video give at the end of this article.


Use of ISD1820 in Laser Security system using Arduino Circuit diagram:

Arduino ISD1820

This time an LDR module is connected with the Arduino. The LDR module VCC and GND pins are connected with the Arduino’s 5 volts and ground. while the D0 pin of the LDR module is connected with the Arduino’s pin number 6. Using this variable resistor the sensitivity of the LDR module can be adjusted. A laser module will be placed in front of this module. So, anyone crossing the laser will block the light falling on the LDR. Which signals the microcontroller to play the voice message. Now let’s have a look at the Arduino programming.


Arduino ISD1820 security system Programming:

As you can see the LDR module D0 pin is connected with the Arduino’s pin number 6. Using the if condition we check if the light falling on the LDR is blocked. So, if someone has blocked the light then the controls enter into an infinite while loop and play the voice message endlessly.

For the practical demonstration watch video available at the end.

Door Opening Voice Message system using Arduino and ISD1820:

This is an amazing project and can be used in offices, Doctor’s clinics, shops, malls, etc where multiple voice messages are played as per the requirement. When someone enters the office or shop, a welcome message can be played, or if it’s the break time and someone enters into the shop a break time message can be played. The working is explained in the video.



ISD1820 and Reed Sensor interfacing with Arduino Circuit diagram:

Arduino ISD1820

This time a Reed switch/sensor is connected in series with a 10k resistor. This is a Pull-Up resistor. When the door is closed GND is connected with the Arduino’s pin number 6. When the door is opened 5 volts are connected with the Arduino’s pin number 6. Now, let’s have a look at the Arduino Programming.

ISD1820 Welcome Voice Message Arduino Programming:

This is the same program, this time I only changed the pin name from the LDR to reed_sensor, and I deleted the infinite while loop. I am using two if the conditions to check if the door is closed or the door is opened. This way the voice message is played only one time when the door is opened. To play the same message again, first, the door should be closed and then open again.

This project can be used in offices, where multiple messages can be played depending on the situation. The controller programming remains the same. Different voice messages can be recorded. Each time the door is opened a message will be played only one time. This is practically demonstrated in the video given below.


About the Sponsor DigitSpace:

The ISD1820 voice recorder and playback module used in this tutorial is sponsored by the DigitSpace. DigitSpace is an open-source hardware provider. They supply innovative, user-friendly open-source hardware products at extremely low prices.

Watch Video Tutorial:

 

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply