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

<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-07-30T07:12:51+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=17&amp;t=4174</id>
<entry>
<author><name><![CDATA[matt.stevenson]]></name></author>
<updated>2010-07-30T07:12:51+01:00</updated>
<published>2010-07-30T07:12:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27699#p27699</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27699#p27699"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27699#p27699"><![CDATA[
That line should work fine,  the line I posted will automatically log you in.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2093">matt.stevenson</a> — Fri Jul 30, 2010 7:12 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[snest]]></name></author>
<updated>2010-07-30T00:06:51+01:00</updated>
<published>2010-07-30T00:06:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27696#p27696</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27696#p27696"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27696#p27696"><![CDATA[
I got Ubuntu to work. Just had to specify the kernel to boot as single (to tell it not to use the GUI).<br /><br />Unfortunately I am still struggling with Slitaz, which is the system I really want to use because of it's light weight. I still see the boot configuration screen and bios, but the actual boot process and the login still evade me. <br /><br />Correct me if I am wrong, but getty is responsible for waking up the serial port, right?<br /><br /><br /><br />I've added this to /etc/inittab:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>s0:2345:respawn:/sbin/getty ttyS0 115200 vt100</code></dd></dl><br /><br />And I have also made a few modifications to /boot/grub/menu.lst in order to get the boot loader to use console.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2254">snest</a> — Fri Jul 30, 2010 12:06 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[matt.stevenson]]></name></author>
<updated>2010-07-29T22:10:27+01:00</updated>
<published>2010-07-29T22:10:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27693#p27693</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27693#p27693"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27693#p27693"><![CDATA[
Hmmm, I don't know how much I can help you with ubuntu.  I'm away from my home for a few weeks, so I can't hop on my ubuntu box to look at it.<br /><br />I may have some time in the next couple days to do a little digging for you.<br /><br />As for the mimPCI wifi card, I managed to compile and install the driver.  It took me a while because I had to first recompile the kernel to support wifi.<br /><br />If you decide to give the Debian guide a shot, I'd be happy to give you my kernel, the header files, and the compiled driver.<br /><br />If you (or anyone else) want those, PM me your email address and I'll send it to you.<br /><br />I'm pretty busy today, but I should be able to get to it tonight.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2093">matt.stevenson</a> — Thu Jul 29, 2010 10:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[snest]]></name></author>
<updated>2010-07-29T02:32:27+01:00</updated>
<published>2010-07-29T02:32:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27678#p27678</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27678#p27678"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27678#p27678"><![CDATA[
Hey Matt<br />It's taken a while but I finally got Ubuntu and Slitaz running. Unfortunately, I've spent the whole day today on trying to get this serial communication up but without much luck. I tried your suggestion on Slitaz, but even though I see the boot screen, I don't see the boot process itself or the log in. <br /><br />Ubuntu gets even more tricky since it doesn't inittab, but rather some other files in /etc/event.d. I have had more luck with it, getting it through the whole boot process, but still I cannot get a log in.<br /><br />I am also using 115200 Baud rate and was beginning to think that perhaps it was too fast, but since you got yours to work at that speed that shouldn't be the case.<br /><br />Any other suggestions? <br />Also, how did your wlan card set up go after getting this to work?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2254">snest</a> — Thu Jul 29, 2010 2:32 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[matt.stevenson]]></name></author>
<updated>2010-07-28T23:25:53+01:00</updated>
<published>2010-07-28T23:25:53+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27677#p27677</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27677#p27677"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27677#p27677"><![CDATA[
Hi snest,<br /><br />I'm glad to hear you've got things running now.<br /><br />I'm running Debian on the RB-100, but I doubt things are too different.<br />For serial communication you need to do 2 things.<br />First you need to edit you /etc/inittab to allow serial port login.<br />I have mine set to automatically log me in.  Just add this line to the bottom of the file:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>T0:23:respawn:/bin/login -f you_username ttyS0 115200 vt100 &lt;/dev&gt; /dev/ttyS0 2&gt;&amp;1</code></dd></dl><br /><br />Edit: Ok this is pissing me off.  in the &quot;&lt;&quot; &quot;&gt;&quot; brackets it should be &quot;&lt;&quot;/dev/ttyS0 &quot;&gt;&quot; not &lt;/dev&gt; but the forum won't let me post that ... O_o<br /><br />Second you need to edit /boot/grub/menu.lst to redirect the console to serial<br /><br />Find the line for the kernel you boot into and add &quot;console=ttyS0,115200n8&quot; to the end.  Mine looks like this:<br /><dl class="codebox"><dt>Code: </dt><dd><code>kernel  /boot/vmlinuz-2.6.30-vortex86dx root=/dev/hda1 ro console=ttyS0,115200n8</code></dd></dl><br /><br />You can edit the grub menu on boot up before changing it, just to make sure everything works fine.<br /><br />115200 is the baud rate I'm using<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2093">matt.stevenson</a> — Wed Jul 28, 2010 11:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[snest]]></name></author>
<updated>2010-07-28T21:33:38+01:00</updated>
<published>2010-07-28T21:33:38+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27676#p27676</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27676#p27676"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=27676#p27676"><![CDATA[
Hey guys, <br />I am also trying to communicate with my roboard via com1 port. I can see and modify bios via hyperterminal, but once it reports that the booting process has started, I am left with a blinking cursor. How do I actually use linux through the com port? How can I log in / install drivers for the mini pci wireless card / open terminal?<br /><br />Thanks for your help in advance!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2254">snest</a> — Wed Jul 28, 2010 9:33 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Marsman]]></name></author>
<updated>2009-10-18T09:35:05+01:00</updated>
<published>2009-10-18T09:35:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22329#p22329</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22329#p22329"/>
<title type="html"><![CDATA[COM port voltage levels!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22329#p22329"><![CDATA[
It took me some time to actually &quot;talk&quot; to my RoBoard via the COM1 port. The issue was that my laptop runs the RS232 interface on 12V while the RoBoard runs on 3.3V. So one needs a level shifter between the null-modem cable. I finally used a USB-to-Serial adapter (<!-- m --><a class="postlink" href="http://www.prolific.com.tw/eng/Products.asp?ID=88">http://www.prolific.com.tw/eng/Products.asp?ID=88</a><!-- m -->).<br /><br />In the BIOS one can enable output of all messages to the COM port and with a HyperTerminal I now can watch my RoBoard boot the Linux until the console appears on my HyperTerminal. Now I just need to finish configuring the WLAN card so that I can login even remotely.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1699">Marsman</a> — Sun Oct 18, 2009 9:35 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2009-10-06T17:37:56+01:00</updated>
<published>2009-10-06T17:37:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22181#p22181</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22181#p22181"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22181#p22181"><![CDATA[
Hi robobuilder<br /><br />Yes, the procedure is still using COM1.<br />You can actually install windows on the Roboard and run the Robot Terminal to test everything or at a later stage write your own custom programs.<br /><br />Bear in mind that, if you plan to keep the CM5 you should be OK.<br /><br />However if you intend to remove the CM5 controller and replace it completely with this board, you may need to take some additional steps.<br /><br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Tue Oct 06, 2009 5:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robobuilder]]></name></author>
<updated>2009-10-06T16:47:43+01:00</updated>
<published>2009-10-06T16:47:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22178#p22178</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22178#p22178"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22178#p22178"><![CDATA[
Hi Pedro,<br /><br />Thanks for your help. Actually I am planning to use this board with bioloid robot. I am trying to send data to CM-5 serial port from the x-86 board instead of PC. So, it can be controlled from the board. I think the procedure will still remain same(COM 1) as you  mentioned in your post.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1710">robobuilder</a> — Tue Oct 06, 2009 4:47 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2009-10-06T12:42:06+01:00</updated>
<published>2009-10-06T12:42:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22175#p22175</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22175#p22175"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22175#p22175"><![CDATA[
Hi<br /><br />The COMM port on the board is a standard COMM port so you read and write to it using the normal ways in windows:<br />For testing/debugging you can use Hyperterminal to write and read from it and for production you can use Visual Studio for example, and open the COMM port using the normal instructions.<br /><br />From your nickname I would suspect you may be wanting to use it with a Robobuilder and, in that case, if you maintain the main RBC controller box you use COM1.<br />However if you want to replace the RBC controller box and talk directly to the servos, you need to use COM3 which is at TTL level. The servos have a UART at TTL level and not at RS232 level. If you connect the servos to comm1 you will most likely damage the board and/or the servos.<br /><br />To read and write to COM3 it is the same procedure as COM1.<br /><br />If you're not familiar with the difference between the levels at RS232 and TTL level I suggest you look it up in google.<br /><br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Tue Oct 06, 2009 12:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robobuilder]]></name></author>
<updated>2009-10-04T14:00:22+01:00</updated>
<published>2009-10-04T14:00:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22138#p22138</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22138#p22138"/>
<title type="html"><![CDATA[How to read/write data from RS-232 port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4174&amp;p=22138#p22138"><![CDATA[
Hi,<br /><br />I am new to this expansion board. Is it possible to read/write data from the RS-232 port? If yes, could you give me some sample code or example to explain that.<br /><br />Thanks in advance for your help.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1710">robobuilder</a> — Sun Oct 04, 2009 2:00 pm</p><hr />
]]></content>
</entry>
</feed>