Skip to content

About

automatic ripeness checker.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

160 Commits

Folders and files

Repository files navigation

BTL Ripe-O-Matic

An open-source countertop gadget that watches your avocado and tells you when it's ripe, so you stop forgetting about them until they're brown mush.

BTL Ripe-O-Matic (also written ripe-o-matic or ripeomatic) is an open-source avocado ripeness tester: an ESP32, a 3D-printed frame and a hall sensor that presses the fruit gently and tracks how it softens.

Status: first build in progress. The CAD is done and the STLs are in hardware/stl/, the firmware runs on a real ESP32 (flashed from the web installer, so far in simulation mode), and the data pipeline and dashboard are live. The first printed parts are being test-fitted and have already turned up fixes (thread clearance, the board mounting); nothing has been calibrated on a real avocado yet.


The idea

Store ripeness scanners (NIR, acoustic, laser vibrometry) judge a stranger's avocado from a single reading, so they need big trained models. Ripe-O-Matic has an easier job: it measures the same avocado every day and watches the trend. It doesn't need to know exactly how ripe the fruit is, only that it has been softening and just crossed your "perfect" line.

How it works

A soft pad presses very gently on the avocado once or twice a day and measures how much it squishes for a given force, the same way you'd test it with your thumb. As the avocado ripens, it gets softer, and when it crosses your threshold you get a notification.

The machine is a low, horizontal press about 7 cm tall. The avocado lies on its side in a printed V-shaped corner, and a sled drives the pad into its exposed side, pushing it gently into the corner, which seats any size from about 55 to 80 mm across. The corner's back wall is a servo-driven gate: when a reading says ripe it can open and let the avocado roll out the back into a basket.

  • Push: a $2 geared stepper turns a printed lead screw that moves the sled along a channel in the base in tiny, known steps, so step count = travel.
  • Feel: a thin printed blade standing up from the sled carries the pad. It bends back as the avocado pushes. A magnet on its back and a $0.50 hall sensor on the sled measure the bend, which gives the force.
  • Result: a force-vs-squish curve. Its slope (stiffness) drops day by day as the avocado ripens.

The base (with its guide channel and nest pedestal), the nest, the lead screw, the sled and the blade are all 3D printed. There are no bearings and no metal load cell, and everything runs on 5 V from a phone charger.

Measurement routine

  1. Home: drive the sled back to position 0. There's no home switch: you set home once with the sled touching the end stop, and the machine counts every step from there.
  2. Tare the hall sensor with the pad in the air.
  3. Approach to just short of the last known contact position, then creep slowly.
  4. Detect contact when force rises above ~0.1 N for 3 readings in a row.
  5. Preload to ~0.2 N to seat the avocado into the back of the nest; call this zero.
  6. Measure step by step up to a force cap (~2.5 N), logging force at each step. Avocado squish = travel minus the blade's own bend.
  7. Back off and record the stiffness (slope of force vs. squish).

Because everything is measured from the contact point, avocado size doesn't matter. Contact position is logged too, so the device can tell when an avocado has been swapped (position jumps) or removed (no contact).

See docs/measurement.md for details.

Being gentle

Squeezing can bruise avocados, especially ripe ones. Ripe-O-Matic limits force, not just distance, and uses a wide soft pad (about 2 cm) to spread the load. The reaction spreads over the nest's soft curved back rather than small cradle pins. Rotate the avocado between tests where possible.

Hardware

Part Purpose Rough cost
28BYJ-48 stepper + ULN2003 driver Pushing + distance (2048 steps/turn) $2–4
ESP32 dev board Brains, Wi-Fi notifications $3–6
SS49E hall sensor + 3 × 2 mm magnet Force, via the printed blade ~$1 (sold in packs)
USB cable + phone charger 5 V power for everything have
Base (channel, pedestal), nest, lead screw, sled, blade, pad Everything else printed

Approximate total: $15–20 plus about 150 g of filament. Full list, print notes and wiring in hardware/.

Optional upgrade if the printed blade drifts: a 1 kg load cell + HX711 (~$7) mounts in the same spot.

Build it

  1. Print the parts in hardware/stl/ (base and sled first; test the slide before printing the rest).
  2. Assemble in the order in hardware/stl/README.md, wire per the step-by-step wiring guide with a picture (technical version: hardware/README.md) (the 0.1 µF capacitor on the hall sensor is optional; add it if readings are noisy). The boards go in two boxes that click onto keyhole studs on the base, no screws (hardware/keyhole-mount.md).
  3. Flash from the browser: plug the ESP32 into your computer and open https://btltech1.github.io/ripeomatic/install/ in Chrome or Edge. One click, pick the port, type your Wi-Fi, done. On Windows the board needs the CP210x USB driver first; the page links it and it takes 30 seconds. (Or build it yourself from firmware/ with the Arduino IDE.)
  4. Calibrate from the web page: force (coins on the pad), then blade (press a jar). Ten minutes. Automatic readings switch on once both are done.
  5. First avocado. Tap Measure now, then let it run twice a day. When you eat it, tap how it was.

Steps 3–5 in detail: firmware/README.md.

Firmware and app

There is no app to install, and no IDE needed either: the web installer flashes the ESP32 from Chrome or Edge and sets its Wi-Fi over the same USB cable. The ESP32 then serves its own web app at http://ripeomatic.local: the verdict (hard / softening / almost ripe / ripe), the ripening curve, one-tap "how was it?" buttons, calibration, settings. Add it to your phone's home screen and it behaves like an app. Alerts ("almost ripe", "ripe", "nest is empty") go to your phone through ntfy (free, no account) and/or to a Discord channel through a webhook. Readings are logged on the device in a shared format and downloadable as CSV. Details, first-run steps and the HTTP API in firmware/.

Pooled data and the dashboard

Every build measures stiffness in the same units (N/mm, after a coin calibration and a blade correction), so readings from different machines are comparable. Contributed logs go through a pull request into data/contrib/, get validated and merged by CI, and show up on the dashboard:

https://btltech1.github.io/ripeomatic/ — every avocado's ripening curve, the stiffness people called perfect, days-to-ripe vs. room temperature.

That pooled "perfect" number is what replaces the placeholder ripeness threshold in the firmware. See docs/data-sharing.md.

Repo layout

ripeomatic/
├── firmware/   ESP32 sketch (ripeomatic/), web UI source (ui/), host tests (test/)
├── hardware/   STLs, print and assembly guide, BOM, wiring (CAD: Fusion 360)
├── dashboard/  The community data page (GitHub Pages)
├── data/       Contributed readings, merged all.csv, synthetic sample
├── docs/       Measurement routine, data sharing plan
└── tools/      merge_data.py, make_sample.py, build_ui.py, mock_device.py

Data wanted!

The most useful thing anyone can contribute is readings from real avocados, and above all the tap that says it was perfect to eat. Download the CSV from your device's page and attach it to a Share my readings issue (or open a pull request into data/contrib/<device id>/; CI checks the format). See data/README.md.

Planned: tipping nest (v2)

The nest hangs on two side pins through the avocado's centre of gravity, at the height of the pad. That makes the loaded nest nearly balanced and means the pad's push can't tip it. A $2 micro servo on one pin will swing the nest backward when the avocado is ripe, so it rolls off the back of the base into a bowl below. The notification becomes physical.

Prior art

  • Commercial retail and packhouse scanners (NIR, acoustic tap, laser vibrometry) work on the same physics but are built for stores.

License


Made by BTL (Bring the Light) · YouTube

About

automatic ripeness checker.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages