<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>I2C — ELECROW - FORUM</title>
        <link>https://forum.elecrow.com/index.php?p=/</link>
        <pubDate>Mon, 13 Apr 2026 13:06:18 +0000</pubDate>
        <language>en</language>
            <description>I2C — ELECROW - FORUM</description>
    <atom:link href="https://forum.elecrow.com/index.php?p=/discussions/tagged/i2c/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>ESP32 5&quot; HMI i2c port with touch</title>
        <link>https://forum.elecrow.com/index.php?p=/discussion/4618/esp32-5-hmi-i2c-port-with-touch</link>
        <pubDate>Fri, 06 Jun 2025 11:05:44 +0000</pubDate>
        <category>Elecrow HMI Display</category>
        <dc:creator>S1m0n3</dc:creator>
        <guid isPermaLink="false">4618@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I was trying to use the board in the title to make an interface for a heating device.<br />
Basically, i have to measure an analog temperature sensor, control a few relays and read the time from an RTC module.<br />
My idea was to use i2c based modules to do so under Arduino, specifically:</p>

<ul>
<li>DS3231 Adafruit RTC module</li>
<li>ADS1115 Adafruit 16bit ADC</li>
<li>2x MCP23017 Adafruit GPIO modules</li>
</ul>

<p>What i realized is that while all these use the Wire.h library, when using LovyanGFX a different i2c library is internally used to drive the GT911 capacitive touch driver ic breaking the Wire.h functionality.</p>

<p>Is there a way to either use Wire.h for LovyanGFX or disable the touch functionality for a "brief" time freeing up the i2c bus or do I have to rewrite every module library to use the same library LovyanGFX uses?<br />
Thanks in advance.</p>
]]>
        </description>
    </item>
    <item>
        <title>I2C Issues - CrowPanel x&quot; -HMI ESP32 Display</title>
        <link>https://forum.elecrow.com/index.php?p=/discussion/1178/i2c-issues-crowpanel-x-hmi-esp32-display</link>
        <pubDate>Tue, 01 Apr 2025 22:48:33 +0000</pubDate>
        <category>Elecrow HMI Display</category>
        <dc:creator>Bernhard</dc:creator>
        <guid isPermaLink="false">1178@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I need to use one or more PCF8575s with my HMI displays (7, 5, and 2.8 inches) but I cannot get my PCF8575 IO Expander Module I2C to 16IO to work for the life of me. I read all 8575 related posts here but none of the methods has worked for me. First, what library do you recommend, second, is there sample code I can look at for that library? I am using Arduino IDE. Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>I2C and Touch</title>
        <link>https://forum.elecrow.com/index.php?p=/discussion/1175/i2c-and-touch</link>
        <pubDate>Mon, 31 Mar 2025 05:52:04 +0000</pubDate>
        <category>TFT-LCD &amp; Touch Screen</category>
        <dc:creator>harryskalvi</dc:creator>
        <guid isPermaLink="false">1175@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Touch Freezes when I2C device is configured</p>
]]>
        </description>
    </item>
    <item>
        <title>CrowPanel 5in / 7in add I2C communication device with I2C IO expander.</title>
        <link>https://forum.elecrow.com/index.php?p=/discussion/993/crowpanel-5in-7in-add-i2c-communication-device-with-i2c-io-expander</link>
        <pubDate>Tue, 10 Dec 2024 14:27:35 +0000</pubDate>
        <category>Elecrow HMI Display</category>
        <dc:creator>mfujita</dc:creator>
        <guid isPermaLink="false">993@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I wrote this for my reminder. CrowPanel 5 and 7in use (SDA 19, SLC 20) for TFT operation. Just connect I2C device to I2C(19,20) port does not allow to communicate. I was suffering for a while about this problem connecting to PCF8574 8ch I2C relay board.  I found following 2 ways to solve problem.<br />
1. Assign GPIO port for additional I2C device.<br />
Add "Wire.begin(43,44);" in setup( ) and just connect I2C device to GPIO(43,44) port. However if you are using this GPIO port, you need to find another GPIOs.</p>

<ol start="2">
<li>Include I2C IO expander library.<br />
You can find the I2C IO expander library for most of the I2C devices. This may be specific for each device. For my I2C relay, PCF8574.h is the expander library. I added following in *.ino file.  Do not need to write "Wire.begin(19, 20);" in setup( ).</li>
</ol>

<h1>include &lt;PCF8574.h&gt;</h1>

<p>PCF8574 PCF2(0x27, &amp;Wire1);  //0x27 is the target relay board i2c Address<br />
This allowed to run TFT screen and the Relay in same I2C (19, 20) bas together. You can use GPIO port for other usage. It is also good idea to update the "deviceAddress" in the PCF8574.h file to your device address.</p>
]]>
        </description>
    </item>
    <item>
        <title>ESP8288 IOT Board &amp; I2C Ports</title>
        <link>https://forum.elecrow.com/index.php?p=/discussion/813/esp8288-iot-board-i2c-ports</link>
        <pubDate>Thu, 18 Jul 2024 16:10:16 +0000</pubDate>
        <category>General Discussion</category>
        <dc:creator>davidwoolterton</dc:creator>
        <guid isPermaLink="false">813@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I have just purchased an ESP8266 IOT Board Version 1.0 and I would like to connect a crowtail BME280 Sensor to it. This is an I2C device, but I am having trouble woring out which ports are the default I2C Ports on the ESP8266. Could somebody please help and let me know.<br />
Thanks for any help in advance.</p>
]]>
        </description>
    </item>
   </channel>
</rss>
