<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Infrared on the M5StickC+ and UIFlow, is it me or?]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I am generally coding with VSCode / PIO in C but with a M5StickC+ hanging around I wanted to develop an idea with a small battery powered device to replace some of my tools<br />
The idea is to run multiple programs on the stickc to do various things like measuring distance, send IR codes, identify IR from any remote control etc...<br />
In fact I have already built a small project with an arduino and an IR receiver (KY-022 module) few years ago able to recognise a big amount of IR standards (NEC, SAMSUNG, etc...) and their HEX/DEC code using an easy library found on the internet....it is working like a charm and I have been able to recognise the standard use for all the remote controls I have tested so far.</p>
<p dir="auto">Well long story short I'd like to replace it because it is bulky, 9V battery powered, using old fashion LCD display etc...<br />
This was the opportunity for me to start looking at UIFlow.</p>
<p dir="auto">I could get ready quite fast and I guess I understand now most of the features.<br />
However I have been VERY VERY disappointed by the limited (to say the least) features....<br />
I know the Stickc+ only has a Tx IR, not Rx but still, this is a joke, only limited to NEC standard and that's it? or I am missing something.</p>
<p dir="auto">Anyway I purchased the IR Remote module from M5Stack and same joke, on the IR Rx you can only acknowledge a signal has been received...and it is not working with any remote I have tried (not a range issue, I was 10cm from the module)...no possibility to change from NEC either....<br />
This module is totally useless...at least with the default UIFlow</p>
<p dir="auto">Now I am trying to come back to my trusty KY-022 plugged on StickC+ GPIO but I need external libraries.</p>
<p dir="auto">I understand you can load external <a href="http://lib.py" target="_blank" rel="noopener noreferrer nofollow ugc">lib.py</a> files on the stickc+ memory and load them with Execute module.<br />
Then I guess I should create some Custom blocks to include the code from the lib and extend the IR functionalities?</p>
<p dir="auto">Do you think this is the right way to do it in UIFlow, does someone have any experience with external micropython IR libraries in UIFLow?</p>
<p dir="auto">Thanks a lot!<br />
Eric</p>
]]></description><link>https://community.m5stack.com/topic/5018/infrared-on-the-m5stickc-and-uiflow-is-it-me-or</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 21:46:43 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5018.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Jan 2023 19:36:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Infrared on the M5StickC+ and UIFlow, is it me or? on Fri, 12 Jan 2024 18:11:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5210">@erich</a> could you share some of your IR code? I would like to send the IR commands so<br />
my disabled brother-in-law can get the weather channel on TV.</p>
<p dir="auto">I've been coding to the ESP32 devices and have an extensive capability for MQTT messaging, support of numerous HAT's, the ATOM Socket, driving stepper motor, OTA updates and BLE.</p>
<p dir="auto">But I've never done any of the IR work. It seems if I can get the right codes it would be easy<br />
to send a message (via MQTT) to trigger doing just that (even from a motion sensor or QR code).</p>
<p dir="auto">I assume I need to receive the IR first, and then play them back.<br />
Any help would be appreciated.</p>
<p dir="auto">thanks,<br />
scott</p>
]]></description><link>https://community.m5stack.com/post/23317</link><guid isPermaLink="true">https://community.m5stack.com/post/23317</guid><dc:creator><![CDATA[konacurrents]]></dc:creator><pubDate>Fri, 12 Jan 2024 18:11:26 GMT</pubDate></item><item><title><![CDATA[Reply to Infrared on the M5StickC+ and UIFlow, is it me or? on Sun, 08 Oct 2023 10:45:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/46536">@gavin67890</a> in case you're still interested, I have resumed my work on the M5StickC plus and the KY-022 IR receiver.<br />
So far I am able to load the external IR library and use the REPL to scan and get information about my IR remote buttons.</p>
<p dir="auto">Means that it works and I can now code the UI stuff !</p>
]]></description><link>https://community.m5stack.com/post/22432</link><guid isPermaLink="true">https://community.m5stack.com/post/22432</guid><dc:creator><![CDATA[erich]]></dc:creator><pubDate>Sun, 08 Oct 2023 10:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to Infrared on the M5StickC+ and UIFlow, is it me or? on Thu, 06 Jul 2023 06:40:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi Gavin,</p>
<p dir="auto">I moved on to some other projects and did not have time to come back to this one yet (even though I would really like to achieve something with IR + M5StickC+).<br />
I found a 3rd party IR library on the internet but it was quite a challenge to integrate it to the M5 ecosystem....work in progress but not much time at the moment.<br />
I'll keep you posted as I resume my work on this.</p>
]]></description><link>https://community.m5stack.com/post/21500</link><guid isPermaLink="true">https://community.m5stack.com/post/21500</guid><dc:creator><![CDATA[erich]]></dc:creator><pubDate>Thu, 06 Jul 2023 06:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to Infrared on the M5StickC+ and UIFlow, is it me or? on Tue, 04 Jul 2023 09:10:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi Eric,</p>
<p dir="auto">I feel your IR pain, did you get any further with a solution? It would appear that the IR codes I want to use are possibly NEC extended (not standard because the first 2 bytes/16 bits are 0x00F7). The documentation on how to use IR(NEC) [] address data [] block in UIFlow is poor. I was going to try the IR module, but I'm questioning that decision based on your post above.</p>
<p dir="auto">Basically, I just want to replay a number of IR commands, learned from remote or taken from book, and transmit them from M5StickC and/or Atom. Any help gratefully appreciated.</p>
]]></description><link>https://community.m5stack.com/post/21479</link><guid isPermaLink="true">https://community.m5stack.com/post/21479</guid><dc:creator><![CDATA[gavin67890]]></dc:creator><pubDate>Tue, 04 Jul 2023 09:10:13 GMT</pubDate></item></channel></rss>