<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Getting raw value as full resolution for ADS1115</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c2e9412dfc/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c2e9412dfc/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/c2e9412dfc/</id><updated>2025-05-22T03:44:22.261000Z</updated><subtitle>Recent posts to Getting raw value as full resolution for ADS1115</subtitle><entry><title>Getting raw value as full resolution for ADS1115</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c2e9412dfc/?limit=25#04f6" rel="alternate"/><published>2025-05-22T03:44:22.261000Z</published><updated>2025-05-22T03:44:22.261000Z</updated><author><name>abuckie</name><uri>https://forge.codesys.com/u/abuckie/</uri></author><id>https://forge.codesys.come20f7a243a7e1424b11d13a2eb14bdd1b249d89b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I just found this and I am getting a value larger than 16 bit, around 81000 something. I am reading a 5 volt value and I am using level shifters for the i2c bus.&lt;/p&gt;
&lt;p&gt;This is how I have the channel configured:&lt;/p&gt;
&lt;p&gt;ADS1115.usiAddress := 16#48;&lt;br/&gt;
ADS1115.ChannelConfigs&lt;span&gt;[0]&lt;/span&gt;.Active := TRUE;&lt;br/&gt;
ADS1115.ChannelConfigs&lt;span&gt;[0]&lt;/span&gt;.PGA := FSR_6144mV;&lt;br/&gt;
ADS1115.ChannelConfigs&lt;span&gt;[0]&lt;/span&gt;.InputMux := Single_0;&lt;br/&gt;
RawAnalogValue := ADS1115.Channels&lt;span&gt;[0]&lt;/span&gt;.Value;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting raw value as full resolution for ADS1115</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c2e9412dfc/?limit=25#518b" rel="alternate"/><published>2021-04-01T13:02:14.712000Z</published><updated>2021-04-01T13:02:14.712000Z</updated><author><name>mark0328</name><uri>https://forge.codesys.com/u/mark0328/</uri></author><id>https://forge.codesys.comd2f1cbb2749fc84d4ef037ef64ddbb1f9d8c1879</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Ian,&lt;br/&gt;
Thank you for your advice.&lt;br/&gt;
We could change the resolution to 32000 from 2000 on our environment.&lt;br/&gt;
This version is 1.0.0.1, please refer attach library and device profile.&lt;br/&gt;
&lt;img src="./attachment/attachment.png" width="50%"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting raw value as full resolution for ADS1115</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c2e9412dfc/?limit=25#1acf" rel="alternate"/><published>2021-03-04T23:41:53.779000Z</published><updated>2021-03-04T23:41:53.779000Z</updated><author><name>mark0328</name><uri>https://forge.codesys.com/u/mark0328/</uri></author><id>https://forge.codesys.com8c67e2b5e32d5b66a09a5cf1f8f797d6052a9c5b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have configured and tested the ADS1115 by looking at the forums below.&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Runtime/thread/f1400b71b6/?limit=25#9623"&gt;https://forge.codesys.com/forge/talk/Runtime/thread/f1400b71b6/?limit=25#9623&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As a result, I was able to get a full scale 2048 count with the FSR_2048mV setting, however, due to the low resolution, we would like to change this full scale to 32767. How can I get the raw AD count value as it is?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>