IoT Web Server Based Gauss Meter

Updated: Jul 2, 2021

In this tutorial we build a Linear Magnetic Hall sensor to measure magnetic fields using NodeMCU based Web Server. Here to measure the strength of magnetic fields range from 0 to 1 Gauss or 1000 milliGauss.

What is the Hall Effect?

If electric current flows through a conductor, a magnetic field is employed perpendicular to the current direction. This magnetic field exerts a diagonal force on the moving charge carriers which tends to push them to one side of the conductor. Because there is a potential difference due to the pushed outwards charge carries a measurable voltage between the two sides of the conductor is produced, the so called Hall voltage. This effect is called the Hall Effect after E. H. Hall who discovered it in 1879. The effect is depending on the thickness of the conductor. Therefore the conductor should be very thin.

Components Required

  • ESP8266 NodeMCU Dev Board

  • KY-024 - Linear Magnetic Hall sensor


Circuit diagram