[Video] ESP32 - HMC5883L - Compass

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

[Video] ESP32 - HMC5883L - Compass

Postby kolban » Fri Feb 17, 2017 4:51 am

The HMC5883L is an easy to use and cheap module for measuring magnetic fields. A common purpose is to use the device to determine magnetic north ... and hence that makes it a compass. In this video and related code link, we use the ESP32 to read data from it.

https://www.youtube.com/watch?v=4JUnS0wViaQ

Code:
https://github.com/nkolban/esp32-snippe ... re/compass
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 23 guests