<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Metaversalize</article-title></title-group>
</article-meta></front>
<body>
<sec><title>AI Safety</title><p>Nikhil Tripathi * School of Computer Science Engineering, KIIT University, Bhubaneswar, India; 2229130@kiit.ac.in . Received: 12 February 2024 Tripathi , N . ( 202 4 ). AI assist ed IoT safety Revised: 18 April 2024 . Metaversalize , 1 ( 3 ), 109 - 120 . Accepted: 25 June 2024</p>
</sec>
<sec><title>Abstract</title><p>As urban areas expand and interconnectivity grows, public safety in smart cities becomes paramount. To address this, integrat ing AI - assisted IoT systems presents a transformative approach to enhancing public safety. This study proposes a comprehensive safe ty framework tailored for smart cities that leverages a IoT technology, seamlessly combining various sensors ³ such as eye blink, ultrasonic, and alcohol sensors ³ to ensure road and public safety. The eye blink sensor detects driver fatigue, issuing immediate auditory alerts to prevent potential hazards, thus enhancing real - time safety. Ultrasonic sensors deliver continuous data on the speed and proximity of nearby vehicles, optimizing traffic flow and reducing the likelihood of collisions. Addressing the risk s associated with alcohol impairment, our framework incorporates an alcohol detection sensor, which, upon identifying high intoxication levels, utilizes GPS and GSM technologies to automatically adjust vehicle speed and inform relevant authorities, enablin g prompt intervention. Additionally, the system incorporates Li - Fi technology to improve inter - vehicle communication through Visible Light Communication (VLC), facilitating rapid data exchange across connected vehicles. This Artificial Intelligence of Things (AIoT)</p>
<p>enabled framework provides a foundation for safer and more cohesive urban transportation, contributing to a smarter, sustainable, well - integrated public safety network in smart cities. Our model paves the way for significant improvements in urba n safety infrastructure through these advancements, setting a standard for evolving smart city safety .</p>
</sec>
<sec><title>Keywords:</title><p>Smart cities, AI - assisted IoT, Public safety, Ultrasonic sensor, Alcohol detection, Urban transportation .</p>
</sec>
<sec><title>1 Introduction</title><p>As urbanization accelerates and city populations grow, enhancing public safety ³ particularly in transportation ³ has become an essential focus for sustainable smart city development. High - density urban environments often experience increased traffic incidents resulting from negligent driving, distractions, alcohol - impaired operation, and deteriorating infrastructure, which heighten risks and strain city resources.</p>
<p>There is, therefore, an urgent need for innovative, adaptive technologies to foster safer urban e nvironments.  Corresponding Author: 2229130@kiit.ac.in https://doi.org/10.22105/metaverse.v1i3.66 Licensee System Analytics . This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0).</p>
<p>AI  Integrating Artificial Intelligence (AI) and the Internet of Things (IoT) within smart city frameworks offers the transformative potential to meet these challenges [1] , [2] . Artificial Intelligence of Things (AIoT) leverages the power of AI and the IoT to enable real - time monitoring, data - driven insights, predictive analytics, and automated responses. By embedding smart sensors throughout urban transportation systems, this study introduces a comprehensive AIoT - based framework to enhance public safety, espe cially on city roads.</p>
<p>Utilizing technologies like eye blink sensors, ultrasonic detectors, and alcohol monitors, this framework continuously assesses and manages risks withi n the urban mobility landscape. For instance, eye blink sensors monitor driver alertness, identifying signs of drowsiness that commonly lead to accidents. This detection triggers immediate auditory alerts to encourage driver attentiveness, thus actively re ducing the likelihood of fatigue - related incidents.</p>
<p>Ultrasonic sensors further support road safety by measuring proximity to surrounding vehicles and adjusting vehicle interactions to promote safer distances. This mechanism assists in collision prevention and traffic flow management, which is particularly valuable in high - density zones where swift and sudden maneuvers are frequent. Addressing the risks of alcohol - impaired driving, the framework integrates alcohol sensors to gauge the driver&apos;s blood alcohol levels. If an illegal level is detected, the system enacts safety measures by leveraging GPS and GSM technology to limit vehicle mobility and alert local authorities, promoting timely intervention.</p>
<p>This aspect of the AIoT system plays a vital preventive role, proactively managing one of the primary causes of road incidents. The framework also introduces advanced Vehicle - to - Vehicle (V2V) communication through Light Fidelity (Li - Fi) technology, which e mploys visible light for high - speed data transfer between vehicles. This connectivity facilitates the rapid exchange of critical information regarding vehicle speed, position, and route, creating a synchronized and responsive urban transportation network.</p>
<p>With real - time V2V communication, AIoT contributes to congestion reduction, accident prevention, and traffic flow optimization, making city travel safer and more efficient. Beyond individual vehicle monitoring, the AIoT framework&apos;s ability to collect and a nalyze comprehensive traffic data enables smarter infrastructure decisions. City planners and transportation authorities can assess historical and real - time traffic data to identify bottlenecks, predict traffic patterns, and dynamically manage roadways. AI algorithms and predictive models support these efforts, providing insights that allow for more strategic adjustments to traffic signals, vehicle rerouting, and urban mobility planning, ultimately improving transportation efficiency and reducing emissions [3] . AIoT also enables smart infrastructure that dynamically adapts to changing conditions. For example, AI - driven traffic lights can alter their signal timing based on current traffic density, minimizing delays and congestion at intersections. This adaptabil ity enhances urban infrastructure&apos;s efficiency and responsiveness, enabling smart cities to address traffic demands and create a safer environment for pedestrians and drivers alike.</p>
<p>AIoT additionally supports predictive maintenance by identifying infrastructure weaknesses and scheduling repairs before major issues arise, improving reliability and safety across the transportation network [4] . This predictive capability extends to public transportation, where AIoT technology can optimize routes, reduce delays, and improve operational dependability, ensuring smooth travel for city residents. In connecting multiple transportation options ³ such as buses , trains, ride - sharing services, and bike lanes ³ AIoT fosters a multimodal urban mobility system. This interconnectedness encourages residents to use public transit options, reducing reliance on private vehicles and promoting sustainable transportatio n practices. The result is a more cohesive and accessible urban network, improving citywide efficiency and reducing congestion.</p>
<p>Safety is further enhanced by AIoT - powered intelligent surveillance, which enables city authorities to monitor traffic patterns, identify accident - prone areas, and proactively respond to hazards. By implementing Machine Learning (ML) models, authorities can predict and prevent accidents by deploying preventative measures in high - risk locations. This active surveillance and data analysis support urban safety, offering insights that help authorities refine infrastructure and urban planning [5] . In extending the benefits of AIoT beyond individual vehicles, this framework envisions an interconnected, citywide safety system that addresses both immediate and long - term needs in public safety. Through interconnected infrastructure, vehicles, and monitoring systems , AIoT creates a holistic approach to safety that revolutionizes traditional  Tripathi | Metaverse .</p>
<p>1 ( 3 ) ( 202 4 ) 109 - 120 practices. By utilizing AIoT, cities can shift from reactive to proactive safety measures, prioritizing preventive interventions over corrective actions. AIoT&apos;s application within smart cities highlights a shift towards sustainable and scalable solutions t hat meet the growing demands of urban populations. Continuous monitoring, predictive analytics, and real - time interventions provide a solid foundation for creating safer, more resilient cities. The AIoT framework is not merely an enhancement of existing sa fety measures but a transformative solution that redefines urban safety standards. Through this technological integration, AIoT is a powerful tool for enhancing urban mobility, supporting sustainable practices, and improving the quality of life for all res idents. As smart cities embrace AIoT, they establish a foundation for further advancements, creating safe, efficient, and responsive environments that meet the needs of their growing populations .</p>
</sec>
<sec><title>2 Conceptual Definition</title><p>Smart cities represent a transformative approach to urban development, emerging as a crucial response to the multifaceted challenges of rapid urbanization, population growth, and the demand for sustainable living [6] . Smart cities leverage advanced technologies, particularly the integration of AI and the IoT, to optimize city operations and enhance the quality of life for residents. These cities are characterized by their commitment to incorporating cutting - edge Information and Communication Technologies ( ICT )</p>
<p>into their infrastructure and governance, facilitating seamless connectivity and efficient resource management. Historically, the concept of smart cities has evolved significantly since its inception in the 1970s, gaining notable momentum around 2010 when various global initiatives, particularly those supported by the European Union, began prioritizing smart city pr ojects. At its essence, a smart city aims to create an interconnected urban environment where technology catalyzes improved efficiency, resilience, and sustainability. This integration of technology not only enhances urban operations but fosters community engagement and promotes social equity. One of the primary features of smart cities is their reliance on data analytics, which involves the extensive collection and analysis of data generated from IoT devices and sensors embedded throughout the urban landsc ape. This data - driven approach allows city planners and decision - makers to derive actionable insights, facilitating informed decision - making processes that enhance transportation safety and overall urban functionality. By harnessing AI - driven analytics, sm art cities can predict traffic patterns, identify potential hazards, and optimize traffic management systems to prevent accidents and improve the flow of people and goods.</p>
<p>Another key aspect of smart cities is their focus on operational efficiency. By streamlining urban operations, these cities can minimize resource consumption while maximizing service delivery. This is particularly evident in the realm of transportation, wh ere smart cities implement solutions that not only enhance safety but also reduce environmental impacts. For instance, integrating smart transportation systems enables real - time monitoring of traffic conditions, allowing for adaptive signal control and dyn amic routing to mitigate congestion and reduce the risk of accidents.</p>
<p>Furthermore, the resilience of smart cities is a critical factor in their design and implementation. These cities are built to withstand and adapt to various challenges, such as natural disasters, climate change, and public health crises [7] . Through the development of robust infrastructures and systems, smart cities can ensure the continued functionality of their transportation networks, even in the face of unforeseen events. This resilience is further enhanced by the proactive nature of AIoT applica tions, which enable predictive maintenance and real - time responses to emerging issues. The livability of smart cities is another cornerstone of their conceptual framework. By creating safe, comfortable, and community - oriented urban environments, s mart cities improve their residents&apos; overall quality of life. Advanced transportation systems that prioritize safety and accessibility are integral to this objective, as they facilitate seamless movement within the urban landscape and promote social intera ction.</p>
<p>Additionally, smart cities incorporate innovative technologies such as Li - Fi and LED lighting systems to enhance transportation safety and efficiency. Li - Fi technology, which utilizes visible light for high - speed data transmission, enables effective communication between vehicles and infrastructure, improving coordination AI  and reducing the likelihood of accidents. Meanwhile, LED lighting in public spaces enhances visibility and contributes to energy savings and sustainable urban development.</p>
<p>In summary, the conceptual definition of smart cities underscores their multifaceted nature, emphasizing the integration of technology, data analytics, and community engagement to address the challenges of modern urban living. The evolving landscape of sma rt cities highlights their potential to revolutionize urban mobility and safety through innovative AIoT solutions. As cities continue to grow and evolve, the commitment to creating smart environments that prioritize safety, efficiency, and sustainability w ill be paramount in shaping the future of urban life.</p>
</sec>
<sec><title>3 Artificial Intelligence of Smart City Things in Transportation</title><p>Integrating AI with the IoT has given rise to a transformative paradigm known as AIoT. This convergence has profound implications in various domains, particularly smart cities and transportation safety. The conceptual framework presented here elucidates the technical compone nts of integrating AIoT into smart transportation systems, focusing on enhancing safety measures and operational efficiency.</p>
</sec>
<sec><title>3.1 Sensing Devices and Data Acquisition</title><p>Smart transportation systems begin with a comprehensive network of sensing devices, including cameras, environmental sensors, and GPS units strategically positioned throughout urban environments and transportation infrastructure [8] . These devices continuously gather real - time data on traffic dynamics, vehicle movements, environmental conditions, and safety - related incidents. By utilizing an extensive array of sensors, smart cities can develop a detailed understanding of transportation syst ems, enabling proactive safety measures and efficient management.</p>
</sec>
<sec><title>3.2 Communication Infrastructure</title><p>A robust communication framework is essential for the effective functioning of smart transportation systems. Low - latency networks, such as 5G, facilitate rapid data transmission between edge devices and centralized processing systems, enhancing the respons iveness and reliability of safety communications. This infrastructure enables seamless interaction between vehicles and traffic management systems, allowing for timely updates and alerts that are crucial for ensuring road safety.</p>
</sec>
<sec><title>3.3 Edge Computing</title><p>Edge computing is vital in processing data close to its source, significantly reducing latency and supporting real - time decision - making [9] . Strategically located edge nodes within the transportation network process sensor data, extracting relevant information that can address immediate safety concerns. By enabling data processing at the edge, these nodes ensure that critical information reaches decision - makers swi ftly, allowing rapid responses to emerging situations.</p>
<p> Tripathi | Metaverse . 1 ( 3 ) ( 202 4 ) 109 - 120 Fig. 1. Edge computing in IoT device processing .</p>
</sec>
<sec><title>3.4 Fog Computing</title><p>Fog computing extends the capabilities of edge computing by enhancing data processing efficiency for time - sensitive applications within smart transportation systems [10] . This approach allows for near real - time processing of sensor data by situating fog nodes closer to data sources, which is particularly important for safety monitoring. Fog computing supports the dynamic analysis of transportation conditions, ensuring that safety measur es are responsive to changing environments.</p>
</sec>
<sec><title>3.5 Cloud Computing</title><p>Cloud computing is pivotal in offering scalable storage and processing power for the extensive datasets generated by smart transportation systems. Centralized cloud servers facilitate intensive data analytics and ML tasks, enabling the development of predictive models that inform safety strategies. By harnessing cloud computing, smart cities can perform comprehensive analyses to identify safety hazards and optimize transportation networks effectively.</p>
</sec>
<sec><title>3.6 Data Analytics and Machine Learning</title><p>Centralized data analytics platforms leverage ML and Deep Learning algorithms to process large volumes of data collected from smart transportation systems. These predictive analytics models anticipate traffic congestion and identify potential safety threats and patterns. By utilizing data - driven insights, decision - makers can implement strategies that enhance urban transportation&apos;s overall safety and efficiency.</p>
</sec>
<sec><title>3.7 Data-Driven Decision-Making Systems</title><p>AI - driven decision - making systems interpret analyzed data to make informed and intelligent choices. These systems dynamically adjust traffic signal timings, reroute vehicles based on real - time conditions, optimize public transportation schedules, and prior itize safety measures. Smart transportation systems can respond swiftly to changing circumstances by automating decision - making processes, ultimately improving safety outcomes.</p>
<p>AI </p>
</sec>
<sec><title>3.8 Safety Monitoring and Response</title><p>Dedicated AI algorithms monitor safety - related events, such as accidents or unusual driving behaviors, triggering immediate alerts and responses. Automated safety measures, including real - time notifications to emergency services and adaptive speed controls , significantly enhance transportation safety. By integrating these systems, smart cities can rapidly respond to incidents, thereby reducing the likelihood of secondary accidents and improving overall public safety.</p>
</sec>
<sec><title>3.9 User Interfaces and Applications</title><p>User interfaces and applications provide a human - centric interaction layer for transportation administrators and the general public [11] . Mobi le applications, dashboards, and public displays deliver real - time information about transportation conditions, alternative routes, and safety advisories. By offering accessible information, these interfaces empower users to make informed decisions, enhanc ing their safety while navigating urban environments.</p>
<p>The technical components outlined in this framework reflect an innovative integration of AI and IoT, creating a powerful system that enhances the operational capacity of smart transportation networks. This framework not only facilitates improved efficiency and safety but also addresses the complex challenges modern urban transportation systems face. By focusing on AIoT solutions, smart cities can pave the way for a future where transportation safety is paramount, ensuring that urban environments remain resi lient, efficient, and conducive to quality living. As smart cities evolve, the commitment to leveraging AIoT technologies to enhance transportation safety and operational excellence will be crucial. Integrating these technologies represents a significant a dvancement in how cities manage their transportation systems, ultimately leading to safer and more efficient urban environments.</p>
</sec>
<sec><title>4 System Models and Methodology</title><p>This section discusses the autonomous speed detection and accident avoidance frameworks for connected vehicles. The advancement of technology has led to the development of dynamic transport systems that significantly impact society and individuals&apos; daily l ives. While these systems offer numerous benefits, they also contribute to adverse situations, primarily vehicular accidents, which pose a severe risk along with urban congestion and pollution. To mitigate these challenges, the proposed framework integrate s various sensors for accident prevention and enhances vehicular safety. This section is divided into five subsections .</p>
</sec>
<sec><title>4.1 Overview of the Proposed System</title><p>The proposed system consists of three distinct modules: A drowsiness detection module, a speed indication module, and an alcohol detection module, as illustrated in Fig . 2 ( diagram of the overall system architecture). I. Drowsiness detection module: This module employs a wearable device with an eye - blink sensor to assess the GULYHU·VIDWLJXHOHYHO,IGURZVLQHVVLVGHWHFWHGDQDOHUWPHFKDQLVPLVDFWLYDWHGWRZDNHWKHGULYHU II.</p>
<p>Speed indication module: This module utilizes ultrasonic sensors mounted on the vehicle&apos;s sides to measure the distance and speed of surrounding vehicles, thereby providing real - time data to help maintain safe driving distances. III. Alcohol detection module: This module monitors the driver&apos;s breath for alcohol presence. If alcohol is detected, the system activates a motor lock to prevent vehicle operation and communicates the driver&apos;s location to relevant authorities through GPS and GSM.</p>
<p> Tripathi | Metaverse . 1 ( 3 ) ( 202 4 ) 109 - 120</p>
</sec>
<sec><title>4.2 Drowsiness Detection Module</title><p>The drowsiness detection module is implemented using an Arduino mini controller. It consists of a lightweight temporary eyeglass that the driver wears, equipped with an IR sensor, a buzzer, and a power source ³ the IR sensor functions by emitting infrared li ght toward the driver&apos;s eyes. When the eyes are closed, the reflected light intensity is detected by a photodiode, triggering the buzzer if the driver does not blink within a specific timeframe. This mechanism ensures unobstructed vision for the driver, m aintaining safety on the road while effectively detecting signs of fatigue.</p>
<p>Fig. 2. Drowsiness detection module .</p>
</sec>
<sec><title>4.3 Speed Indication Module</title><p>Accurate speed monitoring is crucial for safe driving. The speed indication module employs ultrasonic sensors positioned on the vehicle&apos;s sides to measure the distance and speed of nearby vehicles. The sensors emit high - frequency sound waves that bounce off surrounding objects, calculating the distance based on the time the waves return. This real - time data is displayed to the driver, enabling timely adjustments to maintain safe distances. The system includes an LCD and an Arduino Mega for processing, ensuring that the driver receives continuous feedback about surrounding traffic conditions.</p>
</sec>
<sec><title>4.4 Alcohol Detection Module</title><p>To combat drunk driving, a robust alcohol detection module is integrated into the system, utilizing an MQ3 alcohol sensor interfaced with an Arduino Mega. This sensor can detect alcohol levels starting from 0.4 mg/L. Upon detecting alcohol, the system imme diately locks the vehicle&apos;s motor, preventing operation. Simultaneously, the system alerts authorized personnel, providing real - time location data via a GPS receiver and GSM modem. This proactive approach enhances driver safety and protects other road user s.</p>
<p>AI  Fig. 3. Alcohol detection module.</p>
</sec>
<sec><title>4.5 Vehicle-to-Vehicle Communication Using Li-Fi Technology</title><p>The integration of Li - Fi technology facilitates efficient V2V communication, significantly enhancing the safety and responsiveness of the transportation system. This communication framework enables vehicles to share real - time information regarding speed, location, and traffic cond itions, creating a collaborative driving environment. By leveraging light signals for data transmission, Li - Fi can overcome the limitations of traditional communication methods, ensuring faster and more secure data exchange. This interconnectedness among vehicles allows for synchronized actions, such as coordinated braking or acceleration, which can substantially reduce the likelihood of accidents.</p>
<p>Fig. 4. Vehicle - to - vehicle communication flowchart .  Tripathi | Metaverse . 1 ( 3 ) ( 202 4 ) 109 - 120</p>
</sec>
<sec><title>4.6 AIoT Integration</title><p>The proposed system leverages AIoT to enhance predictive maintenance and traffic management. IoT sensors continuously monitor vehicle health, enabling proactive maintenance strategies that reduce downtime and improve fleet reliability. Furthermore, AIoT algorithms analyze real - time data from integrat ed devices to predict traffic patterns, dynamically adjusting traffic signals to optimize flow and minimize congestion. This holistic approach improves public transportation systems by providing real - time passenger data, optimizing routes, and enhancing us er experiences through tailored services such as smart parking and customized navigation.</p>
</sec>
<sec><title>5 Re sults and Discussion</title><p>A prototype instrument to detect sleepiness consists of temporary glasses with an installed IR sensor powered by a 3.7V battery that supports an Arduino Pro Mini processor. Standard safety spectacles are equipped with an Infrared emitter and detector pair positioned laterally across the palpebral fissure to generate a monitored IR stream interrupted when the eyes close. This interruption is detected by the IR sensor, signaling the processor to activate an alarm or alert system to notify t he driver of their drowsiness. If the outcome from the eye flicker monitor is minimal, the indication will be adjusted to high. If the driver begins to nod off, the buzzer will sound as a warning, and the indication can be turned off if necessary.</p>
<p>To improve blink recognition and minimize the likelihood of false - positive blink events resulting from non - blink lid movement, it is possible to include one or more extra emitters and/or detectors. This additional equipment would augment the capabilities o f a single IR LED (emitter) and phototransistor (detector), HQKDQFLQJWKHV\VWHP·VDFFXUDF\$QDUUD\RIWZRRUWKUHHHPLWWHUGHWHFWRUSDLUVSRVLWLRQHGSDUDOOHOWRWKH eye surface may provide an alternative path for IR rays to travel when the lids move up and down simultaneously while remaining apart (for example, during a downward gaze). Furthermore, by incorporating DFROOHFWLRQRIHPLWWHUVDQGGHWHFWRUVWKHVHQVLQJV\VWHP·VUHVLVWDQFHWRFKDQJHVLQH\HJODVVSRVLWLRQFDXVHG by head or facial movements th DWFDXVHWKHVNLQRQWKHQRVH·VEULGJHWRPRYHRUE\KHDGPRYHPHQWVPD\EH improved.</p>
<p>The primary input source is the interconnection between the wearable component, which tracks driver intoxication and sleepiness, and the vehicle&apos;s onboard systems. It is used to continually track important physiological indicators, including heart rate, ey e movements, and alcohol content of the breath. The vehicle&apos;s central processing unit receives these real - time data streams wirelessly and using cutting - edge ML techniques; it evaluates them to determine the driver&apos;s level of drunkenness and cognitive stat e. To reduce possible safety concerns, relevant measures, such as automated speed decrease or audio alarms, are initiated based on the results of the analysis.</p>
<p>Subsequently, the vehicle&apos;s collision avoidance system is integrated with the ultrasonic speed detector, which keeps track of another vehicle&apos;s speed. Real - time situational awareness through ultrasonic sensors can detect the relative velocities and distanc es from other surrounding vehicles. Moreover, the collision avoidance system uses V2V Li - Fi technology to connect with other cars, enabling cooperative maneuvers and improving traffic safety in smart city settings. These integrations can be realized by con figuring the decision - making phase in the distributed AIoT integrated platforms. The role of AIoT in the scenarios above facilitates smooth communication and coordination between various system components. AIoT ensures prompt reactions to changing driving circumstances and new safety concerns by enabling dynamic data exchange and decision - making across heterogeneous devices and platforms through a distributed network architecture.</p>
<p>Additionally, the system can continually adjust and enhance its performance based on contextual information and real - world input thanks to AIoT - driven analytics and predictive modeling, which maximizes driving efficiency and safety. The proposed approach c an be applied in various situations, including personal vehicles, public transit, and commercial fleets. For example, the technology might be implemented in commercial fleets under forced adoption situations to enforce safety standards and reduce the hazar ds related to driver fatigue AI  and alcohol impairment. Conversely, when adoption is voluntary, the system may be sold as an optional accessory for private automobiles, attracting customers who value safety and want to improve their driving experience.</p>
<p>To determine the speed of a nearby vehicle, we utilize an ultrasonic sensor, which consists of a transmitter and a receiver that emits and receives sound waves, respectively. By transmitting high - frequency sound waves and monitoring the time it takes to re turn after hitting an object, the ultrasonic sensor can measure the distance between the object and the sensor. This concept enables the measurement of an object&apos;s motion as it passes the ultrasonic sensor. When the item moves in front of the sensor, the s ound waves bounce back to the sensor. The speed of the passing vehicles can be calculated using the equation, which represents the object&apos;s velocity, the distance between the object and the sensor, and the time it takes for the sound waves to reach the obj ect and return. We can determine and display the speed of passing vehicles using this technique.</p>
<p>To detect overtaking vehicles, we can interface three ultrasonic sensors on the rear of our car. When the rightmost sensor detects a vehicle overtaking on the right, the display will show the message &quot; Alert, Vehicle overtakes at Right.&quot; The message &quot;Alert, Vehicle Overtakes at Left&quot; will be displayed when the leftmost sensor is in use. If the moving vehicle approaches our car too closely, a &quot;Danger&quot; warning will appear, while the message &quot;No vehicle&quot; wi ll be displayed if there are no nearby vehicles.</p>
<p>To improve the accuracy of alcohol detection, we have integrated an MQ3 sensor into the microcontroller. This sensor is known to be reliable and widely used for alcohol monitoring. Its detection range extends up to 2 m, making it an efficient tool for dete FWLQJWKHSUHVHQFHRIDOFRKRO)XUWKHUPRUHWKHVHQVRU·VVHQVLWLYLW\ FDQEHDGMXVWHGWRPHHWVSHFLILFUHTXLUHPHQWVPDNLQJLWDGDSWDEOHWRGLIIHUHQWVFHQDULRV7KH04VHQVRU·V conductivity increases as the alcohol concentration rises, providing the Arduin o with the corresponding reading.</p>
<p>The results of using the alcohol sensor to detect the presence of alcohol in Fig. 5 indicate that there is no alcohol detected in the driver&apos;s exhaled air as the level is below 150. However, it should be noted that there may still be an undetected alcohol level present. When the driver exhales, the sensor can detect a small amount of alc ohol, and if the level is above the legal limit, a &quot;DRUNK&quot; notification will appear on the screen.</p>
<p>Conversely, a message stating &quot;Within legal limits&quot; will be displayed if the level is within legal limits. The system aims to reduce the number of accidents caused by impaired driving by implementing an engine locking system. Fig. 5. The results of detection of the presence of alcohol.  Tripathi | Metaverse . 1 ( 3 ) ( 202 4 ) 109 - 120 The Arduino will turn the DC motor off when the reading goes beyond the threshold level. The L293D is connected to the Arduino and supplied with 5V, which is then linked to the DC motor. This model uses the SIM800A and NEO6M GPS modules to message the vehi cle&apos;s location to the registered cellphone number after the engine is locked. GPS receivers can determine their distance from several satellites, with the locations of the 32 GPS satellites pre - programmed into them. The GPS module is responsible for determ ining the vehicle&apos;s speed and location. Radio signals from the satellites are sent to Earth, carrying details about their positions and the time at that moment. These signals identify the satellites and provide location information to the receiver.</p>
<p>The SIM800L module can send text SMS data to a host server after receiving serial data from radiation monitoring equipment like survey meters or area monitors. When the alcohol level crosses the threshold, the GSM module sends an SMS to the appropriate aut horities at the provided number. The GPS module records and securely stores location data. The location is stored on the Arduino Mega board as soon as it is known because the initial fix takes longer to establish.</p>
<p>The complete system module developed in this work consists of a transmitter unit and a receiver unit. The two units act as transceivers, each equipped with an LCD screen displaying its state and any data from the sensing modules mounted in the vehicles. Th e transmitter transforms digital data into visible light using an LED. LEDs are suitable because of their linear relationship with current and light output. The receiver uses a photodiode to convert the incoming light into an electrical charge. The photodi ode is a semiconductor device that converts light into an electric current.</p>
<p>The first transmitter is connected to the Arduino device. Once the transmitter receives data from the Arduino board, it converts it to binary and transmits it using the LED. If the binary value is 0, the LED does not blink, but if the binary value is 1, th e LED blinks. The blinking happens so fast that it is invisible to the human eye. The photovoltaic cell on the receiver side absorbs the light from the LED and converts it into electrical energy. The receiver then decodes the binary data received, allowing for effective communication between the transmitter and receiver.</p>
</sec>
<sec><title>6 Conclusion</title><p>This study presented an innovative solution to enhance transportation safety in next - generation smart cities. The Li - Fi - enabled vehicle safety framework integrates eye blink, ultrasonic, and alcohol sensors to address critical issues like driver drowsiness , speeding, and alcohol consumption, major contributors to fatal road accidents. The system effectively detects driver drowsiness and alerts the driver through a buzzer, thus preventing fatigue - related accidents. Ultrasonic sensors provide real - time inform ation on surrounding vehicle speeds, enhancing traffic flow and reducing collision risks. Additionally, the alcohol sensor detects alcohol consumption, restricting the vehicle&apos;s operation and alerting authorities via GPS and GSM to prevent drunk driving in cidents. Using Li - Fi technology for V2V communication via Visible Light Communication (VLC)</p>
<p>further improves data exchange, enhancing road safety. Looking ahead, this adaptable system prototype can be customized and expanded to meet the diverse demands of various markets. It stands as a testament to technology - driven solutions to make urban transportation systems safer, more efficient, and conducive to the overall well - being of smart city residents. The implications of this study are significant, as the proposed system has the potential to substantially reduce fatal road accidents by addressing key factors such as drowsy driving, speeding, and alcohol consumption.</p>
<p>Integrating ultrasonic sensors enhances traffic flow, reducing congestion and accident risks. By automatically restricting vehicle speed when alcohol is detected, the system serves as a deterrent against drunk driving. Furthermore, adopting L i - Fi for vehicle communication emphasizes the role of VLC technology in enhancing transportation safety and efficiency. Our forthcoming research will focus on improving the practicality of the drowsiness detection module, particularly when drivers are wearing prescribed driving lenses. We will thoroughly investigate and test the AI  V\VWHP·VDELOLW\WRFRQVLVWHQWO\DQGDFFXUDWHO\GHWHFWVLJQVRIIDWLJXHDQGGURZVLQHVVLQVXFKVFHQDULRV7KLV research aims to make the system more user - friendly and adaptable to real - world driving conditions.</p>
<p>Additionally, significant attention has been given to justifying the choice of Arduino and GSM technology in our proposed framework for smart city transportation safety. We recognize the importance of ensuring these choices align with the specific applications of our framework. Integrating AIoT innovations for transportation safety signifies a revolutionary step toward creating safer and smarter mobility systems. Our vision is to shape a future in which transportation is not only more efficient but also fundamentally safe for all road users.</p>
</sec>
<sec><title>References</title><p>[1] Alahi, M. E. E., Sukkuea, A., Tina, F. W., Nag, A., Kurdthongmee, W., Suwannarat, K., &amp; Mukhopadhyay, S. C. (2023). Integration of IoT - enabled technologies and artificial intelligen ce (AI) for smart city scena rio: Recent advancements and future trends. Sensors , 23 (11), 52 06. https://doi.org/ 10.3390/s23115206 [2] Yadav, A., Joshi, D., Kumar, V., Mohapatra, H., Iwendi, C., &amp; Gadekallu, T. R. (2022). Capability and robustness of novel hybridized artificial intelligence technique for sediment yield modeling in Godavari rive r, India.</p>
<p>Water , 14 (12), 1917. https://doi.org/ 10.3390/w14121917 [3] Dikshit, S., Atiq, A., Shahid, M., Dwivedi, V., &amp; Thusu, A. (2023). The use of artificial intelligence to optimize the routing of vehicles and reduce traffic conge stion in urban ar eas. EAI endorsed transactions on energy web , 10 , 1 ? 13. https://doi.org/ 10.4108/EW.4613 [4] Alqasi, M. A. Y., Alkelanie, Y. A. M., &amp; Alnagrat, A. J. A. (2024). Intelligent infrastructure for urban transportation: The role of artificial intelligence in predictive maintenance.</p>
<p>Brilliance: research of artificial intelligence , 4 (2), 625 ? 637. https://doi.org/10.47709/brilliance.v4i2.4889 [5] Singh, B., &amp; Nayyar, A. (2024). Navigating deep learning models and health monitoring infrastructure financing in smart cities: Review from legal perceptions and future innovations. In Deep learning in engineering, energy and finance: principals and applications (pp. 80 ? 114). CRC Press.</p>
<p>https://doi.org/ 10.1201/9781003564874 - 3 [6] Javed, A. R., Shahzad, F., ur Rehman, S., Zikria, Y. Bin, Razzak, I., Jalil, Z., &amp; Xu, G. (2022). Future smart cities: Requirements, emerging technologies, applications, challenges, and future aspects. Cities , 129 , 103794. https://doi.org/10.1016/j.cities.2022.103794 [7] Sharifi, A., Khavarian - Garmsir, A. R., &amp; Kummitha, R. K. R. (2021). Contributions of smart city solutions and technologies to resilience against the covid - 19 pandemic: A literature review.</p>
<p>Sustainability , 13 (14), 8018. https://doi.org/ 10.3390/su13148018 [8] Oladimeji, D., Gupta, K., Kose, N. A., Gundogan, K., Ge, L., &amp; Liang, F. (2023). Smart transport ation: An overview of technologies and applicat ions. Sensors , 23 (8), 3880. https://doi.org/ 10.3390/s23083880 [9] Simuni, G., Sinha, M., Madhuranthakam, R. S., &amp; Vadlakonda, G. (2024). Edge computing in IoT: enhancing real - time data processing and decision making in cyber - physical sys tems.</p>
<p>International journal of unique and new updates, issn: 3079 - 4722 , 6 (2), 75 ? 84. https://ijunu.com/index.php/journal/article/view/60 [10] Kuchuk, H., &amp; Malokhvii, E. (2024). Integration of Io T with cloud, fog, and edge computing : A revi ew. Advanced information systems , 8 (2), 65 ? 78. https://doi.org/ 10.20998/2522 - 9052.2024.2.08 [11] Kashef, M., Visvizi, A., &amp; Troisi, O. (2021). Smart city as a smart service system: Human - computer interaction and smart city surveillance systems.</p>
<p>Computers in human behavior , 124 , 106923. https://doi.org/ 10.1016/j.chb.2021.106923</p>
</sec>
<sec><title>Figures</title>
<fig id="fig1"><label>Figure 1</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/66/fig-1-b7c17deb407a.jpg"/></fig>
<fig id="fig2"><label>Figure 2</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/66/fig-2-628840e50782.jpg"/></fig>
<fig id="fig3"><label>Figure 3</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/66/fig-3-c84c2838e1fb.jpg"/></fig>
<fig id="fig4"><label>Figure 4</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/66/fig-4-224897fb889b.jpg"/></fig>
<fig id="fig5"><label>Figure 5</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/66/fig-5-3b52c3634226.png"/></fig>
</sec>
</body>
</article>