# I want to communicate to pixhawk from Raspberry pi 3 and read the telemetry data like accelerometer and gyroscope data

**URL:** <https://discuss.bluerobotics.com/t/i-want-to-communicate-to-pixhawk-from-raspberry-pi-3-and-read-the-telemetry-data-like-accelerometer-and-gyroscope-data/11676>\
**Category:** General Discussion\
**Tags:** positioning\
**Created:** [March 4, 2022, 10:47am UTC](https://discuss.bluerobotics.com/t/i-want-to-communicate-to-pixhawk-from-raspberry-pi-3-and-read-the-telemetry-data-like-accelerometer-and-gyroscope-data/11676 "2022-03-04T10:47:26Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Rov36](https://avatars.discourse-cdn.com/v4/letter/r/8797f3/32.png) [@Rov36](https://discuss.bluerobotics.com/u/Rov36)\
**Post date:** [January 26, 2023, 12:02am UTC](https://discuss.bluerobotics.com/t/i-want-to-communicate-to-pixhawk-from-raspberry-pi-3-and-read-the-telemetry-data-like-accelerometer-and-gyroscope-data/11676/7 "2023-01-26T00:02:48Z")

</div>

Looking at this post:

> [@Obtaining BlueROV2 IMU Readings Via Pymavlink](https://discuss.bluerobotics.com/t/obtaining-bluerov2-imu-readings-via-pymavlink/10039):
>
> Hi all, I’m interested in reading data from the BlueROV2 IMU magnetometer utilizing Pymavlink, so I can get the compass reading. I’ve referenced the following hyperlinks: [Pymavlink · GitBook](http://www.ardusub.com/developers/pymavlink.html), [Full Parameter List · GitBook](https://www.ardusub.com/developers/full-parameter-list.html), [Python (mavgen) · MAVLink Developer Guide](https://mavlink.io/en/mavgen_python/), [Messages (common) · MAVLink Developer Guide](https://mavlink.io/en/messages/common.html#REQUEST_DATA_STREAM), [Messages (common) · MAVLink Developer Guide](https://mavlink.io/en/messages/common.html#MAV_CMD_GET_MESSAGE_INTERVAL) and [Messages (common) · MAVLink Developer Guide](https://mavlink.io/en/messages/common.html#RAW_IMU). Below is my python script: I know that I have to request the IMU readings by reques…

it is not clear what is talking to what. Is this coming from the surface computer (useless to me) or being sent to the RPi on USB or I2C (Yes, this is what I want)?

---

_[View the full topic](https://discuss.bluerobotics.com/t/i-want-to-communicate-to-pixhawk-from-raspberry-pi-3-and-read-the-telemetry-data-like-accelerometer-and-gyroscope-data/11676)._
