<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/</id><updated>2022-06-17T08:23:03.167000Z</updated><subtitle>Recent posts to UNIPI 1-Wire setup issue</subtitle><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#6526/c77a" rel="alternate"/><published>2022-06-17T08:23:03.167000Z</published><updated>2022-06-17T08:23:03.167000Z</updated><author><name>master-student</name><uri>https://forge.codesys.com/u/master-student/</uri></author><id>https://forge.codesys.com6bf6bc897c6d112514207c46486f4d938428ea9c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Nice that you got the issue solved, I am also having issues with connecting DS18B20 with Beaglebone instead raspberry pi. Could you please take a look at the issue. Tanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#fb9d" rel="alternate"/><published>2020-02-27T16:14:12.272000Z</published><updated>2020-02-27T16:14:12.272000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf0c79e6c23ea3b4b2fcc5f36fa0a102993dd107a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
yes I agree but I'm pretty sure that I have writen exactly his at least in 3 posts &lt;br/&gt;
This updated example will be included in the next release.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#6526" rel="alternate"/><published>2020-02-27T16:14:09.869000Z</published><updated>2020-02-27T16:14:09.869000Z</updated><author><name>lefrank01</name><uri>https://forge.codesys.com/u/lefrank01/</uri></author><id>https://forge.codesys.com134f652d2a6d566426824edbf9c74e91a5715964</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes it's working now. Thank you very much for this 1-wire issue. I'm pretty much sure that I'm not the only one who having this trouble.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#58a8" rel="alternate"/><published>2020-02-27T16:14:08.856000Z</published><updated>2020-02-27T16:14:08.856000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com77005d7b4a890f42b6f19b9dfcb000a3470bd75f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
sorry my screenshot was not the one I wanted to upload.&lt;br/&gt;
Here the correct one.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;add your ID's to the configuration page - if you use 2 you need to add 2 onewire in the device tree and add both addresses to the configruation page (aatention realigne the rows otherweise you do not find the section for the address input)&lt;/li&gt;
&lt;li&gt;use the project from the link (this does additional rescan the sensors if you set the variable)&lt;br/&gt;
here the Pi Application section in this forum:&lt;br/&gt;
 l &lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=6247" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=6247&lt;/a&gt; l &lt;br/&gt;
&lt;span style="color: #FF0000;"&gt;here the Project which scan the onewire:&lt;/span&gt;&lt;br/&gt;
 l &lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=6247&amp;amp;x=16920&amp;amp;p=16920&amp;amp;lan=en" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=6247&amp;amp;p=16920#p16920&lt;/a&gt; l &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;does the onewire reading work already under Linux?&lt;/p&gt;
&lt;p&gt;example on how to do this on ssh connect to the Pi in the Linux console &lt;br/&gt;
    /sys/devices/w1_bus_master1/28-000444149aff $ cat w1_slave&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;c2&lt;/span&gt; &lt;span class="mi"&gt;01&lt;/span&gt; &lt;span class="mi"&gt;55&lt;/span&gt; &lt;span class="mi"&gt;00&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="n"&gt;ff&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="k"&gt;c&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt; &lt;span class="mi"&gt;95&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;crc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;95&lt;/span&gt; &lt;span class="n"&gt;YES&lt;/span&gt;
&lt;span class="n"&gt;c2&lt;/span&gt; &lt;span class="mi"&gt;01&lt;/span&gt; &lt;span class="mi"&gt;55&lt;/span&gt; &lt;span class="mi"&gt;00&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="n"&gt;ff&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="k"&gt;c&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt; &lt;span class="mi"&gt;95&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;28125&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;  cat 10-000800575c8b/w1_slave&lt;/strong&gt;&lt;br/&gt;
    And you will see something like this: &lt;br/&gt;
    30 00 4b 46 ff ff 0f 10 b8 : crc=b8 YES&lt;br/&gt;
