SlideShare una empresa de Scribd logo
1 de 35
Descargar para leer sin conexión
02 Raspberry Pi GPIO
Node-RED Control Hardware Interfaces
Raspberry Pi Interfaces
• One powerful feature of the Raspberry Pi is the row of GPIO
(general purpose input/output) pins along the edge of the
board, next to the yellow video out socket.
• These pins are a physical interface between the Pi and the
outside world.
• At the simplest level, you can think of them as switches that you
can turn on or off (input) or that the Pi can turn on or off (output)
Raspberry Pi Interfaces
• Seventeen of the 26 pins are GPIO pins; the
others are power or ground pins.
• It could be input from a sensor or a signal from
another computer or device
1
2
25
26
How GPIO Pins Work : Output
• When we use a GPIO pin as an output, pin can turn
on or off,or go HIGH or LOW in computing terms.
• When the pin is HIGH it outputs 3.3 volts (3v3).
• When the pin is LOW it outputs 0 volts (ground)
How GPIO Pins Work : Input
• When we use a GPIO pin as an input switch, pin
have to “pull up” or “pull down”.
pull up pull down
Node-RED Pi GPIO
• There are two main ways of interacting with a
Raspberry Pi using Node-RED
• rpi-gpio nodes, provided in the palette for
monitoring and controlling the GPIO pins. This is
the simplest and recommended way.
• wiring-pi module, this provides complete access
to the GPIO pins, and other devices, within
Function nodes.
Pin Map
Output Interface
Digital Output
Create Flow for Digital Out
• Add a inject, debug nodes and change parameter of
inject node, by double click
Create Flow for Digital Out
• Change the repeat into “interval” for every 1 second.
• Set Name to “tick every 1 sec”
Changed
Properties
Create Flow for Digital Out
• Add a function node and double click to edit
function.
Set function
name
Create Flow for Digital Out
• Add a rpi-gpio node (in part “Raspberry Pi”) and
double click to change pin number.
Pin 16
Digital Output Mode
Create Flow for Digital Out
Wiring node and click deploy
Create Flow for PWM Out
• Add 5 inject, 1 debug nodes and change parameter
of inject node, by double click
Create Flow for PWM Out
• Change inject node 1 properties
Changed
Properties
Create Flow for PWM Out
• Change inject node 2 properties
Changed
Properties
Create Flow for PWM Out
• Change inject node 3 properties
Changed
Properties
Create Flow for PWM Out
• Change inject node 4 properties
Changed
Properties
Create Flow for PWM Out
• Change inject node 5 properties
Changed
Properties
Create Flow for PWM Out
• Add a rpi-gpio node (in part “Raspberry Pi”) and
double click to change pin number and PWM.
Pin 16
PWM Output Mode
Create Flow for PWM Out
Wiring node and click deploy
Create Flow for PWM Out
Click on the each Inject button to change LED bright
Input Interface
Vcc
GND
Data Out
Digital Input
Create Flow for Binary Sensor Input
• Add a rpi-gpio node (in part “Raspberry Pi”) and
double click to change pin number and resistor.
Pin 11
no resistor
Create Flow for Binary Sensor Input
• Add a function node and double click to edit
function with 2 output.
Set function name
and output
Create Flow for Digital Out
• Add a rpi-gpio node (in part “Raspberry Pi”) and
double click to change pin number.
Pin 16
Digital Output Mode
Create Flow for Binary Sensor Input
Add debug node and
wiring node and click deploy
Special Input Interface
1-Wire
1-Wire bus
Special Input Interface
#Open new Putty to connect R-Pi 10.10.11.X using SSH!
User : pi!
Password : raspberry!
!
pi@thethingbox$ls /sys/bus/w1/devices!
!
!
!
!
!
- Copy the number (Sensor ID) in rectangular for use with Node-
RED!
!
pi@thethingbox$exit!
Create Flow for 1-Wire Bus
• Add a inject, debug nodes and change parameter of
inject node, by double click
Create Flow for 1-Wire Bus
• Change inject node properties
• Payload : blank, Topic : Sensor ID, Name : DS1820 , Repeat :
30 Second
Changed
Properties
Create Flow for 1-Wire Bus
• Add a 1-Wire and change node (in part “function”)
and double click on change node.
• Set retain last value of sensor data
Retain last
value
Create Flow for 1-Wire Bus
• Add a mqtt node (in part “output”) and double
click to change mqtt broker, and Topic.
Set mqtt broker
Create Flow for 1-Wire Bus
Wiring node and click deploy
Create Flow for 1-Wire Bus
Monitor
Temperature
with MyMQTT
App on
Android

