AIOT based app for monitoring of a Smart city
This project is a blend of Internet of Things (IOT) and Artificial Intelligence (AI) which will cover three aspects of a smart city, which are; Portable Air Quality monitoring device AI based Smart Parking system. Smart Waste Management system. For g
2025-06-28 16:30:11 - Adil Khan
AIOT based app for monitoring of a Smart city
Project Area of Specialization Internet of ThingsProject SummaryThis project is a blend of Internet of Things (IOT) and Artificial Intelligence (AI) which will cover three aspects of a smart city, which are;
- Portable Air Quality monitoring device
- AI based Smart Parking system.
- Smart Waste Management system.
For governments to successfully increase efficiency, enhance their services, and improve the quality of life for their residents, they need a platform that can power IoT applications for smart cities. Moreover, to make the lives of the people easier through the use of emerging technologies we propose a system, which will aggregate, process, and interpret the data that smart devices generate, ensuring that the infrastructure is in place to take these cities into the new era of connectivity. We are targeting the following problems, that we face in our daily life.
1. Car Parking issues: Considering the increase of urban population and traffic congestion, smart parking is always a strategic issue to work on, not only in the research field but also from economic interests. Finding a vacant parking lot in urban areas is time-consuming and, thus, not satisfying for potential visitors or customers. Thanks to information and communication technology evolution, drivers can more efficiently find satisfying parking spaces with smart parking services. We have developed a video-based system for low-cost vacant parking space detection and monitoring. So, in our developed system we will be using a fixed camera for detecting the free parking space.
2. No real-time air pollution monitoring: It is estimated that over 90% of the world population may inhale polluted air. The highly populated cities of Pakistan, such as Peshawar , Karachi and Lahore are facing health related problems due to bad air quality. For instance, According to the most recent World Health Organization data, there are some good reasons to be worried about the air quality in Lahore, with an yearly average of 68 µg/m3 of PM2.5, which corresponds to Unhealthy Air Quality Index just like the recent smog events in early November 2019. Unfortunately, there is currently no known Air Quality monitoring network with data available in Lahore, nor in Pakistan. So to address this issuse, A portable Air quality system will be developed which will send the sensors data as well as GPS location over the internet to our app in real-time.
3.Poor waste disposal system:Poor solid waste management in Pakistan is a serious concern. It’s major cities like Peshawar and Karachi has been victims of this dis-organization for decades and now suffers from a very bad environmental pollution.
Trash keeps on piling up for days along streets of almost every town of the city. The non-biodegradable substance like plastic is contaminating the environment and posing a serious threat to the ecological system. So, to counter this problem, IOT comes into rescue.
Project ObjectivesThe main objective of our project is to develop a system that provide core infrastructure to the concerning organization and give a decent quality of life to its citizens, a clean and sustainable environment and application of ‘Smart’ Solutions.
Our objectives are;
- To develop an AI based system for low-cost vacant parking space detection and monitoring. We will be using a fixed camera for detecting the free parking space. First, in a parking process, cameras are mounted on the parking place to detect information about the surrounding environment. Next, algorithms are used to analyze these readings which then, will be used to retrieve accurate state information for each of the observed parking lots Finally, the results are uploaded to the database and then the status can be checked online by the users through an Android application.
- To develop a portable air quality monitoring device as well as an Android app, which will be able to monitor and detect various critical gases and dust particles in real time and will be able to store this collected data to the database via internet. Which can be utilized by the concerned authorities to take precautionary measures and improve the quality of air of a certain area.
- To develop a smart waste management system which will send the status of the waste monitoring sensors to be installed in the trash bins of cities. Moreover, a smart segregation system will be installed on the bins, to efficiently recycle the reusable waste.
In order to achieve our objectives, we are going to use the following techniques;
- For Smart Parking, the experimental setup will have three main parts:
- MATLAB Application
- Android Application
- Cloud database (Firebase)
In order to have a better interactive GUI, we have developed a MATLAB based application using the latest version of MATLAB 2019 which will enable us to show parking slots availability in a region, their reservation status and real time monitoring for surveillance purpose on our computer via an internet cloud base storage system.it will also enable us to interact with android application that is provided for facility of user. Mobile application provides facility of login with a mobile number and enable the user to avail parking information and a live video status for his car parking status.
- For air quality portable device.
A portable device consists of multiple sensor to sense the condition of air such as CO2, CO methane and dust of the environment and then provide information regarding the pollution intensity in a specific area via a wireless internet facility along with the coordinates of the location with GPS system. All the information is being stored on the Firebase with ESP32 modules to enable internet connectivity with the device. User as well as responsible authorities will be able to access this data for prevention and future prediction of the pollution.
- For Waste management, we will install various sensors, along with an ESP32 module to upload the real-time data into the firebase server, about the status of garbage level in the bins which can then be retrieved by the Android monitoring app. It will also inform the concerned municipal persons about the status of bins to improve the collection of waste along with the information about recyclable and non-recyclable waste, which is segregated by the smart bins that we will make.
To improve the quality of life of individuals we have proposed a complete working system that is tackling the major emerging problems. The core benefits of our projects are;
Smart parking system benefits:
The system that we propose provides real time information regarding availability of parking slots in a specific part of city using the smart phone app. Users can find, reserve and will be able to safely park his vehicle that will be under surveillance and even can access live footage.
Waste management system:
The smart garbage management system will make the garbage collection more efficient using smart dustbin at various places to improve cleanliness in the society. System will prevent overflow of garbage and it will help to recycle the waste easily that can be utilized to reuse and make energy from it.
Air quality monitoring system:
Portable device will provide data regarding air quality condition of a place which is installed all over the city. This complete network will help authorities to have a real time view of the air quality status of the city to make the environment clean. Installed devices will help to avoid disastrous leakage of gases such as CNG and sui gases in CNG stations as well as homes.
Technical Details of Final DeliverableAt the end of the project, we’ll have the following deliverables;
- MATLAB app for Smart Parking.
- Can take both image and video as input.
- Can take any IP camera’s live stream as input.
- Let the user define his own regions as parking lot spaces.
- Process the input and displays the status of the parking lot spaces by calculating the change in the regions and decides the status on a specific threshold value which is to be defined by the user.
- Upload the status of parking spaces to the cloud database.
- Can read the previous status from the cloud database.
- Can load/save region configuration.
- The number of regions is to be defined by the user. (Default value is 8)
- A CCTV camera for monitoring of a parking area.
- Android app for the user to check the status of parking lots, as well as, will be able to book a spot in advance.
- A Portable air quality monitoring device
- Display the real-time status of the sensors for air quality on a touch screen display
- Upload that status to the database via internet.
- Provide the information about the location of the device via GPS module.
- An Android app for the monitoring of the portable device.
- Smart bins
- Built in Segregation system
- Monitor and Upload the level of the garbage to the database via ESP32 (Internet).
- Inform the authorities about the status of the bins.
- Android app to monitor those bins
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 45370 | |||
| Digital Multimeter | Equipment | 1 | 1650 | 1650 |
| Digital Oscilloscope | Equipment | 1 | 2800 | 2800 |
| OLED | Equipment | 2 | 400 | 800 |
| RFID READER | Equipment | 1 | 1330 | 1330 |
| RFID CARDS | Equipment | 10 | 35 | 350 |
| DUST sensor | Equipment | 1 | 550 | 550 |
| DHT11 Temperature Sensor | Equipment | 1 | 140 | 140 |
| HC SR04 Ultra sonic Sensor | Equipment | 4 | 140 | 560 |
| MQ135 AIR quality Sensor | Equipment | 2 | 240 | 480 |
| MQ2 Gas sensor | Equipment | 2 | 220 | 440 |
| MQ7 Gas sensor | Equipment | 2 | 240 | 480 |
| Nextion Touch Screen | Equipment | 1 | 4800 | 4800 |
| ESP32 | Equipment | 4 | 1200 | 4800 |
| HD Camera | Equipment | 1 | 4000 | 4000 |
| Camera Stand | Equipment | 1 | 1200 | 1200 |
| Dust Bins | Equipment | 3 | 450 | 1350 |
| Portable Plastic Kit | Miscellaneous | 2 | 1000 | 2000 |
| PCB printing | Equipment | 1 | 5000 | 5000 |
| Soldering Gun | Equipment | 1 | 400 | 400 |
| Soldering Stand | Equipment | 1 | 850 | 850 |
| Glue Gun | Equipment | 1 | 800 | 800 |
| Soldering wire | Miscellaneous | 2 | 250 | 500 |
| Glue sticks | Miscellaneous | 10 | 20 | 200 |
| GPS module | Equipment | 2 | 1500 | 3000 |
| Arduino Mega | Equipment | 2 | 1450 | 2900 |
| Regulators IC | Miscellaneous | 6 | 15 | 90 |
| 12V DC Jack | Miscellaneous | 2 | 50 | 100 |
| 12V Dc battery | Equipment | 2 | 900 | 1800 |
| Transformer | Equipment | 2 | 250 | 500 |
| R L C | Miscellaneous | 100 | 2 | 200 |
| AC charging System | Equipment | 1 | 450 | 450 |
| Breadboard | Miscellaneous | 3 | 150 | 450 |
| jumper wires | Miscellaneous | 4 | 100 | 400 |