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

<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-05-12T04:19:16+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=150</id>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-05-12T04:19:16+01:00</updated>
<published>2006-05-12T04:19:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=1431#p1431</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=1431#p1431"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=1431#p1431"><![CDATA[
I finally attempted to convert my I2C code for the AVR32 from C into RoboBasic.   I also converted some of the Devantech SRF08/10 code that used it to try to get an SRF08 Range Finder to work. I bread boarded in a SRF08 to the SCL and SDA lines and installed some pull-up resistors to these two lines.   So far I am not having much luck, making it work.  <br /><br />I would like to thank PEV for posting some help on a different thread on how to make use of the LCD port to output debug information.  I bread boarded an ADM232 chip with the appropriate 5 capacitors and some jumpers and I can now output debug information to a terminal window.  <br /><br />I think I am attempting the appropriate bytes over I2C.   I am not sure yet if the bits are getting out properly to the SCL and SDA pins.  I don’t have a SCOPE yet to see the actual data streams on these two pins.  (I have a low level PC based one by Parallax on order that I hope my help).  I do have a logic probe which I tried hooking up to SDA and SCL and did find that the there is some data going out on those two pins.  Also these lines appeared to be outputting even when I was not asking for a ping.  I then went back to the overall template, which does not have any of my I2C code and the output on these two pins still changed.  So I wonder if there is some other internal code is accessing these two pins.<br /><br />Has anyone else had any luck using the I2C pins yet?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Fri May 12, 2006 4:19 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-04-13T22:22:15+01:00</updated>
<published>2006-04-13T22:22:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=1189#p1189</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=1189#p1189"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=1189#p1189"><![CDATA[
I am about to start experimenting with I2C on my RN-1.  I thought I might try interfacing a Devantech SRF-10 sensor to this controller.  Has any one successfully used the I2C on RN-1?  <br /><br />Are there pull-up resistors already connected to the SCL and SDA lines?  I know they show some rudimentary example code on page 93 in the manual, however has any one found a way to use the native TWI support of the AVR?<br /><br />Likewise has anyone found ways to ROBOBASIC, but still get access to other capabilities of the AVR chip?  For example does ROBOBASIC use all of the timers and if not can we gain access, such that maybe we can measure how long some operations take or the like.<br /><br />Thanks<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Thu Apr 13, 2006 10:22 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-04-02T08:09:59+01:00</updated>
<published>2006-04-02T08:09:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=898#p898</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=898#p898"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=898#p898"><![CDATA[
I2C is a serial data protocol using two lines (clock and data). Many devices can share the same lines and each will have a destinct address. <br />There are quite a few sensors that use the interface like the SRF10 ranger. <!-- m --><a class="postlink" href="http://www.acroname.com/robotics/parts/R241-SRF10.html">http://www.acroname.com/robotics/parts/R241-SRF10.html</a><!-- m --><br />The benefits are less wires and output of actual data without having to use an A2D port or measure pulse width. That frees up the main processor to do other tasks. The downside is that Robobasic doesn't easily support it. <br />For serious Robotics you really want to be performing all your tasks in parralel. Since that's not really practical with an embedded controller you just want to be sure to keep all functions as short as possible. You don't want to do as Robobasic does and be stuck in a routine waiting for servos to move without checking your sensor inputs.<br />I'm done trying to make Robobasic do what I want and am devoting my attention to fabing a new controller circuit board based on a Rabbit 3400 Micro. I'm incorporating 3 axis gyro,accelerometer and mag sensors. It's going to be similar to this <!-- m --><a class="postlink" href="http://www.procerusuav.com/images/large/img_kap2_side_lrg.jpg">http://www.procerusuav.com/images/large ... de_lrg.jpg</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Sun Apr 02, 2006 8:09 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bauermech]]></name></author>
<updated>2006-04-02T07:33:17+01:00</updated>
<published>2006-04-02T07:33:17+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=896#p896</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=896#p896"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=896#p896"><![CDATA[
<img src="http://forum.robosavvy.com/images/smilies/icon_question.gif" alt=":?:" title="Question" /> What are the benefits of the i2c? I'm not to clear with the concept. Used to daisy-chain 3024's? Video? Data transmit similar to RX/TX? I've only read bits and pieces about it, and any help would be appreciated <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=74">bauermech</a> — Sun Apr 02, 2006 7:33 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-03-16T19:00:16+01:00</updated>
<published>2006-03-16T19:00:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=679#p679</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=679#p679"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=679#p679"><![CDATA[
Got it - thanks<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Thu Mar 16, 2006 7:00 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-03-16T18:38:49+01:00</updated>
<published>2006-03-16T18:38:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=676#p676</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=676#p676"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=676#p676"><![CDATA[
Sorry, I must be dyslexic, the code snippet is on page 93 of the Instruction manual. (Second to the last page) It's in red and in with the Gyrosense example code.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Thu Mar 16, 2006 6:38 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-03-16T09:55:23+01:00</updated>
<published>2006-03-16T09:55:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=665#p665</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=665#p665"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=665#p665"><![CDATA[
<blockquote><div><cite>subpilot wrote:</cite><br />Just found out that page 47 of the Users manual has a little code sample of I2C. Not great but will see how it works. You have to bit bang the port.<br /></div></blockquote><br /><br />Hmm think my reading ability is failing me lol. If you have any luck could you post a code snippet. Cheers<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Thu Mar 16, 2006 9:55 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-03-15T23:44:08+01:00</updated>
<published>2006-03-15T23:44:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=659#p659</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=659#p659"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=659#p659"><![CDATA[
Just found out that page 47 of the Users manual has a little code sample of I2C. Not great but will see how it works. You have to bit bang the port.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Wed Mar 15, 2006 11:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-03-09T07:09:45+01:00</updated>
<published>2006-03-09T07:09:45+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=603#p603</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=603#p603"/>
<title type="html"><![CDATA[I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=150&amp;p=603#p603"><![CDATA[
I see that the 3024 I2C clock and data lines are available on a header. Does anybody have clue if it's going to be supported in Robobasic?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Thu Mar 09, 2006 7:09 am</p><hr />
]]></content>
</entry>
</feed>