When there is no magnetic field present, the output of the sensor stands at approximately 50% of Vcc. So, with 5V power, the output will be about 2.5V. When a magnet is there, the voltage rises or falls depending on whether the south or north pole of the magnet is coming near. If we place a south pole of a magnet near the front of the sensor, the output voltage will linearly slope up towards VCC to a maximum of 4.2V. If we place a north pole of a magnet near the front of the sensor, the voltage will linearly ramp down towards the ground to a minimum of 0.86V. Hence, the amount of voltage that increases or decreases depends on the magnetic strength of the field.
কোন রিভিউ নেই