IoT based Fleet Management and Monitoring System using OBD II Data
Management and Monitoring of fleet can be done by several different strategies and techniques but using IoT and OBD II data is one of the powerful approaches for getting the real time data of more than one vehicle at a time. Monitoring is a vast term and in our proj
2025-06-28 16:33:26 - Adil Khan
IoT based Fleet Management and Monitoring System using OBD II Data
Project Area of Specialization Internet of ThingsProject SummaryManagement and Monitoring of fleet can be done by several different strategies and techniques but using IoT and OBD II data is one of the powerful approaches for getting the real time data of more than one vehicle at a time. Monitoring is a vast term and in our project we will be monitoring both behaviour of driver and as well as vehicle engine with the help of OBD 2 data further more we will make our own IoT dashboard and a website which can be accessed by a login id and password and a user friendly interface of IoT dashboard will display valuable information of the fleet . The term OBD stands for On-board diagnostics and it is an automotive term referring to a vehicle's self-diagnostic and reporting capability. An OBD2 system diagnoses the car’s engine and checks if everything’s working fine. The amount of diagnostic information available via OBD has varied widely since its introduction in the early 1980s Modern OBD implementations use a standardized digital communications port to provide real-time data in addition to a standardized series of diagnostic trouble codes, or DTCs are used by automobile manufacturers to diagnose problems related to the vehicle. They are how the OBD-II identifies and communicates to technicians where and what on-board problems exist. Individual manufacturers often enhance the OBD-II code set with additional proprietary DTCs.
The OBD-II specification is made mandatory for all cars sold in the United States since 1996 while in Asia automobiles made in 2008 and onwards are OBD 2 compliant some exceptions are possible depending on the brand of vehicle. Products available in the market for getting OBD 2 data are OBD Scanner and OBD Bluetooth modules. In Pakistan there is no such product that can provide us OBD 2 real-time data on an IoT dashboard. So, there is an opportunity to get our hand on automobiles and IoT together and fashion them up with modern technology to make better and smart fleet management and monitoring system.
In this project we will use
- Auto-pi dongle
- Raspberry pi as our development board
- OBD 2 Bluetooth module
- GPS receiver module
- Internet dongle.
- Putty Software
- Python Coding
- IoT Platfom
we will design a hardware prototype to be interfaced with an automobile. We will get OBD2 data like RPM, speed of vehicle, acceleration, Air flow rate, intake air temperature etc and the real time location of the vehicle. All the data will be displayed on IoT dashboard and the real time position will be displayed on the dashboard map
Project ObjectivesAims
Aims of this project are
- To know how Different sensor and modules i:e raspberry pi, GPS module, OBD 2 Module work and how to get desired output from these devices.
- To know what is IoT and how IoT can help us solve real time problems more effectively.
- To know the On-Board Diagnostic (OBD 2) protocols of vehicle.
- To design a prototype that monitors a vehicle, gets required data of the vehicle parameters and send it to an IoT dashboard using internet..
- To implement IoT based fleet monitoring and management system within given time and resources
Objectives
- Interface GPS with Raspberry pi using putty
- Interface Autopi with vehicle
- Document and record OBD II protocols
- Interface OBD II Bluetooth module with vehicle
- Connect OBD II module and raspberry pi
- Get CAN data of vehicle (RPM, Speed, Acceleration, Air flow rate etc)
- Decoding of CAN data
- Design website and IoT Dashboard
- Display real time data and location on IoT dashboard
Methadology
Task Reason and How
- Interface Raspberry pi with GPS To get Latitude and longitude Using putty software and python codes
- Interface Autopi with OBD2 Compliant vehicle To know OBD 2 Protocol of that vehicle vai Hands on (experiment) Vehicle and Autopi
- Literature review of OBD2 protocols and CAN data To know how the CAN data can be decoded with the haelp Internet browsing
- Interface OBD 2 module with vehicle To Get CAN data on mobile app Using mobile app and Bluetooth connection
- Interface Raspberry pi and OBD 2 with Bluetooth To Get CAN data on putty software Hands on vehicle OBD2 port and putty software
- Decode CAN Data For Human understanding through Literature review and coding raspberry pi
- Send latitude, longitude and CAN data online IoT dashboard For displaying real time data with easy GUI with the help of Online account registration on IoT platform
- Make our own server To remove third party dashboard through Literature review, Internet browsing, Video tutorials and with the help of Computer Science Department
- Design Website For authorised login and data accessibility through Literature review, Internet browsing, Video tutorials and with the help of Computer Science Department
- Design Own IoT Dashboard To remove third party dashboard and selfexplanatory GUI through Literature review, Internet browsing, Video tutorial’s and with the help of Computer Science Department
- Documentation, Testing and demos For writeup and thesis through Literature review, technical writing and testing
- Final writeup and presentation For FYP submission using Technical writing and communication skills
This system will allow access to any information from anywhere in the world at any
given time using Internet. It is enough capable for smooth
operation of profitable or non-profitable business that are dependent on vehicles like
school pick and drop, online delivery, fleet, supply, security etc. It will improve
performance, help to keep operation costs at a minimum, eradicate corruption and
maintain compliance with government regulationsThis project has wide scope and it can help in
- Maintenance of vehicles
- Tracking of vehicles
- Monitoring the vehicle condition,
- Monitoring of Engine Condition,
- Fuel Consupmtion
- Driver Performance
- GUI and much more
All the real time information will be displayed on IoT dashboard incliding the real time location on a map.
Applications of the project are
- Institutes having Fleet (School bus Faclity etc)
- Militry Troops
- Courier Services (TCS, Leopard, Pakistan Post etc)
- Public Transport Services (Daewoo,Faisal Movers and other services)
- Medical (Ambulances)
- Food Services (Delivery)
- Individual / Domestic Car Users
- Goods Transport Services
This project aims to implement a fully functional prototype of transport management system. The deliverable product would include web-based software and a prototype data-acquisition kit to be designed and print in FABLAB Sukkur IBA University.This project is an integration of numerous technologies in a unified and robust framework to provide a IoT dashboard to management team of an organization with valuable information about the operation and maintenance of the vehicle fleet; the information includes
- Mileage
- Fuel Economy
- Speed
- Tire Change
- Engine Error alarm/logs
- Battery Power
- Altitude
- Real Time Location on Google Maps (In Case we purchase Google API other wise free online available maps will be used)
- Travel Histor
- Acceleration
- Engine Load
- RPM
- Air flow rate
- Intake air temperature
And many other important parameters
Final Deliverable of the Project HW/SW integrated systemCore Industry TransportationOther Industries Education , Medical , Petroleum , Agriculture , Food , Media , Health , Security , Telecommunication Core Technology Internet of Things (IoT)Other Technologies OthersSustainable Development Goals Decent Work and Economic Growth, Industry, Innovation and InfrastructureRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 69196 | |||
| Autopi Dongle | Equipment | 1 | 34000 | 34000 |
| PTCL 3G EVO WINGLE 9.3 MBPS HUAWEI EC315 | Equipment | 1 | 2000 | 2000 |
| RASPBERRY PI ZERO-W V1.3 | Equipment | 1 | 3000 | 3000 |
| RASPBERRY PI B+ | Equipment | 1 | 6000 | 6000 |
| PL2303 USB TO RS232 TTL USB CONVERTER | Equipment | 1 | 140 | 140 |
| 17CM EXTENSION CORD UFL TO RP SMA CONNECTOR ANTENNA | Equipment | 1 | 350 | 350 |
| Adafruit GPS Breakout Module | Equipment | 1 | 7500 | 7500 |
| KINGSTON MICRO SD CARD 8 GB CLASS 10 | Miscellaneous | 2 | 700 | 1400 |
| 12 volts to 5-volt DC Converter | Equipment | 1 | 200 | 200 |
| GPS Antenna | Equipment | 1 | 616 | 616 |
| OBD2 Bluetooth Module | Equipment | 2 | 3500 | 7000 |
| shipment charges | Miscellaneous | 4 | 200 | 800 |
| Fuel for Testing(10 liters) | Miscellaneous | 10 | 119 | 1190 |
| Web Domain | Miscellaneous | 1 | 5000 | 5000 |