I would like help to do an ALARM , I want to connect a digital sound sensor to ESP8266-01 to send a message by MQTT and then Telegram.- Thanks
Hi.
Can you be a little more specific?
What is exactly the problem you’re facing?
Regards,
Sara
Hi Thanks for your supporT
I have an old fire alarm ( that makes a loud sound) an I would like to put aside an ESP8266-01 with a sound sensor that sends a message by “Telegram app” when the alarm is triggered. I would like some help with de code.
Thanks
Hi Raul.
We don’t write custom code for our readers.
If you already have something lined up, we can help.
We have tutorials both about Telegram and sound sensor: https://randomnerdtutorials.com/guide-for-microphone-sound-sensor-with-arduino/
I suggest that you start with simple examples to see how everything works and then try to put things together.
Here’s what you need to do in your code:
- read the value from the sound sensor
- check if the value from the sensor is below or above a certain threshold
- if the value goes above a certain threshold (the alarm is on), then send a message via Telegram.
I hope this helps.
Regards,
Sara