Bottle set
The bottle set holds the ingredient of one pump: a 1 l glass milk bottle on its own load cell (M5Stack Unit Mini Scales), the printed parts that hold it and the tube that the pump sucks the drink through. The bottle stands upright and vertical, and the pump sucks the drink up through a silicone tube that hangs from the top down into the bottle (see CM3D-018: A whole glass milk bottle stands upright, and the pump sucks the drink out through a tube from the top). Only glass, food-grade silicone and stainless steel touch the drink. Only the bottle seat and the bottle stand on the load cell. The bottle base carries everything else: the load cell, the stops, the bottle spine with the hinge and the tube, and the bottle arm with its cap (see CM3D-025: The bottle seat alone stands on the load cell, and a fixed bottle base carries everything else). Every fixed part keeps a gap to the seat and the bottle, so nothing fixed touches them while the load cell weighs. The seat, the spine and the arm come from CM3D-019: A seat with a skirt, a stiffened spine and an arm that closes by its own weight hold the bottle, the tube over the hinge from CM3D-020: The tube wraps over the hinge in the mid plane and slides in the spine, and the spine carries the tube without a metal stiffener (CM3D-026: The bottle spine on the base is PETG only and leads the tube in a printed channel).
The 3D model shows the bottle set with the arm closed. Drag the model to turn it, and use the switches below it to show or hide its groups.
-
Printing the bottle set: fit coupon, print jobs and slicer settings
-
Assembling the bottle set: the base with the load cell, the seat, the hinge, the stops and the tube
-
Servicing the bottle set: refill, bottle change, cleaning and the service rule
The model is the Python package cm3d.pod.bottle (build123d, see CM3D-007: build123d replaces OpenSCAD as design basis).
uv run cm3d test checks it, uv run cm3d export bottle writes the STL and 3MF files, uv run cm3d render bottle writes the pictures on these pages, and uv run cm3d bom writes the bill of materials.
uv run python -m cm3d.pod.bottle.show shows the set in the OCP CAD Viewer.
The parts
- Bottle seat
-
A low cup round the foot of the bottle, with four flexure fingers that centre the glass through windows in the cup wall. The cup wall stands 4 mm outside the glass, so a leaning bottle moves its base without being forced. The floor is clear PETG and passes the light of the LED ring below it. It lies on the top face of the load cell, held by five M3 × 8 screws, and two more M3 × 8 stand out of it as pins into the plain holes of the load cell. A gutter round the glass leads a spill to the spill slot and its spout, and a drip groove under the flange lets a spill on the outside of the glass fall past the LED ring and the stops. The flange carries the pads of the down stops on its underside, its rim face carries the side stops, and a key tab at +X goes into the twist key.
- Bottle base
-
The hidden fixed part under the seat, about 157 × 177 mm and 29.4 mm high. Its plate holds the bottom half of the load cell in a pocket and the foot of the spine in a second pocket, each with screws into captive nuts. Round the seat it carries the LED wall that the LED ring rests on, three stop columns with the down stops, and an outer wall with the three side stops. Openings in the plate let the drips of the finger slots, the drip edge and the spout fall through. Everything of the base lies at or below the top of the seat’s flange.
- Twist key
-
A small printed block on the plate of the base at +X. Its fork stands round the key tab of the seat with a gap on each side, so the seat cannot turn. Its ears have slots, so it is slid into place at assembly and then screwed down.
- Bottle spine
-
An L-shaped part behind the bottle, PETG only. Its foot stands on the plate of the base, and a printed channel inside it leads the tube down. At the top a saddle round the back of the neck carries the stop that the closed arm rests on, and two cheeks hold the stainless pin of the hinge.
- Bottle arm
-
A closed round cap on an arm that turns on the pin. Closed, it rests with a pad under the back of the cap on the spine’s saddle, so the cap hovers over the rim. Its front half-ring and the spine’s saddle form the neck ring, which keeps a gap round the finish and stops the neck after a bump. A slim guide leads the tube from the back down through the cap to the back of the bore, and the grip at its lower end holds the tube. The arm opens up and back to a rest stop past the vertical and stays there by its own weight.
- Tube and dip end
-
The pump’s silicone tube runs from the dip end up through the guide and the grip, over the hinge behind the spine’s head, down the channel in the spine and out low at its back, level toward the back over the plate of the base. The stainless end piece in its end hovers over the bottle floor with the arm closed.
Frame
The origin is on the bottle axis on the top face of the seat floor, where the glass base stands. The frame has +Z up along the bottle axis, −Y to the front (the viewer), +Y to the spine and X to the right seen from the front. The hinge axis is parallel to X. Arm angle 0 rests the arm on its closed stop, and the rest stop is at 105°.
Gaps to the weighed parts
Each gap is a parameter, and a budget derived from the tolerances of the glass, the print and the fit shows that it holds. Independent errors add as a root sum of squares, and a hard spread between bottles, such as the lean or the floor thickness, adds in full. The glass varies in height by ±1.42 mm and leans by up to 3.315 mm at the neck, and the floors of the bottles differ in thickness by up to 3.0 mm. The seat may stand up to 0.44 mm off its place on the base and turn by up to about 1.1°, from the play of its pins in the load cell and of the load cell and the spine in their pockets.
| Gap | Value | Budget | Source |
|---|---|---|---|
Cap over the rim of the tallest bottle |
2.0 mm |
1.7 mm |
|
Neck ring round the largest finish, radially |
4.72 mm |
4.70 mm, the worst case |
|
Tube in the neck to the bore |
tube centre 10.4 mm behind the axis |
5.05 mm |
|
Dip end over the thinnest floor |
4.8 mm |
4.69 mm |
|
Every other fixed part to the seat and the top half of the load cell |
at least 1.0 mm |
|
Key figures
| Quantity | Value | Source |
|---|---|---|
Drink left in the bottle when the pump has drawn it empty |
about 35 ml |
|
Silicone tube per bottle, bottle floor to the tube exit |
669 mm |
|
Tube pushed out into the slack loop when the arm opens |
about 80 mm |
|
End piece |
160 mm, 150 to 161 mm allowed |
|
Tube below the guide’s exit with the arm closed, to the tip of the end piece |
249.6 mm |
|
Arm rest stop |
105°, past the vertical |
|
Closed stop of the arm |
about 28 mm in front of the hinge, on the saddle’s top |
|
Seat outside diameter |
about 141 mm |
|
Bottle base |
157.5 × 177.2 mm, 29.4 mm high |
|
Load point of the load cell |
on the bottle axis, so the centre of gravity stays over it at every fill |
|
Cell screws |
ISO 4762 M3 × 8, 4.8 mm into the load cell |
the comment on |
Down stops |
engage at 3 to 3.5 kg |
|
Side stops and twist key |
0.2 to 0.3 mm gap |
|
Bill of materials
Quantities are per bottle set. The Pod has one bottle set for each of its 8 pumps. The totals for the machine, with shops and prices, are on Purchasing. The set’s place in the machine is on Product structure.
| Item | Qty | Unit | Use |
|---|---|---|---|
Glass bottle Milk bottle 1000 ml TO 48, clear flint glass, twist-off |
1 |
pcs |
|
Stainless tube 6 × 0.5 1.4301, seamless |
0.16 |
m |
end piece with the notch across its tip |
Stainless tube 10 × 1 1.4301, seamless |
0.02 |
m |
hinge axle |
Socket head screw ISO 4762 M3x8, stainless A2 |
19 |
pcs |
seat on the Mini Scales 5, seat pins 2, set stops 6, spine foot 4, twist key 2 |
Button head screw ISO 7380-1 M3x12, stainless A2 |
2 |
pcs |
cell to the base 2 |
Hex nut ISO 4032 M3, stainless A2 |
18 |
pcs |
the cell’s side nuts 4, captive in the base 14 |
Silicone tube 7/5 mm, food-grade, Shore A 60 |
0.669 |
m |
bottle floor to the base’s tube exit, the loop and the pump piece are in the Pod and the pump |
| Job | Qty | Filament | Use |
|---|---|---|---|
|
1 |
Prusament Clear |
|
|
1 |
Prusament Prusa Galaxy Black |
|
|
1 |
Prusament Prusa Galaxy Black |
|
|
1 |
Prusament Signal White |
|
|
1 |
Prusament Signal White |
-
Funnel stainless, stem at most 20 mm
-
Hex key 2.0 mm, for the M3 button heads of ISO 7380-1
-
Hex driver 2.5 mm, straight shaft of at least 100 mm
The feeler gauge for the side stops and the twist key is no item of the bill of materials. Any gauge with blades of 0.2 and 0.3 mm does.
Printed parts
See Printing the bottle set. The colour roles are in CM3D-022: The colour roles light and reflector for the parts at the lit bottle and CM3D-014: Materials in the model, colour roles and Prusament filaments in the BOM.
| Part | Per set | Colour role | Note |
|---|---|---|---|
|
1 |
|
cup, fingers, clear floor, flange and key tab |
|
1 |
|
plate, LED wall, stop columns and outer wall, hidden |
|
1 |
|
the fork round the key tab, hidden |
|
1 |
|
foot, tube channel, saddle and hinge |
|
1 |
|
cap with the guide and the grip, prints with its own brim |
|
once |
|
per printer and filament, not per set |
Interface to the Pod
The Pod is designed around these points, faces and rooms.
The Pod imports only cm3d.pod.bottle.interface, never the parts or the params of the bottle set.
Every function takes the bottle params and returns shapes and locations in the frame of the module, and the Pod applies its own placement.
| Topic | What | Function |
|---|---|---|
Mounting |
the four M3 holes through the corners of the base’s plate, where the Pod screws the base down, and the plan outline of the plate on its underside |
|
Load cell |
the frame of the load cell, turned 180° about Z with its Grove end to the back, for the wiring of the Pod |
|
Space taken |
every part of the set with the arm at the given angle, the base, the twist key and the stop screws included, the fingers bent out, the glass with its height tolerance and the free tube behind the spine |
|
Arm swing |
the room the arm swings through from closed to its rest stop |
|
Tube exit |
where the tube leaves the set, level toward the back over the plate, behind the spine |
|
Slack loop |
the room of the slack loop behind the base, and how far the tube moves in it |
|
Cables |
the room under the cable hole at the back, where the Grove cable and the cable of the LED ring leave down |
|
Drips |
where the drips of the seat leave the base, for a drip tray of the Pod |
|
Values |
the engage weight of the down stops, the gap of the side stops and the twist key, the working load, the load cell rating and the density of a dense syrup |
|
Detailed model |
every part of the set, labelled, with the arm at the given angle |
|
Rules for the Pod
The interface docstring keeps these rules, so they are not lost before the Pod is designed.
-
The Pod screws the base down with an M3 through each of the four mounting points, and the base’s outline sets the smallest pitch between bottle sets.
-
The Pod keeps the envelope, the arm swing, the slack loop and the room of the cables free, and it puts a drip tray under the drip zone.
-
The stops are the module’s own and stand in the base. The down stops engage at 3 to 3.5 kg, above the 2 kg working load with syrup and below the 5 kg rating of the load cell. The side stops and the twist key keep a gap of 0.2 to 0.3 mm.
-
There are no up stops. A stuck bottle is loosened with warm water and never pulled up by force (Servicing the bottle set).
-
Pushes, bumps and tilt depend on the Pod layout, so the interface publishes no push, pull or tilt values. A bump on the bottle goes through the neck ring or the stops into the base.
-
The tube leaves the set level toward the back and runs as a slack loop in one plane to the pump. Opening the arm pushes about 80 mm of tube into the loop, and closing draws it back taut, so the Pod leaves room for that travel.
-
The LED ring rests on the LED wall of the base and lights the clear floor from below. Its cable and the Grove cable of the load cell go down through the cable hole at the back and hang slack. LED heat stays away from the load cell, because it makes the reading drift.
-
The set and the open arm must clear the structure of the tower and the neighbouring bottles.
Weighing
The load cell weighs only the seat with its screws and pins, the side nuts of the load cell, the bottle and the drink in it. The arm, the spine, the tube and the base are fixed, so the arm angle and the tube do not change the reading. Calibration belongs to the Pod (SYS-007). Calibrate the load cell with a known weight that stands on the seat floor on the bottle axis, and tare it with the empty bottle in place. The load point lies on the bottle axis, so the centre of gravity stays over it at every fill. Each dispense is the difference before and after it, so a constant offset cancels out. A reading counts after the pump has stopped and the value has settled, at any arm angle. The dipped tube and the end piece hang from the fixed side, so the drink lifts them a little, and the bottle carries that force. When the level drops, this force drops too, so the reading drops about 0.7 % more than the drink that left. The error is the same for each dispense, so a span factor from the first build can correct it. About 35 ml stay in the bottle below the dip end, and the fill level must count them as not available.
Notes for the Pod firmware and the Station software
These notes are for the other repos and are not part of the mechanical design.
-
Read the weight only after the pump stops and the value settles. The arm angle does not matter.
-
The reading drops about 0.7 % more than the drink that left, because of the buoyancy of the dipped tube. The first build measures the span factor that corrects it.
-
After a dispense, run the pump backwards only briefly to clear the outlet, not the whole tube. A full purge brings back what sits at the outlet, which may be another ingredient, makes every dispense prime about 20 ml again, and bubbles air through the drink.
-
After a refill, prime the line before the first dispense.
The points to check on the first build are in 11 Risks and Technical Debt.