<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/</id><updated>2020-03-17T11:13:17.248000Z</updated><subtitle>Recent posts to Raspberry Pi: List of available drivers / libraries</subtitle><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#3869" rel="alternate"/><published>2020-03-17T11:13:17.248000Z</published><updated>2020-03-17T11:13:17.248000Z</updated><author><name>FabioPD</name><uri>https://forge.codesys.com/u/fabiopd/</uri></author><id>https://forge.codesys.comdf9db322e56082da63ff745f2508495348623fe8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello ! I need to ask to Erikk , autor of SHT21 Humidity &amp;amp; Temperature Sensor. Is possible to connect 2 SHT21 to the same bus ? The SHT21 has only one address, so  how to use 2 probes on the same bus? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#daf5" rel="alternate"/><published>2020-02-28T04:39:46.658000Z</published><updated>2020-02-28T04:39:46.658000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com8a6e41b3fbad213d186780b5fc2b3e1e59c1d78e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Autor: Aliazzz&lt;br/&gt;
Date: 06.04.2019&lt;/p&gt;
&lt;p&gt;l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=9665" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=9665&lt;/a&gt; l &lt;/p&gt;
&lt;p&gt;This library enables the usage of RETAIN data on the Raspberry Pi platform which natively does not support this.&lt;br/&gt;
It is based on the mcp7941x RTC chip which also contains 64 bytes Battery Buffered SRAM.&lt;/p&gt;
&lt;p&gt;For details and package: &lt;a class="" href="https://forge.codesys.com/drv/mcp7941x/"&gt;https://forge.codesys.com/drv/mcp7941x/&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#d878" rel="alternate"/><published>2020-02-28T04:39:44.659000Z</published><updated>2020-02-28T04:39:44.659000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com582b0adf1fef938b1b3988f92cba47a1f45f1787</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Autor: e.kislov&lt;br/&gt;
Date: 5/2019&lt;/p&gt;
&lt;p&gt;Link to the post(including attachements):&lt;br/&gt;
 l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=9760" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=9760&lt;/a&gt; l &lt;/p&gt;
