Category Archives: Arduino

KontroLIR is available for limited preorder now

KontrolIR - the first  Arduino compatible IR remote control (Arduino Compatible)
KontroLIR

Just a quick note to say that KontroLIR is available for limited preorder now. Check out he following links for details:

Shop: preorder KontroLIR here
Blog: Previous blog post about KontroLIR
WiKi: Full documentation is available via the KontroLIR wiki

Continue reading KontroLIR is available for limited preorder now

KontroLIR – the first Arduino compatible IR remote control

KontrolIR - the first  Arduino compatible IR remote control (Arduino Compatible)
KontroLIR

We are excited to announce our newest product KontroLIR – the first Arduino compatible IR remote control. Users can now design their very own Infrared remote to work exactly how they want. The possibilities are unlimited. Customize the fully featured firmware within the Arduino IDE to your own needs or just add your own signals to the pre-configured 5 device/225+ buttons. Sketches are uploaded over Serial USB I/F from the Arduino IDE – just like any other sketch. KontroLIR features an ATmega328PB, a high power emitter, an indicator LED and is powered by 2xAAA alkaline batteries. Low power operation is already implemented with ~1uAmp idle current for long battery life. Available options include IR Receiver, IR Learner, 16 to 256KBytes I2c EEPROM and a serial USB adapter for uploading your sketch from the IDE. KontroLIR supports IRremote, IRLIB and is tightly integrated with our own AnalysIR Application.

Continue reading KontroLIR – the first Arduino compatible IR remote control

IR Signal Plotter for IRremote & Arduino

We are delighted to present here a new sketch which implements a basic IR Signal plotter for IRremote. The sketch runs on an Arduino and makes use of the Serial Plotter feature of the Arduino IDE. Although there is no comparison to our powerful AnalysIR application, it may prove useful for beginners to get a quick overview of the shape of their IR remote signals.

Screenshot of IR Signal Plotter for IRremote
Screenshot of IR Signal Plotter for IRremote
Continue reading IR Signal Plotter for IRremote & Arduino

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

Troubleshooting the Big Button Infrared remote control with AnalysIR

Marco is  a volunteer for an organization (NSW Australia) that builds custom aids for people with disability, and has recently been looking at a project to create a ‘very large button’ IR remote control for a cable TV Set Top Box (STB). The custom unit needed basic functions (Channel Up/Down, Volume Up/Down and Power On/Off). Commercially available large button remotes have buttons that are still too small and/or they have too many buttons. Soon he hit a roadblock trying to capture some difficult Foxtel signals and searched all over the web looking for a solution. Needless to say, nothing worked out for him until he came across AnalysIR via Google. Once he started Troubleshooting the Big Button Infrared remote control with AnalysIR the root cause of his problems became obvious.

Troubleshooting the Big Button Infrared remote control with AnalysIR
Marco’s Big Button Infrared Remote control

Continue reading Troubleshooting the Big Button Infrared remote control with AnalysIR

Backdoor uPWM Hack on Photon for Infrared signals using UART

Since we received our Photon several months ago it has been difficult to find a working example of Hardware PWM on the Photon. Initially, we ported our softPWM approach to the Photon, which is excellent. However, we figured it must be possible to use at least one of the spare UARTs on the Photon to achieve our goal. So first we started prototyping on the Arduino and quickly got a working example with some limitations – only 40 kHz and 33 kHz carrier frequencies were possible with the UART without delving into the registers a bit more. Then we moved the code over to the Photon, leveraging our previous softPWM examples, upgraded with the Arduino code – EUREKA! The Backdoor uPWM Hack on Photon for Infrared signals.

uPWM Circuit diagram for Photon
uPWM Circuit diagram for Photon using UART

Continue reading Backdoor uPWM Hack on Photon for Infrared signals using UART

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

Simple Infrared PWM on Arduino, Part 2- RAW IR Signals

In Part 1 of this series, we demonstrated how to send signals using simple Infrared PWM on Arduino. In this Part 2 post we look at sending RAW IR signals – specifically a RAW NEC signal and a longer RAW Mitsubishi Air Conditioner signal. We have also improved the method shown in Part 1 due to some issues we identified when sending ‘real’ signals versus the ‘test’ signal we used before. (More on that later). In Part 3, we will take the signals from this post and show how to send them using their binary (or Hex) representation, which saves lots of SRAM.

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

Continue reading Simple Infrared PWM on Arduino, Part 2- RAW IR Signals

Simple Infrared PWM on Arduino

We are often asked on discussion boards, about conflicts between IRremote or IRLib and other Arduino Libraries. In this post, we present a sketch for ‘Simple Infrared PWM on Arduino’. This is the first part in a 3 part series of posts. Part 1 shows how to generate the Simple Infrared PWM on Arduino (AKA carrier frequency), using any available IO pin and without conflicting with other libraries. Part 2 will show how to send a RAW infrared signal using this approach and Part 3 will show how to send a common NEC signal from the binary or HEX value.

Example 56kHz generated Infrared signal @ 50% duty cycle
Example 56 kHz generated Infrared signal @ 50% duty cycle

Continue reading Simple Infrared PWM on Arduino