Tag Archives: Arduino

AnalysIR supports PSOC 4 from Cypress

AnalysIR now provides support for the PSOC 4 Prototyping kit from Cypress. Effective immediately users of AnalysIR can use the kit to act as an Infrared source for AnalysIR. The PSOC 4 Prototyping kits are available from Cypress and via their global distributors for just US$4 plus shipping. To use the kit with AnalysIR you will also need an IR Receiver and an optional IR Learner, which can also be purchased with AnalysIR. Initially, the PSOC Firmware is available on request and will be included as part of the installation package in a future release.

PSOC4 and AnalysIR
PSOC4 and AnalysIR

Continue reading AnalysIR supports PSOC 4 from Cypress

Driving an Infrared Led directly from an Arduino Pin

logobutton200x200A common question asked on forums is one about – Driving an Infrared Led directly from an Arduino pin.  Although the answer may be obvious to anyone with at least a basic knowledge of Ohm’s Law, many are confused about how to choose a resistor value for optimum performance. Often, there is a debate about whether a resistor is required at all, given that the AVR pins are rated to deliver an absolute maximum of 40mA on a pin. (Note: All of the quoted specs in the data sheet are for test conditions of up to 20mA on a pin). Of course there are better ways to drive an IR LED with a transistor circuit or even a constant current circuit. However, in this post we consider only the direct drive circuit using a current limiting resistor, as illustrated in the diagram down below.
Make sure to read the caveats at the end of this post.

Analysis of Voltage & Current for Infrared Led driven by Arduino
Analysis of Voltage & Current for Infrared Led driven by Arduino

Continue reading Driving an Infrared Led directly from an Arduino Pin

Teensy now supported for AnalysIR

A new user of AnalysIR from the Netherlands, wanted to get the AnalysIR firmware working on Teensy 3.x . Although this has not been officially supported, we were happy to support his efforts knowing that it would most likely be a relatively easy exercise, based on past experiences. Needless to say, he was successful in decoding Infrared signals with AnalysIR within a short space of time. Prompted by his interest, we ordered our own Teensy 3.1 to add to our growing collection of 40+ MCUs and although Teensy support is in beta for now, it will be oficially supported for AnalysIR from our next release. In the meantime, users of AnalysIR can just contact us for a copy of the Teensy sketch (firmware).

Teensy 3.1 now supported for AnalysIR
Teensy 3.1 now supported for AnalysIR

Teensy 3.x now joins a long list of devices supported for use with AnalysIR, including: Continue reading Teensy now supported for AnalysIR

Controlling Chigo Air Conditioner via Infrared from smart phone

Anyone who has tried  controlling an Air Conditioner unit using an Arduino, USB IR Toy, RPi or any MCU will know how difficult it can be to record the longer infrared signals they use. Typical TV systems use IR signals circa 32 bits long, while this Chigo AC unit uses a signal with 197 marks & spaces (or 97 data bits). One of our users, Sertunc – from Istanbul in Turkey, reported his success using AnalysIR to easily record the signal timings for his AC unit and sent us the details along with some nice photos. After testing the validity of the recorded signals using an Arduino, he then set about loading the signals onto his Samsung smart phone (models S4, s4 mini, S5 and more supported). This was helped by installing the free ‘Samsung IR – Universal Remote‘ app onto his phone via Google Play.

Samsung IR Remote appSamsung IR Remote app

Continue reading Controlling Chigo Air Conditioner via Infrared from smart phone

Poor maker’s Infrared receiver #2

Our recent post about the silver bullet IR receiver proved very popular and we promised that we would follow-up with another variant of the poor maker’s Infrared receiver. This time we are using an IR Led (emitter), 2 resistors and any standard Arduino. You will also need to download the Arduino code provided below, compile and upload it. One of the most common problems encountered when trying to decode IR signals is that makers don’t always have the appropriate IR receiver for the job in hand or have to wait for one to be delivered by mail. Here we present an affordable method to allow you to use any IR emitter (LED) as a receiver and as a bonus we are publishing the Arduino code to make it all work.

Circuit Diagram: Poor maker's IR Receiver
Circuit Diagram: Poor maker’s IR Receiver

Continue reading Poor maker’s Infrared receiver #2

Infrared Receivers – signal lag and distortion

Many electronics enthusiasts will be familiar with how Infrared receivers demodulate IR signals. In this post we show a visualisation of the time lag and distortion of the signals as they pass through the IR receiver for demodulation and noise filtering.  Most DIY projects use the raw timings from the IR receiver to decode individual signals. However, not many will be aware that IR receivers can distort the signal timings by significant amounts. Fortunately, common IR decoders take this into account and compensate for timing distortions introduced by infrared demodulators / receivers.

Infrared Signal, Modulated & De-modulated
Infrared Signal, Modulated & De-modulated

Continue reading Infrared Receivers – signal lag and distortion

Air Conditioners: Recording long Infrared Remote control signals with Arduino

Recently we have been helping several members on the Arduino forum to record and playback their remote control signals from their Air Conditioners. These signals are typically much longer than those of TVs or common media devices. The 2 most popular libraries for Arduino, IRremote & IRlib are excellent, but have some limitations which we have covered in a previous post. In this post we address one particular issue that is proving challenging to users.

airconremote
Long Infrared signals prove challenging for Arduino users

Continue reading Air Conditioners: Recording long Infrared Remote control signals with Arduino

Arduino: 10 common pitfalls with Infrared Remote Control

Arduino: 10 common pitfalls with Infrared Remote Control
Arduino: 10 common pitfalls with Infrared Remote Control

Over the last few months we have been regular contributors to the Arduino and other forums, answering questions about Infrared remote control projects. It became apparent that beginners typically trip up on many common ‘pitfalls’. So we decided to list off our ‘Top 10’.

 

Continue reading Arduino: 10 common pitfalls with Infrared Remote Control

Latest ‘New Year’ release of AnalysIR with full support for USB IR Toy and more.

Dublin, Ireland – 31st January 2014. We are happy to announce the latest ‘New Year’ release of AnalysIR to all our backers & supporters. Since the completion of the crowd-funding campaign on Indiegogo we have added over 125 updates and enhancements to AnalysIR, with more to come.

AnalysIR Screenshot
AnalysIR Screenshot

A major highlight of this release is full AnalysIR support for USB IR Toy from Dangerous Prototypes (V1 & V2 hardware) for decoding and resending IR signals at all common modulation frequencies. In our opinion, AnalysIR is now the premier GUI supporting DP’s IR toy, not to mention the Arduino, RPi, MSP430 F5529 LaunchPad (beta)  and more. A selection of enhancements in this latest release, include: Continue reading Latest ‘New Year’ release of AnalysIR with full support for USB IR Toy and more.

Follow up: Custom TV infrared remote control using Arcade style console

For anyone following the progress of our ‘Custom TV Infrared remote control’ for the SKY+ box, we received it back for some upgrading over the last week and tomorrow (weather permitting – there are lots of high winds in Europe today, with many flights being cancelled) it will be flown back to its owner, with several upgrades on board.

 

Custom SKY+ IR Remote control, by AnalysIR
Custom SKY+ IR Remote control, by AnalysIR

Continue reading Follow up: Custom TV infrared remote control using Arcade style console