128
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
''07.12.22'' | |||
=='''Analog sound sensor and ultrasonic distance sensor'''== | |||
https://wiki.keyestudio.com/KS0035_Microphone_Sound_Sensor_with_Potentiometer | |||
Analog sound sensor includes a microphone sensor to detect ambient sounds and loudness of them. In some sources usage is recommended with an audio analyzer module(https://www.dfrobot.com/product-514.html) to differentiate different frequencies. | |||
https://www.sparkfun.com/products/15569 | |||
Ultrasound distance sensor consists of a trigger and receiver parts, one is releasing ultrasonic waves and the other is receiving the reflected waves to calculate the distance from the duration of the bouncing time. | |||
'''connecting to Arduino''' | |||
Analogue sound is connected to the analog pin, while trigger and receiver pins of the ultrasound sensor are connected to two different digital pins. | |||
To see the differences in the values, I put some track on the bluetooth speaker and moved it in front of the distance sensor. | |||
[[File: sd_jbl.JPG]] | |||
edits