SlideShare a Scribd company logo
node-red
with Raspberry Pi
What is Node-red?
Node-Red in its simplest form is an open
source visual editor for wiring the internet
of things produced by IBM.
More..
Node-RED is a visual tool for wiring
the Internet of Things (IoT).
Node-RED is platform-independent.
Node-RED takes care of the technicalities and
lets you concentrate on the logic of your
workflow. !
Traditional IoT development can be very technical:
Access to the GPIO and other hardware requires
skills in C or assembler, output of data to web
services or sending tweets and emails requires the
use of complex APIs.
While most programming in Node-RED is
done visually using pre-defined functions
(“nodes”), any additional functionality can
be added in JavaScript.
How to Start with Raspberry Pi?
Desktop: Menu->Programming->Node-RED
Visit http://127.0.0.1:1880 in browser and get
your dashboard.
Node red for Raspberry Pi
Basic Nodes
Flow 1: Twitting sensor data
Step 1 Drag and drop rpi input node to flow dashboard
Step 2 Double click to configure it and select the pin number
Step 3 Drag and drop twitter output node from social
Step 4 Double click the node to configure it, authenticate your
twitter account
Step 5 Connect both the nodes
Step 6 Deploy the project by clicking on the top right button Deploy
Step 7 Check your tweets on your twitter account, done by sensor.
Installing Thingspeak Node
Step 1 Stop the node-red running server by closing it or by “stop
node-red”
Step 2 Use “sudo npm install node-red-contrib-thingspeak” to install
thingspeak node
Step 3 Start node-red server, you will find thingspeak node in
functions at the end of the list
Step 4 Visiting thingspeak.com and signup for an account
Step 5 Create a channel and get Write API Key
Flow 1: Uploading sensor data on thingspeak
Step 1 Drag and drop rpi input node to flow dashboard
Step 2 Double click to configure it and select the pin number
Step 3 Drag and drop thingspeak node from function
Step 4 Double click the node to configure it, enter your write API
Key, Don’t forget to enter the field id as “1”
Step 5 Connect both the nodes
Step 6 Deploy the project by clicking on the top right button Deploy
Step 7 Check your private view in your thingspeak channel
Flow 1: IBM Watson IoT Demo
Step 1 Drag and drop rpi input node to flow dashboard
Step 2 Double click to configure it and select the pin number
Step 3 Use “Sudo npm install node-red-contrib-ibm-watson-iot
” to install the node
Step 4 Double click the node to configure it, select quickstart mode,
click on the edit symbol(pencil) next to it to get the dashboard.
Step 5 Connect both the nodes
Step 6 Deploy the project by clicking on the top right button Deploy
Step 7 Check your on the IBM Watson iot dashboard opened.
node-red Shortcodes for repositoreis
node Cmd command
Google Chart Sudo npm install node-red-contrib-googlechart
IBM IoT App Sudo npm install node-red-contrib-scx-ibmiotapp
IBM Watson IoT Sudo npm install node-red-contrib-ibm-watson-iot
ThingSpeak Sudo npm install node-red-contrib-thingspeak
Watson Sudo npm install node-red-node-Watson
MySQL Sudo npm install node-red-node-mysql
Alexa Sudo npm install node-red-contrib-alexa
Facebook Sudo npm install node-red-contrib-facebook
Arduino Sudo npm i node-red-node-Arduino
Cayenne Cloud by mydevices
Cayenne is the first of its kind drag and drop IoT project
builder that empowers developers to quickly create and
host their connected device projects.
Cayenne was designed for the Internet of Things.
It can control hardware remotely, it can display sensor
data, it can store data, analyze and do many other cool
things.
Connecting your Raspberry Pi
1. Signup for a free Account on Cayenne Cloud
2. Once you’re signed up you will need to register/connect the Pi up to the
account you just created. To do this simply copy the 2 command lines shown
after you sign up. Enter these into the terminal for your Pi. (These files are
unique for every new install)
3. It will take a few minutes to install onto your Pi depending on how fast your
internet connection is. The web browser or app should automatically update
with information on the installation process.
Onceinstalledthedashboardwill displayandshouldlook like something
below.
Controlling LED
1. Go to add new in the upper left corner of the dashboard
2. Now search for digital output and select it
3. For this device select your Pi, widget type is button, icon can be whatever
you want, and then select integrated GPIO. Finally channel is the pin/channel
that our LED is connected to. For this example it is pin #17. (This is the GPIO
numbering of the pins)
4. Now press the add sensor button
5. You can now turn the GPIO pin high & low from the dashboard and also use
it in a trigger
Explore more..
https://www.hackster.io
https://pimylifeup.com
http://codearduino.com
And google..
A BIG THANK YOU