30 00 4b 46 ff ff 0f 10 b8 t=23812&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: SensorID.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2596"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#b1db" rel="alternate"/><published>2020-02-27T16:14:06.580000Z</published><updated>2020-02-27T16:14:06.580000Z</updated><author><name>lefrank01</name><uri>https://forge.codesys.com/u/lefrank01/</uri></author><id>https://forge.codesys.com7efb265afdfe379c307cdeb81ba438796a5f8824</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I plug 2 one wire device with address 28-8000001e9e98 and 28-8000001e8786. In DS18B20 I replace the value by those address but no difference.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#abd5" rel="alternate"/><published>2020-02-27T16:14:05.765000Z</published><updated>2020-02-27T16:14:05.765000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc9c8864864967690efc80d4e4093c27cdf70cd9c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
what happens if you set the correct sensor ID, which does fit to your connected?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: SensorID.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2595"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#f34d" rel="alternate"/><published>2020-02-27T16:14:04.960000Z</published><updated>2020-02-27T16:14:04.960000Z</updated><author><name>lefrank01</name><uri>https://forge.codesys.com/u/lefrank01/</uri></author><id>https://forge.codesys.comddec196fe84cb41e2f3b87879c1714dc5328a6c8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;After many time of wated time, I tried to start from scratch. I opened clean UNIPI project. Then many error come out. I tried to refresh the device, But cant find the correct device. So I tried to download the missing device description from the Codesys software and obviously it does not worked. &lt;/p&gt;
&lt;p&gt;I tried to look with Unipi for my issue but, the problem seem to be on your side.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Missing device fail.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2594"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: no driver.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2593"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#e980" rel="alternate"/><published>2020-02-27T16:14:02.665000Z</published><updated>2020-02-27T16:14:02.665000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9799248cddc60f68f61497a1e1a46ce68836f817</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
if no other use could help why not asking&lt;br/&gt;
&lt;a class="" href="http://store.codesys.com/codesys-for-unipi.html#Support" rel="nofollow"&gt;http://store.codesys.com/codesys-for-unipi.html#Support&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If the Onewire reading is different to the onewire reading which is part of the CODESYS Raspberry Pi Package.&lt;/p&gt;
&lt;p&gt;"c:\Users\&amp;lt;yourwindowsusername&amp;gt;\CODESYS Control for Raspberry PI\3.5.10.0\Documentation\RaspberryPI_CodesysV3_FirstSteps_EN.pdf" &lt;br/&gt;
there is an improved project which is available here:&lt;br/&gt;
 l &lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=6247&amp;amp;x=16920&amp;amp;p=16920&amp;amp;lan=en" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=6247&amp;amp;p=16920#p16920&lt;/a&gt; l &lt;br/&gt;
(additional Task for onewire reading and improved scan - could be executed not only on init... later by application this is possible to rescan the onewire )&amp;lt;/yourwindowsusername&amp;gt;&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: unipi.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2592"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UNIPI 1-Wire setup issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3015528177/?limit=25#558d" rel="alternate"/><published>2020-02-27T16:14:01.861000Z</published><updated>2020-02-27T16:14:01.861000Z</updated><author><name>lefrank01</name><uri>https://forge.codesys.com/u/lefrank01/</uri></author><id>https://forge.codesys.comce66da1192d5a9883104a32b5ae0428536c8dba0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I look over all topic in this forum without found anything out that can help me. I runned the script from the UNIPI package. Then I tried the 1-wire sample gived without success. I look over internet since the last week. No tutorial, nothing that can help me. &lt;/p&gt;
&lt;p&gt;I tried my 1 wire DS18B20 on arduino and it was working properly. &lt;/p&gt;
&lt;p&gt;So if someone can step by step explain me the correct way to use the 1-wire device on Codesys please. Not just a copy and paste of another topic. We are in 2017 and obviously we usually found tutorial of everything on internet. Never had to look that hard of explanation. &lt;/p&gt;
&lt;p&gt;Ask me what you need to know about my config. I will printscreen anything you need but I dont understand why this thing doesn't work.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>