KY-008 Laser Module X Laser Detector X ISD1820 Voice Recording Module

26,532

42

5

We've just found a great module that can give you more possibilities and this is Laser Detector. It can detect laser with the transparent sensor and send high or low output to Arduino. Using with KY-008 Laser Module together you can make it as a switch and instruct Arduino turning on / off something. You can also find a set with this link.

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.

eLab Peers Einsboard is fully compatible with Arduino UNO R3 and SparkFun RedBoard with much better pricing. Improvement of LEDs location and reset signal from FTDI are also made on this board.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: ISD 1820 Voice Recording Module

You can control this module by either pressing buttons directly or by Einsboard. For controlling onboard connecting VCC and GND to the power source. For Einsboard, the wiring is as follow:

VCC > 5V on Einsboard

GND > GND on Einsboard

REC > Digital 11 on Einsboard

P-E > Digital 13 on Einsboard

The following is the code of instructing this module, you can also download it in:

https://www.elabpeers.com/isd1820-voice-recording-...

int Rec = 11;

int Play = 13;

void setup()

{

pinMode(Rec, OUTPUT);

pinMode(Play, OUTPUT);

}

void loop()

{

digitalWrite(Rec, HIGH);

delay(10000);

digitalWrite(Rec, LOW);

delay(5000);

digitalWrite(Play, HIGH);

delay(100);

digitalWrite(Play, LOW);

delay(10000);

}

Step 2: KY-008 Laser X Laser Detector

You can make a switch with this set with just a few steps. The wiring is as follow:

+ on Laser Module > 5V on Einsboard

- on Laser Module > GND on Einsboard

S on Laser Module > Digital 6 on Einsboard

VCC on Laser Detector > 5V on Einsboard

GND on Laser Detector > GND on Einsboard

OUT on Laser Detector > Digital 7 on Einsboard

Check the code with this link:

https://www.elabpeers.com/ky-008-laser-x-laser-det...

int Laser = 6;

int Detector = 7;

void setup()

{

Serial.begin (9600);

pinMode(Laser, OUTPUT);

pinMode(Detector, INPUT);

}

void loop()

{

digitalWrite(Laser, HIGH);

boolean val = digitalRead(Detector);

Serial.println(val);

}

Step 3: Doorbell and Alarm

Let’s combine two components into one project.

Wiring them to Einsboard as follow:

VCC on Voice Recording Module > 5V on Einsboard

GND on Voice Recording Module > GND on Einsboard

P-E on Voice Recording Module > Digital 8 on Einsboard

+ on Laser Module > 5V on Einsboard

- on Laser Module > GND on Einsboard

S on Laser Module > Digital 6 on Einsboard

VCC on Laser Detector > 5V on Einsboard

GND on Laser Detector > GND on Einsboard

OUT on Laser Detector > Digital 7 on Einsboard

And the code is as below:

int Laser = 6;

int Detector = 7;

int Play = 8;

void setup()

{

Serial.begin (9600);

pinMode(Laser, OUTPUT);

pinMode(Detector, INPUT);

pinMode(Play, OUTPUT);

}

void loop()

{

digitalWrite(Laser, HIGH);

boolean val = digitalRead(Detector);

Serial.println(val);

if (val == 0)

{

digitalWrite(Play, HIGH);

delay(1000);

}

else

{

digitalWrite(Play, LOW);

}

}

Step 4: Result

Let’s try it and create your own project!

Be the First to Share

    Recommendations

    • Instrument Contest

      Instrument Contest
    • Make it Glow Contest

      Make it Glow Contest
    • STEM Contest

      STEM Contest

    5 Discussions

    0
    None
    TuấnN17

    2 years ago

    Hi. Can you give to me datasheet of laser detector? thank you!

    0
    None
    NestaE

    2 years ago

    thanks for share

    0
    None
    kidokwan

    3 years ago

    can this be used to activate a servo motor?

    0
    None
    rafaelnfs

    3 years ago

    I want to use but in my motorcycle , with PIR sensor, (i gonna recorded a dog barking ) xD thanks for instructable