Using Arduino with Node-RED to create a Simple Web Dashboard

preview_player
Показать описание
This is an introductory video that attempts to demonstrate a very simple example of how to connect an Arduino UNO to Node-RED, using a serial connection via USB cable (i.e. exactly the same way you would normally upload a new sketch to your Arduino board).

In this tutorial, I'll just create a very simple webpage containing one text node, whose value changes between 0 and 1 depending on whether a Reed switch attached to the Arduino detects a magnet or not. In future videos, I'll extend this example to more complex cases of sending multiple sensor values, how to send data from Node-RED to Arduino, and alternative connection methods such as MQTT. For an example of other ways in which Node-RED can be used in Escape Rooms, check out:

Timings
---
00:00-01:29 Introduction and hardware explanation
01:30-05:45 Arduino Code
05:46-07:10 Demonstration output using Arduino IDE serial monitor
07:11-12:05 Creating the Node-RED flow
12:06-12:52 Wrapup

Рекомендации по теме
Комментарии
Автор

This is the first Node Red video that I have found that actually shows a beginner how it works and also explains how this is a practical starting point for further learning. Thank you so much for this, really appreciated.

diyvideojunk
Автор

You so beautifully and precisely showed how a physical sensor (the reed switch) can be monitored on a web page using Node Red. Many other tutorials on YT simply drone on endlessly about nodes and message payloads but that doesn't help beginners to actually understand how Node Red can integrate with the physical world. Keep up your great work.

pythonexplorer
Автор

Excellent, thank you. Really straightforward, clear, concise and easy to follow for a beginner. Now subscribed

mikehardy
Автор

Excellent videos and exactly what I've been looking for! I am eagerly awaiting the Node-Red w/ MQTT tutorial. Thanks for your great work!

stez
Автор

This is the best simple tutorial ever!!

Edappl
Автор

Thank you. All the learning out there assumes a lot on the learners part of either knowing C++ OR node red....i understand neither bt want to get started.

The community really needs to figure that part out. If people want to learn but know nothing...there is little tget them started. Stuff like your tutorial here is REALLY needed. Explain it all amd assume the learner knows nothing. If people are advanced....skip through the video.

wadebrewer
Автор

Sir, U r explanation is just great make video more please😫🙏🙏💓

saurabhtalele
Автор

you rock dude. Helped me out a lot with my IoT assignment. Much love

connermerrill
Автор

thank you, this was extremely helpful. i finally have a dashboard to put live sensor data on!

riasaheta
Автор

Amazing video ! .. using this concept for a hackathon :)

siddharthrs
Автор

Great video again, well done.
I hope you will show some wireless examples with MQTT and node red :-)

goldrickfalko
Автор

Thanks a lot for your great video. Is there any way to link Node Red to the Arduino through WiFi

kazemzahedi
Автор

Muchisimas gracias por compartir. Fue demasiado útil y muy facil de entender tu explicación.

ivandavidcarmona
Автор

Very informative and simple, Love it, Thank you!

Mattequation
Автор

There is an easier way.
First you install only Arduino FIRMATA on the ARDUINO.
Then you install the Arduino NODE in Node-RED. An easier way to talk to arduino than the Serial node ;)
In this way you will be able to talk to ALL of the pins of the Arduino, without the need to make a large sketches, everything will be manageble from Node-RED.

xt
Автор

Hello, now ist this also interest for me. But how i can send a one Wire bus to Node Red. I have 18 temperatursensors one one Pin an i will See this in Node Red. Can i also Switch other pins for functions?

roywobser
Автор

Hello,
I want to set the parameters of an industrial drive using a node through RS485 serial communication.
In this project, I need to use the hex codes of an industrial drive and control the drive using the hex codes.
Can you help me with this project with node-red-node-serialport?

sajadmohammadi
Автор

Love these videos. Is it possible to achieve the same thing using a wireless connection to the Ardunio board? It would be difficult to run USB cables from the control room into the escape room and into every Ardunio board.

josephroberts
Автор

On the 2nd Tab you have the dashboard open, how do you access the web page (How do i get to this screen (address) Sorry i hope this is not a stupid question

JohanConradie
Автор

i have some error serial port COM2 error: Error: Opening COM2: Access denied" can i fix that?

doymentprojects
visit shbcf.ru