The Trained Engine

The Trained Engine

The Automation of technologies has boosted the world to a level of feasibility and efficiency that was once only thought possible in fiction novels. One field where there is a visible difference is the Automotive sector. Cars are going faster and faster, changing from fossil fuels to Electrical powered and even heading into the future, where they can be driverless.

 

My interest in Integrating Artificial Intelligence with the Automotive sector gave birth to my idea of THE TRAINED ENGINE. The idea was to put safer and more secure vehicles on the road while making them accessible to every type of driver. The following were some of the ideas I had before I got to work;

  • A Facial Recognition unlocking system
  • A central voice recognition system
  • A pulse detection system
  • A breathalyzer

 

The Facial Recognition system was added to unlock the car, the system would recognize it’s user over time and would work with the internal voice recognition system to be user-specific. These systems would obviously work with automated doors and hence reduce the likelihood of the car being stolen.

 

The Central Voice Recognition System was designed to help drive the car to be more approachable to disabled drivers. The system would function in a way that would reduce to a minimum the necessity of physical actions.

 

The Pulse Detection system and Breathalyzer were installed on the car to help accident prevention. The Pulse detector would send instructions to the engine if the driver’s heart rate got too high (in case of a medical emergency or anger) or too low (in case of medical emergencies or depression) and would either call for an ambulance or stop in the nearest feasible location. The breathalyzer was installed to prevent drunk driving. 

 

The development phase of the project is as follows.

Security Specifications

Security issues are nothing new when it comes to vehicles. The designed prototype is designed in a way to provides an extra level of security by preventing car-picking. This is achieved by using ESP-32 cam (AI Thinker module). It has an inbuilt AI Algorithm which can be trained to recognize its owner. Furthermore, the ESP-32 cam is replaced by the ESP-EYE module which will allow the doors to operate on voice recognition as well. The target is achieved by programming on Platform IO IDE used especially for ESP boards. Its fritzing and code snippet is  shown below:

Circuit Diagram:

Code:

           

Facial Recognition Door Unlock Model:

https://drive.google.com/file/d/1YXWCTj0p8m79sE2tW1ePmy6JwnClaXJC/view?usp=sharing

In addition to security threats, accidents are also an alarming issue. That is addressed by using a pulse sensor that measures real-time blood pressure and turns the car off if the driver is overexcited, depressed, etc. This works on real-time emotion monitoring to curtail accidents using the Playground Sensor library of Arduino IDE. Fritzing  and code snippet are attached below for reference:

Circuit Diagram:

Code:

Pulse Based Ignition Model:

https://drive.google.com/file/d/1PzulPD3OR0P-nhAbPlbITajH1hs6yuGO/view?usp=sharing

Furthermore, disabled people can also drive a car using a voice control system. This is achieved by connecting the system through Bluetooth/Wi-Fi with an inbuilt hearing system. This can also stop drunk and drive incidents as the system can be attached with a breathalyzer too. Here we have used the HC-05 Bluetooth module to receive voice via an android cell phone. This is then decoded by Arduino UNO to drive the motor using a motor driver (L298N). The code snippet and fritzing are attached below:

Circuit Diagram:

Code:

               

Voice Recognition Model:

https://drive.google.com/file/d/1V3d9TJdfg6RjFOFyiaxkhKn5TDyl3cwO/view?usp=sharing 

Thus, the prototype can be seen in the images below and a working model via the link below: 

   

WORKING MODEL:

https://drive.google.com/file/d/1qLxdvvnytZRvmUVyAPMN0EwoNkBEycqy/view?usp=sharing 

 

 

Written By: Muhammad Masood Ur Rehman

Edited By: Syed Sannan Ali

Leave a Reply