Más contenido relacionado

La actualidad más candente

Juniper policy based filter based forwarding
Juniper policy based filter based forwardingJuniper policy based filter based forwarding
Juniper policy based filter based forwarding
Mars Chen
 
Juniper IPv6 Workshop by Irzan
Juniper IPv6 Workshop by IrzanJuniper IPv6 Workshop by Irzan
Juniper IPv6 Workshop by Irzan
Febrian ‎
 

La actualidad más candente (20)

Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
Gpon Fundamentals
Gpon FundamentalsGpon Fundamentals
Gpon Fundamentals
 
Tecnología GPON
Tecnología GPONTecnología GPON
Tecnología GPON
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN Deployment
 
Advanced Internetworking Report
Advanced Internetworking ReportAdvanced Internetworking Report
Advanced Internetworking Report
 
Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)
 
Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 
Ospf
 Ospf Ospf
Ospf
 
FATTREE: A scalable Commodity Data Center Network Architecture
FATTREE: A scalable Commodity Data Center Network ArchitectureFATTREE: A scalable Commodity Data Center Network Architecture
FATTREE: A scalable Commodity Data Center Network Architecture
 
Juniper policy based filter based forwarding
Juniper policy based filter based forwardingJuniper policy based filter based forwarding
Juniper policy based filter based forwarding
 
Ml tn modems presentation
Ml tn modems presentationMl tn modems presentation
Ml tn modems presentation
 
IP Multicasting
IP MulticastingIP Multicasting
IP Multicasting
 
Configuring GRE Tunnel Through a Cisco ASA Firewall
Configuring GRE Tunnel Through a Cisco ASA FirewallConfiguring GRE Tunnel Through a Cisco ASA Firewall
Configuring GRE Tunnel Through a Cisco ASA Firewall
 
EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)
 
BGP
BGP BGP
BGP
 
Mikrotik Hotspot With Queue Tree BW Management
Mikrotik Hotspot With Queue Tree BW ManagementMikrotik Hotspot With Queue Tree BW Management
Mikrotik Hotspot With Queue Tree BW Management
 
Connect Laptop/PC to Router Console Port
Connect Laptop/PC to Router Console Port Connect Laptop/PC to Router Console Port
Connect Laptop/PC to Router Console Port
 
OSPF Fundamental
OSPF FundamentalOSPF Fundamental
OSPF Fundamental
 
Juniper IPv6 Workshop by Irzan
Juniper IPv6 Workshop by IrzanJuniper IPv6 Workshop by Irzan
Juniper IPv6 Workshop by Irzan
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
 

Destacado

Java fx on raspberry pi gerrit grunwald
Java fx on raspberry pi   gerrit grunwaldJava fx on raspberry pi   gerrit grunwald
Java fx on raspberry pi gerrit grunwald
NLJUG
 
Node-RED and getting started on the Internet of Things
Node-RED and getting started on the Internet of ThingsNode-RED and getting started on the Internet of Things
Node-RED and getting started on the Internet of Things
Boris Adryan
 

Destacado (20)

01 Node-RED Basic
01 Node-RED Basic01 Node-RED Basic
01 Node-RED Basic
 
An introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-REDAn introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-RED
 
Web of Things (wiring web objects with Node-RED)
Web of Things (wiring web objects with Node-RED)Web of Things (wiring web objects with Node-RED)
Web of Things (wiring web objects with Node-RED)
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
 
Flow Base Programming with Node-RED and Functional Reactive Programming with ...
Flow Base Programming with Node-RED and Functional Reactive Programming with ...Flow Base Programming with Node-RED and Functional Reactive Programming with ...
Flow Base Programming with Node-RED and Functional Reactive Programming with ...
 
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
Wiring the Internet of Things with Node-RED, @IoTConf talk, September '14
 
Node red for Raspberry Pi
Node red for Raspberry PiNode red for Raspberry Pi
Node red for Raspberry Pi
 
Introduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlIntroduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin Control
 
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
 
Distributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-REDDistributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-RED
 
Introduction to Raspberry Pi and GPIO
Introduction to Raspberry Pi and GPIOIntroduction to Raspberry Pi and GPIO
Introduction to Raspberry Pi and GPIO
 
Project Humix overview
Project Humix overviewProject Humix overview
Project Humix overview
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
03 Make Things Talk
03 Make Things Talk03 Make Things Talk
03 Make Things Talk
 
