<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPBots</title>
	<atom:link href="http://www.gupigame.com/wpbots/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.gupigame.com/wpbots</link>
	<description>Smartphone robots made with Windows phone</description>
	<lastBuildDate>Tue, 05 Nov 2013 14:35:07 +0000</lastBuildDate>
	<language>fr-FR</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.41</generator>
	<item>
		<title>SmartBot, the Smartphone Robot – now even smarter!</title>
		<link>http://www.gupigame.com/wpbots/?p=380</link>
		<comments>http://www.gupigame.com/wpbots/?p=380#comments</comments>
		<pubDate>Tue, 05 Nov 2013 14:35:07 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=380</guid>
		<description><![CDATA[<p><a href="http://www.overdriverobotics.com"></a></p> <p style="text-align: justify;" lang="en">The final version of the <a href="http://www.overdriverobotics.com/">SmartBot Smartphone robot</a> is now out. If you’re looking for a phone-programming robot for your Windows Phone, Android phone or iPhone, SmartBot is the perfect choice. New shape, new design, new SDK – everything is new and improved! The documentation for Windows Phone and [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.overdriverobotics.com"><img class="aligncenter" title="SmartBot" src="http://www.overdriverobotics.com/SmartBot/wp-content/uploads/smartbot-photo-moyen.jpg" alt="" width="600" /></a></p>
<p style="text-align: justify;" lang="en">The final version of the <a href="http://www.overdriverobotics.com/">SmartBot Smartphone robot</a> is now out. If you’re looking for a phone-programming robot for your Windows Phone, Android phone or iPhone, SmartBot is the perfect choice. New shape, new design, new SDK – everything is new and improved! The documentation for Windows Phone and the other OS is very clear, with code snippets and instructions to guide you step by step through programming the robot.</p>
<p style="text-align: justify; color: #3366ff;" lang="fr">La version finale de <a href="http://www.overdriverobotics.com/">SmartBot, le robot Smartphone</a> est maintenant disponible. Si vous cherchez un robot programmable pour Smartphone pour votre Windows Phone, votre téléphone sous Android ou votre iPhone, SmartBot est le bon choix. Nouvelle forme, nouveau design, nouveau SDK &#8211; tout est nouveau et amélioré dans cette version Mk2! La documentation pour Windows Phone et les autres OS est très claire avec des snippets de code et toutes les instructions pour être guidé pas à pas dans la programmation du robot.</p>
<p><iframe width="640" height="480" align="middle" src="//www.youtube.com/embed/JtX8Y7_eFJA" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=380</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SmartBot, the smartphone robot</title>
		<link>http://www.gupigame.com/wpbots/?p=369</link>
		<comments>http://www.gupigame.com/wpbots/?p=369#comments</comments>
		<pubDate>Sun, 03 Mar 2013 22:33:30 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=369</guid>
		<description><![CDATA[<p><a href="http://www.overdriverobotics.com"></a></p> <p>SmartBot Mini has grown and it became <a title="SmartBot web site" href="http://www.overdriverobotics.com">SmartBot</a>, the Smartphone robot.<br /> Discover this new Smartphone robot which is now compatible with Windows Phone and also Android and IOS!<br /> He is bigger, smarter, he has a complete range of accessories, an SDK and HDK and several apps. It [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.overdriverobotics.com"><img class="aligncenter" title="SmartBot" src="http://www.overdriverobotics.com/SmartBot/wp-content/uploads/Slider1SmartBot.png" alt="" width="450" height="400" /></a></p>
<p>SmartBot Mini has grown and it became <a title="SmartBot web site" href="http://www.overdriverobotics.com">SmartBot</a>, the Smartphone robot.<br />
Discover this new Smartphone robot which is now compatible with Windows Phone and also Android and IOS!<br />
He is bigger, smarter, he has a complete range of accessories, an SDK and HDK and several apps. It gives you a complete mobile robotic platform, open and affordable, which lets them develop robotic applications, play games, enjoy interactive services and learn robotics.</p>
<p><span style="color: #3366ff;">SmartBot Mini a grandi. Il est devenu <a href="http://www.overdriverobotics.com"><span style="color: #3366ff;">SmartBot</span></a>, le robot smartphone.</span><br />
<span style="color: #3366ff;"> Découvrez ce nouveau robot smartphone qui est maintenant compatible avec Windows Phone mais aussi Android et IOS!</span><br />
<span style="color: #3366ff;"> Il est maintenant plus grand, plus intelligent et dispose d&rsquo;une gamme complète d&rsquo;accessoires, de plusieurs applications ainsi que d&rsquo;un SDK et d&rsquo;un HDK complet. Il vous permet de disposer d’une plateforme de robotique mobile, complète, ouverte et simple pour programmer des applications robotiques, jouer à des jeux, et apprendre la robotique.</span></p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/L8dAVfewLCc" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=369</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SmartBot Mini : Next Episode</title>
		<link>http://www.gupigame.com/wpbots/?p=322</link>
		<comments>http://www.gupigame.com/wpbots/?p=322#comments</comments>
		<pubDate>Sun, 27 Nov 2011 22:08:03 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=322</guid>
		<description><![CDATA[<p>Here are the videos of the SmartBot Mini which I talked in the previous article :<br /> The first video shows the robot which is controlled by a small application. It uses the methods available in the SDK and allows to modify the speed of the robot in real time.<br /> To talk about performance, [...]]]></description>
				<content:encoded><![CDATA[<p>Here are the videos of the SmartBot Mini which I talked in the previous article :<br />
The first video shows the robot which is controlled by a small application. It uses the methods available in the SDK and allows to modify the speed of the robot in real time.<br />
To talk about performance, the robot can modify its speed from 10 mm/s to 70 mm/s and of course 0 mm/s when it is stopped ;-).</p>
<p><span style="color: #3366ff;">Voici les vidéos du SmartBot Mini dont j&rsquo;avais parlé dans l&rsquo;article précédent :</span><br />
<span style="color: #3366ff;"> La première vidéo présente le robot piloté par une petite application de télécommande. Elle utilise les commandes disponibles dans le SDK et permet de modifier la vitesse du robot en live.</span><br />
<span style="color: #3366ff;"> Au niveau performance, le robot peut faire varier sa vitesse de 10 mm/s à 70 mm/s et bien sur 0 mm/s à l’arrêt ;-).</span></p>
<p><iframe src="http://www.youtube.com/embed/nHG0WTCyxKo" frameborder="0" width="420" height="315"></iframe></p>
<p>The SDK runs on Windows Phone and Android for now. We can see the remote app on a HTC Mozart 7 (Windows Phone Mango 7.5) and a Samsung galaxy S WIFI 5.0 tablet (Android 2.3.5).</p>
<p><span style="color: #3366ff;">Le SDK tourne sur Windows Phone et Android pour le moment. On peut voir l&rsquo;application Remote sur un HTC Mozart 7 (Windows Phone Mango 7.5) ainsi que sur un Samsung galaxy S WIFI 5.0 tablet (Android 2.3.5).</span></p>
<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniAndroidWP2.png"><img class="aligncenter size-full wp-image-323" title="SmartBotMiniAndroidWP2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniAndroidWP2.png" alt="" width="448" height="328" /></a></p>
<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniAndroidWP.png"><img class="aligncenter size-full wp-image-324" title="SmartBotMiniAndroidWP" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniAndroidWP.png" alt="" width="448" height="396" /></a></p>
<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniMozart.png"><img class="aligncenter size-full wp-image-325" title="SmartBotMiniMozart" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniMozart.png" alt="" width="448" height="379" /></a></p>
<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniSamsung.png"><img class="aligncenter size-full wp-image-326" title="SmartBotMiniSamsung" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniSamsung.png" alt="" width="448" height="410" /></a></p>
<p>Here are two others videos that show an object tracking app.<br />
The first one follows a red object and rotate to stay in front of it. The algorithm works like that :</p>
<p><span style="color: #3366ff;">Voilà maintenant 2 vidéos qui montrent une application de tracking d&rsquo;objets.</span><br />
<span style="color: #3366ff;"> La première suit un objet rouge et pivote pour rester en face. L&rsquo;algorithme fonctionne de la façon suivante :</span><br />
<a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniRedObject.png"><img class="aligncenter size-full wp-image-327" title="SmartBotMiniRedObject" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotMiniRedObject.png" alt="" width="720" height="160" /></a>On the picture (YCbCr format) from the camera (640*480),</p>
<ul>
<li>I extract the Cr channel (red component).</li>
<li>Downscaling by 8.</li>
<li>Thresholding.</li>
<li>3x Dilate (Kernel 3&#215;3).</li>
<li>3x Erode (Kernel 3&#215;3).</li>
<li>Segmentation of the binarised picture by labelisation.</li>
<li>Extraction of the biggest blob.</li>
<li>Drawing of a red cross in overlay on the biggest blob and blue cross on the others.</li>
<li>Control of the robot depending of the biggest blob position.</li>
</ul>
<p>Final performance about 2 fps.</p>
<p>The second video shows the tracking of a blue object. The technic is different, the idea is to scan a row of the picture instead of the entire picture. The row is from 8*480 pixels on the 640*480 of the picture.</p>
<ul>
<li>Extraction of the Cb channel (blue component).</li>
<li>Extraction of the row of pixel.</li>
<li>Thresholding</li>
<li>3x Dilate (Kernel 3&#215;3).</li>
<li>3x Erode (Kernel 3&#215;3).</li>
<li>Segmentation of the binarised picture by labelisation.</li>
<li>Extraction of the biggest blob.</li>
<li>Drawing of a red cross in overlay on the biggest blob and blue cross on the others.</li>
<li>Control of the robot depending of the biggest blob position and of the width of the blob.</li>
</ul>
<p>Final performance about 3 fps.</p>
<p><span style="color: #3366ff;">Après avoir récupéré l&rsquo;image au format YCbCr de la camera (640*480),</span></p>
<ul>
<li><span style="color: #3366ff;">J&rsquo;extrais le canal Cr (composante rouge).</span></li>
<li><span style="color: #3366ff;">Downscaling par 8.</span></li>
<li><span style="color: #3366ff;">Seuillage sur ce canal.</span></li>
<li><span style="color: #3366ff;">3x Dilatation (noyau 3&#215;3).</span></li>
<li><span style="color: #3366ff;">3x Erosion (noyau 3&#215;3).</span></li>
<li><span style="color: #3366ff;">Segmentation de l&rsquo;image binarisée par labellisation.</span></li>
<li><span style="color: #3366ff;">Récupération du plus gros blob.</span></li>
<li><span style="color: #3366ff;">Dessin d&rsquo;une croix rouge en overlay sur le plus gros blob et bleu sur les autres.</span></li>
<li><span style="color: #3366ff;">Commande du robot en fonction de la position du plus gros blob.</span></li>
</ul>
<p><span style="color: #3366ff;">Performance finale environ 2 fps.</span></p>
<p><span style="color: #3366ff;">La deuxième vidéo suit un objet bleu. La technique est différente. Ici, l&rsquo;idée est de scanner une bande de l&rsquo;image. La bande est de 8*480 pixels sur les 640*480.</span></p>
<ul>
<li><span style="color: #3366ff;">Extraction du canal Cb (Composante bleue).</span></li>
<li><span style="color: #3366ff;">Récupération de la bande de pixels</span></li>
<li><span style="color: #3366ff;">Seuillage</span></li>
<li><span style="color: #3366ff;">3x Dilatation (noyau 3&#215;3).</span></li>
<li><span style="color: #3366ff;">3x Erosion (noyau 3&#215;3).</span></li>
<li><span style="color: #3366ff;">Segmentation de l&rsquo;image binarisée par labelisation.</span></li>
<li><span style="color: #3366ff;">Récupération du plus gros blob.</span></li>
<li><span style="color: #3366ff;">Dessin d&rsquo;une croix rouge en overlay sur le plus gros blob et bleu sur les autres.</span></li>
<li><span style="color: #3366ff;">Commande du robot en fonction de la position du plus gros blob et de sa largeur.</span></li>
</ul>
<p><span style="color: #3366ff;">Performance finale environ 3 fps.</span></p>
<p><iframe src="http://www.youtube.com/embed/AntSevRJHr0" frameborder="0" width="420" height="315"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/m7xAJH3R0pA" frameborder="0" width="420" height="315"></iframe></p>
<p>There will be some big surprises (already in progress) for the SmartBot Mini. I will reveal them in the following weeks.<br />
And Yes, for those who ask about it, I will commercialize this robot when it will be ready and that will be at low cost.<br />
<span style="color: #3366ff;">Il y aura quelques grosses surprises (déjà en préparation) pour le SmartBot Mini. Je les révélerai dans les semaines qui viennent.</span><br />
<span style="color: #3366ff;">Et Oui, pour ceux qui posent la question, je vais commercialiser ce robot dès qu&rsquo;il sera prêt et ce sera low cost.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=322</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SmartBot Mini : The mini robot for Smartphone</title>
		<link>http://www.gupigame.com/wpbots/?p=282</link>
		<comments>http://www.gupigame.com/wpbots/?p=282#comments</comments>
		<pubDate>Mon, 21 Nov 2011 00:30:17 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=282</guid>
		<description><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini1.png"></a></p> <p>Here is my new dev : SmartBot Mini : A mini robot for Smartphone.<br /> Smartphone are now equipped with a full list of high tech sensors (GPS, 3 axis accelerometer, gyro, compass, camera, microphone). It brings also sound production, vibration and a large tactile screen.<br /> By adding at least a pair [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini1.png"><img class="aligncenter size-full wp-image-294" title="SmartBotmini1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini1.png" alt="" width="345" height="480" /></a></p>
<p>Here is my new dev : SmartBot Mini : A mini robot for Smartphone.<br />
Smartphone are now equipped with a full list of high tech sensors (GPS, 3 axis accelerometer, gyro, compass, camera, microphone). It brings also sound production, vibration and a large tactile screen.<br />
By adding at least a pair of wheels, it turns your smartphone into a powerful robot.<br />
SmartBot mini is a very small robot with a smartphone brain. It is equipped with 2 caterpillar tracks, 2 DC gear motors, an homemade analog PCB which is a dual motor driver with full speed control controlled by smartphone and it is powered by 2*AAA batteries. I want to thank my friend Florian for his help on the controller.<br />
This new PCB allows the robot to be controlled by the smartphone. It doesn&rsquo;t use the Windows Phone serial  port cable that I have designed earlier and it works with no micro-controller. The PCB is equipped with some additionnal outputs which give the ability to control some additionnal actuators with the smartphone.<br />
The robot works with Smartphone under <strong>Windows Phone</strong> and <strong>Android</strong> for now and I will add <strong>IOS</strong> and <strong>Blackberry OS</strong> compatibility later.<br />
It is design to accept even the biggest Windows Phone available like the HTC HD7 or the HTC TITAN.</p>
<p><span style="color: #3366ff;">Voilà mon nouveau dev : SmartBot Mini : un mini robot pour Smartphone.</span><br />
<span style="color: #3366ff;"> Les smartphones sont maintenant équipés avec une liste complète de capteurs high tech (GPS, accéléromètre 3 axes, gyroscope, boussole, camera, microphone). Ils apportent également la capacité à produire du son, des vibrations et un large écran tactile. En ajoutant une paire de roue, cela transforme le smartphone en une puissante plateforme robotique.</span><br />
<span style="color: #3366ff;"> Smartphone mini est un très petit robot avec un smartphone pour cerveau. Il est équipé de deux chenilles, 2 moto-réducteurs DC, une carte analogique faite maison qui est un driver double canal pour moteur DC avec contrôle total de la vitesse contrôlé par smartphone. Le tout est alimenté par 2 piles AAA.</span> <span style="color: #3366ff;">Merci à mon pote Florian pour son aide sur le contrôleur.</span><br />
<span style="color: #3366ff;">Ce contrôleur permet au robot d’être piloté par le smartphone. Il n&rsquo;utilise pas le câble série pour Windows Phone que j&rsquo;ai conçu précédemment et fonctionne sans micro-contrôleur. Il est également équipé de sorties supplémentaires permettant au smartphone de contrôler des actionnaires additionnels.</span><br />
<span style="color: #3366ff;"> Le robot marche avec des smartphones sous <strong>Windows Phone</strong> et <strong>Android</strong> pour l&rsquo;instant et j&rsquo;ajouterai la compatibilité avec <strong>IOS</strong> et <strong>Blackberry OS</strong> plus tard.</span><br />
<span style="color: #3366ff;">Le robot est conçu pour accepter même les plus gros Windows Phone disponibles comme le HTC HD7 ou le HTC TITAN.</span></p>
<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini2.png"><img class="aligncenter size-full wp-image-295" title="SmartBotmini2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini2.png" alt="" width="203" height="288" /></a><br />
<a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini3.png"><img class="aligncenter size-full wp-image-296" title="SmartBotmini3" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini3.png" alt="" width="211" height="288" /></a><br />
<a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini4.png"><img class="aligncenter size-full wp-image-297" title="SmartBotmini4" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini4.png" alt="" width="193" height="288" /></a><br />
<a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini5.png"><img class="aligncenter size-full wp-image-298" title="SmartBotmini5" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini5.png" alt="" width="242" height="288" /></a><br />
<a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini6.png"><img class="aligncenter size-full wp-image-299" title="SmartBotmini6" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini6.png" alt="" width="384" height="256" /></a><br />
<a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini7.png"><img class="aligncenter size-full wp-image-300" title="SmartBotmini7" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini7.png" alt="" width="384" height="256" /></a></p>
<p>The SDK allows to control the robot with 7 different kind of actions :<br />
<span style="color: #3366ff;">Le SDK permet de contrôler le robot avec 7 différents type d&rsquo;actions :</span></p>
<blockquote>
<pre> public void GoForward(byte Speed) //Go forward with speed control
 public void GoBackward(byte Speed) //Go backward with speed control
 public void GoLeft(byte Speed) //Go Left with speed control
 public void GoRight(byte Speed) //Go Right with speed control
 public void Stop() //Stop
 public void Sing(byte message) //Sing with a list of short singing message
 public void ChangeSpeed(Byte Speed) //Change the speed value during a motion</pre>
</blockquote>
<p>I will add a video of the SmartBot mini during the week.<br />
<span style="color: #3366ff;">J&rsquo;ajouterai une vidéo du SmartBot mini au cours de la semaine.</span></p>
<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini8.png"><img class="aligncenter size-full wp-image-301" title="SmartBotmini8" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini8.png" alt="" width="176" height="288" /></a><br />
<a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini9.png"><img class="aligncenter size-full wp-image-302" title="SmartBotmini9" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotmini9.png" alt="" width="640" height="427" /></a></p>
<p>With the new Windows Phone Mango OS, WP developpers have now access to the Windows Phone camera API. It allows a ton of new robot control strategies like :<br />
- Face tracking<br />
- Object tracking<br />
- Face recognition<br />
- Light tracking<br />
- OCR<br />
- Tag reading (data matrix, bar code, &#8230;)<br />
- Edge detection for maze resolver<br />
- Line follower<br />
and it allows to create strong interacting robot.</p>
<p><span style="color: #3366ff;">Avec le nouvel OS Windows Phone Mango, les développeurs WP ont maintenant accès à l&rsquo;API de la camera. Cela permet une tonne de nouvelles stratégies de contrôle du robot comme :</span><br />
<span style="color: #3366ff;"> &#8211; Suivi de tête</span><br />
<span style="color: #3366ff;"> &#8211; Suivi d’objet</span><br />
<span style="color: #3366ff;"> &#8211; Reconnaissance faciale</span><br />
<span style="color: #3366ff;"> &#8211; Suivi de lumière</span><br />
<span style="color: #3366ff;"> &#8211; Reconnaissance de ca</span><span style="color: #3366ff;">ractères</span><br />
<span style="color: #3366ff;"> &#8211; Lecture de tag (data matrix, code barre, &#8230;)</span><br />
<span style="color: #3366ff;"> &#8211; Détection de contours pour solveur de labyrinthe</span><br />
<span style="color: #3366ff;"> &#8211; Suiveur de ligne</span><br />
<span style="color: #3366ff;"> et cela permet la création de robot vraiment interactif.</span></p>
<p>I have started a Windows Phone Image Processing library. Here is the list of available image processing methods that I have already implemented inside :<br />
<span style="color: #3366ff;">J&rsquo;ai commencé une librairie de traitement d&rsquo;images pour Windows Phone. Voilà une liste des méthodes disponibles que j&rsquo;ai déjà implémenté à l&rsquo;intérieur :</span></p>
<blockquote>
<pre> public int[] ConvertYtoColor(byte[] YData) //Convert Y data from YCbCr to ARGB int info in order to display it
 public byte[] Thresholding(byte[] YData, int threshVal)
 public byte[] Negative(byte[] YData)
 public byte[] Erode(byte[] YData, int PicWidth, int PicHeight) //morphological operation
 public byte[] Dilate(byte[] YData, int PicWidth, int PicHeight) //morphological operation
 public byte[] FiltreConvolution(byte[] YData, int PicWidth, int PicHeight) //Convolution filter (Kernel) like Laplace, Gauss or gradient filter.
 public int[] Histogram(byte[] YData)
 public byte[,] Convert1DTo2D(byte[] YData, int PicWidth, int PicHeight)
 public int[] DrawCross(int[] Data, int posX, int PosY, int crossSize, int PicWidth, int PicHeight) //Adding a cross overlay to localize blob in the picture
 public List&lt;WPBotsImProcSegInfo&gt; Segmentation1(byte[] YData, int PicWidth, int PicHeight) //Blob detection
 public List&lt;WPBotsImProcSegInfo&gt; Segmentation2(byte[] YData, int PicWidth, int PicHeight) //Blob detection
 public void ConvertYCbCrToComprehensiveYCbCr(YCbCrPixelLayout layout, byte[] currentPreviewBuffer, int PicWidth, int PicHeight, out byte[] YMatrix, out byte[] CrMatrix, out byte[] CbMatrix)
 public int YCbCrToArgb(byte y, int cb, int cr) //YCbCr to ARGB color domain
 public Point HeadTracking(byte[] YData, int PicWidth, int PicHeight)
 public Point RedBalloonTracking(byte[] YData, int PicWidth, int PicHeight)</pre>
</blockquote>
<p>Here is an small example of an live object tracking application. The goal : localize the red balloon and rotate in order to be always in front of it.<br />
<span style="color: #3366ff;">Voilà un petit exemple d&rsquo;une application de tracking live d&rsquo;objet. L&rsquo;objectif : localiser le ballon rouge et pivoter de façon à se retrouver toujours en face de lui.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotminiRedBalloon.png"><img class="aligncenter size-full wp-image-303" title="SmartBotminiRedBalloon" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/SmartBotminiRedBalloon.png" alt="" width="640" height="427" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=282</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Windows Phone robot : little teaser</title>
		<link>http://www.gupigame.com/wpbots/?p=264</link>
		<comments>http://www.gupigame.com/wpbots/?p=264#comments</comments>
		<pubDate>Sun, 06 Nov 2011 01:41:33 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=264</guid>
		<description><![CDATA[<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/WPSimpleBot1-bloc1.png"></a></p> <p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/WPSimpleBot1-bloc2.png"></a></p> <p>Rendez-vous dans une semaine ou deux pour des news sur un tout nouveau robot et sur le premier lot de câbles port série pour Windows Phone.<br /> See you in one week or two for some news about a brand new robot and about the first batch [...]]]></description>
				<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/WPSimpleBot1-bloc1.png"><img class="aligncenter size-full wp-image-265" title="WPSimpleBot1-bloc1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/WPSimpleBot1-bloc1.png" alt="" width="800" height="600" /></a></p>
<p style="text-align: center;"><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/WPSimpleBot1-bloc2.png"><img class="aligncenter size-full wp-image-266" title="WPSimpleBot1-bloc2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/11/WPSimpleBot1-bloc2.png" alt="" width="800" height="600" /></a></p>
<p>Rendez-vous dans une semaine ou deux pour des news sur un tout nouveau robot et sur le premier lot de câbles port série pour Windows Phone.<br />
<span style="color: #3366ff;">See you in one week or two for some news about a brand new robot and about the first batch of serial port cable for Windows Phone.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=264</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone Bluetooth serial port &#8211; It works !</title>
		<link>http://www.gupigame.com/wpbots/?p=234</link>
		<comments>http://www.gupigame.com/wpbots/?p=234#comments</comments>
		<pubDate>Sun, 09 Oct 2011 22:51:38 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=234</guid>
		<description><![CDATA[<p>Pour résumer le dernier défi : l&#8217;idée était de réaliser une <a href="http://www.gupigame.com/wpbots/?p=196">transmission série sans fil depuis le Windows Phone</a> alors que l&#8217;OS ne propose pas le profil Bluetooth SPP. La proposition : <a href="http://www.gupigame.com/wpbots/?p=225">Utiliser le profil Bluetooth A2DP</a> pour streamer le signal envoyé au <a href="http://www.gupigame.com/wpbots/?p=50">port série pour Windows Phone</a> qui marche normalement sur [...]]]></description>
				<content:encoded><![CDATA[<p>Pour résumer le dernier défi : l&rsquo;idée était de réaliser une <a href="http://www.gupigame.com/wpbots/?p=196">transmission série sans fil depuis le Windows Phone</a> alors que l&rsquo;OS ne propose pas le profil Bluetooth SPP. La proposition : <a href="http://www.gupigame.com/wpbots/?p=225">Utiliser le profil Bluetooth A2DP</a> pour streamer le signal envoyé au <a href="http://www.gupigame.com/wpbots/?p=50">port série pour Windows Phone</a> qui marche normalement sur le port audio du Smartphone.</p>
<p><span style="color: #3366ff;">To summarize the last challenge : The idea is to make a <a href="http://www.gupigame.com/wpbots/?p=196">wireless transmission from the Windows Phone</a> although the OS doesn&rsquo;t propose the SPP Bluetooth profile. The proposal : <a href="http://www.gupigame.com/wpbots/?p=225">Use the A2DP Bluetooth profile</a> to stream the signal sent to the <a href="http://www.gupigame.com/wpbots/?p=50">Windows Phone serial port</a> which works usually on the audio port of the Smartphone .</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsBH111-1.png"><img class="aligncenter size-full wp-image-250" title="WPBotsBH111-1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsBH111-1.png" alt="" width="640" height="427" /></a></p>
<p>Donc finalement, j&rsquo;ai reçu le récepteur Bluetooth A2DP de chez Nokia (11j après &#8230;). Et ça ne marche pas !</p>
<p>Double problème :</p>
<ul>
<li>Le récepteur s’active bien quand j&rsquo;envoie de la musique mais pas quand j&rsquo;envoie le signal série.</li>
<li>Quand j&rsquo;envoie de très longues trames, la première trame passe mais le signal est modifié et donc les caractères envoyés sont mauvais.</li>
</ul>
<p>En fouillant, on peut lire que le BH-111 de Nokia dispose d&rsquo;un filtrage numérique (DSP) du signal permettant de traiter le son. Cela pourrait être la cause du problème numéro 2.</p>
<p><span style="color: #3366ff;">So finally, I have received the A2DP Bluetooth receiver from Nokia (11 days after &#8230;) And it doesn&rsquo;t work !</span></p>
<p><span style="color: #3366ff;">Double trouble :</span></p>
<ul>
<li><span style="color: #3366ff;">The receiver is well activated when I send some music but not when I send the serial signal.</span></li>
<li><span style="color: #3366ff;">When I send some very long frames, the first one is received but the signal is modified and so, characters sent are wrong.</span></li>
</ul>
<p><span style="color: #3366ff;">By searching, We can read that the Nokia BH-111 has a numerical filter (DSP) of the signal allowing to treat the sound. That could be the cause of the second trouble.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsBH111-2.png"><img class="aligncenter size-full wp-image-251" title="WPBotsBH111-2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsBH111-2.png" alt="" width="640" height="408" /></a></p>
<p>Je décide d&rsquo;acheter un autre modèle qui ne présente pas cette caractéristique : Le Sony Ericsson MW600.<br />
Ce modèle est plus cher mais possède un écran OLED, une meilleure autonomie, la radio FM et est vraiment petit.</p>
<p><span style="color: #3366ff;">I decided to buy another receiver which does not present the same feature : The Sony MW600.</span><br />
<span style="color: #3366ff;">This receiver is more expensive but it has a OLED screen, a better autonomy, a FM radio and is really small.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsMW600-1.png"><img class="aligncenter size-full wp-image-252" title="WPBotsMW600-1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsMW600-1.png" alt="" width="640" height="459" /></a></p>
<p>Je recommence les tests. Ça ne marche toujours pas mais ça s&rsquo;annonce un peu mieux.<br />
Le récepteur ne s&rsquo;active que lors de l&rsquo;envoi de la première trame puis ne reçoit plus rien. Par contre, la trame qui passe est correcte (l&rsquo;hypothèse du traitement du signal du Nokia se confirme).</p>
<p>Je m&rsquo;attaque alors au problème restant, faire en sorte que le récepteur reçoive bien les trames sans se couper.<br />
Vu que la musique est correctement streamer, mon hypothèse est que l&rsquo;envoi d&rsquo;un signal continu permet de garder le récepteur actif. Si l&rsquo;envoi du son est trop court, alors le récepteur ne s&rsquo;active pas (genre de filtrage de pic parasite).</p>
<p>Pour valider ceci, je génère un bruit blanc en temps réel. Le récepteur le reçoit sans problème et sans coupure à partir du moment où sa durée est suffisante. Hypothèse confirmée : en jouant un son continu, le récepteur reste connecté. Je peux donc utiliser un bruit blanc faible et continu de façon à garder la connexion.</p>
<p>Reste alors à mettre en place une façon d&rsquo;envoyer mes signaux séries entre le bruit blanc.<br />
Je modifie le soft pour générer des petits buffers PCM (105 ms) de bruit blanc faible amplitude que j&rsquo;envoie sur le buffer audio du Windows Phone.<br />
La faible amplitude permet de garder le récepteur actif sans être pris en compte par le <a href="http://www.gupigame.com/wpbots/?p=50">port série pour Windows Phone</a> connecté au récepteur et donc de ne pas générer de trame fantôme au repos.</p>
<p>Lorsque je veux envoyer une trame série, j&rsquo;intercale le buffer PCM créé en temps réel contenant le message série dans la pile du buffer audio du Windows Phone. Le signal série arrive donc au niveau du récepteur sous forme de signal audio puis est convertit en signal RS232 TTL par le <a href="http://www.gupigame.com/wpbots/?p=50">port série pour Windows Phone</a> connecté au récepteur Bluetooth A2DP.</p>
<p><span style="color: #3366ff;">I start the test again. It still doesn&rsquo;t work but it looks like it is a little bit better.</span><br />
<span style="color: #3366ff;"> The receiver is activated only when the first frame is sent then nothing. On the other side, the frame which is sent is correct (the signal processing assumption from the Nokia receiver is confirmed).</span></p>
<p><span style="color: #3366ff;">I tackle the remaining trouble : Make that the receiver will receive every frame without cut off.</span><br />
<span style="color: #3366ff;"> Because the music is properly streamed, my assumption is that the streaming of a continuous signal allows to keep the receiver activated. If the streaming is too short, so the receiver is not going to be activated (kind of filter for peak noise).</span></p>
<p><span style="color: #3366ff;">To validate this, I generate a white noise in real time. The receiver receives it without trouble and without cut off if the signal duration is sufficient. Assumption confirmed : by playing a continuous sound, the receiver stays connected. So I can use a low amplitude white noise in continuous in order to keep the connexion.</span></p>
<p><span style="color: #3366ff;">Remaining action : Put in place a way to send serial signals between the white noise.</span><br />
<span style="color: #3366ff;">I have changed the software to generate some small PCM buffers (105ms) of low amplitude white noise that I send on the Windows Phone audio buffer.</span><br />
<span style="color: #3366ff;">The low amplitude allows to keep the receiver activated without being taken into account by the <a href="http://www.gupigame.com/wpbots/?p=50">Windows Phone serial port</a> connected to the receiver and So, not to generate ghost frame in standby.</span></p>
<p><span style="color: #3366ff;">When I want to send a serial frame, I interpose the PCM buffer created in real time containing the serial message into the Windows Phone audio buffer stack. The serial signal arrives to the receiver under an audio signal then it is converted into a TTL RS232 signal by the <a href="http://www.gupigame.com/wpbots/?p=50">Windows Phone serial port</a> connected the the A2DP Bluetooth receiver.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsMW600-2.png"><img class="aligncenter size-full wp-image-253" title="WPBotsMW600-2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/10/WPBotsMW600-2.png" alt="" width="640" height="209" /></a></p>
<p>Évidemment tout ceci ne marche qu&rsquo;en transmission avec les performances suivantes : RS232 TX niveau TTL 9600 bps sur 100m de portée (Bluetooth)<br />
Les trames reçues sont très propres mais pas autant qu&rsquo;avec la connexion sur le port audio du Smartphone qui est parfaite.<br />
Il y a de temps en temps quelques caractères parasites qui sont générés en plus mais les caractères envoyés sont toujours reçu sans erreur.<br />
Je pilote donc maintenant <a href="http://www.gupigame.com/wpbots/?p=178">mon petit robot</a> en Bluetooth avec Windows Phone. Mission accomplie!</p>
<p>Pour le prochain article, un nouveau robot. Rendez-vous bientôt.</p>
<p><span style="color: #3366ff;">Obviously, all that things work only in transmission with the following performances : RS232 TX TTL Level 9600 bps over a 100m range (Bluetooth).</span><br />
<span style="color: #3366ff;">The received frames are very clean but not as clean as the ones with the connexion on the audio port of the Smartphone which are perfect.</span><br />
<span style="color: #3366ff;">There is from time to time some parasite characters which are generated in addition but the sent characters are always received without error.</span><br />
<span style="color: #3366ff;">So now, I control <a href="http://www.gupigame.com/wpbots/?p=178">my little robot</a> through Bluetooth with Windows Phone. Mission accomplished !</span></p>
<p><span style="color: #3366ff;">For the next article, a new robot. See you soon.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=234</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bluetooth trial &#8211; part 1</title>
		<link>http://www.gupigame.com/wpbots/?p=225</link>
		<comments>http://www.gupigame.com/wpbots/?p=225#comments</comments>
		<pubDate>Thu, 29 Sep 2011 21:54:05 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=225</guid>
		<description><![CDATA[<p>Je n&#8217;ai pas encore reçu le <a href="http://www.gupigame.com/wpbots/?p=196">récepteur Bluetooth A2DP</a> mais j&#8217;ai fini de fabriquer  le module de transmission série pour Windows Phone qui se banche sur le récepteur.<br /> I didn&#8217;t received yet the <a href="http://www.gupigame.com/wpbots/?p=196">A2DP Bluetooth receiver</a>  but I finished to make the serial transmission module for Windows Phone which is connected to the [...]]]></description>
				<content:encoded><![CDATA[<p>Je n&rsquo;ai pas encore reçu le <a href="http://www.gupigame.com/wpbots/?p=196">récepteur Bluetooth A2DP</a> mais j&rsquo;ai fini de fabriquer  le module de transmission série pour Windows Phone qui se banche sur le récepteur.<br />
<span style="color: #3366ff;">I didn&rsquo;t received yet the <a href="http://www.gupigame.com/wpbots/?p=196">A2DP Bluetooth receiver</a>  but I finished to make the serial transmission module for Windows Phone which is connected to the receiver.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPSerialTXModule1.png"><img class="aligncenter size-full wp-image-226" title="WPSerialTXModule1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPSerialTXModule1.png" alt="" width="640" height="417" /></a></p>
<p>Ce module permet de convertir le signal audio (envoyé par le Windows Phone en Bluetooth vers le récepteur A2DP) en un signal RS232 (niveau TTL) à 9600 bps.<br />
<span style="color: #3366ff;">This module allows to convert an audio signal (sent by the Windows Phone over Bluetooth to the A2DP receiver) into a RS232 signal (TTL level) at 9600 bps.</span></p>
<p>&nbsp;</p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsbluetooth1.png"><img class="aligncenter size-full wp-image-232" title="WPBotsbluetooth1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsbluetooth1.png" alt="" width="640" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=225</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The future is Wireless</title>
		<link>http://www.gupigame.com/wpbots/?p=196</link>
		<comments>http://www.gupigame.com/wpbots/?p=196#comments</comments>
		<pubDate>Wed, 28 Sep 2011 21:57:47 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=196</guid>
		<description><![CDATA[<p>Les téléphones Android ont le droit en ce moment à un paquet de petits robots qui se pilotent en Bluetooth. Malheureusement, il y a bien du Bluetooth sur Windows Phone, mais de pas de profil <a href="http://en.wikipedia.org/wiki/Bluetooth_profile">SPP (Serial Port Profile</a>) donc pas de possibilité de piloter des appareils en Bluetooth.<br /> Quelques exemples de petits [...]]]></description>
				<content:encoded><![CDATA[<p>Les téléphones Android ont le droit en ce moment à un paquet de petits robots qui se pilotent en Bluetooth. Malheureusement, il y a bien du Bluetooth sur Windows Phone, mais de pas de profil <a href="http://en.wikipedia.org/wiki/Bluetooth_profile">SPP (Serial Port Profile</a>) donc pas de possibilité de piloter des appareils en Bluetooth.<br />
Quelques exemples de petits robots sympas : <a href="http://www.youtube.com/watch?v=UnddJCxjfqM">Phonybotz</a>, <a href="http://gosphero.com/">Gosphero</a>.<br />
<a href="http://www.gupigame.com/wpbots/?p=50">Le port série</a> ayant été vaincu, il s&rsquo;agit de passer au niveau supérieur : le Wireless.</p>
<p><span style="color: #3366ff;"> Android phone have access to a bunch of little robots which can be controlled over Bluetooth. Unfortunately, Windows Phone is Bluetooth compatible, but no <a href="http://en.wikipedia.org/wiki/Bluetooth_profile"><span style="color: #3366ff;">SPP</span></a> profile <a href="http://en.wikipedia.org/wiki/Bluetooth_profile"><span style="color: #3366ff;"> (Serial Port Profile</span></a>) so, no possibility to control devices through Bluetooth.</span><br />
<span style="color: #3366ff;">Here are some examples of cool little robots : <a href="http://www.youtube.com/watch?v=UnddJCxjfqM"><span style="color: #3366ff;">Phonybotz</span></a>, <a href="http://gosphero.com/"><span style="color: #3366ff;">Gosphero</span></a>.</span><br />
<span style="color: #3366ff;">As <a href="http://www.gupigame.com/wpbots/?p=50">the serial por</a>t is now complete, the challenge is to pass to the next level : Wireless.</span></p>
<p><img class="aligncenter" src="http://www.zone-numerique.com/uploads/News/110705/Phonybotz_450.jpg" alt="" width="450" height="232" /></p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.gosphero.com/wordpress/wp-content/uploads/Sphero-with-phones-banner-3.png" alt="" width="612" height="306" /><br />
Ma première idée : le <a href="http://en.wikipedia.org/wiki/ZigBee">XBEE</a>.<br />
Je viens de recevoir 2 modules <a href="http://en.wikipedia.org/wiki/ZigBee">XBEE</a> S1.</p>
<p><span style="color: #3366ff;">My first idea : <a href="http://en.wikipedia.org/wiki/ZigBee">XBEE</a>.</span><br />
<span style="color: #3366ff;">I just receive 2 <a href="http://en.wikipedia.org/wiki/ZigBee">XBEE</a> S1 modules.</span><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/XBee1.png"><img class="aligncenter size-full wp-image-198" title="XBee1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/XBee1.png" alt="" width="640" height="427" /></a></p>
<p>Je vais tester tout ça bientôt en association avec le <a href="http://www.gupigame.com/wpbots/?p=50">cable port serie pour Windows Phone</a>.</p>
<p>Les soucis se profilent déjà :</p>
<ul>
<li>C&rsquo;est cher ! il faut 2 modules pour créer le canal sans fil et chacun coute 30€.</li>
<li>Les XBEE sont duplex mais la vitesse de communication minimum acceptable est de 1200bps. Aujourd&rsquo;hui, <a href="http://www.gupigame.com/wpbots/?p=50">le cable port serie pour Windows Phone</a> permet d&rsquo;émettre à 9600 bps mais de recevoir à 600 bps. Je ne pourrais utiliser la communication que en transmission donc limité à une utilisation &laquo;&nbsp;télécommande&nbsp;&raquo;.</li>
<li>Pas super pratique puisqu&rsquo;il faut relier le <a href="http://www.gupigame.com/wpbots/?p=50">câble série</a> au Windows Phone ainsi qu&rsquo;au XBEE et ajouter une alimentation 5v&#8230;</li>
</ul>
<p><span style="color: #3366ff;">I am going to test all that in association with <a href="http://www.gupigame.com/wpbots/?p=50">the serial port cable for Windows Phone</a>.</span></p>
<p><span style="color: #3366ff;">Troubles are already here :</span></p>
<ul>
<li><span style="color: #3366ff;">That&rsquo;s expensive ! It requires 2 modules to create a wireless channel and each one has a cost of 30€.</span></li>
<li><span style="color: #3366ff;">XBEE are duplex but the minimal communication speed required is 1200 bps. Today, <a href="http://www.gupigame.com/wpbots/?p=50">The Windows Phone serial port cable</a> allows 9600 bps in transmission but only 600 bps in reception. I will only have the capacity to use the transmission so, it is limited to a &laquo;&nbsp;remote&nbsp;&raquo; application.</span></li>
<li><span style="color: #3366ff;">Not really easy to use because, it requires to connect the serial port cable to the Windows Phone, a XBEE module and to add a 5v power supply&#8230;</span></li>
</ul>
<p>Autre idée ! Windows Phone dispose du profil <a href="http://en.wikipedia.org/wiki/Bluetooth_profile#Advanced_Audio_Distribution_Profile_.28A2DP.29">A2DP en Bluetooth</a>. Ce profile permet le streaming audio du téléphone sur un device compatible.<br />
En utilisant un récepteur A2DP raccordé au <a href="http://www.gupigame.com/wpbots/?p=50">câble port série pour Windows Phone</a>, la solution semble beaucoup plus sympa.</p>
<ul>
<li>C&rsquo;est le son qui voyage et pas le signal série.</li>
<li>On utilise le Bluetooth du mobile, pas de bricolage nécessitant de brancher plein de choses sur le Windows Phone.</li>
<li>1 seul récepteur à acheter, donc moins cher que 2 XBee</li>
<li>Le profile A2DP ne permet pas un échange duplex donc on reste en mode &laquo;&nbsp;télécommande&nbsp;&raquo; mais c&rsquo;est déjà cool.</li>
</ul>
<p><span style="color: #3366ff;">Another idea ! Windows Phone is compatible with the <a href="http://en.wikipedia.org/wiki/Bluetooth_profile#Advanced_Audio_Distribution_Profile_.28A2DP.29">A2DP</a><a href="http://en.wikipedia.org/wiki/Bluetooth_profile#Advanced_Audio_Distribution_Profile_.28A2DP.29"> Bluetooth</a> profile. This profile allows to stream audio signal from the smartphone to a compatible device.</span><br />
<span style="color: #3366ff;">By using a A2DP receiver connected to <a href="http://www.gupigame.com/wpbots/?p=50">the Windows Phone serial port</a>, the solution seems a lot nicer.</span></p>
<ul>
<li><span style="color: #3366ff;">That&rsquo;s the sound which travel and not the serial data.</span></li>
<li><span style="color: #3366ff;">We use the mobile bluetooth, no trouble of homemade hacking that requires to connect a lot of stuff to the Windows Phone.</span></li>
<li><span style="color: #3366ff;">Only one receiver to buy, so less expensive than 2 XBEE modules.</span></li>
<li><span style="color: #3366ff;">A2DP profile doesn&rsquo;t allow a duplex communication so we stay in a &laquo;&nbsp;remote&nbsp;&raquo; application but it is already really cool.</span></li>
</ul>
<p>Pour tester ça, j&rsquo;ai commandé un Nokia BH-111.<br />
<span style="color: #3366ff;">To test that, I ordered a Nokia BH-111.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/10868_bh_111n-500x450.jpg"><img class="aligncenter size-full wp-image-200" title="10868_bh_111n-500x450" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/10868_bh_111n-500x450.jpg" alt="" width="500" height="450" /></a></p>
<p>On retrouve des puces intégrables qui permettent l’accès au profile A2DP, comme ici chez<a href="http://www.free2move.se/?page_id=909"> FREE2MOVE</a>.<br />
<span style="color: #3366ff;">We find some chips that allow an access to the A2DP profile , like here at <a href="http://www.free2move.se/?page_id=909">FREE2MOVE</a>.</span></p>
<p><img class="aligncenter" title="f2m03mla" src="http://www.free2move.se/wp-content/uploads/2011/01/8_1257252587_f2m03mla_webified.jpg" alt="f2m03mla" width="200" height="169" /></p>
<p>Vivement que tout cela arrive que les essais puissent commencer !!<br />
<span style="color: #3366ff;">I am in a hurry to receive all that and to start testing !!</span></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=196</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thank you !</title>
		<link>http://www.gupigame.com/wpbots/?p=211</link>
		<comments>http://www.gupigame.com/wpbots/?p=211#comments</comments>
		<pubDate>Wed, 28 Sep 2011 21:16:09 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gupigame.com/wpbots/?p=211</guid>
		<description><![CDATA[<p>Je voudrais remercier <a href="http://www.wpcentral.com/windows-phone-robot-blog-launches">WPCentral.com</a> , <a href="http://www.smartphonefrance.info/actu.asp?ID=6728">Smartphonefrance.info</a>, <a href="http://www.semageek.com/wpbots-com-quand-windows-phone-rencontre-un-robot/">Semageek.com</a>, <a href="http://wp7.hu/2011/08/24/wp-robot-blog-azt-adja-amit-iger/">WP7.hu</a>and <a href="http://wmpoweruser.com/awesome-hack-allows-wp7-phone-to-control-peripherals-robots-through-its-audio-jack/">WMPowerUser.com</a> pour les articles qu&#8217;ils ont écrit sur WPBots.com</p> <p>I want to thank <a href="http://www.wpcentral.com/windows-phone-robot-blog-launches">WPCentral.com</a> , <a href="http://www.smartphonefrance.info/actu.asp?ID=6728">Smartphonefrance.info</a>, <a href="http://www.semageek.com/wpbots-com-quand-windows-phone-rencontre-un-robot/">Semageek.com</a>, <a href="http://wp7.hu/2011/08/24/wp-robot-blog-azt-adja-amit-iger/">WP7.hu</a> and <a href="http://wmpoweruser.com/awesome-hack-allows-wp7-phone-to-control-peripherals-robots-through-its-audio-jack/">WMPowerUser.com</a> for articles they wrote on WPBots.com.</p>]]></description>
				<content:encoded><![CDATA[<p>Je voudrais remercier <a href="http://www.wpcentral.com/windows-phone-robot-blog-launches">WPCentral.com</a> , <a href="http://www.smartphonefrance.info/actu.asp?ID=6728">Smartphonefrance.info</a>, <a href="http://www.semageek.com/wpbots-com-quand-windows-phone-rencontre-un-robot/">Semageek.com</a>, <a href="http://wp7.hu/2011/08/24/wp-robot-blog-azt-adja-amit-iger/">WP7.hu</a>and <a href="http://wmpoweruser.com/awesome-hack-allows-wp7-phone-to-control-peripherals-robots-through-its-audio-jack/">WMPowerUser.com</a> pour les articles qu&rsquo;ils ont écrit sur WPBots.com</p>
<p><span style="color: #3366ff;">I want to thank</span> <a href="http://www.wpcentral.com/windows-phone-robot-blog-launches">WPCentral.com</a> , <a href="http://www.smartphonefrance.info/actu.asp?ID=6728">Smartphonefrance.info</a>, <a href="http://www.semageek.com/wpbots-com-quand-windows-phone-rencontre-un-robot/">Semageek.com</a>, <a href="http://wp7.hu/2011/08/24/wp-robot-blog-azt-adja-amit-iger/">WP7.hu</a> <span style="color: #3366ff;">and </span><a href="http://wmpoweruser.com/awesome-hack-allows-wp7-phone-to-control-peripherals-robots-through-its-audio-jack/">WMPowerUser.com</a> <span style="color: #3366ff;"> for articles they wrote on WPBots.com.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=211</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My first Windows Phone robot – Part 3</title>
		<link>http://www.gupigame.com/wpbots/?p=178</link>
		<comments>http://www.gupigame.com/wpbots/?p=178#comments</comments>
		<pubDate>Tue, 27 Sep 2011 23:01:57 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=178</guid>
		<description><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsRobot1Complete1.png"></a></p> <p>Ça y est, j&#8217;ai trouvé un moment et le robot est terminé. L&#8217;électronique et le code sont finis.<br /> Voilà une vidéo qui montre le robot en action. Deux modes sont présents dans la vidéo :</p>     Le premier : mode &#171;&#160;Télécommande&#160;&#187;. Le robot est piloté par l&#8217;interface du Windows Phone.     Le [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsRobot1Complete1.png"><img title="WPBotsRobot1Complete1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsRobot1Complete1.png" alt="WPBotsRobot1Complete1" width="640" height="521" /></a></p>
<p>Ça y est, j&rsquo;ai trouvé un moment et le robot est terminé. L&rsquo;électronique et le code sont finis.<br />
Voilà une vidéo qui montre le robot en action. Deux modes sont présents dans la vidéo :</p>
<ul>
<li>    Le premier : mode &laquo;&nbsp;Télécommande&nbsp;&raquo;. Le robot est piloté par l&rsquo;interface du Windows Phone.</li>
<li>    Le deuxième : mode &laquo;&nbsp;Auto&nbsp;&raquo;. Le robot est autonome et les informations des capteurs sont envoyés sur l&rsquo;interface du Windows Phone.</li>
</ul>
<p>Pour le mode &laquo;&nbsp;Auto&nbsp;&raquo;, j&rsquo;ai mis en place quelques comportements simples comme chasseur de lumière ou bien des comportements d&rsquo;évitement d&rsquo;obstacles.<br />
Le comportement présent sur la vidéo est très simple : Si le capteur IR ne détecte rien, le robot avance, s&rsquo;il détecte un obstacle il tourne sur la droite. Si le robot détecte un robot très proche, alors il recule.</p>
<p><span style="color: #3366ff;">Here it is ! I found some free time and the robot is over. the software and the electronic are done.</span><br />
<span style="color: #3366ff;">Here is a video showing the robot in action. We can see it through 2 working modes :</span></p>
<ul>
<li><span style="color: #3366ff;">First one : &laquo;&nbsp;Remote&nbsp;&raquo; mode. The robot is controlled by the Windows Phone interface.</span></li>
<li><span style="color: #3366ff;">Second mode : &laquo;&nbsp;Auto&nbsp;&raquo; mode. The robot is autonomous and the data coming from the sensors are sent to the Windows Phone interface.</span></li>
</ul>
<p><span style="color: #3366ff;">For the &laquo;&nbsp;Auto&nbsp;&raquo; mode, I put in place some simple behavior like a &laquo;&nbsp;light hunter&nbsp;&raquo; or some behavior to avoid obstacles.</span><br />
<span style="color: #3366ff;">The behavior presents in the video is very simple : If the IR sensor sees nothing, the robot is moving forward. If it sees something, it turns right. If the robot see an obstacle very close to it, it moves backward.</span></p>
<p><iframe src="http://www.youtube.com/embed/mvv8_cAAtkQ" frameborder="0" width="420" height="315"></iframe></p>
<p>Au niveau électronique, on retrouve :</p>
<ul>
<li>- un <a href="http://www.sparkfun.com/products/9457">driver double canal</a> piloté en PWM par la FEZ Panda (2 PWM + 4 sorties digitales pour les modes de marche). Le robot est équipé de deux servos au niveau des roues motrices mais ils ont été modifié pour les convertir en moteur à courant continu à rotation continue (suppression des butées, du potentiomètre et de toute l’électronique).</li>
<li>- 2 ponts diviseurs de tension permettant de capter le niveau lumineux des 2 photorésistances sur 2 ports analogiques de la FEZ Panda.</li>
<li>- 1 régulateur linéaire de tension 7805 permettant de convertir le 9v de la pile en 5v.</li>
<li>- Le capteur IR est directement raccordé à une entrée analogique de la FEZ Panda.</li>
<li>- Le <a href="http://www.gupigame.com/wpbots/?p=50">câble port série pour Windows Phone</a> est relié sur le port COM1 de la FEZ Panda.</li>
</ul>
<p><span style="color: #3366ff;">In term of electronic, we can find :</span></p>
<ul>
<li><span style="color: #3366ff;">A <a href="http://www.sparkfun.com/products/9457">dual PWM motor driver</a> driven by the FEZ Panda (2 PWM, 4 digital outputs for the working modes). The robot uses 2 servos for the driving wheels but they are modified to convert them into continuous rotation DC motor (No more potentiometer or electronic inside).</span></li>
<li><span style="color: #3366ff;">2 voltage dividers allow to sense light level from the 2 photo-resistors via 2 analogue inputs of the FEZ Panda.</span></li>
<li><span style="color: #3366ff;">1 linear voltage regulator 7805 allows to convert the 9v from the battery into 5v.</span></li>
<li><span style="color: #3366ff;">The IR sensor is connected to an analogue input of the FEZ Panda.</span></li>
<li><span style="color: #3366ff;">The <a href="http://www.gupigame.com/wpbots/?p=50">Windows Phone serial port cable</a> is connected to the COM1 port of the FEZ Panda.</span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=178</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to engrave a PCB with a YAG laser</title>
		<link>http://www.gupigame.com/wpbots/?p=187</link>
		<comments>http://www.gupigame.com/wpbots/?p=187#comments</comments>
		<pubDate>Tue, 27 Sep 2011 23:01:42 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=187</guid>
		<description><![CDATA[<p>Pour mes prototypes, je cherchais une méthode pour réaliser rapidement des PCB de qualité sans les problèmes des méthodes traditionnelles avec des produits chimiques.<br /> J&#8217;ai accès à un laser YAG de marquage. J&#8217;ai donc tenté l&#8217;expérience de graver une plaque de cuivre en utilisant le laser et un fichier DXF modifié du PCB provenant [...]]]></description>
				<content:encoded><![CDATA[<p>Pour mes prototypes, je cherchais une méthode pour réaliser rapidement des PCB de qualité sans les problèmes des méthodes traditionnelles avec des produits chimiques.<br />
J&rsquo;ai accès à un laser YAG de marquage. J&rsquo;ai donc tenté l&rsquo;expérience de graver une plaque de cuivre en utilisant le laser et un fichier DXF modifié du PCB provenant de Eagle-PCB.</p>
<p><span style="color: #3366ff;">For my prototypes, I was looking for a method to quickly make some quality PCB without the trouble coming from the traditional method which uses some chemicals.</span><br />
<span style="color: #3366ff;">I have access to a YAG LASER. I tried to engraved a sheet of epoxy with a layer of copper by using the LASER and a customized DXF file coming from Eagle-PCB.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsPCBLaser1.png"><img class="aligncenter size-full wp-image-189" title="WPBotsPCBLaser1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsPCBLaser1.png" alt="WPBotsPCBLaser1" width="640" height="408" /></a></p>
<p>L’opération consiste à dessiner son circuit dans Eagle-PCB puis exporter le tout en DXF à l&rsquo;aide d&rsquo;un script d&rsquo;export (1).<br />
En utilisant un logiciel de CAO, modifier le DXF en suivant les étapes 2 à 5 de façon à créer le circuit à graver au laser.</p>
<p><span style="color: #3366ff;">The idea is to design the circuit in Eagle-PCB and then to export it into DXF format with the help of an export script (1).</span><br />
<span style="color: #3366ff;">By using a CAD software, you need to transform the DXF file by following steps 2 to 5 in order to create the circuit to engrave with the LASER.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsPCBLaserStep.png"><img class="aligncenter size-full wp-image-190" title="WPBotsPCBLaserStep" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/09/WPBotsPCBLaserStep.png" alt="WPBotsPCBLaserStep" width="320" height="1100" /></a></p>
<p>Moyennant une 30ene de passes de gravure et des essais de réglages de paramétrage LASER, le résultat obtenu est très satisfaisant et parfaitement utilisable.<br />
<span style="color: #3366ff;">30 passes of LASER and some setup trials later, the result obtains is quite satisfying and completely usable.</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=187</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first Windows Phone robot &#8211; Part 2</title>
		<link>http://www.gupigame.com/wpbots/?p=154</link>
		<comments>http://www.gupigame.com/wpbots/?p=154#comments</comments>
		<pubDate>Sun, 28 Aug 2011 00:56:26 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=154</guid>
		<description><![CDATA[<p><a href="http://www.gupigame.com/wpbots/?p=113">Suite de la partie 1</a>, j&#8217;ai fini de fabriquer le robot mécaniquement parlant. Ca m&#8217;a pris 3 heures. Il me reste un peu d&#8217;électronique au niveau de l&#8217;étage d&#8217;alimentation, le câblage et puis tout le code.</p> <p>Voilà quelques photos de la bête :</p> <p><a href="http://www.gupigame.com/wpbots/?p=113">Following of part 1</a>,  I finish to build the mechanical [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.gupigame.com/wpbots/?p=113">Suite de la partie 1</a>, j&rsquo;ai fini de fabriquer le robot mécaniquement parlant. Ca m&rsquo;a pris 3 heures. Il me reste un peu d&rsquo;électronique au niveau de l&rsquo;étage d&rsquo;alimentation, le câblage et puis tout le code.</p>
<p>Voilà quelques photos de la bête :</p>
<p><span style="color: #3366ff;"><a href="http://www.gupigame.com/wpbots/?p=113">Following of part 1</a>,  I finish to build the mechanical part of the robot. It took me 3 hours. Now, I still have a little bit of electronic on the power supply, the wiring part and the code.</span></p>
<p><span style="color: #3366ff;">Here is some picture of the beast :</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca2.png"><img class="aligncenter size-full wp-image-155" title="WPBotsRobot1Meca1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca1.png" alt="WPBotsRobot1Meca1" width="640" height="427" /></a></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca2.png"><img class="aligncenter size-full wp-image-157" title="WPBotsRobot1Meca2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca2.png" alt="WPBotsRobot1Meca2" width="640" height="427" /></a></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca4.png"><img class="aligncenter size-full wp-image-159" title="WPBotsRobot1Meca4" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca4.png" alt="WPBotsRobot1Meca4" width="640" height="451" /></a></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca3.png"><img class="aligncenter" title="WPBotsRobot1Meca3" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1Meca3.png" alt="WPBotsRobot1Meca3" width="640" height="423" /></a></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1View2.png"><img class="aligncenter size-full wp-image-114" title="WPBotsRobot1View2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1View2.png" alt="" width="640" height="420" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=154</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A printer for Windows Phone</title>
		<link>http://www.gupigame.com/wpbots/?p=132</link>
		<comments>http://www.gupigame.com/wpbots/?p=132#comments</comments>
		<pubDate>Tue, 23 Aug 2011 21:52:22 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=132</guid>
		<description><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsPrinter1.png"></a></p> <p>Envie d&#8217;imprimer avec son Windows Phone ? Aucun problème. Il nous faut un Windows Phone accompagné de son fameux <a href="http://www.gupigame.com/wpbots/?p=50">câble port série</a>. On y ajoute un convertisseur de niveau TTL vers RS232 de façon à transformer le signal 0 5 Volt en 10 -10 Volt à l&#8217;aide d&#8217;un CI MAX232A et de [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsPrinter1.png"><img class="aligncenter size-full wp-image-133" title="WPBotsPrinter1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsPrinter1.png" alt="WPBotsPrinter1" width="640" height="558" /></a></p>
<p>Envie d&rsquo;imprimer avec son Windows Phone ? Aucun problème. Il nous faut un Windows Phone accompagné de son fameux <a href="http://www.gupigame.com/wpbots/?p=50">câble port série</a>. On y ajoute un convertisseur de niveau TTL vers RS232 de façon à transformer le signal 0 5 Volt en 10 -10 Volt à l&rsquo;aide d&rsquo;un CI MAX232A et de 5 condensateurs 0.1µF. On raccorde le tout sur une petite imprimante RS232 (Configuré en mode EPL1_LineMode) et c&rsquo;est parti !</p>
<p><span style="color: #3366ff;">Want to print with your Windows Phone ? No trouble. We need a Windows Phone with its wellknown <a href="http://www.gupigame.com/wpbots/?p=50">serial port cable</a>. We add a TTL-to-RS232 level converter to convert the 0 5 volt signal into a 10 -10volt one by using a MAX232A CI and 5 capacitors (0.1µF). We connect all that stuff with a little RS232 printer (setup in EPL1_LineMode mode) and Let&rsquo;s go!</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsPrinter2.png"><img class="aligncenter size-full wp-image-134" title="WPBotsPrinter2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsPrinter2.png" alt="WPBotsPrinter2" width="640" height="427" /></a></p>
<p><iframe src="http://www.youtube.com/embed/DZM1AyLiuGo" frameborder="0" width="420" height="345"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=132</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distance measurement with Windows Phone</title>
		<link>http://www.gupigame.com/wpbots/?p=109</link>
		<comments>http://www.gupigame.com/wpbots/?p=109#comments</comments>
		<pubDate>Sat, 20 Aug 2011 12:49:51 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=109</guid>
		<description><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsGP2D12.png"></a></p> <p>&#160;</p> <p>Une autre application du &#171;&#160;<a href="http://www.gupigame.com/wpbots/?p=50">port série Windows Phone</a>&#160;&#187; pour préparer le robot : la mesure de distance (avec capteur IR SHARP GP2D12, portée 10-80cm).</p> <p>Another application of the <a href="http://www.gupigame.com/wpbots/?p=50">&#171;&#160;Windows Phone serial port&#160;&#187;</a> to prepare the robot : distance measurement (with IR sensor SHARP GP2D12, range of measuring 10 to 80cm).</p> [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsGP2D12.png"><img class="aligncenter size-full wp-image-110" title="WPBotsGP2D12" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsGP2D12.png" alt="WPBotsGP2D12" width="640" height="538" /></a></p>
<p>&nbsp;</p>
<p>Une autre application du &laquo;&nbsp;<a href="http://www.gupigame.com/wpbots/?p=50">port série Windows Phone</a>&nbsp;&raquo; pour préparer le robot : la mesure de distance (avec capteur IR SHARP GP2D12, portée 10-80cm).</p>
<p><span style="color: #3366ff;">Another application of the <a href="http://www.gupigame.com/wpbots/?p=50">&laquo;&nbsp;Windows Phone serial port&nbsp;&raquo;</a> to prepare the robot : distance measurement (with IR sensor SHARP GP2D12, range of measuring 10 to 80cm).</span></p>
<p><iframe src="http://www.youtube.com/embed/hp_vOK5IsVo" frameborder="0" width="420" height="345"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=109</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first Windows Phone robot &#8211; Part 1</title>
		<link>http://www.gupigame.com/wpbots/?p=113</link>
		<comments>http://www.gupigame.com/wpbots/?p=113#comments</comments>
		<pubDate>Sat, 20 Aug 2011 11:00:54 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=113</guid>
		<description><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1View2.png"></a></p> <p>Voilà une vue CAO rapide du premier robot Windows Phone que je veux réaliser. C&#8217;est un robot très simple. L&#8217;idée était de faire un robot vraiment bon marché.</p> <p>Here is a quick CAD view of the fist Windows Phone robot that I want to make. It is a very simple robot. The idea [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1View2.png"><img class="aligncenter size-full wp-image-114" title="WPBotsRobot1View2" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1View2.png" alt="" width="640" height="420" /></a></p>
<p>Voilà une vue CAO rapide du premier robot Windows Phone que je veux réaliser. C&rsquo;est un robot très simple. L&rsquo;idée était de faire un robot vraiment bon marché.</p>
<p><span style="color: #3366ff;">Here is a quick CAD view of the fist Windows Phone robot that I want to make. It is a very simple robot. The idea was to make a robot really cheap.<br />
</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1View1.png"><img class="aligncenter size-full wp-image-115" title="WPBotsRobot1View1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsRobot1View1.png" alt="" width="800" height="400" /></a></p>
<p>Comme vous pouvez le voir sur le dessin, il est composé de :</p>
<ul>
<li>2 servos à rotation continue qui entraine 2 chenilles par l&rsquo;intermédiaire de 2 roues motrices et 2 roues libres</li>
<li>1 capteur IR de distance SHARP GP2D12</li>
<li>1 Windows Phone posé sur une mousse adhésive + son cable port série + 1 FEZ Panda</li>
<li>1 étage d&rsquo;alimentation composé d&rsquo;une pile 9v dans son holder. Cette tension est régulée en 5v par un régulateur linéaire (LM7805)</li>
<li>Le tout est fixé sur une plaque de Plexi par l&rsquo;intermédiaire de petites équerres en plastiques.</li>
</ul>
<p><span style="color: #3366ff;"> As you can see on the drawing, it is made with:</span></p>
<ul>
<li><span style="color: #3366ff;">2 continus rotation servos which drive 2 carterpillar tracks via 2 driving wheels and 2 free wheels.</span></li>
<li><span style="color: #3366ff;">1 IR distance measuring sensor SHARP GP2D12</span></li>
<li><span style="color: #3366ff;">1 Windows Phone on its adhesive foam + its serial port cable + 1 FEZ Panda</span></li>
<li><span style="color: #3366ff;">1 power supply stage made with a 9v battery and its holder. This voltage is reduced and regulated to 5v by a linear regulator (LM7805).</span></li>
<li><span style="color: #3366ff;">Each part is fixed on a Plexi plate by plastic brackets.</span></li>
</ul>
<p>&nbsp;</p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsBOM1.png"><img class="aligncenter size-full wp-image-116" title="WPBotsBOM1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsBOM1.png" alt="" width="640" height="628" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=113</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A keyboard for Windows Phone</title>
		<link>http://www.gupigame.com/wpbots/?p=71</link>
		<comments>http://www.gupigame.com/wpbots/?p=71#comments</comments>
		<pubDate>Fri, 19 Aug 2011 19:37:53 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=71</guid>
		<description><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsKeyBoard1.png"></a></p> <p>A l&#8217;aide du <a href="http://www.gupigame.com/wpbots/?p=50">câble port série</a>, il est maintenant possible de relier un clavier USB à Windows Phone. La carte NetMF  GHI FEZ Domino dispose d&#8217;un port USB hôte. Moyennant un petit code d&#8217;une dizaine de lignes en C#, il est facile de lire l&#8217;état du clavier et d&#8217;envoyer chaque frappe sur [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsKeyBoard1.png"><img class="aligncenter size-full wp-image-76" title="WPBotsKeyBoard1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsKeyBoard1.png" alt="" width="640" height="409" /></a></p>
<p>A l&rsquo;aide du <a href="http://www.gupigame.com/wpbots/?p=50">câble port série</a>, il est maintenant possible de relier un clavier USB à Windows Phone. La carte NetMF  GHI FEZ Domino dispose d&rsquo;un port USB hôte. Moyennant un petit code d&rsquo;une dizaine de lignes en C#, il est facile de lire l&rsquo;état du clavier et d&rsquo;envoyer chaque frappe sur le port série. Le WP récupère alors les données et les affiche à l&rsquo;écran dans un buffer circulaire.</p>
<p><span style="color: #3366ff;">With the help of the <a href="http://www.gupigame.com/wpbots/?p=50">serial port cable</a>, it is now possible to link a USB keyboard to a Windows Phone. The NetMF GHI FEZ Domino board has a USB Host port. With 10 lines of C#, it is easy to read the status of the keyboard and to send each key to the serial port. The WP receives the data and shows them on the screen in a ring buffer.</span></p>
<p><iframe src="http://www.youtube.com/embed/h8llGmapv8k" frameborder="0" width="420" height="345"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=71</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone serial port &#8211; V1</title>
		<link>http://www.gupigame.com/wpbots/?p=50</link>
		<comments>http://www.gupigame.com/wpbots/?p=50#comments</comments>
		<pubDate>Fri, 19 Aug 2011 19:37:41 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=50</guid>
		<description><![CDATA[<p>Une semaine de vacances en mai, parfait ! Reprenons le cahier des charges du câble de communication série pour Windows phone :</p> <p>One week of vacation in may, perfect ! Functional specification of the serial communication cable for Windows phone:</p> Développer un port de communication bidirectionnel série pour le Windows phone avec une carte NetMF. [...]]]></description>
				<content:encoded><![CDATA[<p>Une semaine de vacances en mai, parfait ! Reprenons le cahier des charges du câble de communication série pour Windows phone :</p>
<p><span style="color: #3366ff;">One week of vacation in may, perfect !</span> <span style="color: #3366ff;">Functional specification of the serial communication cable for Windows phone:</span></p>
<ul>
<li>Développer un port de communication bidirectionnel série pour le Windows phone avec une carte NetMF. <span style="color: #3366ff;">To develop a serial bidirectional communication port between Windows phone and a NetMF board.</span></li>
<li>Ce port série devra être un vrai UART RS232 et donc pouvoir communiquer avec un terminal RS232 sur PC (avec 1 bit de Start, 8 bits de data, 1 bit de Stop, pas de parité). <span style="color: #3366ff;">This port should be a real RS232 and so, it must communicate with an PC RS232 terminal (1 Start bit, 8 bits of data, 1 Stop bit, no parity) .</span></li>
<li>Le PCB devra être le moins cher possible, constitué uniquement de composants très répandus et ne pas utiliser de composants programmables). <span style="color: #3366ff;">The PCB should be cheapest as possible, only constituted with common components and no programmable components.</span></li>
<li>La librairie du port série devra être compatible XNA et Silverlight.<span style="color: #3366ff;"> The serial port library sould be XNA and Silverlight compatible.</span></li>
<li>Le port série ne doit pas faire échouer une certification d&rsquo;application au Marketplace WP (pas de bidouille dans le tel).<span style="color: #3366ff;"> A WP app made with this serial port library should be certified for the marketplace (no low level modification of the WP OS).</span></li>
<li>Pas de modification physique du smartphone. <span style="color: #3366ff;">No physical modification of the smartphone.</span></li>
</ul>
<p>&nbsp;</p>
<p>Après examen des possibilités, il ne m&rsquo;en reste qu&rsquo;une :</p>
<p>Utiliser la sortie casque du smartphone pour le transformer en port RS232 bidirectionnel. Le port jack du Windows phone dispose d&rsquo;une entrée microphone et de deux sorties audio (Stéréo droite et gauche), donc il y a largement tout ce qu&rsquo;il faut. Reste à maitriser tout ça et à en faire un port série qui marche mais avant, regardons ce qu’on trouve sur le net.</p>
<p><span style="color: #3366ff;">After study of the different possibilities, it remains only one:</span></p>
<p><span style="color: #3366ff;">Use the audio jack of the smartphone to convert it into a bidirectionnal RS232 port. The Windows phone jack has 1 microphone input and 2 audio outputs (stereo Left + Right), so, there is everything we need.</span> <span style="color: #3366ff;">Now it stays to build a serial port that works but for now, let&rsquo;s take a look on what we can find on the Internet about this.</span></p>
<p>&nbsp;</p>
<p>Après quelques recherches, je suis tombé sur quelques sites intéressants développant eux aussi des interfaces RS232 pour smartphone par la prise casque. On en trouve pour Iphone et Android, ils sont tous basés sur l’utilisation d’un microcontrôleur. Certains utilisent de la <a href="http://en.wikipedia.org/wiki/Amplitude-shift_keying">modulation d’amplitude (AFK)</a>, la <a href="http://fr.wikipedia.org/wiki/Modulation_par_d%C3%A9placement_de_fr%C3%A9quence">modulation de fréquence (FSK)</a>, certains utilisent un<a href="http://fr.wikipedia.org/wiki/Code_DTMF"> codage DTMF</a> pour communiquer entre le microcontrôleur et le smartphone. Le microcontrôleur convertit alors le signal en signal RS232. J’ai également trouvé un projet japonais qui permet de relier un Iphone ou un Android par l’intermédiaire du port jack à un Arduino.</p>
<p><span style="color: #3366ff;">After some research, I found some interesting websites that developed their own RS232 interface for smartphones. We found some for Iphone or Android but they are all based on a microcontroller.</span><span style="color: #3366ff;"> They use<a href="http://en.wikipedia.org/wiki/Amplitude-shift_keying"> amplitude modulation (AFK)</a>  or <a href="http://en.wikipedia.org/wiki/Frequency-shift_keying">frequency modulation (FSK)</a> or <a href="http://en.wikipedia.org/wiki/Dual-tone_multi-frequency">DTMF code</a></span> <span style="color: #3366ff;">to communicate between the microcontroller and the smartphone. The microcontroller convert the signal into a real RS232 signal. I also found a japanese project which allows to link an Iphone or an Android through an audio jack to an Arduino.</span></p>
<p><a href="http://translate.google.com/translate?hl=en&amp;sl=ja&amp;u=http://www.switch-science.com/products/detail.php%3Fproduct_id%3D364&amp;ei=4HvtTJC4B4TGlQeO3sGlAQ&amp;sa=X&amp;oi=translate&amp;ct=result&amp;resnum=1&amp;ved=0CCAQ7gEwAA&amp;prev=/search%3Fq%3Dhttp://www.switch-science.com/products/detail.php%253Fproduct_id%253D364%26hl%3Den%26client%3Dfirefox-a%26hs%3DL9M%26rlz%3D1R1GGLL_en___US367%26prmd%3Div">Link 1</a> &#8211; <a href="http://translate.googleusercontent.com/translate_c?hl=en&amp;prev=/search%3Fq%3Dhttp://www.switch-science.com/products/detail.php%253Fproduct_id%253D364%26hl%3Den%26client%3Dfirefox-a%26hs%3DL9M%26rlz%3D1R1GGLL_en___US367%26prmd%3Div&amp;rurl=translate.google.com&amp;sl=ja&amp;u=http://code.google.com/p/arms22/wiki/SoftModemBreakoutBoard&amp;usg=ALkJrhhJUwN9-PSH8GI5mgOn5h0xYHoCyQ">Link 2</a> &#8211; <a href="http://translate.googleusercontent.com/translate_c?hl=en&amp;prev=/search%3Fq%3Dhttp://www.switch-science.com/products/detail.php%253Fproduct_id%253D364%26hl%3Den%26client%3Dfirefox-a%26hs%3DL9M%26rlz%3D1R1GGLL_en___US367%26prmd%3Div&amp;rurl=translate.google.com&amp;sl=ja&amp;u=http://side2.jp/2010/08/android-softmodem/&amp;usg=ALkJrhiuYQ-_loJrC7H9VGQI0OQxZqdlNQ">Link 3</a></p>
<p>&nbsp;</p>
<p>J&rsquo;ai choisi de développer la librairie en XNA pour commencer parce que <a href="http://www.gupigame.com/MagBeads/index.php">je développe des jeux sur WP</a> principalement et donc je suis plus à l&rsquo;aise avec XNA. En plus toutes les librairies de gestion des buffers de sons et du micro sont faites pour XNA et adaptées pour Silverlight ensuite, c&rsquo;est donc plus simple de commencer comme ça.</p>
<p><span style="color: #3366ff;"> I chosen to develop the library in XNA first because <a href="http://www.gupigame.com/MagBeads/index.php">I mainly develop games for WP</a> so it was more comfortable for me. Second point, every libraries that manage sound buffer or microphone class are made for XNA and then adapted for Silverlight so it is easiest to start in XNA.</span></p>
<p>&nbsp;</p>
<p>Au final voilà le résultat : <span style="color: #3366ff;">Final result :</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsSerialCable1.png"><img class="aligncenter size-full wp-image-56" title="WPBotsSerialCable1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsSerialCable1.png" alt="WPBotsSerialCable1" width="640" height="412" /></a></p>
<p>Ceci est mon premier prototype de câble série composé d&rsquo;un PCB sur lequel on retrouve quelques composants standards (résistances, condensateurs et quelques CI) sans composants programmables ainsi qu&rsquo;un connecteur jack 4 points TRRS du coté Windows phone et un connecteur 4 points de l&rsquo;autre. Le code est compatible XNA et Silverlight et permet les performances suivantes (testé avec <a href="http://en.sourceforge.jp/projects/ttssh2/">TeraTerm</a> en USB sur PC et également avec une carte GHI NetMF FEZ Panda) :</p>
<ul>
<li>Protocole RS232 : 1 bit de Start, 8 bits de Data, 1 bit de Stop, pas de parité.</li>
<li>Transmission : 9600 bps sans erreur.</li>
<li>Réception : 600 bps sans erreur (au-delà, apparition de quelques erreurs de transmission).</li>
</ul>
<p><span style="color: #3366ff;">This is my first serial port cable prototype composed by a PCB on which we can find some common components (resistors, capacitors, and some IC) with no programmable components. In addition to that, a 4 points TRRS 3.5mm jack on the Windows phone side and a 4 points connector on the other. The library is compatible with XNA and Silverlight and allows the following performances (tested with <a href="http://en.sourceforge.jp/projects/ttssh2/">TeraTerm </a>in USB with a PC and with an GHI NetMF FEZ Panda board) :</span></p>
<ul>
<li><span style="color: #3366ff;"> RS232 protocol : 1 Start bit , 8 bits Data, 1 Stop bit , No parity.</span></li>
<li><span style="color: #3366ff;">TX : 9600 bps with no mistake.</span></li>
<li><span style="color: #3366ff;">RX : 600 bps with no mistake (At higher bandwidth, we can see some transmission error).</span></li>
</ul>
<p>Le port de communication est en place, il permet un échange duplex à 600bps ou 9600/600 en utilisant 2 ports série sur les 4 dispos sur une GHI FEZ Panda. Je pense pouvoir monter la vitesse de réception en améliorant mon algo de décodage et en jouant sur les fréquences de modulations utilisées.</p>
<p><span style="color: #3366ff;">The communication port is done, it allows a duplex communication at 600bps or 9600/600 by using 2 serial ports on the 4 available on a GHI FEZ Panda. I think that I can rise the communication speed by improving my decoding algorithm and by playing on the frequencies used.</span></p>
<p>&nbsp;</p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsSerialport1.png"><img class="aligncenter size-full wp-image-68" title="WPBotsSerialport1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsSerialport1.png" alt="" width="640" height="316" /></a></p>
<p><iframe src="http://www.youtube.com/embed/h-wAS_YK2IE" frameborder="0" width="420" height="345"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=50</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Windows Phone robots</title>
		<link>http://www.gupigame.com/wpbots/?p=41</link>
		<comments>http://www.gupigame.com/wpbots/?p=41#comments</comments>
		<pubDate>Fri, 19 Aug 2011 19:37:28 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=41</guid>
		<description><![CDATA[<p>Voilà quelques réalisations qui utilisent Windows phone :</p> <p>Here are some work that use Windows Phone :</p> <p>La chaine Youtube de alanbeech1. Il a fait quelques réalisations sur base de WP + Netduino, le tout relié par un service WCF.</p> <p>alanbeech1 Youtube channel. He made some stuff with WP + Netduino + WCF service.</p> <p><a [...]]]></description>
				<content:encoded><![CDATA[<p>Voilà quelques réalisations qui utilisent Windows phone :</p>
<p><span style="color: #3366ff;">Here are some work that use Windows Phone :</span></p>
<p>La chaine Youtube de alanbeech1. Il a fait quelques réalisations sur base de WP + Netduino, le tout relié par un service WCF.</p>
<p><span style="color: #3366ff;">alanbeech1 Youtube channel. He made some stuff with WP + Netduino + WCF service</span>.</p>
<p><a href="http://www.youtube.com/user/alanbeech1#p/">http://www.youtube.com/user/alanbeech1#p/</a></p>
<p><iframe src="http://www.youtube.com/embed/pISjPoLEKw4" frameborder="0" width="560" height="345"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/SFxXA_iuBR0" frameborder="0" width="560" height="345"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/3TZ7CupY95g" frameborder="0" width="560" height="345"></iframe></p>
<p>Voilà un autre robot utilisant Windows Phone :</p>
<p><span style="color: #3366ff;">Here is another robot using Windows phone:</span></p>
<p><iframe src="http://www.youtube.com/embed/wLfmc6__7ck" frameborder="0" width="560" height="345"></iframe></p>
<p>R2D2 contrôlé par Windows phone (ici aussi, à l&rsquo;aide d&rsquo;un service WCF) :</p>
<p><span style="color: #3366ff;">R2D2 controlled by Windows phone (here too, with the help of a WCF service):</span></p>
<p><iframe src="http://www.youtube.com/embed/l_vjQJW3pkA" frameborder="0" width="560" height="345"></iframe></p>
<p>Et le <a href="http://www.studentguru.gr/blogs/dt008/archive/2010/11/30/controlling-a-r2d2-lego-mindstorms-nxt-robot-with-windows-phone-7.aspx">blog associé</a>. And the <a href="http://www.studentguru.gr/blogs/dt008/archive/2010/11/30/controlling-a-r2d2-lego-mindstorms-nxt-robot-with-windows-phone-7.aspx">associated blog</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=41</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Once upon a time&#8230;</title>
		<link>http://www.gupigame.com/wpbots/?p=28</link>
		<comments>http://www.gupigame.com/wpbots/?p=28#comments</comments>
		<pubDate>Fri, 19 Aug 2011 19:37:14 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wpbots.com/?p=28</guid>
		<description><![CDATA[<p>J&#8217;aime le C#, Visual Studio, Windows phone (WP), .Net Micro Framework (NetMF) et plus que ça, j&#8217;aime les robots. C’est pour ça que ce blog est ici. Pour parler d’un sujet réunissant tous ces thèmes, à savoir, les robots utilisant Windows Phone.</p> <p>I like C#, Visual Studio, Windows Phone (WP), .Net Micro Framework (NetMF) and [...]]]></description>
				<content:encoded><![CDATA[<p>J&rsquo;aime le C#, Visual Studio, Windows phone (WP), .Net Micro Framework (NetMF) et plus que ça, j&rsquo;aime les robots. C’est pour ça que ce blog est ici. Pour parler d’un sujet réunissant tous ces thèmes, à savoir, les robots utilisant Windows Phone.</p>
<p><span style="color: #3366ff;">I like C#, Visual Studio, Windows Phone (WP), .Net Micro Framework (NetMF) and more than this, I like robots. This is why this blog is here.  To talk about a subject which merges all those themes : Robots using Windows Phone.</span> <a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsWPs1.png"><img class="aligncenter size-full wp-image-73" title="WPBotsWPs1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/WPBotsWPs1.png" alt="" width="480" height="422" /></a>Au commencement:<span style="color: #3366ff;"> In the beginning :</span></p>
<p>Je suis utilisateur de carte à base de .Net Micro Framework depuis quelques temps maintenant. Pour ceux qui ne savent pas ce que c’est, ce sont des cartes de développement (Dans le style des cartes Arduino) mais dont le microcontrôleur (Architecture ARM 32Bits : ARM7, ARM9, Cortex-M par exemple)  fait tourner un CLR (Common Language Runtime) .Net qui est une ré-implémentation de la version Desktop à destination des systèmes embarqués : le .Net MicroFramework (NetMF).</p>
<p><span style="color: #3366ff;">I am a NetMF development board user since a while now. For those who don’t know what it is, This is dev boards (like Arduino) but where the microcontroller (32bits ARM architecture : ARM7, ARM9, Cortex-M for example) runs a CLR (Common Language Runtime) .Net which is a re-implementation of the desktop version for embedded devices :  .Net MicroFramework (NetMF).</span></p>
<p><em><img class="aligncenter" title="NetMF Logo" src="http://www.ghielectronics.com/images/profile/netmf.jpg" alt="NetMF Logo" width="300" height="88" /></em></p>
<p>Ces cartes sont vraiment bien pour tous les codeurs qui veulent se mettre à faire des robots ou tout autres développements électroniques avec microcontrôleur embarqué et le tout avec la puissance du C# et de Visual studio :</p>
<p><span style="color: #3366ff;">Those boards are great for every coders who want to build robots or every others electronics with microcontroller development and all that with the strength of the C# and Visual Studio :</span></p>
<ul>
<li>On garde son IDE favori. <span style="color: #3366ff;">We keep our favorite IDE.</span></li>
<li>Codage en C# avec tous les avantages de l’orienté objet et du code managé (plus besoin de gérer la mémoire, le garbade collector est là pour nous). <span style="color: #3366ff;">C# programming with all the advantages brought by object-oriented programming and managed code (no more need to deal with memory management, the garbage collector is here for us).</span></li>
<li>Développement multi-thread. <span style="color: #3366ff;">Multithread development.</span></li>
<li>Débuggage temps réel  par USB  sur émulateur ou bien directement dans la carte finale. <span style="color: #3366ff;">Real-time debugging through USB on the emulator or directly in the real device.</span></li>
<li>Toutes les librairies nécessaires pour faire un système déjà en place (IO digitales, analogiques, PWM, Communication UART, I2C, SPI, CAN, Ecriture sur SD Card, port USB Hote, Real time clock, …). <span style="color: #3366ff;">All the libraries needed to make a complete system are already in place (digital IO, analog IO, PWM, UART communication, I2C, SPI, CAN, SD Card recording, USB host port, Real time clock, …).</span></li>
</ul>
<p>Et le tout pour quelques euros (à partir de 30€).<span style="color: #3366ff;"> And all that for some Euros. (Starting at 30€).</span></p>
<p>&nbsp;</p>
<p><a href="http://www.ghielectronics.com/">GHI Electronics</a> est un des fabricants de carte de développement tournant sous NetMF.<span style="color: #3366ff;"> <a href="http://www.ghielectronics.com/">GHI Electronics</a> is a manufacturer of NetMF dev boards.</span></p>
<p><a href="http://www.ghielectronics.com/"><img class="aligncenter" title="FEZ Domino" src="http://www.ghielectronics.com/images/catalog/133-0_large.jpg" alt="FEZ Domino" width="560" height="460" /></a>Comparaison des cartes de la gamme FEZ.<span style="color: #3366ff;"> Comparison between the different FEZ products.</span></p>
<p style="text-align: center;"><a href="http://www.ghielectronics.com/catalog/compare/"><img class="aligncenter" title="FEZ boards comparison" src="http://www.ghielectronics.com/images/comparison.jpg" alt="FEZ boards comparison" width="900" height="130" /></a></p>
<p>Le site de la communauté des cartes FEZ de chez GHI ELectronics : <a href="http://www.tinyclr.com/">TinyCLR</a><em></em><span style="color: #3366ff;">.  .Net Micro Framework from GHI Electronics community website: <a href="http://www.tinyclr.com/">TinyCLR</a><em></em></span><a href="http://www.tinyclr.com/">.<br />
</a></p>
<p>Un autre fabricant de carte NetMF connu : <a href="http://netduino.com/">Netduino.</a><span style="color: #3366ff;"> Another well-known NetMF board manufacturer:</span> <a href="http://netduino.com/">Netduino</a>.</p>
<p style="text-align: center;"><a href="http://netduino.com/"><img class="aligncenter" title="Netduino" src="http://netduino.com/images/hardware/netduino/photo_overhead.gif" alt="Netduino" width="359" height="270" /><br />
</a></p>
<p>Quelques cartes NetMF que j’utilise.<span style="color: #3366ff;"> Here are some NetMF boards that I use.</span></p>
<p><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/FEZ11.png"><img class="aligncenter size-full wp-image-32" title="FEZ1" src="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/FEZ11.png" alt="My FEZ" width="800" height="289" /></a><a href="http://www.gupigame.com/wpbots/wp-content/uploads/2011/08/FEZ1.png"><br />
</a></p>
<p>Il y a quelques mois, Google a sorti pour son OS Android un kit de développement appelé « Android Open Accessory Dev Kit » qui permet de piloter une carte de dev spéciale basée sur Arduino  avec un telephone  Android.</p>
<p><span style="color: #3366ff;">Few months ago, Google has launched, for its OS Android, a sdk called « <a href="http://developer.android.com/guide/topics/usb/adk.html">Android Open Accessory Dev Kit</a> » which allows to control a specific dev board based on Arduino with an Android cellphone.</span></p>
<p style="text-align: left;"><em><img class="aligncenter" src="http://www.rt-net.jp/shop/images/20110511ads_s.jpg" alt="" width="720" height="515" /><br />
</em><a href="http://developer.android.com/guide/topics/usb/adk.html">Link 1</a> &#8211; <a href="http://store.arduino.cc/eu/index.php?main_page=product_info&amp;cPath=11_12&amp;products_id=144">Link 2</a></p>
<p>D&rsquo;autres tentatives non officielles existaient déjà sous Android comme la carte IOIO qui permet de disposer une carte de dev connectée à Android par USB également.</p>
<p><span style="color: #3366ff;">There was already non official ways to do it under Android like the IOIO board which is a dev board connected to an Android phone through USB.</span></p>
<p style="text-align: left;"><a href="http://www.semageek.com/android-open-accessory-development-kit-de-google/"><img class="aligncenter" title="IOIO" src="http://www.sparkfun.com/tutorial/news/IOIO/IOIO1.jpg" alt="IOIO" width="400" height="400" />Link 1</a> &#8211; <a href="http://www.semageek.com/ioio-une-carte-pour-connecter-un-peripherique-android-avec-un-nouveau-monde-electronique/">Link 2</a></p>
<p>Certains utilisent d’autres moyens pour relier leur téléphone avec une carte de dev comme par exemple en utilisant le capteur boussole des téléphones Android pour créer une liaison unidirectionnelle bas débit (300bps).</p>
<p><span style="color: #3366ff;">Some people used other ways to connect their phone to a dev board like for example by using the compass sensor from their Android phone to create a unidirectional low bandwidth (300bps) channel between a dev board and a cellphone.</span></p>
<p style="text-align: center;"><a href="http://jdesbonnet.blogspot.com/2011/05/arduino-to-android-io-on-cheap-aka-poor.html"><img class="aligncenter" src="http://1.bp.blogspot.com/-jJ4D1m50-Uk/TdsPd6eC2FI/AAAAAAAApZQ/jSXkmK9cMog/s400/IMG_20110524_015206.jpg" alt="" width="400" height="300" /></a></p>
<p style="text-align: left;"><a href="http://jdesbonnet.blogspot.com/2011/05/arduino-to-android-io-on-cheap-aka-poor.html">[Link 1 : US official]</a>     <a href="http://www.semageek.com/diy-relier-votre-arduino-a-votre-mobile-android-pour-moins-de-1-euros/">[Link 2 : FR]</a></p>
<p>Au niveau de l&rsquo;Iphone, certains hackers ont eux aussi connecté des cartes de type Arduino à leur smartphone mais pour avoir accès au port série du mobile, il faut disposer d&rsquo;un tel jailbreaké. Adieu donc, les applis certifiés pour le Marketplace.</p>
<p><span style="color: #3366ff;">On Iphone side, some people have connected dev board to their smartphone but they need to have a jailbreaked phone to use the USB port of the dock connector.</span></p>
<p><a href="http://www.kineteka.com/PodBreakout-v1.aspx"><img class="aligncenter" src="http://www.kineteka.com/Data/Sites/1/podgizmo/podbreakout.jpg" alt="" width="390" height="335" /></a></p>
<p>Il existe même un site regroupant les développements de robot sur base de cellphone. Site assez orienté Android évidemment, pas de trace de Windows phone, il faut remédier à ça !</p>
<p><span style="color: #3366ff;">There is a website dedicated to robot made with cellphone. This website is Android oriented of course, no trace of Windows phone, we have to fix this!<br />
</span></p>
<p><a href="http://www.cellbots.com/"><img class="aligncenter" title="Cellbots" src="http://www.cellbots.com/wp-content/header-images/cellbots_logo_optimized.png" alt="Cellbots" width="295" height="62" /></a></p>
<p>&nbsp;</p>
<p>Microsoft a tout pour faire quelque chose d&rsquo;équivalent et même mieux :</p>
<p><span style="color: #3366ff;">Microsoft has everything to do something equivalent or even better:</span></p>
<ul>
<li>un super os mobile : WP. <span style="color: #3366ff;">A great OS for smartphone: WP.</span></li>
<li>différentes cartes de dev hyper bien faites qui tournent avec  NetMF. <span style="color: #3366ff;">Several dev boards really well  made running under NetMF.</span></li>
</ul>
<p>Le problème, il n’y a pas de port de COM sur les WP :</p>
<ul>
<li>Pas de communication série via USB</li>
<li>Pas de SPP en Bluetooth (Serial port profile)</li>
<li>Pas d&rsquo;IRDA</li>
</ul>
<p>Les sockets TCP/IP par le WIFI vont être accessibles avec la mise à jour Mango, il faudra tester ça à ce moment. Reste les services WCF que certains utilisent mais qui nécessitent un serveur.</p>
<p><span style="color: #3366ff;">The trouble is that there is no COM port on WP:</span></p>
<ul>
<li><span style="color: #3366ff;">No serial communication through USB</span></li>
<li><span style="color: #3366ff;">No Bluetooth SPP(Serial port profile)</span></li>
<li><span style="color: #3366ff;">NO IRDA</span></li>
</ul>
<p><span style="color: #3366ff;">TCP/IP Sockets via WIFI will be available with the Mango update.  We will have to test it. Last solution, WCF services used by some people but which require a server.</span></p>
<p>&nbsp;</p>
<p>Comme rien n&rsquo;est prévu pour l&rsquo;instant, j&rsquo;ai décidé de le faire moi-même avec les contraintes suivantes :</p>
<p><span style="color: #3366ff;">As nothing is planned to be done for now, I decided to do it myself with the following constraints:</span></p>
<ul>
<li>Développer un port de communication bidirectionnel série pour le Windows phone avec une carte NetMF. <span style="color: #3366ff;">To develop a serial bidirectional communication port between Windows phone and a NetMF board.</span></li>
<li>Ce port série devra être un vrai RS232 (avec 1 bit de Start, 8 bits de data, 1 bit de Stop, pas de parité). <span style="color: #3366ff;">This port should be a real RS232 (1 Start bit, 8 bits of data, 1 Stop bit, no parity) .</span></li>
<li>Le PCB devra être le moins cher possible, constitué uniquement de composants très répandus et ne pas utiliser de composants programmables. <span style="color: #3366ff;">The PCB should be cheapest as possible, only constituted with common components and no programmable components.</span></li>
<li>la librairie du port série devra être compatible XNA et Silverlight. <span style="color: #3366ff;">The serial port library sould be XNA and Silverlight compatible.</span></li>
<li>Le port série ne doit pas faire échouer une certification d&rsquo;application au Marketplace WP (pas de bidouille dans le tel). <span style="color: #3366ff;">A WP app made with this serial port library should be certified for the marketplace (no low level modification of the WP OS).</span></li>
<li>Pas de modification physique du mobile. <span style="color: #3366ff;">No physical modification of the cellphone.</span></li>
</ul>
<p>Ceci étant fait, il sera possible de relier un Windows phone à une carte NetMF et de disposer d’une plateforme de contrôle robotique complète pilotée par un WP et totalement développée en C#. Le WP s&rsquo;occupe de l&rsquo;intelligence et aussi d&rsquo;une partie de la couche sensorielle avec ses capteurs (accelero, boussole, gyro, camera, interface tactile, WIFI). Le gyro et la camera seront disponibles avec la mise à jour Mango. La carte NetMF  s&rsquo;occupe de la partie pilotage des actionneurs et de la seconde partie sensorielle (gestion des moteurs, capteurs divers, &#8230;). Le tout est relié par une interface série RS232 permettant à la carte NetMF  d&rsquo;envoyer les informations récupérées au WP qui de son côté doit traiter toutes les infos récupérées et envoyer les ordres de commande en retour ainsi qu&rsquo;afficher des informations à l&rsquo;écran.</p>
<p><span style="color: #3366ff;">With this, it will be possible to link a Windows phone to a NetMF board to have a robotic control platform driven by a WP and totally programmed in C#. The WP manages the intelligence and also a part of the sensorial layer with its own sensors (accelero, compass, gyro, camera, tactil interface, WIFI).</span> <span style="color: #3366ff;">Gyro and camera will be available with the Mango update. The NetMF board manages the control of the actuators and the second part of the sensorial layer (actuator management, miscellaneous sensors , …).</span></p>
<p>Ce câble série (avec sa librairie) transforme également un WP en un terminal de communication série, lui permettant de prendre le contrôle d&rsquo;une multitude d&rsquo;appareils comme des imprimantes, des écrans alphanumériques et LCD, des PC, des appareils industriels et tout ce qui possède un port RS232.</p>
<p><span style="color: #3366ff;">The serial cable (with its library) turns also the WP into a serial communication terminal which allows the phone to take the control of a bunch of devices like some printers, some alphanumeric and LCD screens, PC, some industrial devices and all devices with a RS232 port.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gupigame.com/wpbots/?feed=rss2&#038;p=28</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
