<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Sensore di temperatura]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1447&amp;type=atom" />
	<updated>2022-01-16T08:57:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1447</id>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4479#p4479" />
			<content type="html"><![CDATA[<p>Buongiorno Guillaume. Ti ringrazio per la risposta ma purtroppo non riesco proprio a visualizzare la temperatura sulla app del telefonino. Mi servirebbe un tutorial completo.<br />Grazie mille.</p>]]></content>
			<author>
				<name><![CDATA[fiorenzomosca]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-01-16T08:57:03Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4479#p4479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4478#p4478" />
			<content type="html"><![CDATA[<p>Hello</p><p>See this reply : <a target="_blank" href="http://forum.remotexy.com/viewtopic.php?pid=2764#p2764">http://forum.remotexy.com/viewtopic.php?pid=2764#p2764</a></p><p>Example :<br /></p><div class="codebox"><pre><code>struct
{

  char text_1[8]; // // buffer of size 8, which is the minimal size to hold string &quot;-XX.X°C\0&quot;

  uint8_t connect_flag;

} RemoteXY;

void setup() 
{
  RemoteXY_Init (); 
}

void loop() 
{ 
  RemoteXY_Handler ();

  val = analogRead(tempPin);
  float mv = ( val/1024.0)*5000;
  float cel = mv/10;

  // This condition is a protection against buffer overflow, in case of bad reading
  // It should never happen but, better be safe than sorry
  if ( cel &gt; -100.f &amp;&amp; cel &lt; 1000.f )
  {
    dtostrf( cel, 5, 1, RemoteXY.text_1 );
    strcat( RemoteXY.text_1, &quot;°C&quot; );
  }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2022-01-14T08:49:07Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4478#p4478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4476#p4476" />
			<content type="html"><![CDATA[<p>Guillaume. Scusami per il ritardo. In pratica io ho un transistor Lm 35 che giustamente rileve la temperatura con uno sketch di arduino che è queso:<br />int val;<br />int tempPin = A1;</p><p>void setup() <br />{<br />&nbsp; Serial.begin (9600);<br />}</p><p>void loop()<br />{<br /> val = analogRead(tempPin);<br /> float mv = ( val/1024.0)*5000;<br /> float cel = mv/10;<br /> Serial.print (&quot;TEMPERATURE = &quot;);<br /> Serial.print (cel);<br /> Serial.print (&quot;°C&quot;);<br /> Serial.println ();<br /> delay(5000);</p><p>}</p><p>la temperatura che mi da il LM35 la vorrei visualizzare in una stringa di testo di RemoteXY. Grazie Mille.</p>]]></content>
			<author>
				<name><![CDATA[fiorenzomosca]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-01-13T17:38:45Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4476#p4476</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4464#p4464" />
			<content type="html"><![CDATA[<p>Start by explaining what you would like to do</p><p>Answer this question<br /></p><div class="quotebox"><blockquote><p>how you want to display the temperature on RemoteXY app : in a Text String, or a Level..</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2022-01-12T02:55:36Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4464#p4464</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4460#p4460" />
			<content type="html"><![CDATA[<p>Scusami Guilaume ma purtroppo gli esempi non sono stati di aiuto. Non so proprio come fare.</p>]]></content>
			<author>
				<name><![CDATA[fiorenzomosca]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-01-11T18:45:15Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4460#p4460</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4459#p4459" />
			<content type="html"><![CDATA[<p>Ti ringrazio. Provo a fare qualche esperimento. Ti faccio sapere. Posso disturbarti in caso?</p>]]></content>
			<author>
				<name><![CDATA[fiorenzomosca]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-01-11T12:20:00Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4459#p4459</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4458#p4458" />
			<content type="html"><![CDATA[<p>See these examples</p><p><a target="_blank" href="https://remotexy.com/en/examples/temperature/">https://remotexy.com/en/examples/temperature/</a></p><p><a target="_blank" href="https://remotexy.com/en/examples/dth11/">https://remotexy.com/en/examples/dth11/</a></p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2022-01-11T11:45:30Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4458#p4458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4457#p4457" />
			<content type="html"><![CDATA[<p>Guillaume ti ringrazio per la risposta che mi hai dato. Per caso hai un esempio da darmi. Anche con la visualizzazione nell&#039;app. RemoteXY. Scusami se ti rompo ma sono alle prime armi con l&#039;app.</p>]]></content>
			<author>
				<name><![CDATA[fiorenzomosca]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-01-11T11:36:04Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4457#p4457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4456#p4456" />
			<content type="html"><![CDATA[<p>Try this library and its example : <a target="_blank" href="https://github.com/wilmouths/LM35">https://github.com/wilmouths/LM35</a></p><p>Then, it depends how you want to display the temperature on RemoteXY app : in a Text String, or a Level..</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2022-01-11T11:20:08Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4456#p4456</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4455#p4455" />
			<content type="html"><![CDATA[<p>Grazie per la tua risposta.<br />In pratica io ho un sensore LM35 e volevo tramite Arduino uno e il moduli ESP8266 visualizzare la temperatura sul telefono cellulare.<br />Grazie mille.</p>]]></content>
			<author>
				<name><![CDATA[fiorenzomosca]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-01-11T10:29:15Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4455#p4455</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4454#p4454" />
			<content type="html"><![CDATA[<p>Welcome</p><p>What is your problem ?</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2022-01-11T10:15:23Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4454#p4454</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Sensore di temperatura]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4453#p4453" />
			<content type="html"><![CDATA[<p>Buongiorno a tutti. Mi sono inscritto a questo forum prche sono un appassionato di Arduino Uno.<br />Ho scoperto questa bellissima applicazione RemoteXY.<br />Volevo sapere se qualcuno di voi&nbsp; ha programmato con il sensore di temperatura LM 35.<br />Vi ringrazio per la vosta disponibilità.</p>]]></content>
			<author>
				<name><![CDATA[fiorenzomosca]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-01-11T10:08:19Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4453#p4453</id>
		</entry>
</feed>
