

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commenti per LEONARDOMILIANI.com</title>
	<atom:link href="http://www.leonardomiliani.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leonardomiliani.com</link>
	<description>Il sito ufficiale</description>
	<lastBuildDate>Mon, 18 Mar 2013 15:35:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Commenti su swRTC, un Orologio in Tempo Reale via software di Leonardo Miliani</title>
		<link>http://www.leonardomiliani.com/2011/swrtc-un-orologio-in-tempo-reale-via-software/comment-page-1/#comment-107</link>
		<dc:creator>Leonardo Miliani</dc:creator>
		<pubDate>Mon, 18 Mar 2013 15:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=411#comment-107</guid>
		<description><![CDATA[leOS and swRTC can&#039;t work together because both use timer 2. leOS2 uses the Watchdog Timer, so is/should be compatible with swRTC. 

The suggestion to introduce a method to manage the deltaT is interesting. I will work on it. You&#039;re right when you say that floats should be used only in particular situations becuase their implementation heavily affects the MCU&#039;s performances.]]></description>
		<content:encoded><![CDATA[<p>leOS and swRTC can&#8217;t work together because both use timer 2. leOS2 uses the Watchdog Timer, so is/should be compatible with swRTC. </p>
<p>The suggestion to introduce a method to manage the deltaT is interesting. I will work on it. You&#8217;re right when you say that floats should be used only in particular situations becuase their implementation heavily affects the MCU&#8217;s performances.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su swRTC, un Orologio in Tempo Reale via software di tochinet</title>
		<link>http://www.leonardomiliani.com/2011/swrtc-un-orologio-in-tempo-reale-via-software/comment-page-1/#comment-106</link>
		<dc:creator>tochinet</dc:creator>
		<pubDate>Mon, 18 Mar 2013 08:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=411#comment-106</guid>
		<description><![CDATA[Hi, I&#039;m still using swrtc in panstamps, what do you want to know ? I put a few details below

BTW I studied LeOS too and I may go for that one. I&#039;m just not sure 100% whether it&#039;s better to use leOS, looper, rtduinos, chibios or similar... And I&#039;m a bit afraid of clashes between leOS and swRTC (and panstamp stack) regarding use of timers and interrupts

I created one panstamp register (array of 7 bytes) for the clock. Since registers are usually BE, I chose to order them as &quot;century, year, month, day,hour, minute, second&quot;. Then a sette and getter method allows me to query and set the clock using teh SWAP stack wirelessly. Works fine. Note that since panstamps use the internal 8MHz clock, there is a serious drift of clock. My first tested panstamp had a deviation of 13 minutes/day, close to the &quot;840.0&quot; seconds max.

Also note that I will have to/you should add a &quot;getDeltaT&quot; method so that it is possible to query the status of deltaT variable. Also a setDeltaT accepting an integer should be interesting, I try to avoid floats as much as I can on Arduino.

I also added an &quot;automatic deltaT setting&quot;, that tunes deltaT each time you manually set the clock. But after a while I commented it out because I wasn&#039;t convinced of its effectiveness.]]></description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m still using swrtc in panstamps, what do you want to know ? I put a few details below</p>
<p>BTW I studied LeOS too and I may go for that one. I&#8217;m just not sure 100% whether it&#8217;s better to use leOS, looper, rtduinos, chibios or similar&#8230; And I&#8217;m a bit afraid of clashes between leOS and swRTC (and panstamp stack) regarding use of timers and interrupts</p>
<p>I created one panstamp register (array of 7 bytes) for the clock. Since registers are usually BE, I chose to order them as &#8220;century, year, month, day,hour, minute, second&#8221;. Then a sette and getter method allows me to query and set the clock using teh SWAP stack wirelessly. Works fine. Note that since panstamps use the internal 8MHz clock, there is a serious drift of clock. My first tested panstamp had a deviation of 13 minutes/day, close to the &#8220;840.0&#8243; seconds max.</p>
<p>Also note that I will have to/you should add a &#8220;getDeltaT&#8221; method so that it is possible to query the status of deltaT variable. Also a setDeltaT accepting an integer should be interesting, I try to avoid floats as much as I can on Arduino.</p>
<p>I also added an &#8220;automatic deltaT setting&#8221;, that tunes deltaT each time you manually set the clock. But after a while I commented it out because I wasn&#8217;t convinced of its effectiveness.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su Info di marcotorelli81</title>
		<link>http://www.leonardomiliani.com/info/comment-page-1/#comment-105</link>
		<dc:creator>marcotorelli81</dc:creator>
		<pubDate>Wed, 13 Feb 2013 16:37:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-105</guid>
		<description><![CDATA[Ciao Leonardo,
volevo contattarla tramite e-mail per chiederle alcune cose riguardo leOS. Come posso contattarla????
Grazie mille 
Marco]]></description>
		<content:encoded><![CDATA[<p>Ciao Leonardo,<br />
volevo contattarla tramite e-mail per chiederle alcune cose riguardo leOS. Come posso contattarla????<br />
Grazie mille<br />
Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su Aggiungere il supporto per gli Atmega644P/1284P all&#8217;Arduino IDE 1.0.x (aggiornato) di Leonardo Miliani</title>
		<link>http://www.leonardomiliani.com/2012/aggiungere-il-supporto-per-gli-atmega644p1284p-allarduino-ide-1-0-1/comment-page-1/#comment-104</link>
		<dc:creator>Leonardo Miliani</dc:creator>
		<pubDate>Mon, 11 Feb 2013 10:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=625#comment-104</guid>
		<description><![CDATA[Purtroppo non ho risolto e l&#039;unica soluzione valida per me è stata quella di utilizzare il bootloader standard al posto dell&#039;Optiboot con una R da 175K in serie alla linea RX. In questo modo riesco a programmare serialmente il chip senza problemi.]]></description>
		<content:encoded><![CDATA[<p>Purtroppo non ho risolto e l&#8217;unica soluzione valida per me è stata quella di utilizzare il bootloader standard al posto dell&#8217;Optiboot con una R da 175K in serie alla linea RX. In questo modo riesco a programmare serialmente il chip senza problemi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su Aggiungere il supporto per gli Atmega644P/1284P all&#8217;Arduino IDE 1.0.x (aggiornato) di mar.conte</title>
		<link>http://www.leonardomiliani.com/2012/aggiungere-il-supporto-per-gli-atmega644p1284p-allarduino-ide-1-0-1/comment-page-1/#comment-103</link>
		<dc:creator>mar.conte</dc:creator>
		<pubDate>Sun, 10 Feb 2013 20:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=625#comment-103</guid>
		<description><![CDATA[Brevemente:
Ho scaricato il pacchetto bootloader di maniacbug; ho modificato i fuse sul boards.txt  1284_16b.bootloader.low_fuses=0xF7
1284_16b.bootloader.high_fuses=0xD4
1284_16b.bootloader.extended_fuses=0xFD
Così sia su breadboard sia su circuito stampato finito scarico bootloader e sketch su Uart0 senza filtro Rc .
Le ho provate di tutte ma questa ultima che ho esposto ? l&#039;unica strategia funzionante e stabile ( ? un mese che mi gira su circuito stampato senza perdere un colpo)]]></description>
		<content:encoded><![CDATA[<p>Brevemente:<br />
Ho scaricato il pacchetto bootloader di maniacbug; ho modificato i fuse sul boards.txt  1284_16b.bootloader.low_fuses=0xF7<br />
1284_16b.bootloader.high_fuses=0xD4<br />
1284_16b.bootloader.extended_fuses=0xFD<br />
Così sia su breadboard sia su circuito stampato finito scarico bootloader e sketch su Uart0 senza filtro Rc .<br />
Le ho provate di tutte ma questa ultima che ho esposto ? l&#8217;unica strategia funzionante e stabile ( ? un mese che mi gira su circuito stampato senza perdere un colpo)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su Aggiungere il supporto per gli Atmega644P/1284P all&#8217;Arduino IDE 1.0.x (aggiornato) di mar.conte</title>
		<link>http://www.leonardomiliani.com/2012/aggiungere-il-supporto-per-gli-atmega644p1284p-allarduino-ide-1-0-1/comment-page-1/#comment-102</link>
		<dc:creator>mar.conte</dc:creator>
		<pubDate>Sun, 10 Feb 2013 20:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=625#comment-102</guid>
		<description><![CDATA[Brevemente:
Ho scaricato il pacchetto bootloader di maniacbug; ho modificato i fuse sul boards.txt  1284_16b.bootloader.low_fuses=0xF7
1284_16b.bootloader.high_fuses=0xD4
1284_16b.bootloader.extended_fuses=0xFD
Così sia su breadboard sia su circuito stampato finito scarico bootloader e sketch su Uart0 senza filtro Rc .
Le ho provate di tutte ma questa ultima che ho esposto ? l&#039;unica strategia funzionante e stabile ( ? un mese che mi gira su circuito stampato senza perdere un colpo)]]></description>
		<content:encoded><![CDATA[<p>Brevemente:<br />
Ho scaricato il pacchetto bootloader di maniacbug; ho modificato i fuse sul boards.txt  1284_16b.bootloader.low_fuses=0xF7<br />
1284_16b.bootloader.high_fuses=0xD4<br />
1284_16b.bootloader.extended_fuses=0xFD<br />
Così sia su breadboard sia su circuito stampato finito scarico bootloader e sketch su Uart0 senza filtro Rc .<br />
Le ho provate di tutte ma questa ultima che ho esposto ? l&#8217;unica strategia funzionante e stabile ( ? un mese che mi gira su circuito stampato senza perdere un colpo)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su leOS, un semplice SO per Arduino di mar.conte</title>
		<link>http://www.leonardomiliani.com/2012/leos-un-semplice-so-per-arduino/comment-page-1/#comment-101</link>
		<dc:creator>mar.conte</dc:creator>
		<pubDate>Thu, 31 Jan 2013 09:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=516#comment-101</guid>
		<description><![CDATA[nel secondo task richiamo una funzione chiamata temp che mi calcola su a0 la temperatura di un sensore temp 
Una volta ottenuta la temperatura nel task inviò sms rs
Secondo_task()
{
 Temp();//chiedo alla A0 valore
InvioSms( temperatura);// inviò valore tramite serial1 ad un modulo sim900
}
Non ho il codice sottomano ma in sintesi  è quello sopra descritto grazie a presto]]></description>
		<content:encoded><![CDATA[<p>nel secondo task richiamo una funzione chiamata temp che mi calcola su a0 la temperatura di un sensore temp<br />
Una volta ottenuta la temperatura nel task inviò sms rs<br />
Secondo_task()<br />
{<br />
 Temp();//chiedo alla A0 valore<br />
InvioSms( temperatura);// inviò valore tramite serial1 ad un modulo sim900<br />
}<br />
Non ho il codice sottomano ma in sintesi  è quello sopra descritto grazie a presto</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su Aggiungere il supporto per gli Atmega644P/1284P all&#8217;Arduino IDE 1.0.x (aggiornato) di Leonardo Miliani</title>
		<link>http://www.leonardomiliani.com/2012/aggiungere-il-supporto-per-gli-atmega644p1284p-allarduino-ide-1-0-1/comment-page-1/#comment-100</link>
		<dc:creator>Leonardo Miliani</dc:creator>
		<pubDate>Wed, 30 Jan 2013 22:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=625#comment-100</guid>
		<description><![CDATA[Io no. Con il bootloader Optiboot non riesco a comunicare senza filtro RC. E non sono il solo. Ma tu stai usando un circuito su PCB oppure su breadboard?]]></description>
		<content:encoded><![CDATA[<p>Io no. Con il bootloader Optiboot non riesco a comunicare senza filtro RC. E non sono il solo. Ma tu stai usando un circuito su PCB oppure su breadboard?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su leOS, un semplice SO per Arduino di Leonardo Miliani</title>
		<link>http://www.leonardomiliani.com/2012/leos-un-semplice-so-per-arduino/comment-page-1/#comment-99</link>
		<dc:creator>Leonardo Miliani</dc:creator>
		<pubDate>Wed, 30 Jan 2013 22:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=516#comment-99</guid>
		<description><![CDATA[La lib è preimpostata per gestire fino a 10 task, anche se il numero è modificabile nel file .cpp.
Mi suona strano che con 2 task il 1284 si resetti, ho fatto dei test in queste ultime ore con 2 blink proprio su un 1284 (sto provando la programmazione via bootloader con un altro bootloader). Che c&#039;è nel secondo task?]]></description>
		<content:encoded><![CDATA[<p>La lib è preimpostata per gestire fino a 10 task, anche se il numero è modificabile nel file .cpp.<br />
Mi suona strano che con 2 task il 1284 si resetti, ho fatto dei test in queste ultime ore con 2 blink proprio su un 1284 (sto provando la programmazione via bootloader con un altro bootloader). Che c&#8217;è nel secondo task?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Commenti su Aggiungere il supporto per gli Atmega644P/1284P all&#8217;Arduino IDE 1.0.x (aggiornato) di mar.conte</title>
		<link>http://www.leonardomiliani.com/2012/aggiungere-il-supporto-per-gli-atmega644p1284p-allarduino-ide-1-0-1/comment-page-1/#comment-98</link>
		<dc:creator>mar.conte</dc:creator>
		<pubDate>Wed, 30 Jan 2013 19:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.leonardomiliani.com/?p=625#comment-98</guid>
		<description><![CDATA[Risolto: tutti i difetti i comunicazione sopra menzionati dipendevano da cablaggi errati non stabilì insomma errori da principiante , ora funziona tutto scarico bootloader e sketch alla massima potenza grazie cmq]]></description>
		<content:encoded><![CDATA[<p>Risolto: tutti i difetti i comunicazione sopra menzionati dipendevano da cablaggi errati non stabilì insomma errori da principiante , ora funziona tutto scarico bootloader e sketch alla massima potenza grazie cmq</p>
]]></content:encoded>
	</item>
</channel>
</rss>
