This shows you the differences between two versions of the page.
pm:prj2022:cstan:dragracing-system [2022/05/25 22:19] rares.mogaru |
pm:prj2022:cstan:dragracing-system [2022/06/01 20:15] (current) rares.mogaru [Hardware Design] |
||
---|---|---|---|
Line 11: | Line 11: | ||
+ | Senzorul de proximitate este plasat la 50cm fata de linia de start. In momentul in care acesta detecteaza miscare pe o raza mai mica de 5cm, acesta opreste timerul si afiseaza pe ecranul LCD timpul in care s-a parcurs distanta. | ||
Line 23: | Line 23: | ||
{{:pm:prj2022:cstan:schema.png?200|}} | {{:pm:prj2022:cstan:schema.png?200|}} | ||
===== Hardware Design ===== | ===== Hardware Design ===== | ||
+ | |||
+ | **----- Componente -----** | ||
+ | |||
+ | |||
+ | Arduino Uno x1 | ||
+ | |||
+ | HC-SR04 Ultrasonic Sensor x1 | ||
+ | |||
+ | Breadboard x1 | ||
+ | |||
+ | LCD 1602 Module x1 | ||
+ | |||
+ | I2C Module x1 | ||
+ | |||
+ | Buzzer x1 | ||
+ | |||
+ | 220ohm Resistor x4 | ||
+ | |||
+ | Button x1 | ||
+ | |||
+ | Yellow LED x3 | ||
+ | |||
+ | Green LED x1 | ||
+ | |||
+ | |||
+ | **Diagrama electrica: ** | ||
+ | |||
+ | |||
+ | |||
+ | {{:pm:prj2022:cstan:screenshot_2022-05-25_234213.png?200|}} | ||
===== Software Design ===== | ===== Software Design ===== | ||
+ | |||
+ | Primul lucru pe care il verifica programul este daca butonul este apasat sau nu. | ||
+ | |||
+ | Daca este apasat, continua prin aprinderea ledurilor pe rand, iar apoi porneste numaratoarea inversa folosindu-se de cele 3 leduri, urmat de cel verde care da startul cursei. | ||
+ | |||
+ | Daca senzorul de proximitate detecteaza miscare, timerul se opreste si se afiseaza pe ecranul LCD timpul scurs de la inceputul cursei. | ||
+ | |||
+ | In final, o melodie va fi redata pe buzzer. | ||
===== Rezultate Obţinute ===== | ===== Rezultate Obţinute ===== | ||
+ | {{:pm:prj2022:cstan:whatsapp_image_2022-05-25_at_22.23.27.jpeg?200|}} | ||
+ | |||
+ | It is shown the 'Get ready' state of the lights | ||
+ | |||
+ | {{:pm:prj2022:cstan:whatsapp_image_2022-05-25_at_22.23.28.jpeg?200|}} | ||
+ | |||
+ | |||
+ | {{:pm:prj2022:cstan:whatsapp_image_2022-05-25_at_22.23.27_2_.jpeg?200|}} | ||
+ | |||
+ | In this picture it is shown the time spent from start to finish (IR sensor) | ||
+ | |||
+ | {{:pm:prj2022:cstan:whatsapp_image_2022-05-25_at_22.23.27_1_.jpeg?200|}} | ||
+ | |||
+ | Here we have the moment when the race begins and the timer starts. | ||
===== Concluzii ===== | ===== Concluzii ===== | ||
+ | |||
+ | A fost un proiect interesant care a necesitat mai multa atentie pe partea de software. | ||
===== Download ===== | ===== Download ===== | ||
+ | |||
+ | |||
+ | {{:pm:prj2022:cstan:proiect_final.rar|}} | ||
===== Jurnal ===== | ===== Jurnal ===== | ||
+ | |||
+ | 20/05/2022 - Asamblare hardware | ||
+ | |||
+ | 23/05/2022 - Programare | ||
===== Bibliografie/Resurse ===== | ===== Bibliografie/Resurse ===== | ||
+ | |||
+ | |||
+ | circuit-diagram.com | ||
+ | |||
+ | github.com | ||
+ | |||
+ | create.arduino.cc | ||
+ | |||
+ | ardumotive.com | ||
+ | |||
+ | |||
+ | Download a PDF of this page: | ||
+ | <html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | ||
+ |