ISD 1820 Voice Recording Module (ISD1820) [S082]
https://www.youtube.com/watch?v=cj9h0Bzwcok
*GitHub :
* Specs
ISD1820 Voice Recording Module is another very interesting stuff. You don't need to prepare a speaker and a mic - both are included in this module! After connecting to the power, you can press REC to record a 10 second voice. Press PLAYE to play the complete voice once. Press and hold PLAYL it will play the voice and it stop when the button is released. It can also be controlled by Arduino. Combined with Laser Detector and Laser Module, you can make a doorbell, security system, and power-saving light along corridor for instance.
* Contents
- Connect
VCC ----- 5V
GND ----- GND
P-E ----- D13
REC ----- D11
- Key Code
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4); // LCD2004
int Rec = 11;
int Play = 13;
void setup()
{
pinMode(Rec, OUTPUT);
pinMode(Play, OUTPUT);
lcd.init(); // initialize the lcd
lcd.backlight();
lcd.print("start LCD2004");
delay(1000);
lcd.clear();
}
void loop()
{
lcd.setCursor(0,0);
lcd.print("S082:ISD1820 Module");
digitalWrite(Rec, HIGH); // record 10sec
lcd.setCursor(0,1);
lcd.print("Rec: HIGH ");
delay(10000);
digitalWrite(Rec, LOW); // end record
lcd.setCursor(0,1);
lcd.print("Rec: LOW ");
delay(5000);
digitalWrite(Play, HIGH); // play
lcd.setCursor(0,1);
lcd.print("Play: HIGH");
delay(100);
digitalWrite(Play, LOW); // stop play
lcd.setCursor(0,1);
delay(10000);
lcd.print("Play: LOW ");
}
'2) Sensor > Sound' 카테고리의 다른 글
Sound recordable module 10sec [S191] (0) | 2016.09.17 |
---|---|
Sound Control LED Lamp Module [S175] (0) | 2016.09.17 |
Small Sound Detection Module (KY-038) [S053] (0) | 2016.09.17 |
Big Sound Detection Module (KY-037) [S052] (0) | 2016.09.17 |
Voice Recognition Module V3 [S134] (0) | 2016.09.07 |