Phone: +86-20-8520 1025       Email: SALES@FRIENDLYARM.COM / techsupport@friendlyarm.com Forum    Wiki

  • Shopping Cart
  • Login
  • Register
  • CPU Module
  • Mini Board
    • Cortex-A9(Quad-Core)
    • Cortex-A8
    • ARM11
    • ARM9
  • NanoPC & NanoPi
  • Hats & Docks
  • Enclosure & Holder
    • 3D Printed
    • Acrylic
    • Metal
    • Plastic
  • Matrix Accessories
    • Actuator
    • Camera
    • Communication
    • Display
    • GPS
    • Heat Sink
    • Power
    • Sensor
    • Serial Comm Board
    • SSD/MicroSD
    • Others
  • BakeBit Sensors/Modules
  • LCD Module
  • Value Pack & Kit
FriendlyElec

Login | Register

  • Home
  • Downloads
  • Forum
  • Wiki
  • Information
    • About Us
    • Privacy Policy
    • Terms & Conditions
  • Distributor
  • FreeBoard
  • Matrix Accessories
  • Sound Sensor MIC-01
Sound Sensor MIC-01 Sound Sensor MIC-01 Sound Sensor MIC-01 Sound Sensor MIC-01
Sound Sensor MIC-01

Sound Sensor MIC-01

0 reviews / Write a review
  • $99,999.00
(USD)
Buyer responsible for payment of duty.
  • Availability: Out Of Stock

  • Brand: FriendlyElec
  • Product Code: MIC-01


  • Description
  • Reviews (0)

1 Introduction

By default this module's output level is high. When it detects sound signals its output level will turn low. When sound signals are not detected its output will turn high again without time delay. There is a variable resistor which you can use to control the threshold value of a sound volume. Only when a sound volume's value is greater than this threshold value the module can detect it. Turning clockwise increases this threshold value. Turning anticlockwise decreases this value.

2 Features

  • Variable threshold value
  • 2.54mm spacing pin interface

3 How To

  • Connect to Tiny4412 SDK (1506)

    GND: Ground

    V: 5V

    S: GPIO PIN1

Code Sample in C Under Linux

#include <stdio.h>
#include "libfahw.h"
 static struct sensor sound[] = {
{
TINY4412_GPIO_PIN1,
IRQ_TYPE_EDGE_BOTH,
}
};
 int main(void)
{
int i;
int retSize = -1;
char value[ARRAY_SIZE(sound)];
int devFD = -1;
if ((devFD =sensorInit(sound, ARRAY_SIZE(sound))) == -1) {
printf("Fail to init sensor ");
return -1;
}
  if (( retSize = sensorRead(devFD, value, ARRAY_SIZE(sound)) ) == -1) {
printf("Fail to read sensors ");
}
if (retSize > 0) {
i = 0;
for(i=0; i<retSize; i++)
{
printf("sound[%d]:%d ", i, value[i]);
}
printf(" ");
}
sensorDeinit(devFD);
return 0;
}

Compile and Run

git clone http://github.com/friendlyarm/fa-hardware.git
cd fa-hardware
cd demo
cd matrix-sound_sensor
make

Copy your compiled bin to your board and you are ready to go.

Resources


Write a review

Write a review

Note: HTML is not translated!
    Bad           Good
Recently viewed
Sound Sensor MIC-01

Sound Sensor MIC-01

1 Introduction By default this module's output level is high. When it detects sound signals its o.....

$99,999.00


Power & Source of Big Ideas

Follow us
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Newsletter

New in alerts - Sign up to our Newsletter.

Contact Us
  • Room 118,Building A, Shilian Technology Park, No.33 Science Road,Science City,Luogang District, Guangzhou,GuangDong China
  • +86-20-8520 1025
  • sales@friendlyarm.com
  • techsupport@friendlyarm.com
Information
  • About Us
  • Downloads
  • Privacy Policy
  • Terms&Conditions
  • Distributor
  • FreeBoard
Customer Service
  • Contact Us
  • Returns
  • Site Map
My Account
  • My Account
  • Order History
  • Wish List
  • Newsletter


Copyright © 2008-2025 friendlyelec.com All rights reserved.
Top
Categories
  • CPU Module (15)
  • Mini Board (3)
  • NanoPC & NanoPi (35)
  • Hats & Docks (12)
  • Enclosure & Holder (16)
  • BakeBit Sensors/Modules (2)
  • Matrix Accessories (74)
    • Actuator (8)
    • Camera (6)
    • Communication (7)
    • Display (5)
    • GPS (0)
    • Heat Sink (8)
    • Power (6)
    • Sensor (12)
    • Serial Comm Board (1)
    • SSD/MicroSD (9)
    • Others (11)
  • LCD Module (16)
  • Value Pack & Kit (11)