ESP32-BT-TempControl

This project implements a Bluetooth-based temperature monitoring and relay control system using an ESP32 microcontroller. It consists of two main components: a master device and a slave device. Alt text

Features

Hardware Requirements

Software Dependencies

Installation

  1. Install the Arduino IDE and ESP32 board support.
  2. Install the required libraries:
    • BluetoothSerial (comes with ESP32 board support)
    • DHT sensor library
  3. Clone this repository or download the source code.
  4. Open the .ino files in Arduino IDE.

Configuration

Master Device

Slave Device

Usage

  1. Upload the master code to one ESP32 and the slave code to another.
  2. Power on both devices.
  3. The master device will automatically try to connect to the slave.
  4. Once connected, the slave will start sending temperature and humidity data every 10 seconds.
  5. Send “Relay_on” or “Relay_off” from the master device to control the relay on the slave device.

Contributing

Contributions to improve the project are welcome. Please feel free to submit a Pull Request.

Profile

Check out my GitHub profile: Esmail Sarhadi

View this project on GitHub: ESP32-BT-TempControl

Donation

If you find this project helpful, consider making a donation:

Crypto donation button by NOWPayments

License

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