<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=22&amp;t=7397" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2011-08-25T12:07:24+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=22&amp;t=7397</id>
<entry>
<author><name><![CDATA[nunogato]]></name></author>
<updated>2011-08-25T12:07:24+01:00</updated>
<published>2011-08-25T12:07:24+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7397&amp;p=32121#p32121</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7397&amp;p=32121#p32121"/>
<title type="html"><![CDATA[VEX + Arduino + Linux + wifi + webcam = ?]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7397&amp;p=32121#p32121"><![CDATA[
Already made some changes on the kit. <br /><br />I't now fully assembled so it is built from:<br /><br />1 x <a href="http://robosavvy.com/store/product_info.php/products_id/1770" class="postlink">VEX Protobot Robot Kit</a><br />1 x <a href="http://robosavvy.com/store/product_info.php/products_id/1174" class="postlink">Arduino Uno</a><br />1 x <a href="http://robosavvy.com/store/product_info.php/products_id/1757" class="postlink">Omnima - MiniEMBWiFi 320MHz Embedded Linux Board</a><br />1 x <a href="http://robosavvy.com/store/product_info.php/products_id/1232" class="postlink">ZIPPY Flightmax LiPo 2S 7.2V 5000mAh 20C</a> (maybe this is too big but it the one we had in the office)<br />1 x <a href="http://robosavvy.com/store/product_info.php/products_id/1805" class="postlink">USB Cable A to B - 6 Foot</a> To connect the Arduino to the Linux (didn't had a smaller one)<br />1 x UBEC Voltage Regulator 5V 3A (to power the Linux board and the USB hub)<br />1 x UVC USB Camera<br />1 x 4 Port USB Hub<br /><br />Then we made on the MakerBot the supports for the Arduino and the Linux Board and with some pin headers a small board where the motors are connected, so they are powered directly from the LiPo but the signal comes from the PWM ports of the Arduino.<br /><br />Next task: Make it work <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />Check some pictures<br />&lt;object width="600" height="450"&gt; &lt;param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Frobosavvy%2Fsets%2F72157627514749800%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Frobosavvy%2Fsets%2F72157627514749800%2F&amp;set_id=72157627514749800&amp;jump_to="&gt;&lt;/param&gt; &lt;param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=104087"&gt;&lt;/param&gt; &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=104087" allowFullScreen="true" flashvars="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Frobosavvy%2Fsets%2F72157627514749800%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Frobosavvy%2Fsets%2F72157627514749800%2F&amp;set_id=72157627514749800&amp;jump_to=" width="600" height="450"&gt;&lt;/embed&gt;&lt;/object&gt;<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2018">nunogato</a> — Thu Aug 25, 2011 12:07 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2011-08-13T03:01:02+01:00</updated>
<published>2011-08-13T03:01:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7397&amp;p=32042#p32042</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7397&amp;p=32042#p32042"/>
<title type="html"><![CDATA[VEX + Arduino + Linux + wifi + webcam = ?]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7397&amp;p=32042#p32042"><![CDATA[
<a href="http://robosavvy.com/store/product_info.php/products_id/1770" class="postlink"><img src="http://robosavvy.com/store/product_thumb.php?img=images/276-2231-protobot-kit.jpg&amp;w=150&amp;h=150" alt="Image" /></a><br />We have started selling the basic VEX kit. VEX is the most popular kit for <a href="http://en.wikipedia.org/wiki/FIRST_Tech_Challenge" class="postlink">school robot competitions</a> in USA. It has been around for years but only recently have they completed adapting the kit to comply with EU safety regulations and InovationFirst formally launched European VEX.<br /><br />Typically VEX components are used to create wheeled robots that can move and pick up objects and put them or throw them them. An example of a VEX competition will involve 2 remote controlled robots from each group that have to throw the blue balls from one side of the arena to the other while preventing the competition to throw over the red balls.<br /><br />We want to provide an add-on kit that will make the VEX platform autonomous. Maybe even let these games be performed without users remote control.<br /><br /><a href="http://robosavvy.com/store/product_info.php/products_id/1757" class="postlink"><img src="http://robosavvy.com/store/product_thumb.php?img=images/PCBA.jpg&amp;w=96&amp;h=150" alt="Image" /></a>And what would be a great way to give VEX autonomy if not with the help of our new entry-level embedded linux platform - the MiniEMBWiFi ?<br />Answer: the MiniEMBWiFi + Webcam + Arduino<br /><br />In order to give the VEX robot some autonomy we have been playing around with the following configuration:<br /><br /><ul><li> VEX Protobot (comes with 4 motors and speed controllers)</li><li> Arduino (sends PWM signal to the speed controllers and digests sensors)</li><li> MiniEMBWiFi (comes with on-board wifi)</li><li>Webcam (nothing fancy, will work at 320p)</li><li>LiPo Battery (7.4V, 5000Mah, couple of hours worth of continuous play)</li><li>Voltage regulator (MiniEMBWiFi likes 5V)</li></ul><br /><br /><a href="http://robosavvy.com/Builders/limor/VEX/IMG_20110812_180315.jpg" class="postlink"><img src="http://robosavvy.com/Builders/limor/VEX/vex-arduino-linuxB-600.jpg" alt="Image" /></a><br /><br /><a href="http://robosavvy.com/Builders/limor/VEX/vex-arduino-w-text.jpg" class="postlink"><img src="http://robosavvy.com/Builders/limor/VEX/vex-arduino-w-text-600.jpg" alt="Image" /></a><br /><br /><a href="http://robosavvy.com/Builders/limor/VEX/vex-arduino-w-textB-600.jpg" class="postlink"><img src="http://robosavvy.com/Builders/limor/VEX/vex-arduino-w-textB-600.jpg" alt="Image" /></a><br /><br />To process the video signal from the webcam and then do some autonomous work, we installed RoboRealm.com on a remote (powerful) laptop. RoboRealm has a very comprehensive set of video processing functions. The idea is to stream the video signal to the RoboRealm running on a powerful PC and it will then send commands back to the Linux over wifi, which will stream these commands to the Arduino, which will command the motors to do intelligent stuff.<br /><br />RoboRealm@PC &lt;--&gt; MiniEMBWiFi + wifi + webcam &lt;--&gt; Arduino &lt;--&gt; VEX speed controllers &lt;--&gt; VEX motors<br /><br />The first step is to link the video signal from the MiniEMBWiFi to the PC<br /><div class='bbmedia' data-url='http://www.youtube.com/watch?v=1boIeTBkwps?version=3' style='margin: 1px; display: inline-block; vertical-align: bottom;'><div style='width: 200px; height: 40px; border: 1px solid #999; display: table-cell; text-align: center; vertical-align: middle; font: 10px/10px Verdana; color: #555; opacity: 0.5;'><a style='color: #105289; text-decoration: none;' href='http://phpbbex.com/' target='_blank'>phpBB</a> &#91;media&#93;</div><script>if (typeof bbmedia == 'undefined') { bbmedia = true; var e = document.createElement('script'); e.async = true; e.src = 'js/bbmedia.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s); }</script></div><br /><br />In the video you can see that the video signal reached from the robot to the PC (RoboRealm) at 320p decent frame rate. Now that we have a video signal streamed from the robot to the RoboRealm brain, we need it to stream back commands to the motors.<br />For that we make use of a Linux utility called socat and something similar running on Windows. The idea is to emulate a serial port on the windows that will be virtually linked to the arduino (serial over net). This will allow RoboRealm to think that the Arduino is connected locally to the PC (hopefully no buffering and delays) and will allow the Arduino java development environment to think that the Arduino is connected locally.  The MiniEMBWiFi essentially serves here as a combination of a remote wifi-camera + zigbee-shield for arduino.<br />If all goes well then maybe eventually we can do some number crunching on the linux board and the Arduino possibly.. <br />(to be cont'd)<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Sat Aug 13, 2011 3:01 am</p><hr />
]]></content>
</entry>
</feed>