UP↑SCALE › BUSINESS & PRODUCTION › PACKING & PRODUCTION › MANUFACTURERS & WORKSHOPS › FILLING MACHINES
Filling machine control by weight: dosing with a predictive cut-off
A valve, a pump or an auger on an ESP32 - and a scale that tells it when to fill, when to slow down and when to stop. UP↑SCALE fills molds, bags and jars cavity by cavity, stops your machine before the target and learns how it runs, so it gives away as little as possible and almost never fills under.
- Molds, bags and jars filled cavity by cavity
- Stop before the target: flow rate × lag
- Learns the lag, aims just above the target
- Coarse / fine dosing over encrypted ESP-NOW
In short
UP↑SCALE is one scale app for the scale you already have. Its factory mode guides filling molds, bags and jars, and over encrypted ESP-NOW radio it tells an ESP32 on your filling machine when to fill, slow down and stop - with a cut-off that learns the lag of the machine and almost never underfills. For manufacturers and makers. PRO, from 4.43 EUR a month or 119.90 EUR once, with a free 14-day trial.
The factory mode: fill molds and containers step by step TRY 14 DAYS FREEPRO
Like on a conveyor belt: the same amount into one cavity, bag or jar after the other - while the scale counts, tares and logs by itself. By hand or with a machine.
- Define the container: single bags, jars and cups - or molds with many cavities (a chocolate mold with 36 pralines) - with the filling per cavity, a PERFECT and an OK range and, for edibles makers, the mg of active ingredient per cavity.
- Fill: the display shows in colour how close you are - orange too little, yellow OK, green PERFECT, red too much - with a bar and an optional sound.
- Auto overtake: a filling in the PERFECT range is taken after the time you set, once the weight has been stable for at least 0.6 s, and the scale tares for the next cavity. The scale also sees when you put a container on or take a full one off.
- Totals box: molds and cavities filled, the total and the averages, the last unit against the target and the over- or under-filling of all units - what you gave away or what is missing.
- End: the totals go into a log file; 📊 STATISTICS & ℮ opens the statistics of every filling while the program runs. Up to 42 containers are saved on the scale, with backup, restore and sync to another scale.

Manual: fill molds step by step, set up your molds, totals box, save molds
Predictive cut-off: the stop comes before the target TRY 14 DAYS FREEPRO
A machine never stops at once: the valve needs a moment to close, and material is still falling when the stop comes. So the scale sends the stop early - as soon as weight + flow rate × lag reaches the filling (known in industry as in-flight or dribble compensation).
- Flow rate: measured all the time from the slope of the last 16 weights (about 0.4 s). While the cut-off is on, the scale keeps its filters fast - a new weight every 0.125 s.
- Lag: the time from the stop signal until the last material is on the scale; start with 0.3 s.
- Learn the lag (on by default): after every stop the scale waits for a stable weight. Too much? It stops earlier next time - too little? Later. Single outliers don't throw it off; the learned lag is saved at the end of the program.
- Switch it on with the tick 🛑 With a filling machine on the overview of the mold - without it the page stays short for filling by hand. ESP-NOW has to be on in the scale settings.
Where it aims: never under
The scale learns how much your machine scatters and aims 2 × that scatter above the target - or at the middle of the PERFECT range, if that is higher, and never above the PERFECT range. With PERFECT -0 % / +3 %, the usual setting for prepackages, it fills +1.5 % above the target.
It learns not to underfill: a filling under the aim corrects the lag in full, one over it only by a quarter. So it settles a little above the aim - about 1 filling in 100 ends a hair under the target, the rest gives a little more. The more exact your machine runs (e.g. with the slow feed), the less it gives away.

