This document describes a system that uses sensors installed in vehicles to detect obstacles and monitor pollution levels. The system uses an ultrasonic sensor to detect objects in front of the vehicle to avoid accidents. It also uses gas sensors to detect CO2 emitted from the vehicle. When obstacles are detected, the system automatically controls the vehicle speed to avoid collisions. The pollution levels are also monitored and notifications are sent if levels exceed standards. The system aims to reduce road accidents and monitor vehicle emissions using sensors and microcontrollers connected to the Internet of Things.