<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>https://www.binefa.com/index.php?action=history&amp;feed=atom&amp;title=UDP_y_NodeRED</id>
	<title>UDP y NodeRED - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="https://www.binefa.com/index.php?action=history&amp;feed=atom&amp;title=UDP_y_NodeRED"/>
	<link rel="alternate" type="text/html" href="https://www.binefa.com/index.php?title=UDP_y_NodeRED&amp;action=history"/>
	<updated>2026-04-22T15:06:01Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.binefa.com/index.php?title=UDP_y_NodeRED&amp;diff=768&amp;oldid=prev</id>
		<title>Jordi Binefa a 10:14, 19 maig 2020</title>
		<link rel="alternate" type="text/html" href="https://www.binefa.com/index.php?title=UDP_y_NodeRED&amp;diff=768&amp;oldid=prev"/>
		<updated>2020-05-19T10:14:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ca&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Versió més antiga&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisió del 10:14, 19 maig 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot; &gt;Línia 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línia 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Puerto Rx = 3333&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Puerto Rx = 3333&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Puerto Tx = 3334&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Puerto Tx = 3334&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Uso de código de colores para monitorización ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Es muy útil monitorizar un estado usando código de colores. [https://binefa.cat/training/upcSchool/20200516/IoT-02_ledColorNodeRed.nodered.txt Código en NodeRED capaz de cambiar el color de un indicador]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Graficación básica con el DashBoard del NodeRED ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Graficación básica con el DashBoard del NodeRED ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot; &gt;Línia 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línia 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Monitorizar el estado de los tres botones y el del relé de enclavamiento.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Monitorizar el estado de los tres botones y el del relé de enclavamiento.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Ayuda: Es muy útil monitorizar un estado usando código de colores. [https://binefa.cat/training/upcSchool/20200516/IoT-02_ledColorNodeRed.nodered.txt Código en NodeRED capaz de cambiar el color de un indicador]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_binefa_com:diff::1.12:old-767:rev-768 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jordi Binefa</name></author>
		
	</entry>
	<entry>
		<id>https://www.binefa.com/index.php?title=UDP_y_NodeRED&amp;diff=767&amp;oldid=prev</id>
		<title>Jordi Binefa: Es crea la pàgina amb «= Protocolo UDP = [https://www.ionos.es/digitalguide/servidores/know-how/udp-user-datagram-protocol/ UDP: ¿qué es el protocolo UDP?]  [https://binefa.cat/training/up...».</title>
		<link rel="alternate" type="text/html" href="https://www.binefa.com/index.php?title=UDP_y_NodeRED&amp;diff=767&amp;oldid=prev"/>
		<updated>2020-05-19T10:11:36Z</updated>

		<summary type="html">&lt;p&gt;Es crea la pàgina amb «= Protocolo UDP = [https://www.ionos.es/digitalguide/servidores/know-how/udp-user-datagram-protocol/ UDP: ¿qué es el protocolo UDP?]  [https://binefa.cat/training/up...».&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Protocolo UDP =&lt;br /&gt;
[https://www.ionos.es/digitalguide/servidores/know-how/udp-user-datagram-protocol/ UDP: ¿qué es el protocolo UDP?]&lt;br /&gt;
&lt;br /&gt;
[https://binefa.cat/training/upcSchool/20200516/IoT-02_wifi_04_udp.zip Firmware que implementa el protocolo UDP para la placa IoT-02].&lt;br /&gt;
&lt;br /&gt;
 unsigned int udpPortRx = 3334;&lt;br /&gt;
 unsigned int udpPortTx = 3333;&lt;br /&gt;
&lt;br /&gt;
= Introducción a NodeRED =&lt;br /&gt;
&lt;br /&gt;
[[Image:04wifiUdp.png|center|04_wifiUdp]]&lt;br /&gt;
&lt;br /&gt;
[https://binefa.cat/training/upcSchool/20200516/IoT-02_wifi_04_udp.nodered.txt Código para importar en el NodeRED funcionando con el protocolo UDP]. El puerto de recepción del ordenador (3333) tiene que ser el de transmisión de la placa y el de recepción de la placa (3334) tiene que ser el de transmisión del ordenador.&lt;br /&gt;
 Puerto Rx = 3333&lt;br /&gt;
 Puerto Tx = 3334&lt;br /&gt;
&lt;br /&gt;
== Graficación básica con el DashBoard del NodeRED ==&lt;br /&gt;
&lt;br /&gt;
[[Image:06udpNodeRed.png|center|06_udpNodeRed]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:07udpNodeRed.png|center|07_udpNodeRed]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://binefa.cat/training/upcSchool/20200516/IoT-02_wifi_06_udp.nodered.txt Código para importar en el NodeRED funcionando con el protocolo UDP y graficando la lectura analógica de la LDR]. Se hacen consultas en el intervalo de un segundo. Para la visualización se usa una gráfica (''chart'') y un reloj (''gaugage''). También se han incorporado unos botones para controlar el led blanco y el verde.&lt;br /&gt;
&lt;br /&gt;
=== Ejercicio ===&lt;br /&gt;
Sistema Scada (control y supervisión):&lt;br /&gt;
&lt;br /&gt;
Añadir el control del relé de enclavamiento y el control de los leds amarillo y rojo. &lt;br /&gt;
&lt;br /&gt;
Monitorizar el estado de los tres botones y el del relé de enclavamiento.&lt;br /&gt;
&lt;br /&gt;
* Ayuda: Es muy útil monitorizar un estado usando código de colores. [https://binefa.cat/training/upcSchool/20200516/IoT-02_ledColorNodeRed.nodered.txt Código en NodeRED capaz de cambiar el color de un indicador]&lt;/div&gt;</summary>
		<author><name>Jordi Binefa</name></author>
		
	</entry>
</feed>