• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Problem to connect a ESP8266-'01 to sound sensor Alarm and MQTT

Q&A Forum › Category: ESP8266 › Problem to connect a ESP8266-'01 to sound sensor Alarm and MQTT
0 Vote Up Vote Down
Raul Salas asked 5 years ago

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

4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
Can you be a little more specific?
What is exactly the problem you’re facing?
Regards,
Sara

0 Vote Up Vote Down
Raul Salas answered 5 years ago

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
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

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

0 Vote Up Vote Down
Raul Salas answered 5 years ago

Thanks a lot I will try that

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.