Tag Archives: Air Conditioner

Preview: A.IR Shield ESP8266/ESP32 Tx, a high-end IR Shield

A.IR Shield ESP8266/ESP32 Tx for AnalysIR with IR Blasters

The latest member of our MakeIR series of devices & kits is the A.IR Shield ESP8266/ESP32 Tx. This shield works out of the box with AnalysIR and is essentially plug & play, with additional custom Firmware options. This shield is a ‘sibling’ to our related TRx shield, and features IR multi-send only vs the send & receive of the TRx shield. The shield plugs into a Wemos D1 Mini (ESP8266) with headers or any pin-compatible clone (e.g. ESP32 Mini D1). Although designed specifically for AnalysIR, users can also upload any sketches that run on the ESP for Infrared remote control projects by customising the included firmware. A.IR Shield ESP8266/ESP32 Tx is built with only the highest quality IR components available and boasts dual Infrared emitters with configurable IR Power. The supplied firmware uniquely supports hardware PWM for sending IR signals (on ESP8266). Continue reading Preview: A.IR Shield ESP8266/ESP32 Tx, a high-end IR Shield

Preview: A.IR Shield ESP8266 TRx, a high-end IR Shield

The latest member of our MakeIR series of devices & kits is the A.IR Shield ESP8266 TRx.

A.IR Shield ESP8266 TRx with Wemos D1 Mini

This shield works out of the box with AnalysIR and is essentially plug & play, with additional custom Firmware options. The shield plugs into a Wemos D1 Mini (ESP8266) with headers or any pin-compatible clone. Although designed specifically for AnalysIR, users can also upload any sketches that run on the Wemos for Infrared remote control projects by customising the included firmware. A.IR Shield ESP8266 TRx is built with only the highest quality IR components available and boasts dual Infrared emitters with configurable IR Power. The supplied firmware uniquely supports hardware PWM for sending IR signals.

A.IR Shield block diagram ESP8266 TRx
A.IR Shield block diagram ESP8266 TRx

We have provided a link below to the product data sheet and would welcome feedback on additional, nice to have or missing features, if any. Please read the data sheet for a more detailed description of the A.IR ESP8266 TRx shield. The shield is now available to purchase via our web shop.

A.IR Shield ESP8266 TRx Wemos D1 Mini sidebyside
A.IR Shield ESP8266 TRx Wemos D1 Mini side-by-side

Custom Firmware

Although designed to work with AnalysIR, users can customise the provided firmware to send and receive IR signals via web requests, thus making integration into projects easy. More advanced users can integrate into platforms like Alexa or similar.

Also check out our example for creating your own IR send sketch for a variety of Signals (Air Conditioner, HEX, RAW & protocol based) using this shield with a Wemos D1 Mini or any ESP8266.

Continue reading Preview: A.IR Shield ESP8266 TRx, a high-end IR Shield

Updated ESP8266 NodeMCU Backdoor uPWM Hack for IR signals

In our previous post we showed how to generate stable IR carrier signals using the ESP8266 NodeMCU module. A feature of the original approach was that the output IR signal was inverted and required some additional circuitry to invert it again before transmission. Since the original post we have figured out a method to output a non-inverted or standard IR signal thus removing the need for the additional circuitry. This is achieved by using what turned out to be a very simple setting hidden deep in the ESP8266 UART registers which is covered below. Like all simple solutions it also threw up some other quirks of the ESP8266 NodeMCU, which were eventually overcome with the addition of a simple resistor. The Updated ESP8266 NodeMCU Backdoor uPWM Hack for IR signals is detailed below – including updated source firmware, new circuit diagram and explanation of the ‘quirk’. Read on….

Esp8266 NodeMCU and MakeIR SendIR module from AnalysIR
ESP8266 NodeMCU and MakeIR SendIR module from AnalysIR

Continue reading Updated ESP8266 NodeMCU Backdoor uPWM Hack for IR signals

ESP8266 NodeMCU Backdoor uPWM Hack for IR signals

We received our ESP8266 NodeMCU several months ago it has been difficult to find a working example of Hardware PWM to generate crisp Infrared carrier signals. Most posts we have read suggest that there is no PWM readily available on any of the supported platforms. As we have already shown with Arduinos and the Particle Photon we figured it would be possible to use a spare UART pin on the ESP8266 NodeMCU to achieve our goal.  After some initial success we encountered some watchdog timeouts/resets and it seemed like the uPWM hack would not be possible on the ESP8266 Node MCU platform. For a few weeks we ‘parked’  the effort and today we decided to try again with all of the latest and updated firmware available from the ESP8266 community via the Arduino IDE. This time we were successful and the ESP8266 NodeMCU Backdoor uPWM Hack for IR signals using works!

ESP8266 NodeMCU uPWM Inverted IR Circuit
ESP8266 NodeMCU uPWM Inverted IR Circuit

Continue reading ESP8266 NodeMCU Backdoor uPWM Hack for IR signals

