Wifi enabled 3D Magnetic Field Sensor with MLX90393

While using a WiFi enabled 3D accelerometer and a 64 Pixel (!) IR thermal camera on a regular basis for teaching, now a 3D magnetometer is added to the collection.

WiFi enabled means that the system based on a NodeMCU Mini (from WeMoS) delivers (1) an access point, (2) a web server and (3) the software to read out the data from the sensors and prepare it for display. These little simple systems work standalone – the only thing needed is some WiFi enabled computer (incl. mobile phones) to access the provided web pages via an internet browser.

While large modern data acquisition interfaces provide much better configurability these dedicated systems help (me) in typical lessons to provide data in a simple yet physically correct manner: No dependence on software installation, seconds from startup to use. No cables required (except for power supply via USB / power bank, WiFi accelerometer has size of 5 x 5 x 5 cm³ with built-in battery).

The funny thing is that just some spaghetti code can provide a clean visualization – here for the magnetometer app:

3D magnetometer visualization for MLX90393 chip. Offset calibration and zeroing possible, Vector display compatible with mathematical standards in school.

Michael Bockhorst