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 NeededArduino Nano R3
MLX90393
Soldering iron
Solder Wire
Female/Male Extension Jumper Wires
Software- Arduino IDE
Step 2: ConnectionsMake 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: CodeConnect 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.
I hope you liked it!
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
Thanks for the read, please subscribe to my youtube channel and follow my tutorials account for more awesome projects.
Comments