“Therefore, through this article, we will teach you how to assemble your distance calculation device using the reed switch sensor.
In many vehicles, there are devices that calculate the distance traveled and are essential for presenting information to the driver. Thus, through this information, it is possible to monitor the distance traveled between two points, for example, through the vehicle odometer.
Therefore, through this article, we will teach you how to assemble your distance calculation device using the reed switch sensor.
The following project was created to calculate the percorred distance by the bicycle of the gym. In addition, you’ll learn how to create programming of the project.
This project has three functionalities:
Calculate the distance traveled by bicycle;
Device Startup Radius Configuration;
Adaptable to any bike.
To access these functionalities, the user will use the three buttons of the system. Each button has your functionality. In the system we have the following buttons:
Increment Button: It will be used to enter in the option to configure the radius of the wheels and increment the radius value;
Decrement Button: It will be used to decrement the option to configure the radius of the wheels;
Enter Button: It will be used to insert the value of the radius in the system.
In addition, we have the Reed Switch Sensor. It is responsible to detect when the wheels do a complete turn. For detecting this, itis need to install a magnet on the wheels. The Reed Switch is presented in Figure 1.”