Sending long AC Signals from Flash with IRremote

One of the most popular projects involving Infrared remote control, is to use an Arduino to control an Air conditioner (AC) system. However, AC signals are usually very long and take up a lot of SRAM on a standard Arduino. Experienced users will go about reverse engineering the AC protocol to make the sketch fit within the 2K Bytes of SRAM. Many hobbyists will struggle, even with the help of tools like AnalysIR to guide them. In this post we cover sending long AC Signals from Flash with IRremote. IRremote (along with IRLib) is a popular open-source library for sending and receiving IR remote control signals with Arduino. The demo code covered in this sketch extends our previous sendRAW example by demonstrating how to store many long AC signals in Flash with little or no SRAM overhead.

AnalysIR screen-shot showing the signals captured from the sendRAW_Flash sketch
AnalysIR screen-shot showing the signals captured from the sendRAW_Flash sketch (click or more detail)

Continue reading Sending long AC Signals from Flash with IRremote

ESP8266 NodeMCU Infrared decoding added to AnalysIR

A few months ago a new user to AnalysIR, from Canada, asked us to assist in adding ESP8266 NodeMCU Infrared decoding over WiFi into  AnalysIR. We set about making some upgrades to AnalysIR for this and in double quick time he had AnalysIR accepting IR signals from the ESP8266 over WiFi. He stressed the ease of use of the support within the Arduino IDE for ESP8266 devices and he wasn’t kidding. This motivated us to go and order an ESP8266 for US$3.60 including shipping from Aliexpress. Just the other day the NodeMCU arrived, presumably  delayed somewhat by the extended XMAS holidays & celebrations, in this part of the world. So we set about porting our existing firmware for Arduino & Photon over to the new device.

ESP8266 NodeMCU Infrared decoding with AnalysIR
AnalysIR supports ESP8266 NodeMCU over WiFi & Serial/USB

ESP8266 NodeMCU now joins a growing list of devices supported for use with AnalysIR, including: Continue reading ESP8266 NodeMCU Infrared decoding added to AnalysIR

AnalysIR Video Tutorial – Reverse Engineering Tool

We have just launched a short 11 minute AnalysIR video tutorial  introducing the use of the Reverse Engineering Tool feature in AnalysIR, which is available via YouTube. The tutorial covers the important points in reverse engineering in infrared signal of a Toshiba Air  Conditioner. We focus in on the temperature field and show the process to identify the bits within the signal related to the temperature. Users of AnalysIR can follow this process to reverse engineer their own signals using this powerful tool.

Continue reading AnalysIR Video Tutorial – Reverse Engineering Tool

AnalysIR Video Tutorial – Checksum Calculator

We have just launched a short 6 minute video tutorial for AnalysIR introducing the use of the Checksum Calculator feature in AnalysIR, which is available via YouTube. The tutorial covers the steps to verify the position and type of checksums that are typically found in Air Conditioner infrared signals. The types of checksums covered include:

  • XOR
  • SUM
  • CRC-6
  • CRC-16
  • …for both bytes and nibbles.

Continue reading AnalysIR Video Tutorial – Checksum Calculator

Simple Infrared PWM on Arduino, Part 3 – Hex IR Signals

In Part 1 of this series, we demonstrated how to send signals using soft or Simple Infrared PWM on Arduino. In our Part 2 post we looked at sending RAW IR signals – specifically a RAW NEC signal and a longer RAW Mitsubishi Air Conditioner signal using soft PWM. We have since improved the PWM method shown in Part 1 Part 2 to provide better performance and improve portability. In this Part 3, we will take the signals from Part 2 and show how to send them using their binary (or Hex) representation, which can save lots of SRAM in many projects, particularly when dealing with longer AC signals.

Original NEC 32-bit and Mitsubishi 88-bit Signals displayed using AnalysIR
Original NEC 32-bit and Mitsubishi 88-bit Signals captured using AnalysIR

Continue reading Simple Infrared PWM on Arduino, Part 3 – Hex IR Signals

Preview: A.IR Shield Nano, a high-end Infrared Shield for AnalysIR, IRremote & IRLib

The fifth member of our MakeIR series of devices & kits is the A.IR Shield Nano. This shield works out of the box with AnalysIR and is essentially plug & play , with additional prototyping options. The shield comes attached to an Arduino nano compatible device (clone). Although designed specifically for AnalysIR, users can also upload IRremote, IRLib or any Arduino sketches that run on the Nano. A.IR shield is built with only the highest quality IR components available and boasts dual Infrared emitters with configurable IR Power.

A.IR block diagram
A.IR Shield Nano block diagram

We have provided a link below to the preliminary product data sheet and would welcome feedback on additional, nice to have or missing features, if any. Please read the data sheet for a more detailed description of the A.IR shield. Continue reading Preview: A.IR Shield Nano, a high-end Infrared Shield for AnalysIR, IRremote & IRLib