• 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 6 months 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 6 months 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 6 months 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 6 months 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 6 months 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

  • [eBook Updated] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

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

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