More Related Content

PPTX
Node-RED
PDF
Node-Red
PDF
01 Node-RED Basic
PDF
Hands on-intro to Node-RED
PPTX
Introduction to Node-RED
PDF
Engage 2019: Introduction to Node-Red
PDF
An introduction to workflow-based programming with Node-RED
PDF
Flow Base Programming with Node-RED and Functional Reactive Programming with ...
Node-RED
Node-Red
01 Node-RED Basic
Hands on-intro to Node-RED
Introduction to Node-RED
Engage 2019: Introduction to Node-Red
An introduction to workflow-based programming with Node-RED
Flow Base Programming with Node-RED and Functional Reactive Programming with ...

What's hot (20)

PPSX
Packet Tracer Tutorial # 2
PPTX
Honeypots
PPSX
Packet Tracer Tutorial # 1
PPTX
ThingsBoard - Open-source IoT Platform
PDF
ESP32 WiFi & Bluetooth Module - Getting Started Guide
PPTX
Internet of Things
PPTX
Introduction to Internet of Things Hardware
PPTX
NETCONF YANG tutorial
PDF
Lesson 9- NodeMCU with Arduino UNO (UART)
PDF
1. Introduction to Embedded Systems & IoT
PDF
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
PPTX
IoT - Data Management Trends, Best Practices, & Use Cases
PPTX
Intro to Node.js (v1)
PDF
Restful api design
PPTX
Continuous Integration of Mobile Apps with Docker and Appium
PDF
Introduction to Raspberrypi
PPTX
Calm technology
PPTX
Arduino
PPT
Building IoT with Arduino Day One
PPTX
Packet Tracer Tutorial # 2
Honeypots
Packet Tracer Tutorial # 1
ThingsBoard - Open-source IoT Platform
ESP32 WiFi & Bluetooth Module - Getting Started Guide
Internet of Things
Introduction to Internet of Things Hardware
NETCONF YANG tutorial
Lesson 9- NodeMCU with Arduino UNO (UART)
1. Introduction to Embedded Systems & IoT
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
IoT - Data Management Trends, Best Practices, & Use Cases
Intro to Node.js (v1)
Restful api design
Continuous Integration of Mobile Apps with Docker and Appium
Introduction to Raspberrypi
Calm technology
Arduino
Building IoT with Arduino Day One
Ad

Similar to Node red for Raspberry Pi (20)

