Introduction: DIY Gauss Meter

About: I'm from India and love making projects on electronics, specially with arduino. Internet is the only guidance I have and I've been into these since I was 11.

Gaussmeter is a scientific instrument that is used to measure the magnetic field strength and direction, it is really a handy tool for every hobbyist and quite a fun to tinker with.


The key component is the MLX90393 this is 3-Axis magnetic field sensor and is quite capable of what it does.

I have also made a complete video tutorial for the same project and is the following:

Step 1: Things Needed

Arduino Nano R3

MLX90393

Soldering iron

Solder Wire

Female/Male Extension Jumper Wires

Software- Arduino IDE

Step 2: Connections

Make the connection from module to Arduino for I2C, that is

SDA to A4

SCL to A5

GND to GND

3.3V to 3V3.

Pretty straightforward innit?

Step 3: Code

Connect the Arduino to the PC and open the Arduino IDE.

Go to Sketch, Include libraries, and then manage libraries. Type in the search MLX90393 you will see the library by Aafruit, Download it.

Go to files examples then Adafruit MLX90393, open the basic demo sketch. Now as the sensor is 3-axis one, but we are only interested in the axis that is perpendicular to the plane, that according to its datasheet is Z, so in the sketch, I would recommend commenting the Serial print line of x and y-axis.

Upload the sketch, after the upload completes open the serial monitor at 9600 baud rate.

Step 4: Voila!

You should see the magnetic field on the axis you did not comment out, to measure the magnetic field strength and direction in teslas bring magnet closer and perpendicular to the sensor on the breakout board.

If you want to make your prototype PCBs cheap and with amazing tolerance and quality control, check out www.PCBWay.com where you can get 10 double layer PCBs for just 5$, and not only that, they also offer PCB Assembly service starting at 30$, so be it flexible PCBs or multilayered high-quality circuits, you can get them made at an unbelievable price from PCBWay

I hope you liked it!

Thanks for the read, please subscribe to my youtube channel and follow my Instructables account for more awesome projects.