Infrared Remote Controller with ESP8266 WiFi-module
You can control your home appliances with your smartphone or laptop.
The latest information is
here Main parts
ESP-WROOM-02 (ESP8266 WiFi Module)
The Device’s Appearance
How to Use
Setup the Device
Supply power to the device.
Connect your cellphone or laptop to Wi-Fi SSID “IR-Station”.
http://192.168.4.1 in a browser Enter Wi-Fi SSID of your home and its password
Enter a device name you like. We call it the hostname. Because it will be a part of URL, you cannot use space character.
If connection succeeded, IR-Station’s local IP address is displayed. Please make a note of it.
Connect your cellphone or laptop to your home’s Wi-Fi.
Access http:/xxx.xxx.xx.xx (IR-Station’s local IP address) in a browser. (for example
http://192.168.11.3 ) If something appears, setup is complete.
Access http:/192.168.xx.xx (one example) in a browser. 1. Look at the form of the bottom of the screen.
Select “record a new Signal” action.
Select a channel you want to assign a new signal.
Enter a name of the signal.
When you click the “Submit” button, the green LED of your IR-Station will light up.
Press a button on your remote controller toward your IR-Station to store a new signal.
Access your IR-Station in a browser.
Click a button which assigned a signal you want to send.
Meanings of LED Indicator
How to Make
Please Add the Libraries below to your Arduino IDE
Gather the components.
Assemble the components according to the circuit diagram.
Connect the device and the PC with a serial-to-USB conversion module.
Prepare Arduino IDE and serial-USB converter’s driver.
Open the preferences of Arduino IDE and fill in this URL:
http://arduino.esp8266.com/stable/package_esp8266com_index.json to “Additional Boards Manager URLs”. Add “Generic ESP8266 Module” in the Arduino IDE Board Manager.
Add the required libraries to your Arduino IDE in the Arduino IDE Library Manager or zip files.
Open IR-station firmware in the Arduino IDE.
Select “Generic ESP8266 Module” and configure each item of board settings properly. See Arduino Board Settings below.
Select correct serial COM port and upload program to the device. When upload program, GPIO0 and GPIO2 must be pulled-up, and GPIO15 must be pulled-down. It’s necessary to reset the devie immediately before upload. It’s a little difficult.
The uploading takes about 30 seconds.
Upload the SPIFFS data: menu -> tool -> ESP8266 Sketch Data Upload. (See
https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md) Process termination.
Arduino Board Settings
ESPino (ESP-12 Module)
ESP8266 WiFi Module
anything maybe OK
output: 3.3V 500mA
Resistor for IR LED
4.7 ohms, 1W
Resistor for LED
Resistor for IR receiver
Capacitor for IR receiver
Power Stabilization Capacitor
up to 350mA
Serial-to-USB conversion Module
such as FT232
PCB pattern sample
IR data JSON format
uint16_t microseconds_high, uint16_t microseconds_low, uint16_t microseconds_high, uint16_t microseconds_low, ...
HTTP API v1.5.0
setup form page
a list of (string)
a list of existing WiFi SSID
IP Address or “false”
confirm if WiFi connection is established and reboot the device
ssid, password, stealth, hostname
set the device as Station Mode
set the device as AP Mode
local_ip or “false”
main page of IR-Station
a json includes the device information
row, column, name
id, row, column
irJson, row, column
local_ip, subnetmask, gateway
"code":0 or -1,