PPTX
Node red with Arduino
PDF
SFSCON24 - Mattia Pizzirani - Raspberry Pi and Node-RED: Open Source Tools fo...
PDF
Node-RED and getting started on the Internet of Things
PPTX
IoT Heaps 5
PPTX
Raspberry pi and AWS
PPTX
Building the Internet of Things with Raspberry Pi
PPTX
IoT for data science Module 5 - Raspberry Pi.pptx
PDF
Chapter 7
PDF
Chapter-7.pdf
PDF
Chapter-7_raspberryPi.pdf
PPTX
IOT notes ....,.........
PPTX
Building your own RC Car with Raspberry Pi
PPTX
Up and running with Raspberry Pi
PDF
Raspberry Pi By Example 1st Edition Pajankar Ashwin Kakkar Arush
PPTX
Raspberry Pi Introductory Lecture
PPTX
IoT Levels of AUtomation-case study topic
PPTX
Raspberry Pi ppt.pptx
PPTX
Raspberry Pi ppt.pptx
PPTX
chapter-7_ed.pptx
PDF
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
Node red with Arduino
SFSCON24 - Mattia Pizzirani - Raspberry Pi and Node-RED: Open Source Tools fo...
Node-RED and getting started on the Internet of Things
IoT Heaps 5
Raspberry pi and AWS
Building the Internet of Things with Raspberry Pi
IoT for data science Module 5 - Raspberry Pi.pptx
Chapter 7
Chapter-7.pdf
Chapter-7_raspberryPi.pdf
IOT notes ....,.........
Building your own RC Car with Raspberry Pi
Up and running with Raspberry Pi
Raspberry Pi By Example 1st Edition Pajankar Ashwin Kakkar Arush
Raspberry Pi Introductory Lecture
IoT Levels of AUtomation-case study topic
Raspberry Pi ppt.pptx
Raspberry Pi ppt.pptx
chapter-7_ed.pptx
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Spectroscopy.pptx food analysis technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Spectroscopy.pptx food analysis technology
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation
Spectral efficient network and resource selection model in 5G networks
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A comparative analysis of optical character recognition models for extracting...
Empathic Computing: Creating Shared Understanding
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
cuic standard and advanced reporting.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Network Security Unit 5.pdf for BCA BBA.
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Node red for Raspberry Pi

  • 2. What is Node-red? Node-Red in its simplest form is an open source visual editor for wiring the internet of things produced by IBM.
  • 3. More.. Node-RED is a visual tool for wiring the Internet of Things (IoT). Node-RED is platform-independent.
  • 4. Node-RED takes care of the technicalities and lets you concentrate on the logic of your workflow. ! Traditional IoT development can be very technical: Access to the GPIO and other hardware requires skills in C or assembler, output of data to web services or sending tweets and emails requires the use of complex APIs.
  • 5. While most programming in Node-RED is done visually using pre-defined functions (“nodes”), any additional functionality can be added in JavaScript.
  • 6. How to Start with Raspberry Pi? Desktop: Menu->Programming->Node-RED Visit http://127.0.0.1:1880 in browser and get your dashboard.
  • 9. Flow 1: Twitting sensor data Step 1 Drag and drop rpi input node to flow dashboard Step 2 Double click to configure it and select the pin number Step 3 Drag and drop twitter output node from social Step 4 Double click the node to configure it, authenticate your twitter account Step 5 Connect both the nodes Step 6 Deploy the project by clicking on the top right button Deploy Step 7 Check your tweets on your twitter account, done by sensor.
  • 10. Installing Thingspeak Node Step 1 Stop the node-red running server by closing it or by “stop node-red” Step 2 Use “sudo npm install node-red-contrib-thingspeak” to install thingspeak node Step 3 Start node-red server, you will find thingspeak node in functions at the end of the list Step 4 Visiting thingspeak.com and signup for an account Step 5 Create a channel and get Write API Key
  • 11. Flow 1: Uploading sensor data on thingspeak Step 1 Drag and drop rpi input node to flow dashboard Step 2 Double click to configure it and select the pin number Step 3 Drag and drop thingspeak node from function Step 4 Double click the node to configure it, enter your write API Key, Don’t forget to enter the field id as “1” Step 5 Connect both the nodes Step 6 Deploy the project by clicking on the top right button Deploy Step 7 Check your private view in your thingspeak channel
  • 12. Flow 1: IBM Watson IoT Demo Step 1 Drag and drop rpi input node to flow dashboard Step 2 Double click to configure it and select the pin number Step 3 Use “Sudo npm install node-red-contrib-ibm-watson-iot ” to install the node Step 4 Double click the node to configure it, select quickstart mode, click on the edit symbol(pencil) next to it to get the dashboard. Step 5 Connect both the nodes Step 6 Deploy the project by clicking on the top right button Deploy Step 7 Check your on the IBM Watson iot dashboard opened.
  • 13. node-red Shortcodes for repositoreis node Cmd command Google Chart Sudo npm install node-red-contrib-googlechart IBM IoT App Sudo npm install node-red-contrib-scx-ibmiotapp IBM Watson IoT Sudo npm install node-red-contrib-ibm-watson-iot ThingSpeak Sudo npm install node-red-contrib-thingspeak Watson Sudo npm install node-red-node-Watson MySQL Sudo npm install node-red-node-mysql Alexa Sudo npm install node-red-contrib-alexa Facebook Sudo npm install node-red-contrib-facebook Arduino Sudo npm i node-red-node-Arduino
  • 14. Cayenne Cloud by mydevices
  • 15. Cayenne is the first of its kind drag and drop IoT project builder that empowers developers to quickly create and host their connected device projects. Cayenne was designed for the Internet of Things. It can control hardware remotely, it can display sensor data, it can store data, analyze and do many other cool things.
  • 16. Connecting your Raspberry Pi 1. Signup for a free Account on Cayenne Cloud 2. Once you’re signed up you will need to register/connect the Pi up to the account you just created. To do this simply copy the 2 command lines shown after you sign up. Enter these into the terminal for your Pi. (These files are unique for every new install) 3. It will take a few minutes to install onto your Pi depending on how fast your internet connection is. The web browser or app should automatically update with information on the installation process.
  • 18. Controlling LED 1. Go to add new in the upper left corner of the dashboard 2. Now search for digital output and select it 3. For this device select your Pi, widget type is button, icon can be whatever you want, and then select integrated GPIO. Finally channel is the pin/channel that our LED is connected to. For this example it is pin #17. (This is the GPIO numbering of the pins) 4. Now press the add sensor button 5. You can now turn the GPIO pin high & low from the dashboard and also use it in a trigger
  • 20. A BIG THANK YOU