Java fx on raspberry pi gerrit grunwald
Java fx on raspberry pi   gerrit grunwaldJava fx on raspberry pi   gerrit grunwald
Java fx on raspberry pi gerrit grunwald
 
Elausys : Products and company description
Elausys : Products and company descriptionElausys : Products and company description
Elausys : Products and company description
 
Using Bluemix and Node-RED for Fast Prototyping
Using Bluemix and Node-RED for Fast PrototypingUsing Bluemix and Node-RED for Fast Prototyping
Using Bluemix and Node-RED for Fast Prototyping
 
Node-RED and getting started on the Internet of Things
Node-RED and getting started on the Internet of ThingsNode-RED and getting started on the Internet of Things
Node-RED and getting started on the Internet of Things
 
Informix on ARM and informix Timeseries - producing an Internet-of-Things sol...
Informix on ARM and informix Timeseries - producing an Internet-of-Things sol...Informix on ARM and informix Timeseries - producing an Internet-of-Things sol...
Informix on ARM and informix Timeseries - producing an Internet-of-Things sol...
 
Node-RED Interoperability Test
Node-RED Interoperability TestNode-RED Interoperability Test
Node-RED Interoperability Test
 

Similar a 02 Raspberry Pi GPIO Interface on Node-RED (Some correction)

Similar a 02 Raspberry Pi GPIO Interface on Node-RED (Some correction) (20)

Building the Internet of Things with Raspberry Pi
Building the Internet of Things with Raspberry PiBuilding the Internet of Things with Raspberry Pi
Building the Internet of Things with Raspberry Pi
 
IoT Physical Devices and End Points.pdf
IoT Physical Devices and End Points.pdfIoT Physical Devices and End Points.pdf
IoT Physical Devices and End Points.pdf
 
Java Webinar #9: “Raspberry Pi Platform for Java Programmers”
Java Webinar #9: “Raspberry Pi Platform for Java Programmers”Java Webinar #9: “Raspberry Pi Platform for Java Programmers”
Java Webinar #9: “Raspberry Pi Platform for Java Programmers”
 
Raspberry Pi GPIO Tutorial - Make Your Own Game Console
Raspberry Pi GPIO Tutorial - Make Your Own Game ConsoleRaspberry Pi GPIO Tutorial - Make Your Own Game Console
Raspberry Pi GPIO Tutorial - Make Your Own Game Console
 
Digital i o
Digital i oDigital i o
Digital i o
 
[5]投影片 futurewad樹莓派研習會 141218
[5]投影片 futurewad樹莓派研習會 141218[5]投影片 futurewad樹莓派研習會 141218
[5]投影片 futurewad樹莓派研習會 141218
 
Got Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIOGot Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIO
 
Internet of Things With PHP
Internet of Things With PHPInternet of Things With PHP
Internet of Things With PHP
 
Intrerfacing i
Intrerfacing iIntrerfacing i
Intrerfacing i
 
Raspberry pi led blink
Raspberry pi led blinkRaspberry pi led blink
Raspberry pi led blink
 
Raspberry pi and pi4j
Raspberry pi and pi4jRaspberry pi and pi4j
Raspberry pi and pi4j
 
LED Blinking Using Raspberry Pi
LED Blinking Using Raspberry PiLED Blinking Using Raspberry Pi
LED Blinking Using Raspberry Pi
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO Programming
 
Raspberry Pi Introductory Lecture
Raspberry Pi Introductory LectureRaspberry Pi Introductory Lecture
Raspberry Pi Introductory Lecture
 
RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)
RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)
RASPBERRY PI WITH JAVA 8 + Pi4J (Devoxx 2014)
 
Embedded Systems: Lecture 9: The Pi Control ARM
Embedded Systems: Lecture 9: The Pi Control ARMEmbedded Systems: Lecture 9: The Pi Control ARM
Embedded Systems: Lecture 9: The Pi Control ARM
 
Kernel Recipes 2018 - New GPIO interface for linux user space - Bartosz Golas...
Kernel Recipes 2018 - New GPIO interface for linux user space - Bartosz Golas...Kernel Recipes 2018 - New GPIO interface for linux user space - Bartosz Golas...
Kernel Recipes 2018 - New GPIO interface for linux user space - Bartosz Golas...
 
IoT Aquarium 2
IoT Aquarium 2IoT Aquarium 2
IoT Aquarium 2
 
Presentazione
PresentazionePresentazione
Presentazione
 
Musiconlinux
MusiconlinuxMusiconlinux
Musiconlinux
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

