Welcome on WindShield

The system that will keep you awake while driving

The Vision

WindShield is an intelligent system that will make the driving experience safer. By studying how the driver behaves while traveling, the system will be able to recognize if he is falling asleep and consequently take action by emitting a strong sound, turning up internal car lights and by making the driver sense a vibration. Once tiredness will be spotted, the system will also ask the driver some logical questions to keep him awake and allow him to reach a place to rest. What we are trying to do is to decrease the number of car crashes that happen in highways due to driver's tiredness. The device installation will make the driving experience safer and the ambient smarter.

Meet our team

the 4 elements of ambient intelligence


The system senses the multiple cues sent by the driver before falling asleep under the form of anomalies in steer angle, pedal pressure and H-rate.


by continously crossing together the data received by the multiple sensors is able to understand if the driver is still awake.


In case of high driver tiredness, WindShield will activate multiple devices to wake the driver up.


The driver will have to answer some logical questions to prove that he is actually awake.

the AMI features

Open Issues

Purpose and scope

In recent years, driver drowsiness has been one of the major causes of road accidents and can lead to severe physical injuries, deaths and significant economic losses. Statistics indicate the need of a reliable driver drowsiness detection system which could Alert the driver before a mishap happens. We are trying to develop a system able to determine driver drowsiness using the following measures: (1) steer angle; (2) gas pedal pressure A detailed review on these measures will make the system understand the current driver status and activate the following safety procedures to keep him awake: (1) Alert sound emission, (2) Strobe Light Alert, (3) logical questions to which the driver will need to answer.



Smart Device = any smartphone, tablet or pc.

Driver = the target user.

Alert = the signals that the System sends to the user.

Strobe Light = light used to flash the Driver.

System = all the elements (Computer, Smart Device, Wearable Device) in the architecture.


Driver while driving his car on the highway at the average speed of 90-130 km/h.

Functional and Non-Functional Requirements

FR Area Code Functional Area
SETUP Installation, set-up, first configuration.
CONFIG Settings and preferences (may be changed any time by the Target User).
ALERT Action of the Systems to Alert the Driver.
QUESTIONS Questions from the System to keep the driver awake.
SENSING The sensing part of the System.
REASONING The data interpreter section.

CONFIG.1 Enable/disable logical questions The user by manually interacting with the smart device will be able to decide whether to answer logical questions or not once drowsiness is spotted. 3
CONFIG.2 Choose the logical questions’ topics The user by manually interacting with the smart device will be able to choose from which subject the logical questions will be picked. (ex: Math, Geography…) 3
ALERT.1 Activation of Strobe Light To wake up the Driver and Alert him of anomalies the System will switch on a light to capture his attention. 1
ALERT.2 Sharp sound emission Once drowsiness is detected the System will emit a sound from the Smart Device to wake him up. 1
QUESTIONS.1 Question formulation from the System to the Driver The System will ask the Driver to answer some logical questions previously chosen by the Driver himself at configuration time. The questions will be proposed through the speakers of the Smart Device. 2
QUESTIONS.2 Answer to the questions by the Driver After generating the question, the System will wait for a vocal answer from the Driver that will be interpreted by the System to understand if the answer is correct. In this case it will pass to the next question; otherwise it will ask the question again. 2
SENSING.1 Steer angle changes sensing The sensor placed in the steer wheel measures the degree of the steer angle and send the data to the computer. 1
SENSING.2 Gas pedal pressure sensing The sensor placed in the gas pedal measures the pedal pressure and send the data to the computer. 1
REASONING.1 Interpretation of raw data coming from car hardware The computer extrapolates an avarage value from the data coming from the sensors and sends it to the Smart Device. 1
REASONING.2 Drowsiness Detection The SMart Device crosses all data inputs to detect Drowsiness and activate the ambient. 1

1 Supported Smart Device The Driver’s Smart Device must have an Android operating system, version 5 or better. Portability
2 Answer to the questions by the Driver The user smartphone must be switched on for the System to work. If the phone is off, then the System will not act. Reliability
3 Computer power supplier The Computer must be connected to the car’s power supplier Reliability
4 Language The language of the user interface will be English. Usability
5 Programming language for Computer The programming language used is Python. Portability

The System Architecture

Hardware Architecture

Computer: its role will be to process the data coming from the 2 sensors connected to the car: potentiometer and proximity sensor. It will act by sending a signal to the Smart Device and by switching on a light to wake up the Driver.

Smart Device: The Smart Device represents the second part of Windshield’s brain by processing data from the Wearable Device and from the Driver’s speech. It will act by emitting a sharp sound, by asking questions to the Driver and by making the Wearable Device vibrate. It is the only User Interface that will enable the Driver to change settings regarding the logical questions asked.

Proximity Sensor: installed inside the gas pedal to measure the pedal pressure

Potentiometer: installed in the steer wheel to measure steer angle

Light: switched on by the Smart Device in case of drowsiness.

Steer wheel: connected to a potentiometer to measure steer angle anomalies

Gas pedal: mechanical system connected to a proximity sensor to measure the pressure the Driver is impressing on the pedal.

Software Architecture

The Interpreter: coded in Python and placed in the computer, it interprets the data’s frequency in input from the sensors and communicates by Bluetooth with the Smart Device app.

Professor Oak: it's the piece of software which asks questions to the Driver and processes tha answer to check its validity.

The Player: we like sudden sounds, so we introduced one to wake the Driver up.

The Lightbringer: the Driver must be awaken and light is the best tool to di it.

The Brain: coded in Java it allows both the Driver to interact with the System by the UI and the System to interact with the ambient and the Driver. It processes data inputs from the computerand the Driver to state if the user is awake or not.

Selected Components


Raspberry Pi

Light (Strobe Light)

Smart Device with Android (tablet, smartphone)


Proximity Sensor


Gas pedal: it’s a mechanical system integrated with a proximity sensor that enables the observation of data coming from pedal pressure.

Steer wheel: it’s mechanical system integrated with a potentiometer to study steer angle anomalies.

Presentation Slides: http://www.slideshare.net/secret/fLzWA6udjiryHZ