-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
228 lines (225 loc) · 17.3 KB
/
blog.html
File metadata and controls
228 lines (225 loc) · 17.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>Rodrigo Tallar</title>
<link rel="icon" type="image/x-icon" href="assets/Rodrigo_tallar__1_-removebg-preview.ico" />
<link rel="stylesheet" href="css/index.css">
<link href="css/styles.css" rel="stylesheet" /> <!-- Core theme CSS (includes Bootstrap)-->
<script src="https://kit.fontawesome.com/acb5e52e54.js" crossorigin="anonymous"></script> <!-- iconos -->
</head>
<body id="page-top">
<header class="bg-primary bg-gradient text-white">
<div class="container px-4 text-center">
<h1 class="fw-bolder mb-3">The road to making a cocktail maker</h1>
</div>
</header>
<!-- P1-->
<section style="background-color: rgb(242, 242, 242);" id="projects">
<div class="container px-4">
<div class="row gx-4 justify-content-center">
<div class="col-lg-8">
<h2 class="mb-3">Part 1: Idea & Inspiration – Why Build a Cocktail Maker?</h2>
<p class="lead">
Every good project starts with a spark — an itch to automate something fun,
improve a process, or just challenge yourself with something cool.
For me, building a cocktail maker was all about pushing my boundaries and learning new skills.
<br>
I wanted to challenge myself to work with soldering, PCB's, higher-power electronics, relays, and real electronics — areas I hadn’t touched before.
Mixing hardware with software has always fascinated me, and what better way to dive deeper than by making a machine that can pour cocktails automatically?
<br>
I’m documenting this project day by day — not through a step-by-step tutorial, but as a log of discoveries, small victories, and inevitable mistakes.
Think of this blog as a journal of the process, with all the ups and downs included.
</p>
<h4 class="mb-3">The goal</h4>
<p class="lead">
The vision was simple (or maybe not)
Build a device that can accurately pour different liquids to mix cocktails at the push of a button. <br>
But with each Google search, I wanted more — more features, more cocktailers, ice dispensers, Bluetooth control, touchscreens, and much, much more. <br>
What started as a simple idea quickly became an excuse to dive deep into:
</p>
<ul class="lead">
<li>Soldering and electronics assembly</li>
<li>Microcontroller programming</li>
<li>Fluid control with pumps and valves</li>
<li>Building something smart, maybe even connected</li>
</ul>
<h4 class="mb-3">Inspiration Sources</h4>
<p class="lead">
I found tons of inspiration from other DIYers who had built their own cocktail machines. A few standout projects that caught my eye:
</p>
<ul class="lead">
<li><a class="m-2 justify-content-left" href="https://projecthub.arduino.cc/sidlauskas/barbot-cocktail-mixing-robot-5b3b3c" target="_blank">BarBot shared in the arduino project hub</a></li>
<li><a class="m-2 justify-content-left" href="https://www.instructables.com/Automated-Cocktail-Drink-Machine" target="_blank">Automated Cocktail Drink Machine</a></li>
<li><a class="m-2 justify-content-left" href="https://magazine.raspberrypi.com/articles/how-i-made-an-arduino-cocktail-machine" target="_blank">How I made an Arduino cocktail machine</a></li>
<li><a class="m-2 justify-content-left" href="https://www.youtube.com/watch?v=hJIkJ9x0-JQ" target="_blank">The Inebriator</a></li>
<li><a class="m-2 justify-content-left" href="https://projecthub.arduino.cc/Seafox_C/cheap-portable-cocktail-maker-barbot-with-app-c0a8c3" target="_blank">Cheap portable Cocktail maker Barbot with App!</a></li>
</ul>
<p class="lead">
I wanted to take a modular, approachable path — no overcomplicated mechanics or custom 3D printed parts at first, but something functional and upgradeable.
<!-- But I’m not jumping straight into the full machine. -->
<!-- The plan is to build a working prototype first — something ugly, simple, and flexible enough to test ideas, wiring, and code. No 3D-printed parts or polished case yet — just tubing, pumps, relays, and a lot of trial and error on a breadboard. -->
<!-- Once I have a solid prototype that actually works (and doesn’t leak or short), then I’ll think about refining it into the “real” version. -->
</p>
</div>
</div>
</div>
</section>
<!-- P2 -->
<section>
<div class="container px-4">
<div class="row gx-4 justify-content-center">
<div class="col-lg-8">
<h2 id="pics">Part 2: Tools and Materials. July 22-24</h2>
<p class="lead">
After deciding to build the cocktail maker, I did what any reasonable person would do: opened twenty tabs, dove into forums, watched way too many YouTube tutorials, and got lost in an endless rabbit hole of components and builds..
This part of the process was honestly fun. Between the researching electronics, tubing, pumps, and all the basic tools I didn’t own yet, I quickly found myself deep in “DIY cocktail machine starter pack” territory.
</p>
<h4 class="mb-3">Things I Already Had</h4>
<p class="lead">
Luckily, I wasn’t starting from absolute zero. I had a few leftover parts from past mini-projects:
</p>
<ul class="lead">
<li>Arduino Uno – A solid board for prototyping. I might switch to something else later — maybe a Raspberry Pi if I want more power or connectivity.</li>
<li>Breadboard – Already broken in from previous experiments.</li>
<li>Jumper wires – Always useful for quick testing on the breadboard.</li>
<li>AC cable and plug (I think) – Could be handy for hooking up a wall adapter or power supply.</li>
<li>Some loose copper wires – Enough to get the prototype wired up and moving.</li>
</ul>
<p class="lead">
Not enough to build the machine, but enough to start messing around.
</p>
<h4 class="mb-3">Things I Needed to Order</h4>
<p class="lead">
I split the shopping list into two parts: the tools I needed to properly work with electronics, and the prototype components I’d need to start building the actual cocktail maker.
I realized I needed some basic tools to get started:
</p>
<ul class="lead">
<li>Soldering iron – Essential for connecting components.</li>
<li>Solder – Leaded, because I wanted my first joints to flow nicely.</li>
<li>Flush cutters – For trimming component leads cleanly and cutting wires to size.</li>
<li>Multimeter – For checking voltage, resistance, and current… or so I hoped.</li>
</ul>
<p class="lead">
Prototype Components:
</p>
<ul class="lead">
<li>Two 12V 500ml peristaltic pumps – The core for moving liquids precisely.</li>
<li>4-channel relay module – To control the pumps safely with the microcontroller.</li>
<li>0.96-inch OLED display – Honestly, I saw it while browsing and couldn’t resist. It was too cheap to pass up.</li>
<li>12V 10A power supply – Plenty of juice for the pumps and electronics.</li>
</ul>
<h4 class="mb-3">The Multimeter Incident</h4>
<p class="lead">
Within just three hours of the tool kit arriving, I managed to mess something up.
I tried measuring current without switching the probes properly and instantly blew the fuse inside the multimeter. Voltage readings stopped working, and only resistance mode still showed signs of life.
When I opened it up and saw the tiny glass fuse snapped in half, I laughed it off. If you haven’t blown a multimeter fuse yet, are you even doing electronics?
<figure class="d-flex justify-content-center flex-column align-items-center">
<img src="assets/electro/blownFuse.jpeg" class="w-100 mb-3" alt="Blown fuse photo">
<img src="assets/electro/blownFuseZoom.jpeg" class="d-block w-50" alt="Blown fuse photo">
<figcaption>Photos of the blown fuse</figcaption>
</figure>
</p>
<h4 class="mb-3">Other Early Moments</h4>
<p class="lead">
The day after ordering, the soldering iron and multimeter arrived. While waiting, I found an AC cable and plug.
<figure class="d-flex justify-content-center flex-column align-items-center">
<img src="assets/electro/cableplug.jpeg" class="w-100" alt="Cable and plug photo">
<figcaption>Cable and plug I found</figcaption>
</figure>
After attaching the plug to the cable, the soldering kit arrived, so I did my first soldering test.
Perfect timing since a toy motor I had lying around had its wires pulled out.
<figure class="d-flex justify-content-center flex-column align-items-center">
<img src="assets/electro/SolderMotor.jpeg" class="w-100" alt="Sooldering test photo">
<figcaption>My first ever soldering test on a toy motor</figcaption>
</figure>
</p>
</div>
</div>
</div>
</section>
<!-- P3 -->
<section style="background-color: rgb(242, 242, 242);" id="numbers">
<div class="container px-4">
<div class="row gx-4 justify-content-center">
<div class="col-lg-8">
<h2 class="mb-3">Part 3: First Pump Test. July 25-26</h2>
<p class="lead">
After a few days of planning, ordering, and burning multimeters — it was finally time to test something real. <br>
I had a small micro peristaltic pump lying around, one I had ordered months ago just to experiment with.
Since the other pumps were still in transit, this was the perfect chance to do an early test. <br>
I found an old 12V 1A AC adapter, stripped its barrel connector, connected the wires to the pump, and plugged it in. It worked! <br>
</p>
<figure class="d-flex justify-content-center flex-column align-items-center">
<img src="assets/electro/acAdaptor.jpeg" class="w-50" alt="Old AC adaptor">
<figcaption>Old AC adaptor</figcaption>
</figure>
<p class="lead">
After that quick sanity check, I built a basic control circuit using an L293D and a potentiometer, plus two buttons:
one for on/off, and another to switch direction. <br>
The L293D is a simple motor driver chip — it lets you control the direction and speed of small DC motors using low-voltage signals from something like an Arduino.
The potentiometer is a knob that acts like a variable resistor, letting me manually adjust the motor speed. <br>
</p>
<figure class="d-flex justify-content-center flex-column align-items-center">
<img src="assets/electro/firstPumpTest.jpeg" class="w-100" alt="First pump test">
<figcaption>First pump test</figcaption>
</figure>
<p class="lead">
It was a great excuse to start wiring things up and see how well I could control the motor. <br>
No liquid involved yet — just dry spinning — but it felt like a solid first step. <br>
Once the dry spinning worked, it was time to add water and do some flow testing. I headed to the kitchen and grabbed a measuring cup for a quick test.
</p>
<h4 class="mb-3">The Magic Smoke Appears</h4>
<p class="lead">
But not everything went smoothly. <br>
While rewiring the setup in the kitchen, I accidentally reversed the polarity: ground to VCC, VCC to ground.
A puff of smoke came out, the L293D motor driver instantly died, and part of my breadboard melted around the chip socket. <br>
</p>
<figure class="d-flex justify-content-center flex-column align-items-center">
<img src="assets/electro/burnedBread.jpeg" class="w-100" alt="Burned breadboard">
<figcaption>The damages</figcaption>
</figure>
<p class="lead">
I confirmed the chip was dead by checking continuity with the multimeter between pin 6 (output 2) and ground — it shorted.
Luckily, I had a spare chip on hand. I swapped it out, rewired, and brought the setup back to life.
</p>
<h4 class="mb-3">Flow Rate Measurements</h4>
<p class="lead">
To get a more accurate estimate of the pump’s flow rate I pumperd water into the measuring cup while timing the process.
Using a stopwatch, I hit the lap button as the water level reached 100 ml, 150 ml, and finally 200 ml.
</p>
<figure class="d-flex justify-content-center flex-column align-items-center">
<img src="assets/electro/microPumpTimes.jpeg" class="w-50" alt="Stopwatch times screenshot">
<figcaption>Stopwatch times</figcaption>
</figure>
<p class="lead">
This method allowed me to track cumulative time for each volume without restarting the timer, making it easier to calculate a consistent average. <br>
I then averaged the time per 50 ml based on each interval:
</p>
<ul class="lead">
<li>100 ml → 27.89 s (13.95 s per 50 ml)</li>
<li>150 ml → 43.97 s (14.66 s per 50 ml)</li>
<li>200 ml → 58.92 s (14.73 s per 50 ml)</li>
</ul>
<p class="lead">
The results? An average of 14.45 seconds per 50 ml, which corresponds to a flow rate of approximately 207.61 ml/min.
</p>
</div>
</div>
</div>
</section>
<!-- Contact section-->
<section id="contact">
<div class="container px-4">
<div class="row gx-4 justify-content-center">
<div class="col-lg-8">
<h2 class="mb-3">p4</h2>
<h4 class="mb-3"></h4>
<p class="lead"></p>
</div>
</div>
</div>
</section>
</body>
</html>