probonopd / ESP8266iTachEmulator

Send infrared remote control signals via WLAN using an ESP8266
MIT License
19 stars 7 forks source link

ESP8266iTachEmulator Build Status

Send and learn infrared remote control signals via WLAN using an ESP8266

irbox

Purpose

Implements sending and receiving/learning of infrared remote control commands using (subsets of)

Compatibility

Known to work with

Example use case

Send and receive/scrutinize infrared remote codes via WLAN from IRScrutinizer

IRScrutinizer

Building

ESP8266iTachEmulatorGUI is the most recent version that should be used. It uses ESP Manager to provide a GUI to set up the WLAN credentials, over-the-air updates, etc.

# Get the libraries
sudo apt-get install -y git
cd $HOME
# rm -rf Arduino/ # Uncomment this if you are sure what you are doing
mkdir -p Arduino/libraries/
cd Arduino/libraries/
git clone -o fee16e8 https://github.com/sebastienwarin/IRremoteESP8266.git
git clone -o 62b9ebf https://github.com/sui77/rc-switch.git
git clone -o 847a608 https://github.com/probonopd/ProntoHex.git
git clone -o 6c902fb https://github.com/sticilface/ESPmanager.git
git clone -o bfde9bc https://github.com/me-no-dev/ESPAsyncWebServer.git
git clone -o 5987225 https://github.com/me-no-dev/ESPAsyncTCP.git
git clone -o 409ca7e https://github.com/bblanchon/ArduinoJson.git

# Get the SPIFFS uploader if you don't have it yet
mkdir $HOME/Arduino/tools
cd $HOME/Arduino/tools
wget -c "https://github.com/esp8266/arduino-esp8266fs-plugin/releases/download/0.2.0/ESP8266FS-0.2.0.zip"
unzip ESP8266FS-0.2.0.zip
rm ESP*.zip
cd -

# Then compile with
Arduino-1.6.11.hourly201608161225.esp497d19d-x86_64.AppImage

# Upload the SPIFFS for the ESP Manager from the ESP Manager sample sketch using the SPIFFS uploader.

Hardware

Minimal hardware needed for sending:

Circut for sending:

Circut for receiving:

Improvements regarding the hardware setup welcome!

Issue with this hardware setup:

Versions of libaries known to work

Debugging

Connect with telnet to port 22 for debug output. I am using this debug port instead of/in addition to a serial line.

TODO

Pull requests welcome!

Credits