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

What's hot (20)

PDF
Hands on-intro to Node-RED
Pooja Mistry
 
PPTX
Creator IoT Framework
Paul Evans
 
PPTX
Internet Of Things(IOT)
sameergupta85
 
PPTX
Iot - Internet of Things
KIET Group of Institutions, Ghaziabad
 
PDF
Quantum Computing and D-Wave
Recruit Communications Co., Ltd.
 
PPTX
IOT PPT.pptx
KaranSharma686387
 
PDF
Iot lab manual new
Dr. Radhey Shyam
 
PDF
Eclipse IoT Overview
Ian Skerrett
 
PPTX
Internet of Things (IOT)
Kunal Adhikari
 
PDF
Practical introduction to IoT
pekkanikander
 
PPT
IoT with Arduino
Arvind Singh
 
PDF
Building Blocks for IoT
Bob Marcus
 
PDF
Introduction to IoT Architecture
Emertxe Information Technologies Pvt Ltd
 
PDF
Rdl esp32 development board trainer kit
Research Design Lab
 
PPTX
Introduction to Microsoft IoT Central
Codit
 
PDF
Manage all the things, small and big, with open source LwM2M implementations ...
Benjamin Cabé
 
PDF
IoT Primer for High School Students
Syam Madanapalli
 
PPTX
Internet of things ppt
Dania Purnama Sari
 
PDF
Prototyping Online Components(Part 01)_Internet of Things
alengadan
 
Hands on-intro to Node-RED
Pooja Mistry
 
Creator IoT Framework
Paul Evans
 
Internet Of Things(IOT)
sameergupta85
 
Iot - Internet of Things
KIET Group of Institutions, Ghaziabad
 
Quantum Computing and D-Wave
Recruit Communications Co., Ltd.
 
IOT PPT.pptx
KaranSharma686387
 
Iot lab manual new
Dr. Radhey Shyam
 
Eclipse IoT Overview
Ian Skerrett
 
Internet of Things (IOT)
Kunal Adhikari
 
Practical introduction to IoT
pekkanikander
 
IoT with Arduino
Arvind Singh
 
Building Blocks for IoT
Bob Marcus
 
Introduction to IoT Architecture
Emertxe Information Technologies Pvt Ltd
 
Rdl esp32 development board trainer kit
Research Design Lab
 
Introduction to Microsoft IoT Central
Codit
 
Manage all the things, small and big, with open source LwM2M implementations ...
Benjamin Cabé
 
IoT Primer for High School Students
Syam Madanapalli
 
Internet of things ppt
Dania Purnama Sari
 
Prototyping Online Components(Part 01)_Internet of Things
alengadan
 

Similar to Node red for Raspberry Pi (20)

PPTX
Node red with Arduino
Anshu Pandey
 
PDF
SFSCON24 - Mattia Pizzirani - Raspberry Pi and Node-RED: Open Source Tools fo...
South Tyrol Free Software Conference
 
PDF
Node-RED and getting started on the Internet of Things
Boris Adryan
 
PPTX
IoT Heaps 5
SushrutaMishra1
 
PPTX
Raspberry pi and AWS
Faisal Mehmood
 
PPTX
Building the Internet of Things with Raspberry Pi
Neil Broers
 
PPTX
IoT for data science Module 5 - Raspberry Pi.pptx
MadhurimaDas52
 
PDF
Chapter 7
pavan penugonda
 
PDF
Chapter-7.pdf
ssuser01a3d0
 
PDF
Chapter-7_raspberryPi.pdf
MaaheenKashish
 
PPTX
IOT notes ....,.........
taetaebts431
 
PPTX
Building your own RC Car with Raspberry Pi
Jeff Prestes
 
PPTX
Up and running with Raspberry Pi
Shahed Mehbub
 
PDF
Raspberry Pi By Example 1st Edition Pajankar Ashwin Kakkar Arush
faqotdfh44
 
PPTX
Raspberry Pi Introductory Lecture
Syed Umaid Ahmed
 
PPTX
IoT Levels of AUtomation-case study topic
pcmech
 
PPTX
Raspberry Pi ppt.pptx
ushabharathisb1
 
PPTX
Raspberry Pi ppt.pptx
ushabharathisb1
 
PPTX
chapter-7_ed.pptx
SomeshvaranSomeshvar
 
PDF
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
Tomomi Imura
 
Node red with Arduino
Anshu Pandey
 
SFSCON24 - Mattia Pizzirani - Raspberry Pi and Node-RED: Open Source Tools fo...
South Tyrol Free Software Conference
 
Node-RED and getting started on the Internet of Things
Boris Adryan
 
IoT Heaps 5
SushrutaMishra1
 
Raspberry pi and AWS
Faisal Mehmood
 
Building the Internet of Things with Raspberry Pi
Neil Broers
 
IoT for data science Module 5 - Raspberry Pi.pptx
MadhurimaDas52
 
Chapter 7
pavan penugonda
 
Chapter-7.pdf
ssuser01a3d0
 
Chapter-7_raspberryPi.pdf
MaaheenKashish
 
IOT notes ....,.........
taetaebts431
 
Building your own RC Car with Raspberry Pi
Jeff Prestes
 
Up and running with Raspberry Pi
Shahed Mehbub
 
Raspberry Pi By Example 1st Edition Pajankar Ashwin Kakkar Arush
faqotdfh44
 
Raspberry Pi Introductory Lecture
Syed Umaid Ahmed
 
IoT Levels of AUtomation-case study topic
pcmech
 
Raspberry Pi ppt.pptx
ushabharathisb1
 
Raspberry Pi ppt.pptx
ushabharathisb1
 
chapter-7_ed.pptx
SomeshvaranSomeshvar
 
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
Tomomi Imura
 
Ad

Recently uploaded (20)

PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
July Patch Tuesday
Ivanti
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Ad

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