This shows you the differences between two versions of the page.
pm:prj2025:abirlica:andrei.badoiu2303 [2025/05/30 04:34] andrei.badoiu2303 [Descriere generală] |
pm:prj2025:abirlica:andrei.badoiu2303 [2025/05/30 05:00] (current) andrei.badoiu2303 [Bibliografie/Resurse] |
||
---|---|---|---|
Line 31: | Line 31: | ||
===== Software Design ===== | ===== Software Design ===== | ||
- | **Mediu de dezvoltare**: Arduino IDE | + | **Development Environment**: Arduino IDE |
- | **Librarii folosite**: SoftwareSerial.h | + | **External Sources**: SoftwareSerial.h library |
- | **Implementare**: | + | **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 | ||
- | <note tip> | + | ===== Conclusions ===== |
- | Descrierea codului aplicaţiei (firmware): | + | |
- | * mediu de dezvoltare (if any) (e.g. AVR Studio, CodeVisionAVR) | + | |
- | * librării şi surse 3rd-party (e.g. Procyon AVRlib) | + | |
- | * algoritmi şi structuri pe care plănuiţi să le implementaţi | + | |
- | * (etapa 3) surse şi funcţii implementate | + | |
- | </note> | + | |
- | ===== Rezultate Obţinute ===== | + | Car starts, runs and stops efficiently. Fail-safe functions for wireless connections should be implemented for better connectivity. Noisy or reflective environments may produce false-positives for the proximity sensors and as such, a less than adequate experience. A |
- | + | ||
- | <note tip> | + | |
- | Care au fost rezultatele obţinute în urma realizării proiectului vostru. | + | |
- | </note> | + | |
- | + | ||
- | ===== Concluzii ===== | + | |
===== Download ===== | ===== Download ===== | ||
- | <note warning> | + | {{:pm:prj2025:abirlica:andrei.badoiu_carsafetysystems.zip|}} |
- | 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**. | + | |
- | </note> | + | |
- | + | ||
- | ===== Jurnal ===== | + | |
- | + | ||
- | <note tip> | + | |
- | Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului. | + | |
- | </note> | + | |
===== Bibliografie/Resurse ===== | ===== Bibliografie/Resurse ===== | ||
- | |||
- | <note> | ||
- | Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. | ||
- | </note> | ||
- | |||
<html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | <html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | ||