<?xml version="1.0" encoding="iso-8859-1"?>
<!-- generator="FeedCreator 2.0 for NPDS" -->
<rss version="2.0">
    <channel>
        <title>RASDUINO</title>
        <description><![CDATA[Mes premiers pas avec la Framboise...]]></description>
        <link>http://rasduino.free.fr</link>
        <lastBuildDate>Sun, 31 May 2026 09:15:44</lastBuildDate>
        <generator>FeedCreator 2.0 for NPDS</generator>
        <image>
            <url></url>
            <title>RASDUINO</title>
            <link>http://rasduino.free.fr</link>
            <width>90</width>
            <height>30</height>
            <description>rasduino</description>
        </image>
        <item>
            <title>Commander son Raspberry Pi par SMS</title>
            <link>http://rasduino.free.fr/article.php?sid=48</link>
            <description><![CDATA[<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Ce n&rsquo;est pas un scoop non plus&nbsp;: la technique est &eacute;prouv&eacute;e mais ce petit r&eacute;sum&eacute; vient compl&eacute;ter l&rsquo;article pr&eacute;c&eacute;dent.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Le but du montage qui suit est de faire en sorte que le Pi, recevant une commande par SMS, ex&eacute;cute celle-ci et renvoie un SMS de confirmation.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Exemple&nbsp;: un SMS qui contient le message <strong><em><span style="color: #800080;">code</span>;<span style="color: #008080;">commande</span></em></strong> comme, par exemple,&nbsp; <span style="color: #800080;">1342</span>;<span style="color: #008080;">reboot</span>&nbsp; ex&eacute;cute cette commande et exp&eacute;die le SMS &laquo;&nbsp;Ok reboot effectu&eacute;&nbsp;&raquo;.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">On suppose que gammu est install&eacute; et op&eacute;rationnel, ce qui implique la mise en place d&rsquo;une cl&eacute; 3G avec sa carte SIM et le param&eacute;trage de <span style="color: #993300;">/root/gammurc</span> Chez moi&nbsp;:</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">port = <span style="color: #993300;">/dev/ttyUSB0</span></span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">connection = <span style="color: #993300;">at19200</span></span></p>]]></description>
            <author>chbadm</author>
            <pubDate>Mon, 14 Sep 2015 12:32:06</pubDate>
        </item>
        <item>
            <title>Envoyer des alertes SMS pour pas (trop) cher</title>
            <link>http://rasduino.free.fr/article.php?sid=47</link>
            <description><![CDATA[<p>&nbsp;</p>
<p><span style="color: #0000ff;"><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff;">Ce n&rsquo;est pas un exploit mais ce r&eacute;sum&eacute; succinct peut faire gagner du temps.</span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong><span style="text-decoration: underline; font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Le mat&eacute;riel&nbsp;:</span></strong></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Un Pi en ordre de marche, accessible en mode console et avec une alimentation capable d'<span style="text-decoration: underline;">au moins 1.5 Amp&egrave;res</span> ou un hub USB auto-aliment&eacute;. (la cl&eacute; 3G consomme pas mal!)<br /></span></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Une cl&eacute; 3G Huawei E220 d&eacute;bloqu&eacute;e (15&euro; sur leboncoin) avec son c&acirc;ble USB</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Une carte SIM (free 2&euro;/mois, pour moi) avec code pin d&eacute;sactiv&eacute; pour plus de commodit&eacute;.</span></p>
<p><strong><span style="text-decoration: underline; font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Le logiciel&nbsp;:</span></strong></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Gammu.</span></p>
<p><strong><span style="text-decoration: underline; font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">L'installation proprement dite.</span></strong></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">On commence par installer gammu&nbsp;:</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #993300;">sudo apt-get update &amp;&amp; sudo apt-get upgrade &amp;&amp; sudo apt-get install gammu</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Puis on raccorde la cl&eacute; sur le Pi apr&egrave;s avoir ins&eacute;r&eacute; la carte sim.</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">On d&eacute;termine le port tty utilis&eacute; par la cl&eacute;&nbsp;: <span style="color: #993300;">dmesg | grep tty*</span></span></p>
<p><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="http://rasduino.free.fr/modules/upload/upload/tty_11.JPG" alt="tty_11.JPG" width="650" height="335" /></span></p>
<p>&nbsp;</p>]]></description>
            <author>chbadm</author>
            <pubDate>Sun, 06 Sep 2015 15:47:47</pubDate>
        </item>
        <item>
            <title>Du côté de chez YANA</title>
            <link>http://rasduino.free.fr/article.php?sid=46</link>
            <description><![CDATA[<p>&nbsp;</p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #993300;"><strong>Pour me changer les id&eacute;es pendant les vacances, je me suis promen&eacute; du c&ocirc;t&eacute; de la concurrence...</strong> </span></p>
<p>&nbsp;</p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">C'est le projet YANA qui a retenu mon attention. Je m'y &eacute;tais int&eacute;ress&eacute; &agrave; l'automne dernier mais sans approfondir.</span></p>
<table style="margin-left: auto; margin-right: auto;" border="0" frame="void">
<tbody>
<tr>
<td style="text-align: center;"><img src="http://rasduino.free.fr/modules/upload/upload/logo_bleu.jpg" alt="logo_bleu.jpg" border="0" /></td>
<td><img src="http://rasduino.free.fr/modules/upload/upload/edito_1.jpg" alt="edito_1.jpg" width="319" height="89" border="0" /></td>
</tr>
</tbody>
</table>
<p style="text-align: center;">&nbsp;</p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Cette fois-ci, j'ai pris le temps de l'installer et d'en d&eacute;couvrir les fonctionnalit&eacute;s.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Fid&egrave;le &agrave; mon habitude, j'ai pris des notes et concr&eacute;tis&eacute; mes premi&egrave;res impression dans <span style="color: #993300;"><a href="http://gadescartes.free.fr/index.php?op=edito" target="_blank"><span style="color: #993300;">un petit blog </span></a></span>sp&eacute;cifique. Vous y trouverez en d&eacute;tail l'installation, le param&eacute;trage et la prise en main dans le cadre de mon exemple pr&eacute;f&eacute;r&eacute;: la commande de prises RF 433 Mhz.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">C'est un syst&egrave;me modulaire bien construit, &eacute;volutif par les contributions apport&eacute;es par les utilisateurs au gr&eacute; de leurs besoins.</span></span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Le plus bluffant c'est la commande vocale sur Android...</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Inutile de vous dire que j'ai fortement remont&eacute; dans l'estime de ma gardienne d'immeuble avec ce sympathique projet..</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Mais je ne d&eacute;sesp&egrave;re pas de faire une liaison RF XBEE entre le Pi et l'Arduino de mon petit projet doMopino!</span></p>
<p>&nbsp;</p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Bonne rentr&eacute;e &agrave; tou(te)s!</span></p>
<p>&nbsp;</p>]]></description>
            <author>chbadm</author>
            <pubDate>Wed, 19 Aug 2015 10:08:07</pubDate>
        </item>
        <item>
            <title>XBEE or not XBEE</title>
            <link>http://rasduino.free.fr/article.php?sid=44</link>
            <description><![CDATA[<p>(Je sais, c&rsquo;est r&eacute;pugnant de facilit&eacute;!)</p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Un module Xbee capable de d&eacute;coder de l&rsquo;analogique tout seul&nbsp;? Mais c&rsquo;est que &ccedil;a change tout&nbsp;!</span></p>
<p>&nbsp;</p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Mes travaux de liaison radio entre un pi et un arduino n&rsquo;ont pas beaucoup avanc&eacute; depuis 3 mois. Deux raisons &agrave; cela&nbsp;:</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">1-&nbsp;&nbsp;&nbsp;&nbsp; je n&rsquo;ai pas que &ccedil;a &agrave; faire&nbsp;; il faut aussi arroser les tomates&hellip;</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">2-&nbsp;&nbsp;&nbsp;&nbsp; d&eacute;go&ucirc;t&eacute; par mes gal&egrave;res, je me suis chang&eacute; les id&eacute;es. Sans perdre l&rsquo;objectif de vue, bien entendu.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Bien m&rsquo;en a pris car je viens de tomber coup sur coup sur deux informations qui pourraient me faire changer d&rsquo;avis.</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;"><span style="color: #993300;">A &ndash;</span> Un module Xbee peut <span style="text-decoration: underline;">recueillir et traiter</span> tout seul, des valeurs analogiques&nbsp;!</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;"><img style="display: block; margin-left: auto; margin-right: auto;" src="http://rasduino.free.fr/modules/upload/upload/tmp36_xbee.jpg" alt="tmp36_xbee.jpg" width="551" height="218" /></span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #000000;"><span style="color: #993300;">B </span><span style="color: #0000ff;"><span style="color: #993300;">&ndash;</span> Il est possible de monter une carte d'extension CAN sur un Pi (par exemple la carte <a href="http://comelec.fr/raspberry/5886-carte-dextension-a-d-16-bits-pour-raspberrypi-compatible-arduino.html">ET1041M</a> de chez Comelec).</span></span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #000000;"><span style="color: #0000ff;"><img style="display: block; margin-left: auto; margin-right: auto;" src="http://rasduino.free.fr/modules/upload/upload/ET1041M.jpg" alt="ET1041M.jpg" border="0" /></span></span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Mon premier choix, (Raspberry-pi <strong>ET</strong> Arduino) se justifiait par l&rsquo;impossibilit&eacute; d&rsquo;acqu&eacute;rir facilement des donn&eacute;es analogiques sur un port GPIO. De m&ecirc;me, tout g&eacute;rer sur un arduino me paraissait irr&eacute;aliste.</span></p>]]></description>
            <author>chbadm</author>
            <pubDate>Wed, 08 Jul 2015 08:02:29</pubDate>
        </item>
        <item>
            <title>De retour de l'école</title>
            <link>http://rasduino.free.fr/article.php?sid=41</link>
            <description><![CDATA[<p style="text-align: justify;">&nbsp;<span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Comme je l&rsquo;avais indiqu&eacute; d&eacute;but Octobre 2014, j&rsquo;ai consacr&eacute; le quatri&egrave;me trimestre a apprendre les rudiments sur l&rsquo;architecture et le fonctionnement d&rsquo;un microcontr&ocirc;leur, en l&rsquo;occurrence un Arduino Uno.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Je me suis inscrit tout d&rsquo;abord au Mooc <span style="color: #993300;">Comprendre les Microcontr&ocirc;leurs</span> de l&rsquo; <a title="mooc epfl" href="http://moocs.epfl.ch/">EPFL</a></span><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;"> qui s&rsquo;est termin&eacute; en D&eacute;cembre 2014. J&rsquo;ai encha&icirc;n&eacute; sur le Mooc du <a title="mooc funlab" href="https://www.france-universite-numerique-mooc.fr/cours/">FunLab</a> consacr&eacute; &agrave; la <span style="color: #993300;">fabrication num&eacute;rique</span>, lequel n&rsquo;est pas encore termin&eacute; au moment o&ugrave; je r&eacute;dige ce billet.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Il me restait &agrave; mettre en pratique ces premiers acquis et j&rsquo;ai choisi un montage tr&egrave;s concret, correspondant au moins en partie &agrave; un besoin dans le domaine de la domotique. Poss&eacute;dant un lot de quatre prises radiocommand&eacute;es de marque Ph&eacute;nix, je me suis mis en t&ecirc;te de les piloter depuis un client windows puis par un smartphone android.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Je souhaitais ma&icirc;triser l&rsquo;ensemble de la cha&icirc;ne, &agrave; savoir&nbsp;:</span></p>
<ul style="text-align: justify;">
<li><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">une application Adroid client http</span></li>
<li><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">un serveur http h&eacute;berg&eacute; par un Raspberry-Pi proposant quatre commandes de type allumer / &eacute;teindre</span></li>
<li><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">un arduino, recevant ces commandes via une liaison usb-s&eacute;rie et les transmettant aux prises terminales par l&rsquo;interm&eacute;diaire d&rsquo;un module &eacute;metteur RF 433Mhz</span></li>
<li><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">les quatre prises radiocommand&eacute;es alimentant un &eacute;quipement terminal particulier.</span></li>
</ul>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; color: #0000ff;">Un croquis valant toujours mieux qu'un long discours, dans l'ensemble, cela donne ceci:</span></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://rasduino.free.fr/users_private/domopino/schema_5_4.jpg" alt="schema_5_4.jpg" width="651" height="488" />&nbsp;</p>
<p>&nbsp;<span style="color: #0000ff;"></span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #0000ff;">Levons tout de suite une ambiguit&eacute;&nbsp;: Pourquoi utiliser un Pi <strong><span style="color: #993300;">ET</span></strong> un Arduino&nbsp;???</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; background-color: #000080; color: #0000ff;"><span style="background-color: #ffffff;">A l&rsquo;&eacute;vidence, pour cette petite application domotique, n&rsquo;importe laquelle de ces deux machines aurait </span><span style="background-color: #ffffff;">suffi a elle seule.</span></span></p>]]></description>
            <author>chbadm</author>
            <pubDate>Fri, 27 Feb 2015 15:54:55</pubDate>
        </item>
        <item>
            <title>ARDUINO: premier contact</title>
            <link>http://rasduino.free.fr/article.php?sid=40</link>
            <description><![CDATA[<img src="images/pick.gif" border="0" align="center" alt="" /> :: <p><span style="font-family: verdana,geneva; font-size: small; color: #000080;">Il se trouve que je m'appr&ecirc;te &agrave; suivre un MOOC sur les micro-contr&ocirc;leurs (*), histoire d'approfondir mes connaissances de base. Les Enseignants indiquent que les TP seront organis&eacute;s autour (notamment) d'un Arduino Uno.</span></p>
<p><span style="color: #000080;">&nbsp;</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #000080;">Dans un chapitre pr&eacute;c&eacute;dent (allumer une led), j'&eacute;voquais l'acquisition d'un kit de d&eacute;couverte incluant justement un Arduino uno.</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #000080;">OK mais il faudrait quand m&ecirc;me que je le sorte de sa pochette antistatique avant le 27 octobre prochain, date du d&eacute;but du cours.</span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #000080;">Le plus dur aura &eacute;t&eacute; de trouver le bon tuto en Fran&ccedil;ais. En quelques minutes, j'ai d&eacute;nich&eacute; un document satisfaisant, parmi nombre d'excellentes publications, sur <span style="color: #ff6600;"><a href="http://eskimon.fr/58-arduino-1-decouverte-de-larduino" target="_blank"><span style="color: #ff6600;">eskimon.fr</span></a></span></span></p>
<p><span style="font-family: verdana,geneva; font-size: small; color: #000080;">Je vous tiens au jus...</span></p>
<p>&nbsp;</p>
<p><span style="color: #000080;"><em><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">(*) MOOC: Comprendre les microcontr&ocirc;leurs - Ecole Polytechnique F&eacute;d&eacute;rale de Lausanne. 27-10-2014 / 15-12-2014.</span></em></span></p>]]></description>
            <author>chbadm</author>
            <pubDate>Wed, 08 Oct 2014 06:10:40</pubDate>
        </item>
        <item>
            <title>POURQUOI UN Pi (et pas un vélosolex)?</title>
            <link>http://rasduino.free.fr/article.php?sid=39</link>
            <description><![CDATA[<img src="images/pick.gif" border="0" align="center" alt="" /> :: <p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #333399;">Lecteur occasionnel d&rsquo;Elektor&copy; et d&rsquo;Electronique Pratique&copy;, je passais r&eacute;guli&egrave;rement sur des pubs vantant les m&eacute;rites d&rsquo;Arduino et de Raspberry. Je voyais bien, au fil des mois, se cr&eacute;er un int&eacute;r&ecirc;t croissant pour ces dr&ocirc;les de petites b&ecirc;b&ecirc;tes mais, faute de temps, je n&rsquo;allai pas plus loin.</span></p>
<p style="text-align: justify;"><span style="background-color: #ffffff; color: #333399;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #333399;">Tout r&eacute;cemment, un besoin pr&eacute;cis m&rsquo;a fait acqu&eacute;rir un lot de deux prises radiocommand&eacute;es car la commande infrarouge d&rsquo;une rampe de leds utilis&eacute;e en &eacute;clairage indirect &eacute;tait rest&eacute;e coll&eacute;e (heureusement en mode &lsquo;on&rsquo; car elle est incluse dans le boitier d&rsquo;alimentation). En branchant la rampe manuellement j&rsquo;observais un beau flash bleu aux contacts de la fiche m&acirc;le, accompagn&eacute; d&rsquo;un &lsquo;clac&rsquo; &eacute;vocateur. Pas &eacute;tonnant que le petit relais soit rest&eacute; coll&eacute; si rapidement. </span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #333399;">Le pouvoir de coupure des relais &eacute;quipant les PC radiocommand&eacute;es est bien plus important. D&rsquo;o&ugrave; l&rsquo;achat du kit de PC radiocommand&eacute;es.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #333399;">Par ailleurs, la lecture d&rsquo;un article sur l&rsquo;&eacute;tat actuel de l&rsquo;Art en mati&egrave;re de domotique, &eacute;voquant, entre autres solutions, la mise en &oelig;uvre de &lsquo;nano ordinateurs&rsquo; a recentr&eacute; mon attention sur l&rsquo;avancement technologique des kits de d&eacute;veloppement, micro-contr&ocirc;leurs et autre PICs.</span></p>
<p style="text-align: justify;"><span style="font-family: verdana,geneva; font-size: small; background-color: #ffffff; color: #333399;">Nous sommes en Ao&ucirc;t 2014. Je fonce &agrave; la librairie du coin et tombe sur la publication &laquo;&nbsp;juillet-Ao&ucirc;t&nbsp;&raquo; d&rsquo;Elektor. Une s&eacute;lection de montages y est d&eacute;crite dont certains sont bas&eacute;s sur ces nano-ordinateurs. Il y est &eacute;galement question d&rsquo;un &eacute;mulateur de Raspberry sous windows que je t&eacute;l&eacute;charge et installe dans la foul&eacute;e.</span></p>]]></description>
            <author>chbadm</author>
            <pubDate>Sat, 20 Sep 2014 16:17:06</pubDate>
        </item>
    </channel>
</rss>
