This shows you the differences between two versions of the page.
pm:prj2023:apredescu:breathalyzer [2023/05/17 22:25] bianca.popescu2009 [Hardware Design] |
pm:prj2023:apredescu:breathalyzer [2023/05/17 22:44] (current) bianca.popescu2009 [Breathalyzer] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Breathalyzer ====== | ====== Breathalyzer ====== | ||
- | <html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 52: | Line 51: | ||
{{ :pm:prj2023:apredescu:whatsapp_image_2023-05-17_at_22.12.53.jpeg?nolink |}} | {{ :pm:prj2023:apredescu:whatsapp_image_2023-05-17_at_22.12.53.jpeg?nolink |}} | ||
+ | |||
+ | |||
+ | |||
+ | ===== Software Design ===== | ||
+ | |||
+ | |||
+ | |||
+ | The software design of the breathalyzer project encompasses several crucial aspects to ensure its smooth operation. It incorporates the implementation of I2C communication protocol, which establishes a reliable connection between the project and the OLED display module. This enables efficient data transfer and display control, ensuring accurate and timely visualization of information. | ||
+ | |||
+ | Additionally, the project integrates the Analog-to-Digital Converter (ADC) interface of the Arduino UNO R3 board. This interface plays a vital role in reading the analog input from the MQ-3 alcohol and ethanol gas sensor. By converting the analog signals into digital values, it enables precise and reliable measurement of alcohol levels, which is a crucial aspect of breathalyzer functionality. | ||
+ | |||
+ | Furthermore, the software design focuses on the management and control of the OLED display. Through various functions, the project can effectively manipulate the display, including tasks such as initialization, clearing the display, setting the cursor position, and printing text. This ensures that the alcohol levels and ADC values are clearly presented to the user. | ||
+ | |||
+ | The code follows a modular approach, with distinct functions dedicated to specific tasks. This modular design promotes code organization, readability, and reusability, making it easier to understand and maintain. Moreover, this design allows for potential future enhancements and modifications, as the code can be easily extended or modified without affecting the overall system. | ||
+ | |||
+ | Overall, the software design provides a comprehensive framework for the breathalyzer project, encompassing essential elements such as communication, data acquisition, and display control. It ensures accurate and user-friendly functionality, facilitating the effective analysis of alcohol levels. | ||
+ | |||
+ | ===== Final results ===== | ||
+ | |||
+ | **DON'T DRINK AND DRIVE :-) ** | ||
+ | |||
+ | ===== Concluzii ===== | ||
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | <note warning> | ||
+ | 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 ===== | ||
+ | |||
+ | {{:pm:prj2023:apredescu:whatsapp_image_2023-05-17_at_22.32.07.jpeg?nolink&300|}} | ||
+ | |||
+ | ===== Bibliografie/Resurse ===== | ||
+ | |||
+ | <note><html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | ||
+ | </note> | ||
+ | |||
+ | |||
+ | |||
+ | |||