Define the portion size and the dispensing mechanism
This reference combines offline RTC scheduling, manual triggers, and a single motor with Hall or optical feedback; food-level input is defined separately. Measure how the gearbox or dispensing wheel relates to a specific portion using the actual mechanism and food type. Feedback adds useful state information but still requires weighing for accuracy.
A 5 V adapter and two-layer FR-4 board are candidates. Choose geared-DC or stepper operation explicitly. A DRV8833-class bridge is considered only within the actual motor conditions. The source example compares 0.4 A running current with 1.2 A stall current, three times as much; supply, device stress and heat need that abnormal-state budget.
Bound jam recovery logic and distinguish startup current
Define normal motion, empty hopper, jam, and missing feedback separately. A current threshold must distinguish startup transients from a stall. Reverse or retry only within the approved count and thermal limits, then stop and report the fault. Unlimited retries are not a general reliability solution.
Place bridge cooling and protection close to the load, separate motor current from clock and sensor returns, and provide keyed connectors with strain relief. One successful portion does not cover repeated-operation heating effects.
Preserve the task state as well as the system clock
An RTC backup domain preserves time; whole-board battery backup is a different scope. Store task identity, completion status, and portions delivered. Agree whether a partly completed task resumes or is abandoned, and test power interruption at start, mid-delivery, and during completion-record writing.
Local schedules and remote commands need the same deduplication rule. Reconnection or a repeated command must not unconditionally dispense again. Network provisioning code does not complete the task logic. Apps, cloud services, and remote maintenance are separate work streams.
Verify portions against the physical conditions
| Test | Record |
|---|---|
| Portion repeatability | Approved food sizes, supply levels and hopper levels; sample count, mean mass and distribution |
| Jam and empty states | Motor current, feedback, retry sequence, stop and alarm timeline |
| Power-loss recovery | Task IDs and actual dispensing at each interruption point |
| Revision package | Mechanism, food, level, electrical and firmware versions tied to the results |
USD equivalents use the ECB reference rates of 27 November 2026. Rounded figures are illustrative; historical source prices are not current quotations.
Adding weighing requires mechanical force transfer, an analog front end, calibration, and algorithms. Its development cost is not just the sensor price. Supply motor stall data, mechanism timing, portion tolerance, schedule, cleaning, and enclosure requirements for review.
Design budget and scope comparison
| Work package | Historical budget reference | Boundary |
|---|---|---|
| Layout only, ordinary two-layer board | USD 300.55–751.39 per project | Requires an approved schematic |
| Layout only, four to six layers | USD 751.39–3,005.54 per project | Compare the same stackup, packages and constraints |
| Standard hardware development | USD 4,508.31–15,027.70 per project | Multi-sensor, industrial or four-to-six-layer embedded reference |
At USD 45.08 per hour, 80 hours of hardware engineering would cost USD 3,606.65. The example uses a budgeting range of USD 22.54–75.14 per hour. If the same project needs another 40 hours of firmware work at USD 45.08 per hour, the combined total is USD 5,409.97 before prototype fabrication and testing.
Use these figures to compare project budgets. Ask for a breakdown of circuit design, PCB layout, firmware or software, prototype quantities, component sourcing, validation and the included design revisions. Count each item once.
Engineering references and the next step
Motor-drive device reference · Battery measurement approach · Submit mechanism, food and task-recovery requirements






