I'm always excited to take on new projects and collaborate with innovative minds.

Phone

+1 234 567 890

Email

contact@botble.com

Website

https://botble.com

Address

123 Main Street, New York, NY 10001

Social

How to Connect a Monarch RPM Meter to Raspberry Pi Using Node-RED

Learn how to integrate a Monarch RPM Meter with Raspberry Pi and Node-RED for real-time RPM monitoring, dashboard visualization, MySQL logging, and predictive maintenance in Industry 4.0 environments.

How to Connect a Monarch RPM Meter to Raspberry Pi Using Node-RED

How We Built a Real-Time RPM Monitoring System Using Raspberry Pi, Monarch RPM Meter, and Node-RED

Introduction

In modern manufacturing environments, machine performance monitoring is critical for improving productivity, reducing downtime, and enabling predictive maintenance. One of the most important parameters for rotating equipment is RPM (Revolutions Per Minute).

Traditionally, RPM values are displayed only on standalone meters, making historical analysis and remote monitoring difficult. To solve this challenge, we developed a low-cost Industrial IoT (IIoT) solution using a Monarch RPM Meter, Raspberry Pi, and Node-RED.

This article explains the complete architecture, implementation process, and business benefits of the solution.


Business Challenge

Many manufacturing facilities rely on RPM meters installed directly on machines. While these devices provide accurate readings, they have several limitations:

  • No centralized monitoring
  • No historical data storage
  • No downtime analysis
  • No predictive maintenance capability
  • Manual recording of RPM values

As industries move toward Industry 4.0, there is a growing need to digitize machine data and make it available in real time.


Proposed Solution

We created a real-time RPM monitoring system that continuously collects RPM data from a Monarch RPM Meter and sends it to a centralized dashboard.

System Architecture

RPM Sensor → Monarch RPM Meter → FTDI USB Serial Converter → Raspberry Pi → Node-RED → MySQL Database → Dashboard

This architecture enables operators and managers to monitor machine performance from anywhere within the factory network.


Hardware Components

1. Monarch RPM Meter

The Monarch RPM Meter receives pulse signals from the sensor and calculates RPM values with high accuracy.

2. FTDI USB-to-Serial Converter

The FTDI converter establishes serial communication between the RPM meter and Raspberry Pi.

3. Raspberry Pi

Acts as an edge computing device that receives RPM data and forwards it to Node-RED for processing.

4. Node-RED

Node-RED provides a visual programming environment for:

  • Serial communication
  • Data processing
  • Dashboard creation
  • Database integration
  • Alert generation

Raspberry Pi Configuration

After connecting the FTDI converter, verify device detection:

lsusb

Check serial device:

ls /dev/ttyUSB*

Expected output:

/dev/ttyUSB0

For production deployments, using:

/dev/serial/by-id/

is recommended because the device path remains stable after reboots.


Serial Communication Settings

The Monarch RPM Meter communicates through standard serial settings:

ParameterValue
Baud Rate9600
Data Bits8
ParityNone
Stop Bits1
TerminatorCarriage Return (\r)

Monarch Communication Commands

Continuous RPM Streaming

@D1\r

Single RPM Request

@D0\r

Stop Streaming

@D2\r

These commands allow complete control over the RPM meter communication process.


Node-RED Flow Design

The final Node-RED flow consists of:

  1. Inject Node
  2. Serial Out Node
  3. Serial In Node
  4. RPM Parsing Function
  5. Dashboard Widgets
  6. MySQL Storage

The Serial In node continuously receives RPM data while the Function node extracts numeric values and converts them into structured JSON.


RPM Data Processing

Node-RED automatically converts raw serial data into:

{
  "rpm": 1450,
  "timestamp": "2026-05-29T10:15:00Z"
}

This structured format can be stored directly in MySQL or transmitted via MQTT.


Real-Time Dashboard Features

Our dashboard includes:

  • Live RPM Display
  • Trend Charts
  • Average RPM
  • Maximum RPM
  • Minimum RPM
  • Machine Status Indicators
  • Downtime Detection
  • Historical Analysis

Operators can instantly identify abnormalities and respond before failures occur.


Database Integration

Every RPM reading is stored in MySQL for:

  • Historical reporting
  • Machine performance analysis
  • OEE calculations
  • Production tracking
  • Predictive maintenance models

Example table structure:

CREATE TABLE rpm_logs (
    id INT AUTO_INCREMENT PRIMARY KEY,
    machine VARCHAR(50),
    rpm FLOAT,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

Predictive Maintenance Applications

By continuously monitoring RPM trends, maintenance teams can:

  • Detect bearing failures
  • Identify motor degradation
  • Monitor belt slippage
  • Track abnormal machine behavior
  • Schedule maintenance proactively

This reduces unplanned downtime and maintenance costs.


Benefits Achieved

Operational Benefits

  • Real-time visibility
  • Reduced manual recording
  • Faster troubleshooting
  • Better machine utilization

Technical Benefits

  • Low-cost deployment
  • Easy scalability
  • Open-source platform
  • Database integration
  • Remote monitoring capability

Business Benefits

  • Reduced downtime
  • Improved productivity
  • Better maintenance planning
  • Increased equipment reliability

Future Enhancements

The system can be extended with:

  • MQTT Integration
  • Grafana Dashboards
  • Cloud Monitoring
  • WhatsApp Alerts
  • Email Notifications
  • AI-Based Predictive Maintenance
  • OEE Dashboard Integration

Conclusion

Combining a Monarch RPM Meter, Raspberry Pi, and Node-RED creates a powerful Industrial IoT solution capable of real-time machine monitoring and predictive maintenance. The implementation is affordable, scalable, and perfectly aligned with Industry 4.0 initiatives.

Organizations looking to digitize shop-floor operations can use this architecture as a foundation for building advanced smart manufacturing systems.

4 min read
May 29, 2026
By VIPIN KUSHWAHA
Share

Leave a comment

Your email address will not be published. Required fields are marked *

Your experience on this site will be improved by allowing cookies. Cookie Policy