For a complete walkthrough of how the Car Black Box project works, including its functionality, interface, and event logging capabilities, check out the video linked below:
video.mp4
This video provides a detailed demonstration of the system in action, showing how to:
-
Navigate through the main menu
-
View, clear, and download logs
-
Set the system time
-
Change the password
-
Capture real-time events and access them securely.
In today's fast-paced world, many drivers often ignore traffic rules and regulations in their rush to reach their destinations. To address this issue, we propose implementing a Car Black Box that logs critical activities and events related to vehicle usage. This system aims to track how a vehicle is handled, enhancing accountability and efficiency.
The Car Black Box will monitor vital parameters such as gear shifts, current speed, time , Collision. It also provides password-based access for transport managers to view or download logs to a PC as needed.
- Operation Mode: Displays current time, vehicle speed, and the latest occurred event.
- User Interaction:
- Access via UP or DOWN keys prompts for a password.
- Password consists of 4 key presses, represented as "*" symbols.
- Incorrect entries prompt re-entry (maximum 3 attempts every 15 minutes).
- Incomplete key presses (3-second pause) revert to the Default Screen.
- Options:
- View Log
- Clear Log
- Download Log
- Reset Time
- Change Password
- Navigation:
- UP/DOWN keys for selection.
- Long press of UP Key enters the selected menu.
- Long press of DOWN Key logs out.
- Idle for over 5 seconds logs out.
- Display:
- Shows all captured events with an index, event signature, event time, and speed.
- Scrolling with UP and DOWN keys.
- The system captures events in real-time even while viewing logs.
- Long press of UP Key returns to the main menu; long press of DOWN Key logs out.
- Clears logged data stored in the external EEPROM.
- Downloads logs to a connected PC.
- Prompts the user to enter a new password and confirm it.
- Updates the password in EEPROM if the entries match.
- Displays current time with the seconds field blinking for changes.
- UP Key increments time; DOWN Key selects the field.
- Long press of UP Key returns to the main menu.
- Captures and stores required events in real time.
- Event format:
"EVENT SIGNATURE" "EVENT TIME" "SPEED AT THE EVENT"
.
- Embedded C programming
- I2C protocols
- Medium
- Detailed design documents can be found in the
docs
folder.
- The code is located in the
src
folder.
- Sample output demonstrating functionality is available in the
output
folder.
Contributions are welcome! Please read the CONTRIBUTING.md for guidelines on how to contribute.
This project is licensed under the MIT License - see the LICENSE.md file for details.