ESP32-Azure IoT Kit: Magnetometer and Barometer Driver

Serena Yeoh
Posts: 8
Joined: Fri Sep 20, 2019 8:42 am

ESP32-Azure IoT Kit: Magnetometer and Barometer Driver

Postby Serena Yeoh » Fri Sep 20, 2019 8:47 am

Good afternoon,

I would like to know if there are any plans to provide the drivers for the Magnetometer and Barometer for the ESP32-Azure IoT Kit? I think it is a very useful kit for beginners and it would be good if the drivers for the sensors are complete.

Thank You.

ESP_ajita
Posts: 2
Joined: Tue May 21, 2019 10:03 am

Re: ESP32-Azure IoT Kit: Magnetometer and Barometer Driver

Postby ESP_ajita » Mon Sep 23, 2019 12:32 pm

You can check this pull request on github for magnetometer driver https://github.com/espressif/esp-iot-solution/pull/28 .
For barometer you can take reference of magnetometer to create your driver :-)

Serena Yeoh
Posts: 8
Joined: Fri Sep 20, 2019 8:42 am

Re: ESP32-Azure IoT Kit: Magnetometer and Barometer Driver

Postby Serena Yeoh » Sat Nov 02, 2019 4:35 pm

Hi,

I am sorry that after looking at the code, I really don't know how to implement the driver for the Barometer. I am not from Electronics background and all these are too deep for me. I have managed to find the driver from the manufacturer here (https://github.com/formosa-measurement- ... 320_driver)

It says that it is for ARM processors and I don't know how to convert it to ESP32. I hope someone can assist to port it to ESP32 so that the Azure IoT Kit looks complete.

Your effort will be very much appreciated.

Thank You

Serena Yeoh
Posts: 8
Joined: Fri Sep 20, 2019 8:42 am

ESP32-Azure IoT Kit: Magnetometer and Barometer Driver

Postby Serena Yeoh » Tue Nov 26, 2019 8:51 am

Hi,

I have done some research on the two sensors and went to learn some code-fu. :lol: Here's the implementation for the FBM320 Barometer and the MAG3110 Magnetometer drivers for the ESP32-Azure-IoT-Kit on github (https://github.com/serenagrl/esp-iot-solution).

Hope it is useful for anyone who owns that Kit.

Hugs

Who is online

Users browsing this forum: No registered users and 26 guests