Skip to content

Commit bfb1eae

Browse files
Project/teodora.dumitrescu (#1268)
* draft primele sectiuni * draft primele sectiuni 1 * Adaugare bill si unpic arhitectura * Adaugare bill si unpic arhitectura plus nume * Adaugare bill si unpic arhitectura plus nume 1 * Rezolvat greseala de link github * Plus poza de la arhitectura * Plus poza de la arhitectura 1 * Plus poza de la arhitectura 2 * Plus poza de la arhitectura in svg * adaugare software schimbari finale * adaugare software schimbari finale 1 * rezolvare poza svg * gata hardware * gata hardware1 * gata hardware2 * gata hardware4 * lowercase nume * schema mare webp * schema mare webp + logs * Pus software + poze * Pus software + poze1 * Pus software + poze2 * Pus software + poze3 * Pus software + poze4 --------- Co-authored-by: POPAGEORGEMATEI <119328898+POPAGEORGEMATEI@users.noreply.github.com>
1 parent e37632e commit bfb1eae

8 files changed

Lines changed: 28 additions & 5 deletions

File tree

45.5 KB
Loading
40.5 KB
Loading
68.1 KB
Loading

website/versioned_docs/version-acs_cc/project/2026/teodora.dumitrescu/images/schema_hardware.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
45.6 KB
Loading

website/versioned_docs/version-acs_cc/project/2026/teodora.dumitrescu/images/schema_software.svg

Lines changed: 3 additions & 0 deletions
Loading

website/versioned_docs/version-acs_cc/project/2026/teodora.dumitrescu/index.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Automated Coffee Maker
2-
A machine for iced coffee
2+
A machine for coffee
33

44
:::info
55

@@ -13,7 +13,7 @@ A machine for iced coffee
1313

1414
## Description
1515

16-
The project is an automated coffee machine that allows the user to choose exactly how much sugar and coffee they want. The process is simple: you turn on the device with a button, select your desired quantities from the menu, and then press a start button. The system then pours the sugar, coffee, and water in the correct order and mixes them together. The result is a finished iced coffee.
16+
The project is an automated coffee machine that allows the user to choose exactly how much sugar and coffee they want. The process is simple: you turn on the device with a button, select your desired quantities from the menu, and then press a start button. The system then pours the sugar, coffee, and water in the correct order and mixes them together. The result is a finished coffee.
1717

1818
## Motivation
1919

@@ -47,6 +47,8 @@ Making some snippets of code separately for the components. Trying out different
4747
Assembled the box for the automate. Completed the wiring for the project. Testing the coffee quantities.
4848

4949
### Week 18 - 23 May
50+
Assembled the mixer and upgraded the box. Sorted the wires and incorporated the distance sensor. Improved the overall appearance of the box.
51+
5052

5153
## Hardware
5254
Major Components Used
@@ -62,7 +64,7 @@ The mixer: it is a motor that mixes the ingredients in the final stage.
6264

6365
### Schematics
6466

65-
![KiCad Diagram](./images/schema_hardware.webp)
67+
![KiCad Diagram](./images/schema_hardware_kicad_1.webp)
6668

6769

6870
### Bill of Materials
@@ -90,7 +92,15 @@ The format is
9092
| [Plexiglas ](https://www.leroymerlin.ro/produse/placi-plexiglas-si-pvc/876/placa-plexiglas-hobbyglass-25-x-50-cm-grosime-4-mm-transparenta/25354) | Making the circle where the cup stays | 15 RON |
9193
| [Wire ](https://www.temu.com/ro-en/120pcs-colorful--wire-kit-male-to-male-female-to-female-male-to-female-connectors-40pin-breadboard-jumper-cables-in-3-9-7-9-11-8-15-7-lengths-for-diy-projects-g-601099549601347.html?_oak_mp_inf=EMPcg6mm1ogBGiAwOTg3MzJmODVjODk0NDgwOTRiZmI2NjRjYTYzYmM0NyDSp5PI4TM%3D&top_gallery_url=https%3A%2F%2Fimg.kwcdn.com%2Fproduct%2Ffancy%2F9a159653-cc4a-47a5-842b-7cc03d4e5e29.jpg&spec_gallery_id=3442&refer_page_sn=10009&freesia_scene=2&_oak_freesia_scene=2&_oak_rec_ext_1=MjAwMw&_oak_gallery_order=1793703736%2C2133695004%2C61436064%2C569981801%2C2012369665&search_key=jumper%20wire&refer_page_el_sn=200049&ab_scene=1&enable_vqr=0&refer_page_name=search_result&refer_page_id=10009_1778536201697_5g1y4mnl0l&_x_sessn_id=66c2ywi4n3) | Making the conexions | 20 RON |
9294
|[Charger 12V 2A](https://www.emag.ro/alimentator-12v-2a-st122a-504096/pd/DSYHVYBBM/?ref=history-shopping_485522869_18482_1)| The power of the project| 18 RON |
95+
|[Pulley](https://www.leroymerlin.ro/produse/scripete-cu-insurubare-standers-otel-zincat-6-x-25-mm-rezistenta-max-10-kg-negru-12150061.html)| For the movement of the mixer| 9 RON |
96+
|[Pulley wheel](https://www.leroymerlin.ro/produse/roata-scripete-standers-nailon-8-x-60-mm-neagra-12150110.html)| For the movement of the mixer| 7 RON |
97+
98+
![Image 1](./images/imagine_macheta1.webp)
99+
100+
101+
![Image 2](./images/imagine_macheta2.webp)
93102

103+
![Image 3](./images/imagine_macheta3.webp)
94104

95105

96106

@@ -101,16 +111,27 @@ The format is
101111
| [embassy-stm32](https://github.com/embassy-rs/embassy) | Hardware abstraction layer for the microcontroller | The interface for GPIO, PWM, and I2C peripherals|
102112
| [embassy-executor](https://github.com/embassy-rs/embassy) | Task executor for async tasks | Managing parallel tasks for the pump, servos, and sensors |
103113
| [embassy-time](https://github.com/embassy-rs/embassy) | Time management library | Handling delays |
104-
| [embedded-graphics](https://github.com/embedded-graphics/embedded-graphics) | 2D graphics library | Used for drawing to the display |
105114
| [defmt](https://github.com/knurling-rs/defmt) | Efficient logging framework | Used for printing status |
106115
| [panic-probe](https://github.com/knurling-rs/panic-probe) | Panic handler | Used for handling errors |
107116

117+
![Software Diagram](./images/schema_software.svg)
118+
119+
The code is structured as a state machine, where every action is executed one at a time following the diagram flow. After finishing the coffee, the user can clean the mixer by putting in a new cup and waiting for the machine to pour clean water.
120+
121+
For the part where the user needs to put or get the cup, the code waits while measuring the distance to the cup to see if it is present or not.
122+
123+
User interaction is handled through the buttons and the LCD. The user selects the desired quantity using the buttons, and the LCD provides immediate visual feedback.
124+
Also the LCD shows the progress of the preparation.
125+
126+
For the display, the LCD uses an I2C converter in order to communicate with the board. The code sends commands to set the cursor position, and then sends the ASCII number of the character in 2 different signals in order to put the letter on the screen.
108127

109128
## Links
110129

111130
<!-- Add a few links that inspired you and that you think you will use for your project -->
112131

113132
1. [embassy](https://github.com/embassy-rs/embassy)
133+
2. [lcd1602](https://controllerstech.com/i2c-lcd-in-stm32/)
134+
3. [HD44780_convertor_configuration](https://cdn.sparkfun.com/assets/9/5/f/7/b/HD44780.pdf)
114135

115136
...
116137

0 commit comments

Comments
 (0)