Before starting on the code, you need to consider where this sensor will be placed inside the car and how that may affect the design of the software.
Research:
Software:
https://docs.google.com/spreadsheets/d/1p0coDk7C_3FwyIyBHRPrMNLwiUhXiAF0rz1jW-ujQes/edit#gid=0&range=A9
Before starting on the code, you need to consider where this sensor will be placed inside the car and how that may affect the design of the software.
Research:
Software:
https://docs.google.com/spreadsheets/d/1p0coDk7C_3FwyIyBHRPrMNLwiUhXiAF0rz1jW-ujQes/edit#gid=0&range=A9