&lt;p&gt;There is a simple example how to generate a QR-code and show it in web-visu: Example_QrCode_RPI.projectarchive&lt;/p&gt;
&lt;p&gt;Image Image&lt;/p&gt;
&lt;p&gt;Requirements:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You need to install qrencode:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;sudo apt-get install qrencode&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;You need to install OwenStringUtils library. It included in projectarchive or you can install it separately: download&lt;br/&gt;
It's nice lib with additional string functions like ASCII/Unicode conversion, formatting and parsing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In example used SysProcess library.&lt;br/&gt;
So you need to add in /etc/CODESYSControl_User.cfg next lines:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;[SysProcess]&lt;/span&gt;&lt;br/&gt;
Command=AllowAll&lt;/p&gt;
&lt;p&gt;Keep in mind that you need to have write access rights:&lt;/p&gt;
&lt;p&gt;sudo chmod 0666 /etc/CODESYSControl_User.cfg&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You need to set write access rights for /visu directory:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;sudo chmod 0666 /var/opt/codesys/PlcLogic/visu&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You can see qr-code in web-visu, but not in service-visu (CODESYS IDE-visu).&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#f1ac" rel="alternate"/><published>2020-02-28T04:39:39.058000Z</published><updated>2020-02-28T04:39:39.058000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.comd11a50acb39f815fc374c6b094603f185596b373</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Author: Reinhard Hesse&lt;br/&gt;
Date: 13.08.2019&lt;br/&gt;
Version: 1.0.0.0&lt;/p&gt;
&lt;p&gt;Library for I2C – PCF8574 LCD contains:&lt;br/&gt;
02_Lib -Library &lt;br/&gt;
03_LCD_Basic  - Example Project&lt;br/&gt;
04_LCD_Visu  -Example Project&lt;br/&gt;
01_XML  Device Description &lt;br/&gt;
I2C-LCD mit CODESYS.pdf documentation&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: LCD.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=4821"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=4820" rel="nofollow"&gt;Fertig.zip &lt;span&gt;&lt;span&gt;[2.35 MiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#0e29" rel="alternate"/><published>2020-02-28T04:39:37.052000Z</published><updated>2020-02-28T04:39:37.052000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com24e28ca032a81b26d1d0ec785cc259224202178c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Autor: Aliazzz &lt;br/&gt;
Date: 11.02. 2018&lt;br/&gt;
Version: 2.0.0.0&lt;/p&gt;
&lt;p&gt;Monarco.io&lt;/p&gt;
&lt;p&gt;Codesys Application Composer "FirstSteps" Example implemented with the Monarco V2.0.0.0 Library;&lt;br/&gt;
&lt;a class="" href="https://github.com/Aliazzzz/Monarco-HAT-library-for-CODESYS-V3/tree/master/Monarco/FirstSteps" rel="nofollow"&gt;https://github.com/Aliazzzz/Monarco-HAT ... FirstSteps&lt;/a&gt; m &lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: MonarcoHat.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=4247"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Monarco3.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=4246"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Monarco2.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=4245"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Monarco.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=4244"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#25fe" rel="alternate"/><published>2020-02-28T04:39:31.423000Z</published><updated>2020-02-28T04:39:31.423000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com5d30875cb49a3564e8e9442613074acb66d700a5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I did implementing an MQTT library, test it an have fun…&lt;/p&gt;
&lt;p&gt;Greatings&lt;/p&gt;
&lt;p&gt;Short info from short doku...:&lt;/p&gt;
&lt;p&gt;please start here:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://github.com/stefandreyer" rel="nofollow"&gt;https://github.com/stefandreyer&lt;/a&gt; m &lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=4241" rel="nofollow"&gt;MQTT.projectarchive &lt;span&gt;&lt;span&gt;[787.6 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#dcb4" rel="alternate"/><published>2020-02-28T04:39:29.406000Z</published><updated>2020-02-28T04:39:29.406000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com97c9e8c95ad5d65c2585b7efae3be25d83234f72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Autor: johan76swart &lt;br/&gt;
Date: 25.07. 2018&lt;br/&gt;
Version: 1.0.0.0&lt;/p&gt;
&lt;p&gt;Hello fellow Raspberry enthusiast!&lt;/p&gt;
&lt;p&gt;Here is a device library for the MCP4728 4-Channel 12-bit DAC, default address = 0x60.&lt;/p&gt;
&lt;p&gt;Input an integer 0-4095 for each channel.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=4240" rel="nofollow"&gt;MCP4728.devdesc.xml &lt;span&gt;&lt;span&gt;[2.38 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=4239" rel="nofollow"&gt;I2C_MCP4728.library &lt;span&gt;&lt;span&gt;[335.03 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#9b32" rel="alternate"/><published>2020-02-28T04:39:23.774000Z</published><updated>2020-02-28T04:39:23.774000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.coma5584449f2944584c50b03328a691bfa860b89f2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Autor: Stefan2&lt;br/&gt;
Date: 17.11. 2017&lt;br/&gt;
Version: 1.0.0.0&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;
&lt;a class="" href="https://github.com/stefandreyer/I2C-Multiplex" rel="nofollow"&gt;https://github.com/stefandreyer/I2C-Multiplex&lt;/a&gt;&lt;/p&gt;
&lt;p&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-de.codesys.com//download/file.php?id=4242" rel="nofollow"&gt;Raspberry I2C MUX_update.projectarchive &lt;span&gt;&lt;span&gt;[416.51 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=3187" 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-de.codesys.com//download/file.php?id=3186" 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;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=3185" 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>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#e366" rel="alternate"/><published>2020-02-28T04:39:21.749000Z</published><updated>2020-02-28T04:39:21.749000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com203eaa2297ec841d282ae6ae3d41b35effb8bbf4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Autor: raymondclark0&lt;br/&gt;
Date: 09.05. 2017&lt;br/&gt;
Version: 1.1.0.0&lt;/p&gt;
&lt;p&gt;My Library for the ST LSM303 accel magnetometer board avaliable from Adafruit.&lt;/p&gt;
&lt;p&gt;Separate device files, but combined library.&lt;/p&gt;
&lt;p&gt;Attached is an example project too.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Ray.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2805" rel="nofollow"&gt;I2C_LSM303.library &lt;span&gt;&lt;span&gt;[310.79 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2804" rel="nofollow"&gt;LSM303.project &lt;span&gt;&lt;span&gt;[156.54 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2803" rel="nofollow"&gt;LSM303_Accel.devdesc.xml &lt;span&gt;&lt;span&gt;[2.33 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2802" rel="nofollow"&gt;LSM303_Mag.devdesc.xml &lt;span&gt;&lt;span&gt;[2.33 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi: List of available drivers / libraries</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/75c220d29f/?limit=25#bb46" rel="alternate"/><published>2020-02-28T04:39:16.118000Z</published><updated>2020-02-28T04:39:16.118000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com04911715320347225dafbc14e5b9714abe965c7d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Author: Dag H. Hanssen&lt;br/&gt;
Date: 09.05.2017&lt;/p&gt;
&lt;p&gt;Here is a library I made for the device LSM9DS1, an Accelerometer/Gyro/Magnetometer form ST life.augmented, on a break-out board from Adafruit. (I had to zip the library-file since the size was more than 500kB, which is maximum upload file-size for this forum.)&lt;/p&gt;
&lt;p&gt;The device has actually two slaves, but I chose to integrate them both with on device-description. It doesn't matter if the user assigns a slave address in the project, the code in the library alters anyway between two different slave-addresses when writing/reading data.&lt;/p&gt;
&lt;p&gt;Though the device has built-in FIFO-registers, for faster and less time-/power-consuming readouts, I have not used this option in this version of the library. Instead, the readout is timer-controlled, with a user-specified read-rate.&lt;/p&gt;
&lt;p&gt;I have also uploaded a very simple test-project.&lt;/p&gt;
&lt;p&gt;Hope someone finds the library useful,&lt;br/&gt;
Dag Hansa&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2801" rel="nofollow"&gt;Testing_LSM9DS1.project &lt;span&gt;&lt;span&gt;[120.94 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2800" rel="nofollow"&gt;I2C_LSM9DS1 library file.zip &lt;span&gt;&lt;span&gt;[202.45 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2799" rel="nofollow"&gt;LSM9DS1.devdesc.xml &lt;span&gt;&lt;span&gt;[2.51 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>