Page 1 of 1

ESP32-Azure IoT Kit: Magnetometer and Barometer Driver

Posted: Fri Sep 20, 2019 8:47 am
by Serena Yeoh
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.

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

Posted: Mon Sep 23, 2019 12:32 pm
by ESP_ajita
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 :-)

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

Posted: Sat Nov 02, 2019 4:35 pm
by Serena Yeoh
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

ESP32-Azure IoT Kit: Magnetometer and Barometer Driver

Posted: Tue Nov 26, 2019 8:51 am
by Serena Yeoh
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