Raspberry Pi Pico W connected to a Hall sensor

Example code of the Raspberry Pi Pico W connected to a Hall sensor.

The objective is to measure a magnetic strength, thus determine its distance from the sensor

   Analog.png    volts33.png

Photo

Raspberry Pi Pico W connected to a Hall sensor
Raspberry Pi Pico W connected to a Hall sensor
Raspberry Pi Pico W connected to a Hall sensor
Raspberry Pi Pico W connected to a Hall sensor
Raspberry Pi Pico W connected to a Hall sensor
Raspberry Pi Pico W connected to a Hall sensor
Raspberry Pi Pico W connected to a Hall sensor

Sketch