Manual: predictive cut-off, where it aims
Coarse / fine dosing, pause and top-up
Slow down x % before the target
Many filling machines have two speeds: a big flow for most of the filling and a small one for the end. Set how much before the target the slow feed starts, e.g. 10 % - at 450 g of a 500 g bag the scale sends fill_slow (also early, by flow rate × lag), and the cut-off stops the small, steady flow. Less material is still falling at the stop, so the fillings come closer to the target. Let the slow part run for at least about one second; machines with one speed simply ignore it.
Pause before the next filling
Up to 120 seconds after every count and its tare before the machine gets the next fill signal - time to move the mold to the next cavity by hand, or for your own mold transport. After the last cavity of a mold there is no pause: the machine gets "mold full".
Top-up when it stopped too early
Stopped below the PERFECT range? The machine gets the signal to fill again, until the cut-off comes again. While the scale tares after a count or a new mold, the cut-off waits - the full weight still shown in that moment does not stop the next filling.
Manual: coarse / fine dosing, pause
What your machine gets over ESP-NOW
The scale tells your machine when to fill, when to slow down and when to stop - the stop at once in an extra packet, with the flow rate and the lag - and the step the program is in. Every change of the step is sent at once.
| Step | What it means for the machine |
|---|---|
| START | Waiting for a mold or container. |
| Filling | Fill with the big flow. |
| Slow feed | Go on with the small flow (coarse / fine dosing). |
| Stopped | Stop - the scale waits for the count. |
| Pause | Wait before the next filling (move the mold). |
| Mold full | All cavities done - take the mold off. |
- Build the machine side on an ESP32: a relay, a valve or a motor driver behind its pins.
- Add its MAC address on the ESP-NOW page of the scale (up to 5 devices), copy the key the scale made for it into the sketch and upload it.
- Start with the MasterBlaster example sketch: it switches a valve or relay with these signals and closes it if no data comes from the scale for 0.5 seconds.
The values and pins for the machine side →
Manual: ESP-NOW devices
Encrypted radio and a machine that stops by itself
- No router, no internet: ESP-NOW is a direct 2.4 GHz radio link between the scale and your devices.
- Encrypted, always: every packet is sealed with AES-128-GCM. Each device has its own random key, made on the scale; it goes to the device only over USB or the encrypted Bluetooth link, never over the air.
- No replays: every packet carries a counter that only goes up, also over restarts - a recorded "fill now" sent again later is refused. The scale takes commands only from the devices you added.
- Fail safe: nobody can stop a radio jammer, so a filling machine should stop when no data comes - the example sketch closes the valve after 500 ms.
Manual: encrypted ESP-NOW
FREE and PRO
| FREE | PRO | |
|---|---|---|
| Factory mode: molds, ranges, auto overtake, totals, 42 saved molds | - | ✓ |
| Machine cut-off over ESP-NOW with the learned lag, coarse / fine, pause | - | ✓ |
| Statistics of the fillings | - | on the screen, CSV export, ℮ check |
The cut-off runs on an UP↑SCALE device - our scales or an adapter on your own scale - because it uses the radio of the device. PRO from 4.43 EUR a month or 119.90 EUR once. Try it first: 14 days of PRO and ENTERPRISE for free, once per device. All prices: prices & versions.
Manual: free and PRO
What it is not
- Not a ready-made filling machine: the scale weighs and gives the signals; the valve, pump or auger and its electrics are your part - built and wired safely.
- No mold transport: moving to the next cavity is the job of your machine or your hand; the pause gives the time for it.
- ℮ packs need a verified scale: packs you sell with the ℮ mark are filled and checked on a verified scale - with our adapter on your verified scale you get the ℮ control and the statistics.
Filling machines and dosing: questions and answers
How does a predictive cut-off work?
The scale measures the flow rate all the time and sends the stop as soon as weight + flow rate × lag reaches the target. The material still falling after the stop then lands on the target. The lag is learned from every filling.
Can a scale stop a filling machine at the right weight?
Yes. Over encrypted ESP-NOW radio the UP↑SCALE tells an ESP32 on your machine when to fill, slow down and stop. It learns the lag of your valve or auger and aims just above the target, so it almost never underfills.
What is coarse / fine dosing?
A two-speed filling: a big flow for most of the filling and a small one for the end. The scale sends a slow-down signal x % before the target and stops the small flow, so less material is still falling at the stop and the fillings come closer to the target.
How much does the cut-off give away?
It aims 2 times the scatter of your machine above the target, or at the middle of the PERFECT range if that is higher - never above it. With PERFECT -0 % / +3 % that is +1.5 %. About 1 filling in 100 ends a hair under the target.
Do I need a filling machine to use the factory mode?
No. The factory mode guides filling by hand just as well: colours, auto overtake and tare, totals and statistics. The cut-off over ESP-NOW only shows up when you tick 🛑 With a filling machine.
Is the factory mode free?
The factory mode and the machine cut-off are PRO (from 4.43 EUR a month or 119.90 EUR once). You can try both for 14 days for free with the trial of your UP↑SCALE.
Also useful for you
Scale Integration: LIMS, Webhook, API & Code Examples
Connect your scale to your LIMS, ELN or own server: webhook, JSON API, streams, MQTT, Modbus, ESP-NOW and machines - with free example code (MIT).
Read →℮ prepackage control
Business & productionThe 3 packers' rules, the sample plan, T1 / T2 and the lot report, step by step.
Read →Makers & developers
Build your own adapter for about 15 EUR, read the open protocol, and connect the scale to your own pages, Arduino and ESP projects.
Read →Connect a Scale to Phone & PC: Bluetooth, USB, RS-232
Connect a scale to phone or PC: Bluetooth, the USB cable or your WiFi network, several scales, scales of other makers, machines, webhook and your own programs.
Read →Tracking mode
UP↑SCALE LaboratoryThe weight at a fixed interval for days or weeks: drying curves, plants, silos, alarms, CSV and your own website.
Read →Packing & production: more pages
Packing & production
Business & productionScale software for packing tables and workshops: prepackages filled and checked along the ℮ rules with statistics and labels, parts counted and sorted by weight.
Read →Food producers & packers
Business & productionFill, check and label your packs on the scale you already have - with the statistics and the ℮ lot report the inspector wants to see.
Read →Manufacturers & workshops
Business & productionCount parts on several scales, sort by weight, fill molds and drive your filling machine with a cut-off that learns.
Read →Counting & check counting
Business & productionCount pieces by weight with a piece weight that gets more exact by itself, on one scale or several - and check counts against a target.
Read →Several scales at once
Business & productionExtra scales in the same app: each with its own weight and tare, the sum of all in the middle - over Bluetooth or WiFi.
Read →Weighing log & statistics
Business & productionLog every weighing with sums and averages, then see mean, standard deviation, Cp / Cpk, run chart and histogram of a series - plus combination weighing.
Read →The same app, for other work
Every function is in the same app - at home, in business and in the lab. All functions at a glance.