# Adding Sensors to the Pixhawk and sending data via Mavlink to ground station or PC Data Logger

**URL:** <https://discuss.px4.io/t/adding-sensors-to-the-pixhawk-and-sending-data-via-mavlink-to-ground-station-or-pc-data-logger/6569>\
**Category:** Uncategorized\
**Created:** [May 7, 2018, 1:48pm UTC](https://discuss.px4.io/t/adding-sensors-to-the-pixhawk-and-sending-data-via-mavlink-to-ground-station-or-pc-data-logger/6569 "2018-05-07T13:48:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Camilo\_Hernandez](https://discuss.px4.io/letter_avatar_proxy/v4/letter/c/898d66/32.png) [@Camilo\_Hernandez](https://discuss.px4.io/u/Camilo_Hernandez)\
**Post date:** [May 7, 2018, 1:48pm UTC](https://discuss.px4.io/t/adding-sensors-to-the-pixhawk-and-sending-data-via-mavlink-to-ground-station-or-pc-data-logger/6569/1 "2018-05-07T13:48:39Z")

</div>

Dear Drone code members,

I would like to connect some external sensors (i.e., CO2 sensor, Humidity sensor…) to the Pixhawk 1 board. Then I want to read the sensor data with the autopilot and send their values via Mavlink to the ground station or a Datalogger app in the ground station PC.

Is there someone with previous experience with this topic or similar? I would like to know:

- What is the best way to communicate with the sensors I2C or ADC?
- What would be the recommended rate of data acquisition to avoid affecting the performance of the autopilot?

Thank you in advance for your support.

---

<div class="post-metadata">

**Author:** ![Todd\_prince](https://discuss.px4.io/user_avatar/discuss.px4.io/todd_prince/32/9657_2.png) [@Todd\_prince](https://discuss.px4.io/u/Todd_prince)\
**Post date:** [November 9, 2021, 9:33pm UTC](https://discuss.px4.io/t/adding-sensors-to-the-pixhawk-and-sending-data-via-mavlink-to-ground-station-or-pc-data-logger/6569/2 "2021-11-09T21:33:37Z")

</div>

I’m currently working on getting this going on my drones. I assume that you have a Arduino involved?
