<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Direct I2C access to Arduino Nano 33 IoT&#039;s IMU - Arduino				            </title>
            <link>https://forum.dronebotworkshop.com/arduino/direct-i2c-access-to-arduino-nano-33-iots-imu/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 16 Oct 2026 15:13:10 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Direct I2C access to Arduino Nano 33 IoT&#039;s IMU</title>
                        <link>https://forum.dronebotworkshop.com/arduino/direct-i2c-access-to-arduino-nano-33-iots-imu/#post-17749</link>
                        <pubDate>Tue, 30 Mar 2021 08:44:38 +0000</pubDate>
                        <description><![CDATA[Hi all,
(TL;DR? My question is written in bold below)
I have a robot project where I want to control motors and poll sensors from a microcontroller of the Nano type. The master brain of my...]]></description>
                        <content:encoded><![CDATA[<p>Hi all,</p>
<p>(TL;DR? My question is written in <strong>bold</strong> below)</p>
<p>I have a robot project where I want to control motors and poll sensors from a microcontroller of the Nano type. The master brain of my robot is a Raspberry Pi 3 B+ running Raspberry Pi OS. The RPi is laid out as an I2C master, my microcontroller a slave device. I program my RPi using Python 3, and the Nano IoT using the Arduino IDE.</p>
<p>I've found the Arduino Nano 33 IoT to be a good fit for this setup, partly because it also has an on board IMU (Inertial Measurement Unit), the LSM6DS3, that I can use, saving me the connection to yet another component.</p>
<p>My issue is that I can't communicate with the IMU from the RPi, neither directly over I2C or via the Nano IoT as a proxy.</p>
<p>I can see the IMU's I2C presence when I run</p>
<pre>i2cdetect -y 1</pre>
<p>I see it present with 2 adresses: 0x60 and 0x6A.</p>
<p>I have also found <a href="https://itectec.com/matlab/matlab-read-data-from-arduino-nano-33-iot-imu-sensor/" target="true">this conversation</a> on how to talk to the LSM6DS3 in MatLab, so it should be possible.</p>
<p>When I reqeust data from the IMU over I2C, I get the same figures in reply every time, no matter how I turn the Nano IoT.</p>
<p> </p>
<p>So my question:</p>
<p><strong>Is there a communications guide for how to talk to the onboard LSM6DS3 of the Arduino Nano 33 IoT over I2C?</strong></p>
<p>I have searched, and the above MatLab discussion is the best information I found.</p>
<p>Any help will be appreciated, Thanks!</p>
<p>Kind regards</p>
<p>Martin</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>mbogelund</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/direct-i2c-access-to-arduino-nano-33-iots-imu/#post-17749</guid>
                    </item>
							        </channel>
        </rss>
		