<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>I2C with Arduino Due can&amp;#039;t get it to work</title>
        <description> So I have a simple program that I run on an Arduino pro mini and I get nice answer from the IR temperature sensor  
and can print this to serial port.

And if I look with my scope/logic analyzer I see this.
[attachment 76608 NewFile2.jpg]

but when I compile and upload it for the due I get this ( no temperature only FF )
[attachment 76609 NewFile1.jpg]
I already decreased the speed to 50kHz and 20 kHz, started at 100kHz.
The only difference I see is that with the pro mini you see a small delay between writes and reads. 

I am already 2 days busy with this and I have no clue, and don&#039;t know what to do next ?</description>
        <link>https://reprap.org/forum/read.php?2,653417,653417#msg-653417</link>
        <lastBuildDate>Thu, 16 Apr 2026 13:48:06 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?2,653417,691951#msg-691951</guid>
            <title>Re: I2C with Arduino Due can&#039;t get it to work</title>
            <link>https://reprap.org/forum/read.php?2,653417,691951#msg-691951</link>
            <description><![CDATA[ My DUE detect EEPROM, but always show me 0xFF after reading :(<br />
<br />
what is it wrong?<br />
<pre class="bbcode">
I2C Scanner
Scanning...
I2C device found at address 0x50 !
I2C device found at address 0x51 !
I2C device found at address 0x52 !
I2C device found at address 0x53 !
I2C device found at address 0x54 !
I2C device found at address 0x55 !
I2C device found at address 0x56 !
I2C device found at address 0x57 !
done</pre>
<br />
<br />
If I remove EEPROM it says found nothing]]></description>
            <dc:creator>ZhenyaKa</dc:creator>
            <category>Developers</category>
            <pubDate>Wed, 27 Jul 2016 02:35:25 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,653417,653855#msg-653855</guid>
            <title>Re: I2C with Arduino Due can&#039;t get it to work</title>
            <link>https://reprap.org/forum/read.php?2,653417,653855#msg-653855</link>
            <description><![CDATA[ Now got it working on Due, I got a new version of twi.c/h and Wire.cpp/h from the github<br />
<br />
And changing the firmware code a little bit and it works now.<br />
So now I have to integrate it in repetier, I am going to use the Wire library although Repetier has made there own versions.]]></description>
            <dc:creator>amigob</dc:creator>
            <category>Developers</category>
            <pubDate>Mon, 18 Apr 2016 16:06:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,653417,653431#msg-653431</guid>
            <title>Re: I2C with Arduino Due can&#039;t get it to work</title>
            <link>https://reprap.org/forum/read.php?2,653417,653431#msg-653431</link>
            <description><![CDATA[ sensor : MLX90614 3.3V [<a href="https://www.adafruit.com/products/1748" target="_blank"  rel="nofollow">www.adafruit.com</a>]<br />
code is from also from adafruit [<a href="https://learn.adafruit.com/using-melexis-mlx90614-non-contact-sensors/wiring-and-test" target="_blank"  rel="nofollow">learn.adafruit.com</a>]<br />
arduino 1.58 <br />
Due Clone brand I don't know, but I know that I2C works with the eeprom on my RADDS.<br />
<br />
I can't add the delay in between the writes and reads, the clock is not controlled on application level.]]></description>
            <dc:creator>amigob</dc:creator>
            <category>Developers</category>
            <pubDate>Sun, 17 Apr 2016 16:24:41 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,653417,653424#msg-653424</guid>
            <title>Re: I2C with Arduino Due can&#039;t get it to work</title>
            <link>https://reprap.org/forum/read.php?2,653417,653424#msg-653424</link>
            <description><![CDATA[ The Due has some quirks with I2C. Have you tried adding delays?<br />
<br />
But you need to post more details, to the level at which someone else could reproduce your problem. i.e.<br />
<br />
what is the sensor<br />
what is the circuit (schematic)<br />
what is the version of Arduino IDE<br />
what make of Due<br />
What is the smallest sketch to show the problem]]></description>
            <dc:creator>bobc</dc:creator>
            <category>Developers</category>
            <pubDate>Sun, 17 Apr 2016 16:13:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,653417,653417#msg-653417</guid>
            <title>I2C with Arduino Due can&#039;t get it to work</title>
            <link>https://reprap.org/forum/read.php?2,653417,653417#msg-653417</link>
            <description><![CDATA[ So I have a simple program that I run on an Arduino pro mini and I get nice answer from the IR temperature sensor  <br />
and can print this to serial port.<br />
<br />
And if I look with my scope/logic analyzer I see this.<br />
[attachment 76608 NewFile2.jpg]<br />
<br />
but when I compile and upload it for the due I get this ( no temperature only FF )<br />
[attachment 76609 NewFile1.jpg]<br />
I already decreased the speed to 50kHz and 20 kHz, started at 100kHz.<br />
The only difference I see is that with the pro mini you see a small delay between writes and reads. <br />
<br />
I am already 2 days busy with this and I have no clue, and don't know what to do next ?]]></description>
            <dc:creator>amigob</dc:creator>
            <category>Developers</category>
            <pubDate>Sun, 17 Apr 2016 15:47:30 -0400</pubDate>
        </item>
    </channel>
</rss>
