New Video- ADAM-250PN - Full Walkthrough with TIA Portal, Node-RED & MQTT → Watch now
MQTT · Node-RED · Cloud

Share PLC data across the world in seconds with MQTT.

Set up your own MQTT broker in Node-RED or on a Raspberry Pi, publish and subscribe PLC data, control devices from your phone, and connect to cloud brokers including IBM Cloud, Azure and AWS.

40lessons
11sections
4 projectslocal to cloud
Learn MQTT with Node-RED course

“This is the best place to learn about IIOT.”

Qasim, Student
What you will learn

From a broker on your laptop to PLC data in the cloud.

Learn MQTT through projects that build on each other.

01

Understand MQTT

Learn how MQTT brokers and clients share data.

02

Run your own broker

Set up an MQTT broker with Node-RED on your computer or a Raspberry Pi.

03

Bring PLCs into MQTT

Build an MQTT layer in Node-RED for PLCs that do not support MQTT, such as the S7-1200 or a Delta PLC.

04

Connect multiple PLCs

Move data from several PLCs to a broker on an edge device.

05

Control from your phone

Publish and subscribe to PLC data from your mobile phone, and control a Shelly WiFi relay.

06

Go to the cloud

Connect to cloud brokers and platforms including Mosquitto, IBM Cloud, Azure IoT Hub and AWS IoT.

Is this the right course?

Built for engineers taking PLC data beyond the plant.

Start here if

  • You know the Node-RED basics and want to use MQTT.
  • You want to share PLC data with the cloud or your phone.
  • You like learning through projects.

Choose another path if

Course content

11 sections. 40 lessons. One clear path.

PHASE 1
12 lessons

MQTT basics

An introduction to MQTT and sharing data between a broker and clients.

PHASE 2
11 lessons

PLC projects

Moving data from one or several PLCs to a broker on your computer or a Raspberry Pi.

PHASE 3
13 lessons

Devices and cloud brokers

Controlling a Shelly WiFi relay, the Mosquitto cloud broker and IBM Cloud.

PHASE 4
4 lessons

Azure, AWS and webinar

Interfacing with Azure IoT Hub and AWS IoT, plus a webinar on connecting a Raspberry Pi and S7-1200 through a cloud broker.

Try before you buy

Watch 3 lessons for free.

See how Rajvir teaches, from MQTT basics to moving PLC data to a broker on a Raspberry Pi.

Free resources

Get the software used in the course

Download links for the software used in Code and Compile courses are on the Code and Compile Wiki.

Open the wiki
Student stories

Don’t take our word for it.

“I have learned a lot from the course so far and Rajvir has been excellent instructor!”

Jamie
Engineer

“I really like the way your're teaching. All of the courses are beautifully created thus easily understandable.”

Biswanath Paul
Engineer

“Rajvir is an exceptional teacher who simplifies complex topics effortlessly. He’s always available in comments or even via TeamViewer to help you understand. Truly dedicated and teaches straight from the heart.”

Mohammad Alharbi
Engineering Student
10+ Years of experience

Your Instructor

Rajvir Singh

Founder
Code and Compile

He is a skilled Automation and IIoT Specialist, dedicated to achieving goals with precision. His passion lies in making learning accessible and enjoyable through the use of cutting-edge educational tools.

Education and Experiences
Masters Mechatronics
Siegen, Germany
Online Teaching
10+ years
International Trainer
3 years
Software Developer
5 years
Recognition
ctrlX Automation
Influencer
2022
LearnWorlds
Influencer
2023
Enroll

Choose how you want to learn.

Take this course on its own, or unlock every Code and Compile course with PRO.

This course

Learn MQTT with Node-RED

One-time purchase
  • 1 year of access
  • 40 lessons
  • Instructor support
  • Completion certificate
Enroll now
All courses

Code and Compile PRO

From €12/month, paid yearly
  • €19 monthly, €12/month paid yearly, or €249 for 3 years
  • Access to all courses
  • Tech support
  • Completion certificate
View PRO plans
Coming soon

Practice flashcards. Test yourself on automation and IIoT concepts at beginner, medium and advanced levels on cards.codeandcompile.com.

You will be redirected to Code and Compile School for payment.

FAQs

Questions before you start?

Do I need any hardware?

No. A PLC, Raspberry Pi and Shelly relay are optional. You can practise with PLCSIM or simulated values, and Node-RED and MQTTBox are free.

Will I get instructor support?

Yes. Every lesson has a comment section for your questions. If a query cannot be resolved there, Rajvir offers free screen-sharing sessions.

Can I learn on my phone?

Yes. Use the Teachable app on Android or iOS, sign in with your account and save videos for offline access.

Do I get a certificate?

Yes. You receive a unique completion certificate when you finish the course.

What is the refund policy?

You can request a refund within 72 hours of purchase by emailing info@codeandcompile.com.

Send your first PLC data to the cloud today.

Learn at your own pace, with an instructor who helps you when you get stuck.

Start the course