Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 Car Speed Limit Alert

A simple web application that monitors your vehicle speed using GPS and provides visual and audible alerts when you exceed a configured speed limit.

🌐 Live Demo

https://kkshiva.github.io/Car-speed-limit-alert/


✨ Features

  • Real-time GPS speed tracking
  • Custom speed limit setting
  • Audible overspeed alerts
  • Visual speed warnings
  • Mobile-friendly design
  • Full-screen mode support
  • Motion sensor status display
  • Acceleration sensor readings
  • GPS accuracy information
  • Works directly in a web browser
  • No installation required

📱 How It Works

  1. Open the application in your browser.
  2. Allow Location access when prompted.
  3. Set your desired speed limit.
  4. Start driving.
  5. The app continuously calculates your speed using GPS.
  6. When your speed exceeds the configured limit:
    • A visual warning is displayed.
    • An audible alert is played.

🔒 Permissions Required

Permission Purpose
Location Calculate real-time speed using GPS
Motion Sensors (Optional) Detect motion and acceleration
Audio Play overspeed warning alerts

🛠 Technology Stack

  • HTML5
  • CSS3
  • JavaScript
  • Geolocation API
  • Device Motion API
  • Web Audio API

📲 Android Auto

This application is designed for use on Android phones while driving.

Due to Android Auto platform restrictions, web applications cannot be directly integrated into the Android Auto interface. However, the application can run on an Android device and provide speed monitoring and alerts through the device.


🌍 Browser Support

Recommended

  • Google Chrome (Android)

Supported

  • Microsoft Edge
  • Samsung Internet
  • Brave Browser
  • Other Chromium-based browsers

🚀 Installation

Clone Repository

git clone https://github.com/kkshiva/Car-speed-limit-alert.git

Run Locally

Open index.html in a modern browser.

Or start a simple local server:

python -m http.server 8000

Then open:

http://localhost:8000

📸 Screenshots

Add screenshots here:

<img width="358" height="720" alt="image" src="https://github.com/user-attachments/assets/6ea72448-2e16-4dea-9b57-5f2311b6966f" />
<img width="334" height="806" alt="image" src="https://github.com/user-attachments/assets/bf75d301-4fbb-48a8-bbe8-530fff6ddeea" />

⚠️ Notes

  • GPS speed accuracy depends on device hardware and signal quality.
  • Initial GPS lock may take a few seconds.
  • Speed readings may vary slightly from the vehicle speedometer.
  • Motion sensor support varies by device and browser.
  • Continuous GPS usage may increase battery consumption.

🛣 Use Cases

  • Speed monitoring during road trips
  • Speed awareness in urban areas
  • Testing GPS speed accuracy
  • Simple speedometer replacement for cycling or walking
  • Driver assistance alerts

🔮 Planned Features

  • Dark mode
  • Screen wake lock support
  • Speed history graph
  • Distance tracking
  • Trip statistics
  • Custom alert sounds
  • Road speed limit integration
  • Progressive Web App (PWA) support

🤝 Contributing

Contributions are welcome.

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push the branch
  5. Open a Pull Request

📄 License

MIT License

Feel free to use, modify, and distribute this project.


👨‍💻 Author

K. Shiva

GitHub: https://github.com/kkshiva

Project: https://kkshiva.github.io/Car-speed-limit-alert/


Drive Safe 🚘

This application is intended as a driving aid only. Always follow local traffic laws and rely on your vehicle's instruments and road signage while driving.

Releases

Packages

Contributors

Languages