<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to I2C muxing library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf2a5e721b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf2a5e721b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/cf2a5e721b/</id><updated>2020-07-20T16:25:35.472000Z</updated><subtitle>Recent posts to I2C muxing library</subtitle><entry><title>I2C muxing library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf2a5e721b/?limit=25#432d" rel="alternate"/><published>2020-07-20T16:25:35.472000Z</published><updated>2020-07-20T16:25:35.472000Z</updated><author><name>FabioPD</name><uri>https://forge.codesys.com/u/fabiopd/</uri></author><id>https://forge.codesys.com0ac7f093bdc8374b025d1d126f1d7abc15e37b59</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Stafan&lt;br/&gt;
I have to use TCA9548 with 2 SHT21.. What aI have to do to configure it? &lt;br/&gt;
I tried to set 1 slave, changed ID from 0x77 to 0x70. &lt;br/&gt;
But How to read my slaves? thank you &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C muxing library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf2a5e721b/?limit=25#dfcc" rel="alternate"/><published>2020-02-27T15:50:28.552000Z</published><updated>2020-02-27T15:50:28.552000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comf76bed1af0d4e56ef2016c544859bb53546e2809</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; PhilouG&lt;/p&gt;
&lt;p&gt;Hello,&lt;br/&gt;
I'm using Codesys V3.5 SP15 patch3 with a raspberry pi.&lt;br/&gt;
I have installed the OSCAT basic and building package, the I2C MUX library and the BME280.xml.&lt;br/&gt;
I have a message error : the library « #CommonTypsFunctions » can't be opened.&lt;br/&gt;
Can you help me?&lt;br/&gt;
Best regards&lt;br/&gt;
Philippe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C muxing library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf2a5e721b/?limit=25#4c64" rel="alternate"/><published>2020-02-27T15:50:26.467000Z</published><updated>2020-02-27T15:50:26.467000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.comb5bac89b7e9f36234267542de520635feeb99493</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;forgot the xml's&lt;/p&gt;
&lt;p&gt;Greetings&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=3150" rel="nofollow"&gt;xml devices.zip &lt;span&gt;&lt;span&gt;[18.38 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C muxing library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf2a5e721b/?limit=25#e958" rel="alternate"/><published>2020-02-27T15:50:25.713000Z</published><updated>2020-02-27T15:50:25.713000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.com73f0aa16df88884fb1cef9ea243d90b439fbd8d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;span style="color: #FF0000;"&gt;3S Moderator: &lt;/span&gt;&lt;br/&gt;
thanks for sharing this added to CODESYS V3 Raspberry Pi share your devices &amp;amp; libraries &amp;amp; applications&lt;br/&gt;
 l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=5872&amp;amp;x=18200&amp;amp;p=19664&amp;amp;lan=en" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=5872&amp;amp;p=18200#p19664&lt;/a&gt; l &lt;/p&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Here is my Library for some I2C devices for CODESYS.&lt;br/&gt;
You can place all devices behind a multiplexer to reduce address conflicts.&lt;br/&gt;
Although include the BME280 Environment sensor and an SD1306 Display Driver.&lt;br/&gt;
Look at google for these little funny Displays.&lt;br/&gt;
All fonts are working on the display, but not the biggest. There the bits have to be twisted.&lt;br/&gt;
If you find any problems, tell me, the Drives have not been tested all.&lt;/p&gt;
&lt;p&gt;Don't look at the documentation, there is none ... .&lt;/p&gt;
&lt;p&gt;In the I2C_Base FB I did write some info’s for the muxing.&lt;/p&gt;
&lt;p&gt;With the muxing IC you can connect about 33554432 BME280 on the raspi, but then bus cycle time is no longer a problem .&lt;/p&gt;
&lt;p&gt;You will need the OSCAT building lib to compile. i can not uplode it here like the OSCAT BASIC lib(to big), so try the lib from the store.&lt;/p&gt;
&lt;p&gt;Device list:&lt;/p&gt;
&lt;p&gt;BME280&lt;br/&gt;
25C512 64KiB EEPROM&lt;br/&gt;
An 4channel dimmer (I done this for an friend)&lt;br/&gt;
PCA9555 as 16 bit input&lt;br/&gt;
PCA9555 as 16 bit output&lt;br/&gt;
PCA9685 a 16 channel 12bit PWM output, inspired by example code of CODESYS but writes only when output value is changing&lt;br/&gt;
PCF8575 as 16 bit input&lt;br/&gt;
PCF8575 as 16 bit output&lt;br/&gt;
SSD1306 Display Driver&lt;br/&gt;
TCA9548 8 channel I2C Multiplexer/switch&lt;br/&gt;
TSL2561 lux sensor, state I would say experimental&lt;/p&gt;
&lt;p&gt;Greetings Stefan&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=3188" rel="nofollow"&gt;xml devices.zip &lt;span&gt;&lt;span&gt;[18.38 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=3149" rel="nofollow"&gt;Raspberry I2C MUX.projectarchive &lt;span&gt;&lt;span&gt;[388.84 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=3148" rel="nofollow"&gt;BASIC.projectarchive &lt;span&gt;&lt;span&gt;[398.68 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>