Services are crucial to the safety. Automatic Vehicle Service Notifier (AVSN) will be sending a message to the service center whenever the service time reaches, thus it will help to reduce the chance of missing service by careless. Hence the safety and efficiency of the vehicle is maintained. Here we are going to make a prototype of the system.
Step 1: Component Needed
1. Arduino UNO
2. GSM module
3. SIM with SMS offer ( offer it not mandatory )
4. LCD module 16*2
5. Hall Effect sensor
6. Neodymium magnet
Step 2: Circuit Diagram
Circuit the diagram as shown in the figure
Things need to be noted
1. it's better to have a separate power source for the motor, Thus whenever the motor takes more current, it will not cause any error in Arduino
2. The magnet is placed on one end of the tire. and the hall effect sensor is placed nearby. Here the magnet is moving and hall effect sensor is stationary.
Here i used the transformer for power source since it is the unlimited source. The output of the transformer is AC. it is converted to DC by using bridge rectification circuit
For more information please use this link AC to DC
Step 3: Programming
in this program, we are using EEPROM to store the data. EEPROM is a read-only memory whose contents can be erased and reprogrammed using a pulsed voltage. The odometer reading is very important for the system. Power failure should not affect the meter reading. so in each cycle, we update the value in EEPROM. Thus data are stored permanently. when the program starts for the first time, it will read the previous value present in the EEPROM.
There are 2 type of program
1. avsn final
2. EEPROM clear
The "avsn_final" is the actual program and "eeprom_clear" is used to clear the data in the EEPROM. it other words, it is the program to reset the system.
CONVERSION OF COUNT TO KM
Here the magnet is placed on one end of the tire.thus the magnet also rotates along with tire. Detection of the magnet by the Hall effect sensor is used as a single count.Each count is equated to the perimeter of the tire. thus the "km" reading is calculated by multiplying "total number of count " with "perimeter of the tire ".
I apologize for not including all the information.This is a project I did long time back. so I don't have all the pictures of different stages