<?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[decoding codes from LG air wall controller]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I want to obtain codes from Lg air wall controller. I dissasemble the wall controller and I see three wires: GND, VCC (13,3V measured with a multimeter) and SIGNAL (13,3V too). I bouth a bidirectional logic <a href="https://www.sparkfun.com/products/12009" target="_blank" rel="noopener noreferrer nofollow ugc">converter</a> that converts 3,3V to 5V and vice versa but I have read that the converter can handle the voltage of my wall controller. I make the connections: hight voltage side for the wires of lg controller and the low voltage side for the m5stack GRAY (3,3V, GND and pinout 16).<br />
On the other hand, I had read that the LG protocol for this controller the baud rate is 104 bps and 13 bytes for the serial datastream. I supose that the correct way is to use an oscilloscope to identify the signal but i don't have one.<br />
When I do the connections and see the screen of the Serial of m5stack i receive 0s.  For receiving messages with sense I tried to change the LV pin of the logic converter to the 5V of the m5stack. When a little time passed a burning smell brings to me. I quickly disconnect the m5stack.<br />
At this point, I has two questions:</p>
<ul>
<li>when I try to upload code to my m5stack I receive the next message:<br />
<em><a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> v3.0-dev</em><br />
<em>Serial port /dev/ttyUSB0</em><br />
<em>Connecting........<em><strong><strong>.....</strong></strong></em>.....<em><strong><strong>.....</strong></strong></em>.....<em><strong><strong>.....</strong></strong></em>.....____Ha ocurrido un error mientras se enviaba el sketch</em><br />
_</li>
</ul>
<p dir="auto"><em>A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header</em><br />
I want to know if there is a possibility to restore the m5stack or it is death.</p>
<ul>
<li>The second question is how can I read 13 bytes in Serial port.<br />
Thank you in advance.</li>
</ul>
]]></description><link>https://community.m5stack.com/topic/3357/decoding-codes-from-lg-air-wall-controller</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 01:58:31 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3357.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Jun 2021 17:51:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to decoding codes from LG air wall controller on Thu, 10 Jun 2021 07:46:48 GMT]]></title><description><![CDATA[<p dir="auto">you input 5V level to the Device GPIO? ..  the esp32 input voltage should lower than 3.6v.  else it would be broken.   I think your device was dead.</p>
]]></description><link>https://community.m5stack.com/post/14069</link><guid isPermaLink="true">https://community.m5stack.com/post/14069</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Thu, 10 Jun 2021 07:46:48 GMT</pubDate></item></channel></rss>