Success story: from a simple sensor to digitalizing a bottling line

How an Industrial Shields ESP32-based PLC became the core of the Care4.0 project at Bodegas Care
May 13, 2026 by
Success story: from a simple sensor to digitalizing a bottling line
Joan F. Aubets - Industrial Shields

From bottle rejection to full line monitoring: how it started

The best projects often start this way: a specific problem, hardware more than capable of solving it, and an engineer willing to push further.

That is exactly what happened at Bodegas Care, one of the most recognised wineries in the Spanish wine industry, running a bottling line at 3,000 bottles/hour. The starting point was modest: improve a detector to reject uncapped bottles. The chosen fix was to replace old timers and relays with an Industrial Shields ESP32-based PLC. Once installed, the question became inevitable: "Since we're already counting bottles, why not do something more?"

Bodegas Care bottling line with cap detection sensor installed
Bodegas Care bottling line with the detection sensor in place

The Care4.0 system: three components, one PLC

What was meant to be a minor upgrade became the Care4.0 project — three components, built incrementally on top of the same hardware:

The ESP32 PLC: rejection control and real-time line metrics

The ESP32 does not just handle bottle rejection — it also calculates line speed and cycle times in real time. With spare I/O available, a second counter was added at the start of the line to track exact lot labeling and prevent overproduction.

Web interface built directly into the PLC

A web interface was programmed directly inside the PLC. No industrial touchscreens, no external software: operators check live data, set production targets and log stoppages from any PC on the company network.

Automatic reporting to Google Sheets by lot and date

All production data is sent automatically to Google Sheets — a complete historical record by lot and product, with no additional servers and no unnecessary complexity.

Care4.0 web interface showing bottle counters, defect detection and line speed
The Care4.0 web interface: bottle counting, defect detection, line speed and lot history

What this winery automation project proves about ESP32 PLCs

With a standard ESP32-based PLC, some ingenuity and no excessive budget, it is possible to go from a simple rejection control to a real line digitalization system — production counting, lot traceability, operator visibility and automatic historical logging, all integrated in the same hardware.

It is the kind of solution that works well in environments where full automation is not economically viable, but where reliable production data genuinely makes a difference.

​Search in our Blog

Success story: from a simple sensor to digitalizing a bottling line
Joan F. Aubets - Industrial Shields May 13, 2026
Share this post
Tags

Looking for your ideal Programmable Logic Controller?

Take a look at this product comparison with other industrial controllers Arduino-based. 

We are comparing inputs, outputs, communications and other features with the ones of the relevant brands.

PLC Comparison