<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://www.soa-unlam.com.ar/wiki/index.php?action=history&amp;feed=atom&amp;title=PUBLICO%3ASensor_de_inclinacion</id>
	<title>PUBLICO:Sensor de inclinacion - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://www.soa-unlam.com.ar/wiki/index.php?action=history&amp;feed=atom&amp;title=PUBLICO%3ASensor_de_inclinacion"/>
	<link rel="alternate" type="text/html" href="http://www.soa-unlam.com.ar/wiki/index.php?title=PUBLICO:Sensor_de_inclinacion&amp;action=history"/>
	<updated>2026-05-07T13:07:23Z</updated>
	<subtitle>Historial de revisiones de esta página en el wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://www.soa-unlam.com.ar/wiki/index.php?title=PUBLICO:Sensor_de_inclinacion&amp;diff=3982&amp;oldid=prev</id>
		<title>Wvaliente en 13:28 20 ene 2021</title>
		<link rel="alternate" type="text/html" href="http://www.soa-unlam.com.ar/wiki/index.php?title=PUBLICO:Sensor_de_inclinacion&amp;diff=3982&amp;oldid=prev"/>
		<updated>2021-01-20T13:28:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisión del 13:28 20 ene 2021&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-l19&quot; &gt;Línea 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 19:&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: #202122; 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;[[File:sensor_TILT_detalle.png | Fuente: https://forum.arduino.cc/index.php?topic=550108.0]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;[[File:sensor_TILT_detalle.png | Fuente: https://forum.arduino.cc/index.php?topic=550108.0]]&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: #202122; 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: #202122; 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;color: #202122; 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;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 class=&quot;diffchange diffchange-inline&quot;&gt;==Modo de uso==&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: #202122; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Para saber si se detecta o no una inclinación se debe utilizar la función '''digitalRead(PIN_SENSOR_INCLINACIÓN)''' ante la cual se puede recibir dos valores:&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: #202122; 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 class=&quot;diffchange diffchange-inline&quot;&gt;* '''HIGH''': Se detecta una inclinació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: #202122; 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 class=&quot;diffchange diffchange-inline&quot;&gt;* '''LOW''': No se detecta una inclinación&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: #202122; 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: #202122; 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: #202122; 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;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wvaliente</name></author>
	</entry>
	<entry>
		<id>http://www.soa-unlam.com.ar/wiki/index.php?title=PUBLICO:Sensor_de_inclinacion&amp;diff=3850&amp;oldid=prev</id>
		<title>Wvaliente: Página creada con «{{Plantilla:Menú | PUBLICO:Portada | PUBLICO:Material de clases | PUBLICO:Sistemas embebidos e Internet de las Cosas | PUBLICO:Sensores_Actuadores_y_Comunicacion }}  {{Fic…»</title>
		<link rel="alternate" type="text/html" href="http://www.soa-unlam.com.ar/wiki/index.php?title=PUBLICO:Sensor_de_inclinacion&amp;diff=3850&amp;oldid=prev"/>
		<updated>2021-01-12T18:41:22Z</updated>

		<summary type="html">&lt;p&gt;Página creada con «{{Plantilla:Menú | PUBLICO:Portada | PUBLICO:Material de clases | PUBLICO:Sistemas embebidos e Internet de las Cosas | PUBLICO:Sensores_Actuadores_y_Comunicacion }}  {{Fic…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Plantilla:Menú | PUBLICO:Portada | PUBLICO:Material de clases | PUBLICO:Sistemas embebidos e Internet de las Cosas | PUBLICO:Sensores_Actuadores_y_Comunicacion }}&lt;br /&gt;
&lt;br /&gt;
{{Ficha_Dispositivo&lt;br /&gt;
|nombre           = Sensor de Inclinación&lt;br /&gt;
|nombre_comercial = TILT/SW-520D&lt;br /&gt;
|tinkercad        = Sensor de inclinación&lt;br /&gt;
|tipo             = Digital&lt;br /&gt;
|imagen1          = sensor_TILT.png&lt;br /&gt;
|imagen1_cap      = Sensor de inclinación&lt;br /&gt;
|imagen2          = Sensor_TILT_kit.jpg&lt;br /&gt;
|imagen2_cap      = Kit Sensor de inclinación&lt;br /&gt;
|chip             = LM393&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=Introducción Funcional=&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: justify;&amp;quot;&amp;gt; &lt;br /&gt;
El sensor de inclinación (Fig.1) SW-520D permite detectar la inclinación al hacer corto entre dos terminales. Su funcionamiento radica en hacer contacto permitiendo el paso de la corriente y cerrar el contacto exactamente igual que si fueran un interruptor (Y de hecho se manejan igual) pero que a partir de un cierto ángulo de inclinación dejan de hacer contacto y abren el contacto. Para estabilizar la señal leída por el Sistema Embebido el Kit de sensor de inclinación posee un comparador LM393 (Fig.2).&lt;br /&gt;
&lt;br /&gt;
[[File:sensor_TILT_detalle.png | Fuente: https://forum.arduino.cc/index.php?topic=550108.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Especificaciones Técnicas=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;text-align:left;&amp;quot; | Voltaje de Operación: &lt;br /&gt;
| 12V DC.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;text-align:left;&amp;quot; | Resistencia al contacto:&lt;br /&gt;
| Menor a 10 Ohms.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;text-align:left;&amp;quot; | Resistencia abierto:&lt;br /&gt;
| Mayor a 10 MOhms.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Diagrama de Conexión=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
[[File:Circuito_LDR_GL5528b.png|border|100|Circuito de conexión (tinkercad).]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Ejemplo en Código=&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-family:monospace,Courier New;font-size:small;white-space: pre;line-height: 80%;&amp;quot;&amp;gt;&lt;br /&gt;
//  Basado en:  http://www.arduino.cc/en/Tutorial/Calibration&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
const '''int''' sensorPin       = A0;   // Conexión analógica&amp;lt;BR&amp;gt;&lt;br /&gt;
const '''int''' SerialVelocidad = 9600; // Velocidad puerto Serie.&amp;lt;BR&amp;gt; &lt;br /&gt;
const '''int''' tiempo          = 10;   // Milisegundos demora.&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
'''void''' setup() &lt;br /&gt;
{&lt;br /&gt;
:Serial.begin(SerialVelocidad);&lt;br /&gt;
:pinMode(sensorPin, INPUT);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
'''void''' loop() &lt;br /&gt;
{&lt;br /&gt;
:'''int''' sensorValor = analogRead( sensorPin );&lt;br /&gt;
:Serial.println( sensorValor );&lt;br /&gt;
:delay( tiempo );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Referencias Externas=&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| Características: || https://leantec.es/tienda/modulo-ldr-fotoresistencia-sensor-luz-lm393/&lt;br /&gt;
|-&lt;br /&gt;
| Ficha técnica Sensor (Inglés): || [http://www.so-unlam.com.ar/material-clase/Sistemas%20Embebidos/datasheets/sensor_TILT_en.pdf  (Local)]&lt;br /&gt;
|-&lt;br /&gt;
|                                || https://cdn-learn.adafruit.com/downloads/pdf/tilt-sensor.pdf&lt;br /&gt;
|-&lt;br /&gt;
| Manual de uso (Inglés): || [http://www.so-unlam.com.ar/material-clase/Sistemas%20Embebidos/datasheets/sensor_TILT_manual_en.pdf (Local)]&lt;br /&gt;
|-&lt;br /&gt;
|                         || https://components101.com/sites/default/files/component_datasheet/Tilt%20Sensor%20Datasheet.pdf&lt;br /&gt;
|-&lt;br /&gt;
| Ficha técnica Chip LM393 (Inglés): || [http://www.so-unlam.com.ar/material-clase/Sistemas%20Embebidos/datasheets/microchip_LM393_en.pdf (Local)]&lt;br /&gt;
|-&lt;br /&gt;
|                                    || https://pdf1.alldatasheet.es/datasheet-pdf/view/618369/TI1/LM393-N.html &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
[[File:LCC_by-sa-125px.png|link=http://creativecommons.org/licenses/by/2.5/ar/]]&lt;br /&gt;
Los textos de este sitio están disponibles bajo una licencia Creative Commons Atribución 2.5 Argentina.&lt;/div&gt;</summary>
		<author><name>Wvaliente</name></author>
	</entry>
</feed>