SKU_BOS0009_Sound_Sensor_i9-DFRobot

Introduction

MIC sensor is a microphone-based sound sensor for ambient sound detection. It acts like a microphone, which is capable of detecting sound intensity and converting sound energy into analog electrical signal. These sensors are more commonly seen in recoder, sound-controlled lighting system, etc.
It works well with maincontrollers like Arduino, micro:bit, etc., and also supports graphical programming platforms such as MakeCode, and Mind+.

Specification

Pinout

BOS0009 Pinout

Label Name Description
1 GND Negative
2 VCC Positive
3 SIGNAL Analog Signal line

Usage Description

There is a black sound picking device on the sound sensor. When we clap or speak loudly in front of the sensor, it feels the vibration of sound so as to generate electric signal.

The louder the sound, the stronger the output signal

Principle

The sensor converts the vibration caused by sound in the black sound picker into electrical output. It has a capacitive electret microphone which is sensitive to sound. Sound waves cause the thin film of the electret to vibrate and then the capacitance changes, thus producing the corresponding changed voltage, which later will be coverted to a voltage of 0 to 5V and collected by the data acquisition unit after being processed by A/D converter.

Application

(1) Light and Sound Interactive Cake

Description: Make a birthday cake. When playing the birthday song and the sound sensor detects the sound, and the colorful LED strip lights up.

Components:

Sound sensor RGB led strip Mainboard
BOS0009 Sound Sensor BOS0019 Colorful LED Strip(Fixed color) BOS0035 Mainboard-3IO
micro:bit microbit expansion board
MBT0039 micro:bit BOS0040 micro:bit BOSON Expansion Board

Tip: micro:bit and its expansion board will be used in programming projects.

Non-programming Project

Connection Diagram:

Programming Project

Connection Diagram:

Programming case

Program Flowchart:

Flowchart

Mind+ Sample Code:

MakeCode Sample Code:

Video Demo

Non-programming Programming
Non-programming Programming

(2) Smart Streetlight

Description: At night, when people walk under the streetlight, the sound sensor detects the sound and the LED lights up for a while and then turns off.

Components:

Sound sensor BOS0004 BOS0017
BOS0009 Sound Sensor BOS0004 Ambient Light Sensor BOS0017 LED Module
BOS0029 BOS0027 BOS0031
BOS0029 Logic "Not" Module BOS0027 Logic "And" Module BOS0031 Duration Module(0 to 6 second)
Mainboard micro:bit microbit expansion board
BOS0035 Mainboard-3IO MBT0039 micro:bit BOS0040 micro:bit BOSON Expansion Board

Tip: micro:bit and its expansion board will be used in programming projects.

Non-programming Project

Connection Diagram:

Programming Project

Connection Diagram:

Connection 2-2

Program Flowchart:

Flowchart 2

Mind+ Sample Code:

MakeCode Sample Code:

Video Demo

Non-programming Programming
Streetlight-1 Streetlight2

(3) Noise Detector (Programming)

Description: Make a noise detector. At night, when the noise from business street exceeds 60(adjustable), the buzzer buzzes and the LED turns on for 3 seconds to warn the relevant people.

Components:

Sound sensor BOS0004 BOS0017
BOS0009 Sound Sensor BOS0004 Ambient Light Sensor BOS0017 LED Module
BO0020 micro:bit microbit expansion board
BOS0020 Buzzer Module MBT0039 micro:bit BOS0040 micro:bit BOSON Expansion Board

Connection Diagram:

BOS0009-Connection 3

Flowchart:

Flowchart3

Mind+ Program:

MackCode Program:

Video Demo

Bos0009 Video Effect

Turn to the Boson Kit Page