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

<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>2006-06-02T22:02:27+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=307</id>
<entry>
<author><name><![CDATA[dshinsel]]></name></author>
<updated>2006-06-02T22:02:27+01:00</updated>
<published>2006-06-02T22:02:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1795#p1795</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1795#p1795"/>
<title type="html"><![CDATA[I can get to the file now.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1795#p1795"><![CDATA[
I think the robosavvy site must have had a temporary problem.<br /><br />When (if?) I get this working, I'll post the code and schematic.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=147">dshinsel</a> — Fri Jun 02, 2006 10:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-06-01T03:14:33+01:00</updated>
<published>2006-06-01T03:14:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1754#p1754</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1754#p1754"/>
<title type="html"><![CDATA[Re: Can't get to the file?]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1754#p1754"><![CDATA[
<blockquote><div><cite>dshinsel wrote:</cite><br />Good timing, I am getting ready to try reading from an I2C I/O expander chip (hooking up a bumper sensors, etc.)<br /><br />However, I can't see the .bas file.  It looks like ALL the uploaded files have been deleted?<br /></div></blockquote><br /><br />I seam to be able to get to the file.  If I type the following in my address line:<br /><br /><!-- m --><a class="postlink" href="http://robosavvy.com/Builders/KurtE/I2C_Test.bas">http://robosavvy.com/Builders/KurtE/I2C_Test.bas</a><!-- m --><br /><br />It shows the file in my browser.  Maybe there is some type of file protection in place?  <br /><br />Just in case you still could not get to it, I did send you an email with the contents.<br /><br />Good Luck with the expander chip.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Thu Jun 01, 2006 3:14 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dshinsel]]></name></author>
<updated>2006-05-31T21:12:21+01:00</updated>
<published>2006-05-31T21:12:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1750#p1750</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1750#p1750"/>
<title type="html"><![CDATA[Can't get to the file?]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1750#p1750"><![CDATA[
RE: "I put a copy of my test basic file up at: <br /><!-- m --><a class="postlink" href="http://robosavvy.com/builders/kurte/i2c_test.bas">http://robosavvy.com/builders/kurte/i2c_test.bas</a><!-- m --> "<br /><br />Good timing, I am getting ready to try reading from an I2C I/O expander chip (hooking up a bumper sensors, etc.)<br /><br />However, I can't see the .bas file.  It looks like ALL the uploaded files have been deleted?<br /><br />Maybe you can just paste the I2C code here?<br />if not, could you email it to me: dshinsel &lt;at&gt; verizon.net<br /><br />Thanks!<br />I'll be posting my latest stuff soon...<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=147">dshinsel</a> — Wed May 31, 2006 9:12 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-05-28T00:19:03+01:00</updated>
<published>2006-05-28T00:19:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1683#p1683</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1683#p1683"/>
<title type="html"><![CDATA[I2C and IO Ports...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1683#p1683"><![CDATA[
<blockquote><div><cite>subpilot wrote:</cite><br />Nice work, You going to share?<br /></div></blockquote><br /><br />Sure <img src="http://forum.robosavvy.com/images/smilies/icon_redface.gif" alt=":oops:" title="Embarassed" /> .  It is not pretty (or fast), but it appears to be at least somewhat working.<br /><br />I put a copy of my test basic file up at:<br /><!-- m --><a class="postlink" href="http://robosavvy.com/Builders/KurtE/I2C_Test.bas">http://robosavvy.com/Builders/KurtE/I2C_Test.bas</a><!-- m --> <br /><br />It has values assigned for which pins you are using for SDA and SCL.<br /><br />Likewise it has two constants defined for the I2C address of the range finder.  One for reads and one for writes.  It is currently set to E4 and E5.  This is not the defaults (E0), but happened to be what the sensor I pulled from a different robot was set to.<br /><br />Later I will improve on this, but for now I wish to start integrating things.  LIke mounting a servo to turn the head.  Mount sensor on the head, add gyro and wait for new hands...<br /><br />Good luck<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Sun May 28, 2006 12:19 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-05-27T18:50:56+01:00</updated>
<published>2006-05-27T18:50:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1681#p1681</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1681#p1681"/>
<title type="html"><![CDATA[I2C and IO Ports...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1681#p1681"><![CDATA[
Nice work, You going to share?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Sat May 27, 2006 6:50 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-05-27T16:47:00+01:00</updated>
<published>2006-05-27T16:47:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1678#p1678</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1678#p1678"/>
<title type="html"><![CDATA[I2C and IO Ports...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1678#p1678"><![CDATA[
<blockquote><div><cite>subpilot wrote:</cite><br />The I2C is used for the on board EEPROM so I believe the pull-ups exist. Bit Banging via Robobasic is going to be a serious pain.<br /></div></blockquote><br /><br />You are right, The I2c is used by the boards EEPROM, which I believe is the chip marked with ATMEL504.  This chip is not mentioned at all in the MR-C3024 spec.  <br /><br />I did some experimenting and I still not sure what RoboBasic input ports (if any) are assigned to the SCL/SDA pins on the board.    <img src="http://forum.robosavvy.com/images/smilies/icon_idea.gif" alt=":idea:" title="Idea" /> So I finally decided to use two unused input ports to try to Bit Bang an I2C interface.<br /><br /> <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /> So Today I finally had some sucess and I know have RoboBasic code that can do a ping on my Devantech SRF10 (or SRF08) Range Finder  <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Sat May 27, 2006 4:47 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-05-25T09:00:21+01:00</updated>
<published>2006-05-25T09:00:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1639#p1639</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1639#p1639"/>
<title type="html"><![CDATA[I2C and IO Ports...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1639#p1639"><![CDATA[
The I2C is used for the on board EEPROM so I believe the pull-ups exist. Bit Banging via Robobasic is going to be a serious pain.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Thu May 25, 2006 9:00 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-05-25T02:46:40+01:00</updated>
<published>2006-05-25T02:46:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1637#p1637</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1637#p1637"/>
<title type="html"><![CDATA[I2C and IO Ports...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1637#p1637"><![CDATA[
<blockquote><div><cite>RubikCube wrote:</cite><br />Did you try going to Robonova's website and downloading the MR-C3024 Specification ? The link is <!-- m --><a class="postlink" href="http://www.hitecrobotics.com/info/downloads.htm">http://www.hitecrobotics.com/info/downloads.htm</a><!-- m -->.<br /></div></blockquote><br /><br />Yes thanks!<br /><br />I am now pretty sure the SDA and SCL lines shown in their I2C example is wrong.  I tried changing it over to 24 and 25 and I am seeing some differences with my logic probe.  Tomorrow I will pick up my cheap PC based SCOPE and will watch the outputs to help me debug this.  <br /><br />One thing I have noticed through the logic probe is that the system software appears to also manipulate these logic lines.   I wonder if they use the I2C for some other purpose?<br /><br />I will probably take this offline...  However I will post something if or when I get it working<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Thu May 25, 2006 2:46 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RubikCube]]></name></author>
<updated>2006-05-25T01:17:46+01:00</updated>
<published>2006-05-25T01:17:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1634#p1634</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1634#p1634"/>
<title type="html"><![CDATA[I2C and IO Ports...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1634#p1634"><![CDATA[
Did you try going to Robonova's website and downloading the MR-C3024 Specification ? The link is <!-- m --><a class="postlink" href="http://www.hitecrobotics.com/info/downloads.htm">http://www.hitecrobotics.com/info/downloads.htm</a><!-- m -->.<br /><br />I have used SRF04 and it worked.  It does not use I2C, it uses the sonar command and digital i/o ( any two not used servo ports).<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=95">RubikCube</a> — Thu May 25, 2006 1:17 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-05-24T05:17:35+01:00</updated>
<published>2006-05-24T05:17:35+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1623#p1623</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1623#p1623"/>
<title type="html"><![CDATA[I2C and IO Ports...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=307&amp;p=1623#p1623"><![CDATA[
I tried again today to connect a Deventech SRF10 Range Finder to my RN-1.  This requires I2C, so I have been attempting to convert some C code that I had running on a robot that is based on an AVR16 microcontroller.  However since I can not use the native support for I2C that is on this chip through RoboBasic, I ended up trying to do it bit by bit. <br /><br />So far I am not having much luck <img src="http://forum.robosavvy.com/images/smilies/icon_sad.gif" alt=":(" title="Sad" /> .  Has had any success using any I2C devices on their RN-1?<br /><br />Does anyone know if the SDL/SCL lines that are labeled on the board already have pull-up resistors installed on them or not?  Also does anyone know what their IO port numbers are?  Also does anyone know if HiTec is using I2C for anything else on the board?  <br /><br />I know there is some sample code in the RN-1 user’s manual on page 93, however looking closely at it, I have my doubts if this code fragment would work.  In this fragment it says that SCL=22 and SDA=23.  With a couple of iterations of my code, I started to have some Servos jitter.  That made me wonder if the IO Ports were wrong.  The documentation mentioned that there 40 IO ports, so my assumption that 24 of them or the servos, 8 were the ATOD ports and the other 8 would probably be the 8 lines upper left including SCL and SDA, does this make sense?  Something like:<br />IO PORTS<br />Servos 0-230-23<br />SCL24<br />SDA25<br />PWM026<br />Pwm127<br />Pwm228<br />LCD29<br />ERX30<br />ETX31<br />ATOD0-732-39<br /><br />I wonder what their code fragment is trying to do.  It looks like it is outputting a 4 bit address over SDA, probably the last bit is an R/W bit and then it reads in a byte from the slave from least significant bit to most significant bit.  But this does not look like any standard I2C communication.  Has anyone else made any better sense of this?<br /><br />Sorry for just rambling on here <img src="http://forum.robosavvy.com/images/smilies/icon_redface.gif" alt=":oops:" title="Embarassed" /> .<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Wed May 24, 2006 5:17 am</p><hr />
]]></content>
</entry>
</feed>