This is an old revision of the document!


Car Safety System

Nume: Badoiu Andrei-Dragos
Grupa: 335CA

Introduction

The project intends to implement the general safety systems found in modern cars. These functions include, but are not limited to:

  • parking sensors
  • emergency braking
  • throttle by wire, simulated using bluetooth control

For a better understanding of the possibilities these features allow, check out this rundown and infographic by Skoda.

General Description

The device starts automatically in stand-by mode after connecting to a power source. Control can be achieved through low energy bluetooth using a companion mobile app or a serial usb connection. As such, aside from engine start and stop option, the user can adjust engine speed, activate emergency braking sensors and configure braking tolerances for early or late intervention.

Hardware Design

Hardware used:

  • AtMega328p based development board
  • HM10 bluetooth module
  • HC-SR04 ultrasonic proximity sensor
  • JS-50B bldc motor
  • bjt darlington pair as motor-driver

Software Design

Development Environment: Arduino IDE

External Sources: SoftwareSerial.h library

Implementation:

  • Device initializes a Serial connection through software with the bluetooth module and loops indefinitely awaiting for commands
  • Received commands are processed and errors are filtered by a command handler
  • Proximity sensors loop distances and send a flag to stop the engine in the case of emergency braking

Functions:

  • setup() - called on startup, initializes modules
  • loop() - loop runs function calls and commands for instant response
  • update_motor() - checks oob errors for pwm and sets pwm output
  • check_prox() - checks values for proximity sensors
  • exec() - command handler
  • check_crash() - checks datasets of proximity sensors for an accurate crash estimate

Rezultate Obţinute

Care au fost rezultatele obţinute în urma realizării proiectului vostru.

Concluzii

Download

O arhivă (sau mai multe dacă este cazul) cu fişierele obţinute în urma realizării proiectului: surse, scheme, etc. Un fişier README, un ChangeLog, un script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună ;-).

Fişierele se încarcă pe wiki folosind facilitatea Add Images or other files. Namespace-ul în care se încarcă fişierele este de tipul :pm:prj20??:c? sau :pm:prj20??:c?:nume_student (dacă este cazul). Exemplu: Dumitru Alin, 331CC → :pm:prj2009:cc:dumitru_alin.

Jurnal

Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului.

Bibliografie/Resurse

Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe Resurse Software şi Resurse Hardware.

Export to PDF

pm/prj2025/abirlica/andrei.badoiu2303.1748569779.txt.gz · Last modified: 2025/05/30 04:49 by andrei.badoiu2303
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0