One of our users from Italy, Guido, was tasked with upgrading an old in-house WRC system to allow the team of Sport’s Journalists to access the rack of satellite receivers relaying the various sports events around the building. The challenge is that all of the STB (Set Top Boxes) are located in a dedicated room away from the Journalist’s desks and it is impractical for them to manually change the stations when working to tight deadlines. Previously there was a system in place to remotely switch feeds, but Guido needed to upgrade the system to handle the ever growing number of devices and Infrared protocols. Luckily, he found AnalysIR during his research to implement ‘a hack for Hacks using AnalysIR‘.
In this blog post we follow up on our recent article about generation of infrared PWM from the Photon’s UART where we suggested that it may be possible to achieve something similar with the Arduino. In our previous attempt the Arduino was only able to generate PWM at 40 kHz and 33 kHz using the same approach. After some investigations we discovered a new approach which provides an even better set of results using the Arduino’s USART. Yes, we were able to generate 30, 33, 36, 38, 40 , 56 and surprisingly the illusive 455 kHz which was not possible on the Photon (using this approach). Read on for the details. Readers should also study our original series of articles on ‘softPWM‘ for a better understanding of the source code which can be downloaded below.
We have just posted a 25 minute LearnIR video tutorial introducing the GUI (Graphical User Interface) of LearnIR, which is available via YouTube. The tutorial covers the important features available with LearnIR through the GUI. We cover each of the feature tabs in the Windows application including Learning, Configuration, Utilities, Library, Debug mode and firmware updating.
Continue reading LearnIR Video Tutorial GUI Introduction
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.