
Explore Node-RED for rapid, browser-based IoT development by wiring blocks to collect sensor data and publish to the cloud, suitable for Raspberry Pi and industrial deployments.
Install node-red on a windows pc, using npm to install and run it locally, then access the editor via the local ip or 127.0.0.1 to build IoT flows.
Create your first Node-RED flow by wiring input, function, and output nodes to inject and process data. Deploy the flow and view results in the debug window.
Create a second flow in Node-RED using a function node to convert a timestamp to date, update the payload, and deploy data to cloud services for IoT with Raspberry Pi.
Discover what the Raspberry Pi is and how it serves as a complete, affordable computer for IoT and embedded projects, with GPIO, Linux-based OS, and classroom use.
Explore essential Raspberry Pi hardware, including the power supply, memory card, HDMI display options, and internet connectivity. Compare Raspberry Pi 3 and Pi 4 form factors and key connectors.
The process of installing Operating system on raspberry Pi is changed.
Now the only way to install OS is using the Raspberry Pi OS image as shown in this video.
The next 2 Videos are optional now, and kept here for just understanding all ways. I still recommend going through all videos to keep a clear understanding of the process.
I have also uploaded the most recent video of installing OS to Raspberry Pi 5 without even using a monitor [2024]. I'd urge you to directly jump there and skip all videos. If you don't want me to keep old videos for reference, please post me a message and I'll delete them
Keep experimenting!!!
Amit
Format the memory card with SD formatter, then install the Raspberry Pi OS using NOOBS or a direct copy method, and connect a display for setup.
Learn to install raspbian via noobs installer on raspberry pi models, configure language and keyboard, set wifi and password, and enable ssh for remote access.
Install Raspberry Pi OS headlessly with Raspberry Pi imager, enabling SSH and Wi-Fi during setup. Use an IP scanner to locate the Pi and access it via SSH or VNC.
Install the Raspberry Pi OS on a Raspberry Pi 5 without a monitor using the official imager, enable ssh, and configure a VNC server for remote access.
Control a Raspberry Pi remotely using a VNC Viewer by connecting over the same Wi‑Fi network, entering the IP address and credentials, and viewing the Pi desktop on your laptop.
Learn how to get started with Raspberry Pi by accessing its Linux desktop, using the terminal, and navigating the Debian-based filesystem with mkdir, cd, and sudo.
Explore essential Raspberry Pi commands, including creating files with touch, editing with nano, vi, and Mousepad, and managing files with rm, mkdir, and clear.
Update and upgrade your Raspberry Pi software with apt-get, install or remove packages via sudo apt-get, and follow official documentation for repositories.
Interface Raspberry Pi GPIO pins 20 and 21 with LEDs using a 330 ohm resistor, and control them with Node-RED inject buttons.
Learn to interface LEDs with Raspberry Pi GPIO using Node-RED, wiring LEDs to GPIO pins 21 and 20 via breadboard and male-to-female connectors, and controlling them with inject messages.
Basics of Relay Interfacing
Switching circuits for Relay
Optocoupled Relay Interface
Writing flow for relay interface
code for this video which you need to import in your node-red
[{"id":"407ec756.0f0118","type":"function","z":"94e7c1f9.afb24","name":"startBlink","func":"var BLINKDELAY = 1000;\n\nvar light = true;\n\nvar count = 6;\nvar brk = 0;\nvar blinker = setInterval(blink, BLINKDELAY);\n\nglobal.set(\"blinker\", blinker);\n\nfunction blink () \n{\n \n if (light) \n {\n msg.payload = 1;\n light = false;\n count--;\n }\n else {\n msg.payload = 0;\n light = true;\n }\n \n if(count === 0)\n {\n clearInterval(global.get(\"blinker\"));\n msg.payload = 0;\n brk = 1;\n }\n if(brk ===0 )\n {\n node.send(msg);\n }\n else\n {\n msg.payload = 0;\n return msg;\n }\n}\n\nreturn;","outputs":1,"noerr":0,"x":540,"y":280,"wires":[["a096acc8.f113a"]]}]
Explore the Sense HAT for Raspberry Pi, an official board with an 8x8 LED matrix and joystick, plus accelerometer, magnetometer, temperature, pressure, and humidity sensors.
Connect a Sense HAT to Raspberry Pi and build a Node-RED flow to read sensors—accelerometer, gyroscope, humidity, temperature, joystick, and LED matrix—with configurable delays and debug outputs.
Learn to use the Sense HAT simulator in Node-RED when hardware is unavailable, using the Raspberry Pi built-in emulator and the sensor simulator palette to run IoT experiments.
Learn to send messages to the Sense HAT LED matrix on Raspberry Pi, display a single character or scrolling text, and use Python-based examples with white output.
Learn to parse sensor values in Node-RED using a function block to extract temperature, humidity, and pressure, then print and delay for visibility and future actions.
Use Node-RED conditional statements to route Sense HAT temperature readings: compare against 31, deploy switch blocks, and set payloads to zero or one for display.
Install libraries on the Raspberry Pi to interface DHT11/DHT22 with Node-RED, and build a flow to read temperature and humidity from the sensor or module with a 10k pull-up.
Explore interfacing dht11/dht22 with Raspberry Pi using Node-RED, configure pins and sensor model, deploy the flow, and extract humidity and temperature from the payload for publishing.
Interfacing DS18B20 Temperature Sensor with Raspberry Pi 5 Using Node-RED
In this hands-on lesson, we'll interface the DS18B20 waterproof temperature sensor with Raspberry Pi 5 and read live temperature values using Node-RED.
We'll explore the sensor's features, understand the 1-Wire communication protocol, and build a simple Node-RED flow to monitor temperature without writing complex Python code.
What you'll learn:
Key features and specifications of the DS18B20 sensor
Connecting DS18B20 to Raspberry Pi 5 using a 10kΩ pull-up resistor
Enabling the 1-Wire interface using raspi-config
Verifying sensor detection through Linux terminal commands
Installing node-red-contrib-ds18b20-sensor from the Node-RED Palette Manager
Creating a Node-RED flow using Inject, DS18B20, and Debug nodes
Reading real-time temperature measurements in °C
Hardware required:
Raspberry Pi 5
DS18B20 waterproof temperature sensor
10kΩ or 4.7 kΩ resistor
Connecting wires
Learning outcome: By the end of this lesson, you'll have a working temperature monitoring system using Raspberry Pi 5 and Node-RED. This experiment also serves as a foundation for upcoming IoT dashboards, MQTT communication, and cloud-based sensor monitoring projects.
Explore how Raspberry Pi handles sensor data, connects to the internet via direct or gateway networks, and uses GDP and other protocols to transmit, visualize, and analyze IoT data.
Learn how IoT hardware choices range from microcontroller boards and single-board computers to industrial gateways and edge computing devices, with direct wifi, lan, or gsm connectivity.
Explore IoT data storage and analysis with ThingSpeak, a cloud platform offering private and public channels, REST API, and MATLAB integration for Raspberry Pi and other devices.
Learn to build an IoT project with Node-RED by sending temperature, humidity, and pressure data to ThingSpeak, using flows, the ThingSpeak library, topic-based payloads, and deployment to visualize live graphs.
Explore how mqtt works as a brokered publish-subscribe protocol for iot, with publishers and subscribers exchanging data on topics like temp and humidity through a fast, storage-free broker.
Learn to connect Raspberry Pi with Node-RED to a public MQTT broker, publish and subscribe to topics, and test value flow end-to-end.
Configure node-red to send sensor values to an mqtt broker by splitting temperature, humidity, and pressure data into dedicated topics, then deploy and monitor via the debug window.
Explore the four-stage IoT reference architecture from sensors and embedded systems to connectivity gateways, data in the cloud, and dashboards, highlighting direct device-to-cloud, edge-heavy, and edge gateway configurations.
Build a complete home automation project on Raspberry Pi using Adafruit IO and Node-RED, publishing temperature and humidity data to the cloud and controlling devices via dashboards.
Explore exporting and importing Node-RED flows for your IoT project on Raspberry Pi, saving, reusing, and deploying flows by exporting JSON and importing from downloads.
Learn how to run a specific Node-RED flow at Raspberry Pi boot, deploy remotely, and configure a startup service to load your flow file automatically.
Raspberry Pi & IoT with Node-RED – Build Real Projects from Scratch
If you want to build Internet of Things (IoT) applications using Raspberry Pi and Node-RED without getting overwhelmed by complex programming, this course is designed for you.
By the end of this course, you will be able to:
Install and configure Raspberry Pi
Set up Node-RED on Raspberry Pi and Windows
Create drag-and-drop IoT flows using Node-RED
Interface sensors and output devices
Send data to MQTT brokers and cloud platforms
Build complete IoT projects with Raspberry Pi and Node-RED
Why This Course?
Many beginners want to learn Raspberry Pi and IoT but face common challenges:
No experience with Linux or Raspberry Pi
No programming background
Confusion about sensors and hardware interfacing
Difficulty connecting devices to the cloud
This course removes those barriers.
Node-RED simplifies IoT development by allowing you to create logic using visual flows instead of complex code. You will build your first Node-RED flow within the first 20 minutes of the course.
Everything is explained step by step with minimal hardware requirements so you do not feel overwhelmed.
What You Will Learn
Raspberry Pi Fundamentals
What is Raspberry Pi
Installing operating system
Initial configuration and setup
Understanding Raspberry Pi environment
Node-RED Basics
Installing Node-RED on Raspberry Pi and Windows
Creating your first flow
Understanding nodes and flow logic
Exporting and managing flows
Running Node-RED on startup
Hardware Interfacing
Connecting LEDs and relays
Interfacing sensors
Working with DHT11 and Sense HAT
Using Sense HAT emulator if hardware is not available
IoT and Cloud Integration
What is IoT
Understanding MQTT protocol
Sending data to MQTT broker
Project: Send sensor data to HiveMQ broker
Project: Send sensor data to ThingSpeak cloud
Complete IoT project: Cloud monitoring and device control using Node-RED
What Makes This Course Different
Complete beginner-friendly structure
Minimal hardware required
Hands-on projects
Step-by-step IoT workflow
Clear explanation of both hardware and cloud integration
What This Course Will Do For You
Help you confidently use Raspberry Pi
Enable you to design IoT flows using Node-RED
Teach you practical MQTT-based communication
Prepare you to build hobby, academic, or startup IoT projects
Give you a strong foundation in visual IoT development
Who This Course Is For
Complete beginners in Raspberry Pi
Beginners in IoT development
Students working on academic IoT projects
Makers and hobbyists
Anyone who wants to learn Node-RED from scratch
Who This Course Is Not For
Experienced Node-RED developers
Advanced PLC or SCADA professionals
Users already comfortable building production-grade IoT systems
Instructor
Hi, I’m Amit Rana — engineer, programmer, and trainer.
With over 10 years of experience teaching embedded systems and IoT to thousands of students across 150+ countries, I focus on simplifying complex topics into clear, structured learning paths.
To help you make an informed decision, a significant portion of this course is available as free preview lectures.
30-Day Money Back Guarantee
Your enrollment is completely risk-free. If the course does not meet your expectations, Udemy offers a 30-day full money-back guarantee.
Enroll today and start building IoT applications using Raspberry Pi and Node-RED.