<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to MCP4725</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/</id><updated>2022-11-25T10:38:18.106000Z</updated><subtitle>Recent posts to MCP4725</subtitle><entry><title>MCP4725</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/?limit=25#56ac/efb0" rel="alternate"/><published>2022-11-25T10:38:18.106000Z</published><updated>2022-11-25T10:38:18.106000Z</updated><author><name>princessdvlk</name><uri>https://forge.codesys.com/u/princessdvlk/</uri></author><id>https://forge.codesys.come7ed901f9f44dfb22cf322b454e5fdda8293d644</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am facing an issue when working with MCP4725 and raspberry pi. Considering this thread was based on working MCP4725 with RPi, I am posting my concern here.&lt;/p&gt;
&lt;p&gt;I have downloaded the MCP4725 library from this forum. No matter what value I put in the MCP4725.xdacIn, the voltage is always at 0V.&lt;/p&gt;
&lt;p&gt;iDacValue : INT;&lt;br/&gt;
MCP4725.xdacIn := iDacValue; (screenshot = Issue DAC 1 or based on your screenshot solution as well)&lt;/p&gt;
&lt;p&gt;I am using a hardware that has raspberry pi core. The Codesys version I am using is Ver3.5 SP17 Patch3. I tried putting 97 in I2C Bus Parameters for MCP4725 (screenshot = Issue DAC 2) based on a conversation thread here on this forum. But still, I am facing the same issue.&lt;/p&gt;
&lt;p&gt;I have been using ADC in I2C mode as well. I didn't face any problem with that as I got an example code for it. Could this be because I am using ADC and DAC with I2C at the same time?&lt;/p&gt;
&lt;p&gt;Could you please help me out? I am attaching the screenshots as well. It is also mentioned in the library method file 'AfterReadInputs' (screenshot = Issue DAC 3) that we must change wInfo&lt;span&gt;[0]&lt;/span&gt; to 16#60 from 16#40 if we want to write the values into DAC register and EEPROM. I guess these files are write protected. Do I have to change this value and if so how? I am unable to do that.&lt;/p&gt;
&lt;p&gt;Looking forward to your reply.&lt;/p&gt;
&lt;p&gt;Thanking you in advance.&lt;br/&gt;
Best Regards!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MCP4725</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/?limit=25#aa3d/bd27" rel="alternate"/><published>2022-11-25T10:36:06.409000Z</published><updated>2022-11-25T10:36:06.409000Z</updated><author><name>princessdvlk</name><uri>https://forge.codesys.com/u/princessdvlk/</uri></author><id>https://forge.codesys.com7a2d86f6d86a90e5caad108f655fe7bdcba28869</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am facing a when working with MCP4725 and raspberry pi. Considering this thread was based on working MCP4725 with RPi, I am posting my concern here. &lt;/p&gt;
&lt;p&gt;I have downloaded the MCP4725 library from this forum. No matter what value I put in the MCP4725.xdacIn, the voltage is always at 0V. &lt;/p&gt;
&lt;p&gt;iDacValue : INT;&lt;br/&gt;
MCP4725.xdacIn := iDacValue; (screenshot = Issue DAC 1) &lt;/p&gt;
&lt;p&gt;I am using a hardware that has raspberry pi core. The Codesys version I am using is Ver3.5 SP17 Patch3. I tried putting 97 in I2C Bus Parameters for MCP4725 (screenshot = Issue DAC 2) based on a conversation thread here on this forum. But still, I am facing the same issue.&lt;/p&gt;
&lt;p&gt;I have been using ADC in I2C mode as well. I didn't face any problem with that as I got an example code for it. Could this be because I am using ADC and DAC with I2C at the same time?&lt;/p&gt;
&lt;p&gt;Could you please help me out? I am attaching the screenshots as well. It is also mentioned in the library method file 'AfterReadInputs' (screenshot = Issue DAC 3) that we must change wInfo&lt;span&gt;[0]&lt;/span&gt; to 16#60 from 16#40 if we want to write the values into DAC register and EEPROM. I guess these files are write protected. Do I have to change this value and if so how? I am unable to do that.&lt;/p&gt;
&lt;p&gt;Looking forward to your reply.&lt;/p&gt;
&lt;p&gt;Thanking you in advance.&lt;br/&gt;
Best Regards!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MCP4725</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/?limit=25#b728" rel="alternate"/><published>2020-02-27T15:59:57.122000Z</published><updated>2020-02-27T15:59:57.122000Z</updated><author><name>matthias25881</name><uri>https://forge.codesys.com/u/matthias25881/</uri></author><id>https://forge.codesys.comb25b66c7bd549a64dd0cceb84b405c903cbe4a19</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
see attached screenshot.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thanks edwin, it works!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MCP4725</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/?limit=25#56ac" rel="alternate"/><published>2020-02-27T15:59:56.108000Z</published><updated>2020-02-27T15:59:56.108000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf466912a59599bde334404dbc95fafde5de56275</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
see attached screenshot.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: MCP.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4169"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MCP4725</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dc4543044b/?limit=25#aa3d" rel="alternate"/><published>2020-02-27T15:59:53.916000Z</published><updated>2020-02-27T15:59:53.916000Z</updated><author><name>matthias25881</name><uri>https://forge.codesys.com/u/matthias25881/</uri></author><id>https://forge.codesys.com4a6e9871e854661a2e5af31b66bc5366aaf18fa9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
 is everyone here were can give me a example for use the mcp4725 library from the forum with CODESYS???&lt;br/&gt;
in Python the mcp is working. in CODESYS his don't working. i think the problem is the adress. i have hex 0x62....&lt;br/&gt;
is this right in 7bit dec. 48??&lt;/p&gt;
&lt;p&gt;regards Matthias&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>