<?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=7733" />

<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>2012-02-08T11:19:23+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=7733</id>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2012-02-08T11:19:23+01:00</updated>
<published>2012-02-08T11:19:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33621#p33621</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33621#p33621"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33621#p33621"><![CDATA[
Hi l3v3rz<br /><br />From our experience it's a bit hard to brick these boards although we've had a couple that locked up when getting to the bootloader.<br /><br />From what we've seen, you should always be able to see something coming out of the serial port of the Omnima when you turn it on (it may later crash but it typically doesn't go down without spitting out some characters first).<br />The boards that we managed to &quot;kill&quot; always showed something when they booted but locked up when getting to the bootloader.<br /><br />Therefore my best bet would be to check the USB2Serial adapter and also the cables. (not sure which USB2Serial you are using though; to be honest we don't like the Cable from Omnima and prefer the generic USB2TTL from Sparkfun based on FTDI) <br />You also need to make sure to connect GND (&lt;strike&gt;we've done some experiments with connections between omnima and other devices that worked fine without gnd connected but when using a USb2Serial we seem to always need GND&lt;/strike&gt; <span style="color: green">Edit: I stand corrected. you always need to connect GND. What happens is that sometimes you're using a common ground without noticing it; a typical scenario is a computer that is grounded by the wall plug and a peripheral (ie robot) that is also ground by the PSU connected to the wall socket (hence common ground).</span>  ).<br /><br />Another fault we've seen was with jumper cables that &quot;seem&quot; to be ok upon visual inspection but they were actually faulty (replacing them solved the issue).<br /><br />Finally, I would check the COM port settings... I know this is a basic one but just as reminder, on boot it should be set to 57600, 8 data bits, no parity1 stop bit (8N1).<br />This should let you &quot;see&quot; the bootloading process.<br /><br />Let us know how it goes <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />Regards<br />Pedro<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Wed Feb 08, 2012 11:19 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2012-02-07T20:08:43+01:00</updated>
<published>2012-02-07T20:08:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33616#p33616</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33616#p33616"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33616#p33616"><![CDATA[
This was going ok <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" />, I had the board auto connecting to my local wifi hub.  I'd edited the files in /etc/config to get things working and the only issue I had was that the routing table wasn't quite right on boot up - if I manually edited  it to remove some default routes being auto added it worked.  I'd simplified the devices as well to just eth0, wlan0 and lo  (dropping all the bridging lans).<br /><br />But then on a power recycle the serial just  stopped working. The USB converter flashes when I send a character but I'm getting no output?  The board appears to be running - green light comes on at reboot  etc just no serial?  Not sure if its bricked in some way or hardware failure -???<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Tue Feb 07, 2012 8:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[MarcoP]]></name></author>
<updated>2012-01-31T12:55:46+01:00</updated>
<published>2012-01-31T12:55:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33578#p33578</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33578#p33578"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33578#p33578"><![CDATA[
Hi<br /><br />To keep things coherent i posted the updated pictures in the <br />Robobuilder Linuxified - adding an embedded linux board topic.<br /><br />Regards<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3133">MarcoP</a> — Tue Jan 31, 2012 12:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2012-01-30T19:56:20+01:00</updated>
<published>2012-01-30T19:56:20+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33569#p33569</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33569#p33569"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33569#p33569"><![CDATA[
Hi l3v3rz<br /><br />We posted a firmware image here <!-- m --><a class="postlink" href="http://robosavvy.com/RoboSavvyPages/Omnima/MiniEMBWiFi_Firmwares/">http://robosavvy.com/RoboSavvyPages/Omn ... Firmwares/</a><!-- m --> that includes the latest Luci configuration interface.<br /><br />It offers a very neat (graphical) way to set up all the interfaces including WAN connection as client to a home network. It also offers a Graphical view to opkg and HDD usage.<br />(Luci should be available by pointing your web browser to the board's IP address).<br /><br />The latest batch we got from Omnima should have come preloaded with this but in any case users can download and flash the image themselves.<br /><br />The image was built specifically for the Linuxified project so it includes the necessary kernel subcomponents to install UVC (not sure if it's pre installed already) as well as mjpeg streamer and python.<br /><br />It also includes the latest Luci which offers that Graphical configuration interface (I believe you just need to connect tot he board over Ethernet and open the board's IP on your browser).<br />The only bit I don't recall is if you need to set your LAN to a static IP address (and which) or if it will automatically assign one. (I think you need to set your PC manually to 192.168.1.40 for example and then try <!-- m --><a class="postlink" href="http://192.168.1.1">http://192.168.1.1</a><!-- m --> or 192.168.1.254). -- let us know how this goes!<br /><br />As a side note, we've 3D printed a box to send you and also included a wCk cable already soldered to the Voltage Regulator and witha  DC barrel jack on the other so you can power the omnima directly from any connector on the wCK bus. (we should be shipping it to you in a couple of days as this is in the Lab not the WH)<br /><br />We've made another set for ourselves and I'll post some pictures tomorrow about this.<br />It's a very neat approach for Power Supply. no hassle with batteries or anything; you can even hotplug and unplug the Wall Adapter if the battery is low and the Omnima will just keep running.<br /><br />Regards<br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Mon Jan 30, 2012 7:56 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2012-01-30T15:20:43+01:00</updated>
<published>2012-01-30T15:20:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33568#p33568</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33568#p33568"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33568#p33568"><![CDATA[
That's great thanks!<br /><br />Got a cheap webcam working with it this weekend (Just £3.90 inc P&amp;P!!) - connects using UVC and works with mjpg streamer with -y option<br /><br /><!-- m --><a class="postlink" href="http://www.ebay.co.uk/itm/290653852233?ssPageName=STRK:MEWNX:IT&amp;_trksid=p3984.m1497.l2649#ht_2189wt_1137">http://www.ebay.co.uk/itm/290653852233? ... 189wt_1137</a><!-- m --><br /><br />Also tried to build octave but got stuck at the moment with libfortran. I'm sure its surmountable - just need to find the right sources.<br /><br />One problem I have is that udhcpc always freezes and never detects my network - using ethernet at moment with static IP.  I would like to go wireless and have the card connect to my local wifi homehub and use dhcp to get an IP address, any tips on what setup to use ??<br /><br /><br />cheers<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Mon Jan 30, 2012 3:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[MarcoP]]></name></author>
<updated>2012-01-27T18:41:05+01:00</updated>
<published>2012-01-27T18:41:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33549#p33549</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33549#p33549"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33549#p33549"><![CDATA[
Hi l3v3rz<br /><br />Just to clarify things, when we were doing the tests we had a common ground between the RBC and the converter.<br /><br />Will check the levels more closely to confirm the TTL/CMOS issue.<br /><br />I will be preparing the kit to send to you. Planning on modifying a wCK cable to splice off power to a 5V regulator to power the Omnima <br /><br />Regards<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3133">MarcoP</a> — Fri Jan 27, 2012 6:41 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2012-01-26T17:15:37+01:00</updated>
<published>2012-01-26T17:15:37+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33540#p33540</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33540#p33540"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33540#p33540"><![CDATA[
<blockquote class="uncited"><div><br />One un-documented is it can run at 230Kbs rather than 115Kbs by booting and holding down PF1 (I think). This only affects comms between PC/board and RBC not RBC and servos, but will cut down latency<br /></div></blockquote><br /><br />Thanks for the tip <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /> <br />Unfortunately afaik the Omnima Serial port will only go up to 115kbps so we are unable to take advantage of that for the time being...<br /><br /><blockquote class="uncited"><div><br />Its a real shame the RBC box isn't just a few mm deeper other wise it would have been a perfect fit. I'd be interested to try one of your white boxes. Power from the wck Bus is a great idea - does it still need voltage reg or is direct connect?<br /></div></blockquote><br /><br />Now that the 3d design for the RBC + Omnima case has been finalized (we finally sorted out all the minor tweaks last week) we'd be happy to send you one for Beta Testing. I will ask Marco to print one and for you and have it shipped.<br />They're still being printed in white as it's the cheapest plastic we have so it's ideal for mock ups. The final version should be either Black, Translucent (PLA) or maybe Red; it's still unknown but we're open to suggestions <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><br />My personal favourite would be Translucent PLA but PLA doesn't behave as well as ABS...<br /><br />With regards to Powering, we still need to use a regulator to power the Omnima.<br />Although the Omnima could take the 8.4V directly from the wCK bus, power to USB peripherals is unregulated so the board would survive but we'd kill any USB device we attempted to connect to the board.<br /><br />What we do is: wCK cable (just with Vdd and GND from the wCK bus) -------&gt; 5V Voltage Regulator -----&gt; Omnima Board<br /><br />The 5V voltage regulators we use are typically UBECs. These come from RC world I think, they're quite cheap, and can typically take up to 15V and output a stable 5V 2A-3A.<br />(an ebay search for UBEC should show you the light <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /> )<br /><br /><br /><br /><blockquote class="uncited"><div><br />I think the RT3050 does not have a hardware fpu, and Octave uses fp for most calculations. I did not find Lua worked very well on the miniEMBwifi and assumed that was due to the lack of fpu.<br /></div></blockquote><br /><br />Again afaik there is no FPU on the RALINK but since it's a very specialized chip I'm not sure what kind of optimizations may be in there (or missing).<br /><br />Our biggest challenge with scripting languages on the Omnima is the ROM size though.<br /><br />RAM is 32Mb but permanent storage (ROM) is only 8Mb out of which ~3.2Mb are used by the OpenWRT installation.<br /><br />We tried installing Python (and managed to do so) but little to no space was left after installing. The solution on the Omnima is to use a USB thumb drive to add usb external storage.<br /><br />We also have another product in our Lab based on the same RALINK RT3050 chip called <span style="color: green">Carambola</span>: <!-- m --><a class="postlink" href="http://www.8devices.com/product/3/wi-fi-4-things">http://www.8devices.com/product/3/wi-fi-4-things</a><!-- m --><br />Carambola comes as a single module that breaks out all the processor pins.<br /><br />This has good things and bad things:<br />- We can access the 2x COMM ports: one can be kept for console and the second one is free (and clean) to communicate with other peripherals.<br />The Omnima only exposes 1 UART and even if you detach the console there's still garbage coming out when booting (bootloader messages and similar boot information).<br />After booting the UART is free though.<br /><br />- We can access the SPI pins on Carambola which means - in theory - we can attach an SD card slot and mount an SD card as filesystem to extend storage capacity. <br />There is <a href="http://wiki.openwrt.org/doc/howto/mmc_over_gpio" class="postlink">some support in OpenWRT</a> to do this but <a href="http://www.8devices.com/community/viewtopic.php?f=6&amp;t=32" class="postlink">on Carambola there seem to be issues still</a> (also performance seems to be significantly impacted depending on the driver and approach used)<br /><br />- A major upside is that the WiFi Antenna is a Chip Antenna. For a mobile application - and if you don't require huge coverage - this is very good. The bulky antenna on the Omnima really gets in the way, especially on a humanoid (on Robobuilder for example it reduces some of the mobility on one of the Shoulders).<br /><br />- The downside though is that Carambola is only a kind of &quot;breakout board&quot; for the RT3050 and you can't really do anything very useful unless you develop your own custom PCB.<br />The unsorted issues with mounting an SD card using SPI are also a downside at the moment still.<br /><br />For these reasons we're continuing development and supporting the RALINK implementation on the Omnima but we're keeping an eye out for developments around Carambola.<br /><br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Thu Jan 26, 2012 5:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2012-01-26T12:53:07+01:00</updated>
<published>2012-01-26T12:53:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33538#p33538</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33538#p33538"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33538#p33538"><![CDATA[
I am interested to hear how well Ocatve works on miniEmbwifi. I think the RT3050 does not have a hardware fpu, and Octave uses fp for most calculations. I did not find Lua worked very well on the miniEMBwifi and assumed that was due to the lack of fpu.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Thu Jan 26, 2012 12:53 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2012-01-26T11:11:56+01:00</updated>
<published>2012-01-26T11:11:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33537#p33537</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33537#p33537"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33537#p33537"><![CDATA[
This looks a really cool project ! I got my miniEmbwifi for Xmas. Its a real shame the RBC box isn't just a few mm deeper other wise it would have been a perfect fit. I'd be interested to try one of your white boxes. Power from the wck Bus is a great idea - does it still need voltage reg or is direct connect?<br /><br />Thanks for the nice words about DCMP. One un-documented is it can run at 230Kbs rather than 115Kbs by booting and holding down PF1 (I think). This only affects comms between PC/board and RBC not RBC and servos, but will cut down latency<br /><br />Just thought, I'm not an electrical engineer - but don't you need to also connect the earths together as well as RX and TX?? - the floating earths could explain your problem with detecting smaller 3.3v signal.<br /><br />I have also built by linux version of Basic - which talks to DCMP - as an OpenWRT package and that runs fine on minEmb.  I'd really like to get Octave (language favoured by Stanford and Andrew Ng) as I have a Otcave plugin that talks to DCMP as well.<br /><br />cheers<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Thu Jan 26, 2012 11:11 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2012-01-26T10:51:22+01:00</updated>
<published>2012-01-26T10:51:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33536#p33536</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33536#p33536"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33536#p33536"><![CDATA[
<blockquote class="uncited"><div><br />The wCK bus is 5V CMOS, not 5V TTL so Vin high minimum should be 0.6Vcc (3.0V), maybe the 3.3V high drive from the Linux board is a bit low.<br /></div></blockquote><br /><br /><br />Hi i-Bot<br /><br />Interesting piece of information that we were not aware of.<br /><br />Thank you for the heads up and as you say it probably explains it.<br /><br />Regards<br />Pedro<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Thu Jan 26, 2012 10:51 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ParanoidAndroid]]></name></author>
<updated>2012-01-26T03:35:44+01:00</updated>
<published>2012-01-26T03:35:44+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33535#p33535</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33535#p33535"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33535#p33535"><![CDATA[
<blockquote><div><cite>i-Bot wrote:</cite><br />For the wCK connectors, I have used the headers and connectors from Tyco with success. The pins are a pain to crimp and expensive, so I still prefer to cut a long ready made cable. It is easy to use the headers on a small PCB, but they are not 0.1&quot; pitch, so will not fit on perf board.<br /></div></blockquote><br /><br />Thanks for the heads-up.<br /><br /><blockquote class="uncited"><div><br />I used 5V FTDI direct to the wCK bus without problems. FTDI chips can be linked for 3.3V or 5V I/O and some boards allow this to be changed or specified at purchase. I never got the wCK  bus to work error free with any driver at 921.6K, but no problem at 460.8K. The wCK bus is 5V CMOS, not 5V TTL so Vin high minimum should be 0.6Vcc (3.0V), maybe the 3.3V high drive from the Linux board is a bit low.<br /></div></blockquote><br /><br />That would explain it. From Wikipedia:<br /><br /><blockquote><div><cite>Wikipedia wrote:</cite><br />The CMOS–TTL logic level problem<br />Interconnecting any two logic families often required special techniques such as additional pull-up resistors, or purpose-built interface circuits, since the logic families may use different voltage levels to represent 1 and 0 states, and may have other interface requirements only met within the logic family.<br />TTL logic levels are different from those of CMOS – generally a TTL output does not rise high enough to be reliably recognized as a logic 1 by a CMOS input. This problem was solved by the invention of the 74HCT family of devices that uses CMOS technology but TTL input logic levels. These devices only work with a 5V power supply. They form a replacement for TTL, although HCT is slower than original TTL (HC logic has about the same speed as original TTL).<br /></div></blockquote><br /><br />This is also interesting: <!-- m --><a class="postlink" href="http://www.interfacebus.com/voltage_threshold.html">http://www.interfacebus.com/voltage_threshold.html</a><!-- m --><br /><br /><blockquote class="uncited"><div><br />I didn't use the RBC in my configuration because the gait engine (DARwin), and my interpolation of the Robobuilder moves were done on Linux board anyway and I didn't want the added latency of the RBC.<br /></div></blockquote><br /><br />Interesting. I'll have to see if the latency is going to be an issue for me or whether the benefits outweigh the disadvantages.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3143">ParanoidAndroid</a> — Thu Jan 26, 2012 3:35 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2012-01-26T00:37:55+01:00</updated>
<published>2012-01-26T00:37:55+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33534#p33534</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33534#p33534"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33534#p33534"><![CDATA[
For the wCK connectors, I have used the headers and connectors from Tyco with success. The pins are a pain to crimp and expensive, so I still prefer to cut a long ready made cable. It is easy to use the headers on a small PCB, but they are not 0.1&quot; pitch, so will not fit on perf board.<br /><br />I used 5V FTDI direct to the wCK bus without problems. FTDI chips can be linked for 3.3V or 5V I/O and some boards allow this to be changed or specified at purchase. I never got the wCK  bus to work error free with any driver at 921.6K, but no problem at 460.8K. The wCK bus is 5V CMOS, not 5V TTL so Vin high minimum should be 0.6Vcc (3.0V), maybe the 3.3V high drive from the Linux board is a bit low.<br /><br />I didn't use the RBC in my configuration because the gait engine (DARwin), and my interpolation of the Robobuilder moves were done on Linux board anyway and I didn't want the added latency of the RBC.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Thu Jan 26, 2012 12:37 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ParanoidAndroid]]></name></author>
<updated>2012-01-25T19:54:10+01:00</updated>
<published>2012-01-25T19:54:10+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33533#p33533</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33533#p33533"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33533#p33533"><![CDATA[
<blockquote class="uncited"><div><br />In any case both solutions are possible and produce exactly the same result.<br /></div></blockquote><br /><br />OK, thanks.<br /><br /><blockquote class="uncited"><div><br />You just need to pay attention when selecting the model: Make sure you purchase one that <span style="text-decoration: underline">outputs </span>TTL levels at 5V.<br /></div></blockquote><br /><br />Thanks, I figured that out just after I posted!<br /><br /><blockquote class="uncited"><div><br />What I attempted to explain in the first post is:<br /><br />1) The Robobuilder servos are not like  most 5V TTL devices that can detect 3.3V logic.<br />In the case of Robobuilder servos/wck bus you REALLY need to be using 5V TTL signals for the commands to be received.<br /></div></blockquote><br /><br />Understood. Should be interesting playing around with these servos. Seem to have a lot of advantages over other comparable servos if you don't need higher torques.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3143">ParanoidAndroid</a> — Wed Jan 25, 2012 7:54 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2012-01-25T19:33:33+01:00</updated>
<published>2012-01-25T19:33:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33532#p33532</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33532#p33532"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33532#p33532"><![CDATA[
<blockquote class="uncited"><div><br />To clarify, in the future, if I want to connect an embedded Linux board to the RBC controller, you suggest the USB-&gt;TTL-&gt;RX/TX on Bluetooth socket solution.<br /><br />However, can you explain why it is not feasible to use the RoboBuilder supplied serial cable that plugs straight into the RBC controller? i.e. by putting a serial port on the Linux board to connect the cable to.<br /></div></blockquote><br /><br />It is definitely feasible to use the supplied Serial Cable as well.<br /><br />The reason to use the BT socket + TTL converter is just size: in case your app doesn't have a native DB9 port, using a USB to TTL converter is usually a smaller and lighter setup compared to using bulkier USB to DB9 adapters.<br /><br />In any case both solutions are possible and produce exactly the same result.<br /><br /><br /><blockquote class="uncited"><div><br />Back to your initial post, on 1) Is it possible that the firmware on the wCK servo modules simply ignores &lt;5V signals? If it is firmware then this could potentially be rectified right?<br /><br />I would still like to see if I can connect wCK servos directly to a PC using a USB to FTDI cable for situations where using the RBC controller is really not needed/wanted in the setup e.g. a simple 2 servo tilt/pan arrangement.<br /><br />But, according to your first post, I can't use the USB to TTL converter because the 3.3V signals will be ignored....so what's the solution?<br /></div></blockquote><br /><br />The reason for not detecting &lt;5V signals is probably hardware related.<br /><br />In any case and just to clarify <span style="font-weight: bold">it is possible to communicate directly with the wCK bus/servos using a USB to TTL adapter. </span><br /><br />You just need to pay attention when selecting the model: Make sure you purchase one that <span style="text-decoration: underline">outputs </span>TTL levels at 5V.<br /><br />What I attempted to explain in the first post is:<br /><br />1) The Robobuilder servos are not like  most 5V TTL devices that can detect 3.3V logic.<br />In the case of Robobuilder servos/wck bus you REALLY need to be using 5V TTL signals for the commands to be received.<br /><br />2) As a consequence of 1) you need to <span style="font-weight: bold">be careful when choosing your USb to TTL adapter</span> because those advertised as &quot;compatible with both 3.3V and 5V TTL logic probably won't work; it doesn't mean it's impossible to talk directly to the servos.<br /><br />What you'll need is something like this <!-- m --><a class="postlink" href="http://robosavvy.com/store/product_info.php/products_id/1296">http://robosavvy.com/store/product_info ... ts_id/1296</a><!-- m --> that <span style="font-weight: bold">specifically &quot;speaks&quot; at 5V</span>.<br /><br />With this you can definitely talk directly from the PC to the servos without needing the RBC controller.<br /><br />Pedro<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Wed Jan 25, 2012 7:33 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ParanoidAndroid]]></name></author>
<updated>2012-01-25T18:56:11+01:00</updated>
<published>2012-01-25T18:56:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33531#p33531</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33531#p33531"/>
<title type="html"><![CDATA[Using TTL Level Signals/Communication on wCK Bus &amp; BT So]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7733&amp;p=33531#p33531"><![CDATA[
Hi, thanks for your feedback.<br /><br />You make a good case for using the RBC Controller instead of going with another solution in many cases.<br /><br />To clarify, in the future, if I want to connect an embedded Linux board to the RBC controller, you suggest the USB-&gt;TTL-&gt;RX/TX on Bluetooth socket solution.<br /><br />However, can you explain why it is not feasible to use the RoboBuilder-supplied serial cable that plugs straight into the RBC controller? i.e. by putting a serial port on the Linux board to connect the cable to.<br /><br />RE: DCMP firmware<br /><br />This is definitely something I had studied and was planning to make use of - perhaps with some additional enhancements. Still, I'm a long way from looking at that too but thanks for the reminder.<br /><br />Back to your initial post, on 1) Is it possible that the firmware on the wCK servo modules simply ignores &lt;5V signals? If it is firmware then this could potentially be rectified right?<br /><br />I would still like to see if I can connect wCK servos directly to a PC using a USB to FTDI cable for situations where using the RBC controller is really not needed/wanted in the setup e.g. a simple 2 servo tilt/pan arrangement.<br /><br />But, according to your first post, I can't use the USB to TTL converter because the 3.3V signals will be ignored....so what's the solution?<br /><br />PS.<br /><br />I think i-Bot located suitable headers for the wCK cables here:<br /><!-- m --><a class="postlink" href="http://robosavvy.com/forum/viewtopic.php?t=2705">http://robosavvy.com/forum/viewtopic.php?t=2705</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3143">ParanoidAndroid</a> — Wed Jan 25, 2012 6:56 pm</p><hr />
]]></content>
</entry>
</feed>