Sound Sensor
Sound Sensor
The sound sensor, as is obvious from the name, is a sensor capable of responding to sound
signals. It is possible using this sensor not only to detect the sound but also to adjust the sensitivity of
the sound to be detected as well as the time for which to respond. The sound sensor uses a microphone
to detect the sound signal, while the other components on the board control the time as well as the
sensitivity of the sensor.
DIAGRAM:
1.
2.
3.
4.
Audio input
Timer
Counter
Output unit
AUDIO INPUT:
In this part of the sensor a microphone is connected which receives the sound and converts it
into a corresponding electric current but the strength of that current is very low. An audio amplifier is
also connected in this unit which amplifies the very low electric current to a high strength electric
current. The sensitivity of the sensor can be adjusted through a potentiometer (variable resistor)
connected on the sound sensor represented as SENSE. If the potentiometer is to be rotated in clock
wise direction its sensitivity decreases and in anticlockwise direction sensitivity increases.
TIMER:
The major role of the timer present here is to provide a time delay. Suppose you want your
robot to move forward for certain period of time or you want your robot to take a 180 degree turn
when you clap or so on. In such cases we need the use of a timer. The timer circuit either takes input
from audio input unit or a switch present on the board. If you press the switch or make a clap the timer
will be activated and it will remain active for certain period of time. The time period of the timer can be
adjusted through a potentiometer (variable register) named as TIME. If the potentiometer is to be
rotated in clock wise direction the time period decreases and in the anti clockwise direction the time
period increases. The status of the time can be seen on LED1. LED1 turns on when the timer is activated
and off when the time period is completed.
The output of the timer can be fed to the robot through a set of berg strips named as TIMER
OUT as shown in fig-3. These three pins of the berg strip are Data, +ve and ve. These pins should be
connected to the motherboard with the help of a 3-band connector cable with the proper convention of
Data, +ve and ve. Power supply to sound sensor is provided by the motherboard through +ve and ve
pins and sound sensor sends data to motherboard through the data pin. The data pin of TIMER OUT pins
send a logic-0 when timer is activated and sends a logic-1 when timer stops.
COUNTER:
The timer unit gets input from audio input circuit and gives output to the counter unit along
with the LED-0 and TIMER OUT pin. On reading the output from the timer circuit the counter circuit
starts counting from 0 and on each input from the timer circuit (by a clap or pressing the switch) the
count is incremented by 1 up to 3 after which it again becomes zero. The output of this unit is reflected
on LED-2 and LED-3. The status of the LEDs on each count is represented in table below. LED-1 will glow
for certain period of time as adjusted on the time port when this sensor detects a clap. The sensor will
not accept any clap or sound when the timer is active.
COUNT VALUE
0
1
2
3
LED-2
OFF
OFF
ON
ON
LED-3
OFF
ON
OFF
ON
The output of the counter is fed to the motherboard through two female connectors DATA-1
and DATA-2 present on bottom side of the sensor module as mentioned in the fig-4. These connect
follows the same convention of Data, +ve and ve as per the connectors explained before. To connect
these connectors with your mother board you need not have to connect any connector you can place
the board directly on top of the berg strips present on the motherboard. The data pins of this connector
send a logic-1 when the LED corresponding to it is on and sends a logic-0 when the LED corresponding to
that pin is off.
OUTPUT UNIT:
The output unit of sound sensor basically consists of LED-1, LED2, LED-3, TIMER OUT, DATA1,
and DATA3. Through LEDs we are able to view the status of the sensor and through the pins we can send
the data to the motherboard. The details about the LEDs and data pins have been mentioned above.
Website: - www.technophilia.co.in
Email: - [email protected]
Last update: - September 2010