<?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=15&amp;t=4969" />

<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>2010-03-30T06:19:54+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=4969</id>
<entry>
<author><name><![CDATA[watson.shane]]></name></author>
<updated>2010-03-30T06:19:54+01:00</updated>
<published>2010-03-30T06:19:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=26138#p26138</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=26138#p26138"/>
<title type="html"><![CDATA[Using VRBot Voice Recognition with Robobuilder]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=26138#p26138"><![CDATA[
ie if they can output a command in the REMOCON format it can emulate the pressing of buttons to walk, play motions and play actions.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2049">watson.shane</a> — Tue Mar 30, 2010 6:19 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2009-12-14T14:15:00+01:00</updated>
<published>2009-12-14T14:15:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23821#p23821</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23821#p23821"/>
<title type="html"><![CDATA[Using VRBot Voice Recognition with Robobuilder]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23821#p23821"><![CDATA[
additional info:<br /><br />Robobuilder will NOT understand Remocon commands sent to the bus.<br />Only commands sent to the PC port/Bluetooth.<br /><br />So I may have to work out some alternative (maybe connecting it to the head connector) and emulate the IR sensor.<br /><br />However I do not know how to emulate the IR sensor/IR remote.<br /><br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Mon Dec 14, 2009 2:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2009-12-11T18:00:58+01:00</updated>
<published>2009-12-11T18:00:58+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23725#p23725</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23725#p23725"/>
<title type="html"><![CDATA[Using VRBot Voice Recognition with Robobuilder]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23725#p23725"><![CDATA[
Actually after some thought I think none of the above solutions are really good.<br /><br />Because the VRbot protocol does not use checksums it could interpret some bus command passing by inadvertently which is something we don't want.<br /><br /><span style="font-weight: bold">This morning I woke up with a much better idea!!</span><br /><br />Because Robobuilder was kind enough to keep RX and TX separate, you can connect an <span style="font-weight: bold">Arduino Pro Mini directly to the bus</span>. (dependent on having a 5V pin).<br />(I am surprised how someone never used an Arduino on this forum to add A/D sensors to the robot)<br /><br />Once you have the Arduino, you connect the VRbot to the DIO pins and use the Serial Library to talk to it. (essentially two UARTs: the real one listens on the bus and virtual one connects to VRbot).<br />Because VRbot caches the responses  it is ideal for scenarios of Bit Banging where you don't have a buffer, which the case here. (it only responds after the host requests, and responds byte by byte)<br /><br /><br /><span style="font-weight: bold">As for the Arduino Sketch </span>the I was thinking about implementing it in two parts:<br /><span style="font-weight: bold">1) </span>Assign a bus ID to it and use the Position Set command to pass commands to VRbot.<br />Because the POsition Set command takes an 8 bit argument for the target position, we could use that to send CHARs (also 8 bit) to VRbot.<br /><br />To read back responses, I was thinking about using the Position Read command to read the response byte by byte (which is actually the way VRbot works).<br />In practice, you send a position read command, the Arduino receives it, sends a &quot; &quot; (space) to VRbot indicating we want to read a byte form the response and return it in the form of &quot;current&quot; position.<br /><br />This way we &quot;hide&quot; VRbot from the bus and make sure it does not interpret Bus commands inadvertently.<br /><br /><span style="font-weight: bold">2) </span>The second part of the sketch would be having the Arduino send commands to the bus whenever VRbot recognizes some command.<br />What I wanted to do is use the Remocon protocol (which is simple enough and quite straightforward).<br /><br />This part is a bit tricky because I don't know if the RBC box understands Remocon commands if they are sent to the bus.<br /><br />I know it understands Recmocon commands sent to the PC port and Bluetooth but because the servos are on a separate UART I don't know if it will react.<br /><br /><br />So back to my thinking again.<br /><br />Regards<br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Fri Dec 11, 2009 6:00 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2009-12-10T18:54:48+01:00</updated>
<published>2009-12-10T18:54:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23671#p23671</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23671#p23671"/>
<title type="html"><![CDATA[Using VRBot Voice Recognition with Robobuilder]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4969&amp;p=23671#p23671"><![CDATA[
Hi<br /><br />I believe you may have already seen VRbot which is a complete Voice Recognition Solution. If not, it is here <!-- m --><a class="postlink" href="http://robosavvy.com/store/product_info.php/products_id/571">http://robosavvy.com/store/product_info ... cts_id/571</a><!-- m --><br /><br />The module wraps all the Voice Recognition, Command Recording, etc and just exposes a clean serial protocol (over TTL UART). I find amazing what it packs in such a low form factor and low price.<br /><br />One cool thing about the module is that it caches the responses and will only send the response byte by byte upon request from the host.<br />This means you can actually use it with a Bit Banging approach without requiring a real UART with a buffer.<br /><br /><br />This got me thinking if it would be possible to connect VRbot to the DIO pins on the Servos and use the wCK protocol commands to do some bit banging on those DIO pins to read/write to the module. <br />This would be scenario 1. <br /><br />Scenario 2 would be sitting it on the actual bus of Robobuilder. You need to change the baud rate from the default 9600 up to 115kbps to match Robobuilder but once you nail that, you can talk to the bus and interact with the module.<br /><br />The module can work with UARTs at 3.3V and 5V (I think <span style="font-weight: bold">Robobuilder is 5V, right?</span>).<br />However it has limited onboard power regulation and thus you would need 5V. <span style="font-weight: bold">Is there any place on the robot where you can get that voltage?</span> (ie the head maybe??)<br /><br />Otherwise one needs an external regulator.<br /><br />With all such nice options out there like the Homebrew OS, the native firmware and the PC library I am surprised no one has gotten into this yet <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><br /><br />Here are some resources to complement my thoughts:<br />Protocol <!-- m --><a class="postlink" href="http://robosavvy.com/RoboSavvyPages/VRbot/VRbot-Protocol_1.3.zip">http://robosavvy.com/RoboSavvyPages/VRb ... ol_1.3.zip</a><!-- m --><br />Datasheet <!-- m --><a class="postlink" href="http://www.veear.eu/LinkClick.aspx?fileticket=n2CG4SiBiMI%3d&amp;tabid=238&amp;mid=620">http://www.veear.eu/LinkClick.aspx?file ... 38&amp;mid=620</a><!-- m --><br /><br />I'd be happy to hear about your thoughts.<br /><br />Pedro<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Thu Dec 10, 2009 6:54 pm</p><hr />
]]></content>
</entry>
</feed>