Quantcast
Viewing all articles
Browse latest Browse all 5203

SDK • IR transmission (ideally with PIO, but not necessarily)

Apologies to anyone who read a different version of this question in Micropython.

I am wanting to send IR codes from a Pico/Pico W. I see that in pico-examples there is some code that does just this for the NEC protocol.

As luck would have it, I need to use three different protocols - Samsung, Denon and RC5.
Samsung is, as I understand it, an "extended" version of the NEC protocol, using 32 bits rather than 16, RC5 sends 12 data bits, and Denon sends 48.

Aside from the NEC IR example, what would be a good place to start looking for examples that deal with sending more than 32 bits of data as a PWM pulse train?

My goal is to replace an ESP8266 which is currently running Tasmota-IR firmware that is acting as an IR blaster with a Pico W.

Despite appearances to the contrary, I have many years of C/C++ coding commercially, and a few years of embedded development in the same, with occasional forays into uPython.

I am not really looking for code that does just what I want, as I assume I will have to write considerable parts of it - as the proverb goes, I want to learn to fish, not be given the fish...

So any pointers to the river would be gratefully received.

Statistics: Posted by SteveSpencer — Tue Mar 26, 2024 1:47 pm



Viewing all articles
Browse latest Browse all 5203

Trending Articles