The document proposes an IoT-based system to detect drowsy driving and traffic collisions. The system uses a smartphone to continuously monitor the driver's face for signs of drowsiness like eye blinking and mouth position using image processing. If drowsiness is detected, an alarm is triggered. The system also uses ultrasonic sensors to monitor vehicle distance and warn of obstacles. An impact sensor detects collisions and sends an emergency message with location to nearby hospitals and police. The goal is to reduce accidents caused by drowsy driving and speed emergency response to collisions.