02 Raspberry Pi GPIO Interface on Node-RED (Some correction)

  • 1. 02 Raspberry Pi GPIO Node-RED Control Hardware Interfaces
  • 2. Raspberry Pi Interfaces • One powerful feature of the Raspberry Pi is the row of GPIO (general purpose input/output) pins along the edge of the board, next to the yellow video out socket. • These pins are a physical interface between the Pi and the outside world. • At the simplest level, you can think of them as switches that you can turn on or off (input) or that the Pi can turn on or off (output)
  • 3. Raspberry Pi Interfaces • Seventeen of the 26 pins are GPIO pins; the others are power or ground pins. • It could be input from a sensor or a signal from another computer or device 1 2 25 26
  • 4. How GPIO Pins Work : Output • When we use a GPIO pin as an output, pin can turn on or off,or go HIGH or LOW in computing terms. • When the pin is HIGH it outputs 3.3 volts (3v3). • When the pin is LOW it outputs 0 volts (ground)
  • 5. How GPIO Pins Work : Input • When we use a GPIO pin as an input switch, pin have to “pull up” or “pull down”. pull up pull down
  • 6. Node-RED Pi GPIO • There are two main ways of interacting with a Raspberry Pi using Node-RED • rpi-gpio nodes, provided in the palette for monitoring and controlling the GPIO pins. This is the simplest and recommended way. • wiring-pi module, this provides complete access to the GPIO pins, and other devices, within Function nodes.
  • 9. Create Flow for Digital Out • Add a inject, debug nodes and change parameter of inject node, by double click
  • 10. Create Flow for Digital Out • Change the repeat into “interval” for every 1 second. • Set Name to “tick every 1 sec” Changed Properties
  • 11. Create Flow for Digital Out • Add a function node and double click to edit function. Set function name
  • 12. Create Flow for Digital Out • Add a rpi-gpio node (in part “Raspberry Pi”) and double click to change pin number. Pin 16 Digital Output Mode
  • 13. Create Flow for Digital Out Wiring node and click deploy
  • 14. Create Flow for PWM Out • Add 5 inject, 1 debug nodes and change parameter of inject node, by double click
  • 15. Create Flow for PWM Out • Change inject node 1 properties Changed Properties
  • 16. Create Flow for PWM Out • Change inject node 2 properties Changed Properties
  • 17. Create Flow for PWM Out • Change inject node 3 properties Changed Properties
  • 18. Create Flow for PWM Out • Change inject node 4 properties Changed Properties
  • 19. Create Flow for PWM Out • Change inject node 5 properties Changed Properties
  • 20. Create Flow for PWM Out • Add a rpi-gpio node (in part “Raspberry Pi”) and double click to change pin number and PWM. Pin 16 PWM Output Mode
  • 21. Create Flow for PWM Out Wiring node and click deploy
  • 22. Create Flow for PWM Out Click on the each Inject button to change LED bright
  • 24. Create Flow for Binary Sensor Input • Add a rpi-gpio node (in part “Raspberry Pi”) and double click to change pin number and resistor. Pin 11 no resistor
  • 25. Create Flow for Binary Sensor Input • Add a function node and double click to edit function with 2 output. Set function name and output
  • 26. Create Flow for Digital Out • Add a rpi-gpio node (in part “Raspberry Pi”) and double click to change pin number. Pin 16 Digital Output Mode
  • 27. Create Flow for Binary Sensor Input Add debug node and wiring node and click deploy
  • 29. Special Input Interface #Open new Putty to connect R-Pi 10.10.11.X using SSH! User : pi! Password : raspberry! ! pi@thethingbox$ls /sys/bus/w1/devices! ! ! ! ! ! - Copy the number (Sensor ID) in rectangular for use with Node- RED! ! pi@thethingbox$exit!
  • 30. Create Flow for 1-Wire Bus • Add a inject, debug nodes and change parameter of inject node, by double click
  • 31. Create Flow for 1-Wire Bus • Change inject node properties • Payload : blank, Topic : Sensor ID, Name : DS1820 , Repeat : 30 Second Changed Properties
  • 32. Create Flow for 1-Wire Bus • Add a 1-Wire and change node (in part “function”) and double click on change node. • Set retain last value of sensor data Retain last value
  • 33. Create Flow for 1-Wire Bus • Add a mqtt node (in part “output”) and double click to change mqtt broker, and Topic. Set mqtt broker
  • 34. Create Flow for 1-Wire Bus Wiring node and click deploy
  • 35. Create Flow for 1-Wire Bus Monitor Temperature with MyMQTT App on Android