Back to Docs
Use Case Guide

Industrial & Factory Setup Guide

Manage a fleet of ESP32 sensors across a factory floor. Track energy per machine, schedule maintenance alerts, and monitor equipment 24/7.

Overview

Industrial monitoring doesn't have to cost tens of thousands of dollars. Giantronic gives you fleet-scale device management, per-machine energy tracking, and predictive maintenance alerts — all built on affordable ESP32 hardware.

Deploy ESP32 sensor nodes on each machine or production line to monitor current draw, vibration, temperature, and operational status. Group machines into fleets by production line or floor zone. Track energy consumption per machine to identify inefficiencies. Set up maintenance alerts based on vibration patterns or current anomalies. And manage everything from a single dashboard with real-time updates.

Fleet Management

Group machines by production line, floor, or type. Monitor fleet health at a glance.

Energy Per Machine

Track current and power consumption per machine. Identify waste and optimize usage.

Maintenance Alerts

Predictive maintenance based on vibration patterns and current anomalies. Fix before it breaks.

Bulk OTA Updates

Push firmware updates to all machines simultaneously. Roll back if issues are detected.


Hardware You Need

Industrial-grade components for reliable 24/7 monitoring.

ESP32 (Industrial)

One per machine or production line. Use DIN-rail mounts for easy installation in electrical cabinets.

Current Sensor (ACS712)

Hall-effect current sensor for non-invasive machine power monitoring. 5A, 20A, or 30A variants depending on load.

Vibration Sensor (SW-420)

Vibration detection for predictive maintenance. Anomalous vibration patterns indicate bearing wear or misalignment.

Temperature Sensor (DS18B20)

Industrial-grade temperature probe. Monitor motor temperature, bearing temperature, or ambient conditions.

Relay Module

For emergency stop or remote power cycling. Optional but recommended for critical equipment.

Ethernet Module (W5500)

For factories with unreliable WiFi. ESP32 + W5500 Ethernet shield for stable wired connectivity.


Fleet Setup

Organize machines into fleets for grouped monitoring and bulk operations.

Fleet Organization

Create fleets based on your factory's natural groupings:

Fleet NameDevicesDescription
Line A — Assembly4-8 machinesPrimary assembly line with robotic arms, conveyors, and press machines
Line B — Packaging3-5 machinesPackaging line with fillers, sealers, and labelers
HVAC & Utilities2-4 nodesHVAC units, compressors, and utility monitoring
Warehouse3-6 nodesLighting, door sensors, and environmental monitoring

Creating a Fleet

  1. Go to Fleet Management

    Navigate to the Fleets section in the dashboard and click "Create Fleet".

  2. Name and Describe

    Give the fleet a descriptive name (e.g., "Line A — Assembly"). Add a description for documentation.

  3. Add Devices

    Select the ESP32 devices that belong to this fleet. Each device can only belong to one fleet.

  4. Configure Health Thresholds

    Set fleet-wide health thresholds for temperature, current draw, and vibration levels.

Fleet health dashboard: Once configured, the fleet view shows aggregated health metrics — total devices online, average energy consumption, active alerts, and per-device status cards.


Pin Configuration

Configure sensor and actuator pins for each machine monitoring node.

Pin NameGPIOTypeModeDescription
Current Monitor34ACS712InputMachine current draw (Amps via ADC)
Vibration Sensor35SW-420InputVibration detection (HIGH = vibration detected)
Temperature4DS18B20InputMotor/bearing temperature probe
Run Indicator2LEDInputMachine run status (reads control panel LED)
Emergency Stop15RelayOutputRemote emergency stop relay (optional)
Status LED16LEDOutputNode status indicator (green=OK, red=fault)

Energy Per Machine

Track power consumption per machine to identify waste and optimize production schedules.

Current Monitoring

The ACS712 current sensor provides a voltage output proportional to the current flowing through it. The ESP32 reads this via its ADC and converts it to Amps.

Current Reading Calculation
// ACS712-20A: 100mV per Amp, centered at VCC/2
adc_value = analogRead(GPIO34)
voltage = (adc_value / 4095.0) * 3.3
current_amps = (voltage - 1.65) / 0.1  // 100mV/A sensitivity
power_watts = current_amps * 220  // multiply by mains voltage

Energy Dashboard

The Giantronic fleet dashboard displays per-machine energy metrics:

Real-Time Wattage

Live current draw displayed on each device card in the fleet view.

Daily Consumption

Accumulated kWh per machine per day. Compare machines of similar type to identify outliers.

Cost Reports

Automatic cost calculations based on your electricity rate. Monthly summaries for accounting.


Predictive Maintenance

Detect equipment problems before they cause downtime using sensor data patterns.

Vibration Monitoring

The SW-420 vibration sensor detects abnormal vibration patterns that indicate bearing wear, misalignment, or looseness. Giantronic tracks vibration frequency and duration to predict maintenance needs.

PatternLikely CauseRecommended Action
Intermittent vibrationLoose mounting boltSchedule tightening within 48 hours
Continuous vibrationBearing failure imminentSchedule immediate maintenance
Vibration + high currentMechanical jamEmergency stop, inspect machine
Vibration + high temperatureOverheating bearingReduce load, schedule lubrication

Current Anomaly Detection

Sudden current spikes or gradual increases indicate problems:

  • Sudden current spike (>20% above baseline)

    May indicate a jam, short circuit, or mechanical failure. Trigger emergency alert.

  • Gradual current increase over days/weeks

    Indicates increasing friction or wear. Schedule preventive maintenance during next planned shutdown.

  • Current draw with no vibration

    Electrical issue — possible motor winding degradation or capacitor failure. Electrical inspection needed.

Alert thresholds: Start with conservative thresholds and tune over 2-4 weeks of baseline data. Every machine has different normal operating parameters.


Bulk OTA Updates

Push firmware updates to your entire fleet simultaneously with rollback support.

  1. Upload Firmware

    Upload your compiled .bin file to the Giantronic firmware section, or link a GitHub release for automatic fetching.

  2. Select Target Fleet

    Choose which fleet(s) to update. You can update one production line at a time for staged rollouts.

  3. Deploy

    Giantronic pushes the update to all devices in the fleet. Each device downloads the firmware and reboots automatically.

  4. Monitor & Rollback

    Watch the fleet health dashboard during deployment. If devices report errors, rollback to the previous firmware version with one click.

Staged rollouts: Update 10% of devices first, monitor for 24 hours, then push to the remaining 90%. This minimizes risk of production disruption.


24/7 Monitoring

Keep your factory floor under constant surveillance with automated monitoring and alerts.

Device Heartbeats

Each ESP32 sends periodic heartbeats. If a heartbeat is missed, the device is marked offline and an alert fires.

Trend Analysis

Historical data for all sensors. Spot trends over days, weeks, and months. Correlate energy use with production output.

Multi-Channel Alerts

Email, push notifications, and in-dashboard alerts. Escalation rules for critical alerts that aren't acknowledged.

Audit Logs

Complete audit trail of all device changes, configuration updates, and user actions. Essential for compliance.