Freaduino Starter Kit
January 12, 2019Freaduino MEGA2560 v1.2 (100% Arduino compatible)
January 12, 2019Voice Record Module is base on ISD1820, which a multiple-message record/playback device. It can offers true single-chip voice recording, no-volatile storage, and playback capability for 8 to 20 seconds.
The sample is 3.2k and the total 20s for the Recorder. This module use is very easy which you could direct control by push button on board or by Microcontroller such as Arduino, STM32, ChipKit etc. Frome these, you can easy control record , playback and repeat and so on.
Feature
- Push-button interface, playback can be edge or level activated
- Automatic power-dwon mode
- On-chip 8Ω speaker driver
- Signal 3V Power Supply
- Can be controlled both manually or by MCU
- Sample rate and duration changable by replacing a single resistor
- Record up to 20 seconds of audio
- Dimensions: 37 x 54 mm
If you want change record duration, an external resistor is necessary to select the record duration and sampling frequency, which can range from 8 – 20 seconds (4-12kHz sampling frequency). The Voice Record Module of our provide default connect 100k resistor through P2 by short cap. So the default record duration is 10s.
- PLAYE – Playback, Edge-activated:When a HIGH-going transition is detected on continues until an End-of-Message (EOM) marker is encountered or the end of the memory space is reached.
- REC – The REC input is an active-HIGH record signal.The device records whenever REC is HIGH. This pin must remain HIGH for the duration of the recording. REC takes precedence over either playback(PLAYL or PLAYE) signal.
- Speaker Outputs – The SP+ and SP- pins provide direct drive for loudspeakers with impedances as low as 8Ω.
- MIC – Microphone Input, the microphone input transfers its signals to the on-chip preamplifier.
- REPLAY – loop play the record.
- FT – Feed Through: This mode allows use of the speaker drivers for external signals.
- ISD1820 – IC chip
- Lead Out IO – VCC LED NC FT GND / VCC REC PLAYE PLAYL GND
- P2 – default short connection ROSC to 100kΩ resistance, that’s means record duration is 10s
- PLAYL – Playback, Level-activated, when this input pin level transits for LOW to HIGH, a playback cycle is initiated.
More detail of IO define please reference our WIKI.
Record Operate Guide
- Push REC button then the RECLED(D1) will light and keep push until record end.
- Release the REC button
- Select Playback mode: PLAYE, just need push one time, and will playback all of the record or power down ; PLAYL, you need always push this button until you want to stop playback record or end ; REPEAT, switch 5 to right side, and the record will playback time a time until switch to light or power down
- FT mode, when you switch 6 to right side, that means all of you speak to MIC will direct playback from Speaker.
Example
We can build a Auto PIR Alarm small project. We have record a short alert tone in Voice record module. Then we control PIR Sensor and Voice record module by Freaduino ATMage328. Of course you can also use PIR and record function. Use your imagination.
Programming Demo code like :
[cce_cpp] /********************************************************************* ** Device: ISD1820 ** ** File: EF_Alert.c ** ** ** ** Created by ElecFreaks Robi.W /14 Nov 2011 ** ** ** ** Description: ** ** This file is alert demo code base on PIR sensor and ISD1820 ** ** Voice record module, just a sample code for your reference. ** ** ** ** Copyright (C) 2011 ElecFreaks Corp. ** ** http://www.elecfreaks.com ** *********************************************************************/ #define SOUT 12 #define REC 8 #define PLAYE 9 #define PLAYL 10 void setup(){ pinMode(SOUT, INPUT); Serial.begin(9600); } void loop(){ int ret = digitalRead(SOUT); if(ret == 1) { Serial.println("--------------> PIR"); digitalWrite(PLAYE, 1); delay(5000); digitalWrite(PLAYE, 0); } } [/cce_cpp]
Power Amplifier Circuit
If you want extern power amplifier circuit to Speakers, you can use LM386, D2283, D2322, TA7368, MC34119 etc amplifier IC. Note, SP+ or SP- is you do not want to use, must vacant, do not connect to GND. Used LM386 power amplifier circuit as below:
Enjoy !!