Skip to content

IR remote controller embedded on ESP32 to control a TV and an air conditioner through your browser.

Notifications You must be signed in to change notification settings

shimmy-void/smart_remocon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Remocon (Smart Remote Controller)

Features

  • can send control signal to TV (Toshiba 32R1) and air conditioner (Fujitsu AS-AH402M) using ESP32 DevKitC and IR LED.
  • can operate as a web server so that you can send commands from your smart phone

Circuit

Circuit

Usage

The project is built for VSCode with platformIO extension.

The OTA functionality is used to upload firmware and web front-end files in this example.

  1. Clone this repository on a directory.

    git clone https://github.com/shimmy-void/smart_remocon.git
  2. Create a file to make configuration for wifi connection in src/wifi_setting.hpp and edit it as the following:

    const char* ssid = "<YOUR_WIFI_SSID>";
    const char* password = "<YOUR_WIFI_PASSWORD>";
  3. Assign a IP address for the ESP32 in your router.

    In this example, a local IP address 192.168.1.101 is set for the ESP32.

  4. Edit platformio.ini to set the assigned IP address for the ESP32.

    upload_port = <YOUR_ESP32_IP_ADDRESS>
    
  5. Upload files of web contents (files in data folder) using OTA.

    Click the platformIO icon on the Activity Bar, and then click the following button: PROJECT TASKS > Platform > Upload Filesystem Image OTA

  6. Build the source code and upload the binary to the ESP32.

  7. Open a browser and go to 192.168.1.101/, then you will see the interface like the following image if the ESP32 could successfully connet to the Wifi and you could connect it.

interface1 interface2

Interface

  • TV

    : Toggle power on/off

    : Turn volume high

    : Turn volume low

    : Mute

    : Change input

    : Show programs

  • Air Conditioner

    : Toggle power on/off

    : Change mode to Auto

    : Change mode to Heat

    : Change mode to Cool

    : Change mode to Dry

    : Change mode to Fan

    : Toggle Economy mode on

    : Toggle Clean mode on

    : Toggle Powerful mode on

    : Toggle Outside Quiet mode (this command is valid only when AC is turned off)

    : Toggle Eco Fan mode (this command is valid only when AC is turned off)

    : Turn Sterilization on (this command is valid only when AC is turned off)

  1. Enjoy it!

Dependency

  • IRremoteESP8266

About

IR remote controller embedded on ESP32 to control a TV and an air conditioner through your browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published