This shows you the differences between two versions of the page.
|
pm:prj2023:avaduva:gameboy [2023/05/29 01:58] teodor.rizon created |
pm:prj2023:avaduva:gameboy [2023/05/30 15:29] (current) teodor.rizon |
||
|---|---|---|---|
| Line 17: | Line 17: | ||
| </nowiki> | </nowiki> | ||
| ====Electrical diagram==== | ====Electrical diagram==== | ||
| - | {{ :pm:prj2023:avaduva:electrical_diagram_ciucu_ovidiu.png?nolink&300 |}} | + | {{:pm:prj2023:avaduva:gameboy_block_scheme.png?200|}} |
| ====Hardware Design==== | ====Hardware Design==== | ||
| - | {{ :pm:prj2023:avaduva:hardware_design_ciucu_ovidiu.png?nolink&300 |}} | + | {{:pm:prj2023:avaduva:gameboy_schematic.png?200|}} |
| ====Components==== | ====Components==== | ||
| - | *MQ-3 sensor | + | *1 Arduino Uno R3 |
| - | *Arduino UNO board | + | *1 LCD 128×128 |
| - | *Buzzer | + | *1 Buzzer 5V |
| - | *Button | + | *3 Buttons |
| - | *LCD display with I2C module | + | *Enough wires |
| - | *Breadboard | + | |
| ====Physical Project==== | ====Physical Project==== | ||
| - | {{ :pm:prj2023:avaduva:pozaproiect1_ciucu_ovidiu.jpeg?nolink&300 |}} | ||
| - | {{ :pm:prj2023:avaduva:pozaproiect2_ciucu_ovidiu.jpeg?nolink&300 |}} | ||
| - | {{ :pm:prj2023:avaduva:pozaproiect3_ciucu_ovidiu.jpeg?nolink&300 |}} | ||
| + | {{:pm:prj2023:avaduva:whatsapp_image_2023-05-30_at_15.22.06.jpeg?200|}} | ||
| ===== Software Design ===== | ===== Software Design ===== | ||
| == Libraries used == | == Libraries used == | ||
| - | *<Wire.h> | + | * <Wire.h> |
| - | *<LiquidCrystal_I2C.h> | + | * <Adafruit_GFX.h> |
| - | + | * <Adafruit_SSD1306.h> | |
| - | == Funcții implementate: == | + | |
| - | * **void setup()**: | + | |
| - | * Declare the pins | + | |
| - | * Initialize the LCD display | + | |
| - | * Display the initial text ("Press the button") | + | |
| - | + | ||
| - | * **void loop()**: | + | |
| - | * Verify if the button has been pressed | + | |
| - | * If the button has been pressed the Buzzer starts and makes a noise every second for 5 seconds | + | |
| - | * The LCD displays that the sensor is reading | + | |
| - | * After 5 seconds the buzzer stops | + | |
| - | * The code computes the average value read by the sensor | + | |
| - | * The condition blocks inside the code verify the value and display the appropriate message | + | |
| ==Code for the project== | ==Code for the project== | ||
| - | {{:pm:prj2023:avaduva:etilotest.rar|}} | + | {{:pm:prj2023:avaduva:gameboy_rizon_teodor.rar|}} |
| ====Conclusions=== | ====Conclusions=== | ||
| - | It has been a fun experience learning how to create an Alcohol tester. I believe that this device can be later used if needed. My knowledge regarding the Arduino technology has definitely improved. | + | Putting together a small gameboy was really fun. I managed to understand more about microprocessors and how the old gameboy worked. I can say that I have learned a lot by doing this project. |
| ===== Journal ===== | ===== Journal ===== | ||
| * 01.05.2023 - Initial Documentation | * 01.05.2023 - Initial Documentation | ||
| * 03.05.2023 - Ordered the needed parts | * 03.05.2023 - Ordered the needed parts | ||
| - | * 10.05.2023 - Started testing the sensor | + | * 10.05.2023 - Started testing |
| * 28.05.2023 - Finished the project | * 28.05.2023 - Finished the project | ||