Skip to content
isushaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

RapidHelp

A simple ESP32 project that sends an emergency alert message to a Telegram bot when a physical button is pressed three times in quick succession.

Hardware Setup

  • Controller: ESP32
  • Button: Standard tactile button
  • Wiring: Connect one side of the button to GPIO 21 and the other side to GND. The code utilizes the built-in pull-up resistor.

Getting Started

  1. Dependencies: Ensure the UniversalTelegramBot library is installed in your development environment.

  2. Configuration: Open the main.ino file and update the following placeholders:

    • YOUR_WIFI_SSID: Your Wi-Fi network name.
    • YOUR_WIFI_PASSWORD: Your Wi-Fi network password.
    • YOUR_TELEGRAM_BOT_TOKEN: The token provided by BotFather.
    • YOUR_TELEGRAM_CHAT_ID: Your Telegram Chat ID.
  3. Upload: Compile and upload the code to your ESP32 board.

How It Works

  • Debouncing: Includes a software debounce delay to ensure accurate detection.
  • Rapid Input: Supports rapid clicking with 300ms intervals.
  • Trigger: Sends an emergency message after 3 consecutive clicks and resets the counter.
  • Safety: The system waits for the button release to prevent accidental repeat messages.

License

This project is open-source and released under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages