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

<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>2007-02-19T23:04:01+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=142</id>
<entry>
<author><name><![CDATA[engineer]]></name></author>
<updated>2007-02-19T23:04:01+01:00</updated>
<published>2007-02-19T23:04:01+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7364#p7364</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7364#p7364"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7364#p7364"><![CDATA[
this is what I've got running<dl class="codebox"><dt>Code: </dt><dd><code>robot_voltage:                  ' &#91; 10 x Value / 256 = Voltage&#93;<br />   DIM v AS BYTE<br /><br />   v = AD&#40;6&#41;<br />   <br />   IF v &lt;153&gt; 250 THEN RETURN<br />     <br />   IF x &lt;30&gt; 200 THEN GOTO tilt_high<br />   <br />   RETURN<br />tilt_low:<br />   x = AD&#40;2&#41;<br />    'IF x &lt; 30 THEN  GOTO forward_standup    <br />   IF x &lt; 30 THEN  GOTO backward_standup<br />   RETURN<br />tilt_high:   <br />   x = AD&#40;2&#41;<br />   'IF x &gt; 200 THEN GOTO backward_standup<br />   IF x &gt; 200 THEN GOTO forward_standup<br />   RETURN<br />'================================================</code></dd></dl><br />this is only the Hitec tilt sensor and the v monitor w/two 51Kohm resistors at ad(2), ad(6) I still haven't got the two axis running yet. I thought that using x &amp; y as byte would work but RN-! doesn't react to a fall with it. <img src="http://forum.robosavvy.com/images/smilies/icon_redface.gif" alt=":oops:" title="Embarassed" />The dim A as byte is used for the remocon I believe  <img src="http://forum.robosavvy.com/images/smilies/icon_question.gif" alt=":?:" title="Question" /> I wired the two axis in and took v. readings and they are lower than the RN-1 tilt sensors, subpilot uses a different variable and that might take that into account. I hope he'll come back to this and explain what he did. <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=267">engineer</a> — Mon Feb 19, 2007 11:04 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[onesandzeros]]></name></author>
<updated>2007-02-18T02:32:52+01:00</updated>
<published>2007-02-18T02:32:52+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7313#p7313</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7313#p7313"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7313#p7313"><![CDATA[
hmm<br />i tried a Dimension Engineering Buffered ±2g Accelerometer 2x. hooked up as above, and it doesnt work  <img src="http://forum.robosavvy.com/images/smilies/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><br />so your saying its because of the A variable?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=120">onesandzeros</a> — Sun Feb 18, 2007 2:32 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[engineer]]></name></author>
<updated>2007-02-17T23:58:15+01:00</updated>
<published>2007-02-17T23:58:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7305#p7305</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7305#p7305"/>
<title type="html"><![CDATA[triple axis accel.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7305#p7305"><![CDATA[
hey subpilot; I've got a two axis and couldn't get it to work. When I installed a hitec single axis, uncommented the GOSUB tilt it worked.the reason for the two axis is that sometimes RN-! ends on its side and nothing happens. I DIM x AS BYTE instead of A because A variable is used for the voltage subroutine. I've asked both hive and beermat this question and they show me code that I can't understand like yours.can you pm me with more information,please?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=267">engineer</a> — Sat Feb 17, 2007 11:58 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[onesandzeros]]></name></author>
<updated>2007-02-17T23:40:33+01:00</updated>
<published>2007-02-17T23:40:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7303#p7303</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7303#p7303"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7303#p7303"><![CDATA[
thanks alot for clarifying that for me<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=120">onesandzeros</a> — Sat Feb 17, 2007 11:40 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[beermat]]></name></author>
<updated>2007-02-17T16:08:07+01:00</updated>
<published>2007-02-17T16:08:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7281#p7281</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7281#p7281"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7281#p7281"><![CDATA[
I put the accelerometer in a 14 pin DIP IC socket and mounted it inside his head, along with the remote receiver and the tri-colour eyes. I only use the Y axis, and it is wired into AD2.<br /><br /><img src="http://www.robosavvy.com/site/Builders/beermat/accel.jpg" alt="Image" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=244">beermat</a> — Sat Feb 17, 2007 4:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[onesandzeros]]></name></author>
<updated>2007-02-17T04:57:22+01:00</updated>
<published>2007-02-17T04:57:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7277#p7277</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7277#p7277"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7277#p7277"><![CDATA[
hey beermat<br />hows it going<br />thanks for your reply<br />how did u hook it up? as it has negative,positive x and y .<br />and where did you put it<br /><br /> <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=120">onesandzeros</a> — Sat Feb 17, 2007 4:57 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[beermat]]></name></author>
<updated>2007-02-17T04:27:33+01:00</updated>
<published>2007-02-17T04:27:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7276#p7276</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7276#p7276"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7276#p7276"><![CDATA[
Thats the one I use, onesandzeros. Works like a charm.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=244">beermat</a> — Sat Feb 17, 2007 4:27 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[onesandzeros]]></name></author>
<updated>2007-02-17T04:22:30+01:00</updated>
<published>2007-02-17T04:22:30+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7275#p7275</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7275#p7275"/>
<title type="html"><![CDATA[Dimension Engineering Buffered ±2g Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=7275#p7275"><![CDATA[
<img src="http://robosavvy.com/Builders/onesandzeros/dimension-engineering-de-accm2g.jpg" alt="Image" /><br /><span style="font-weight: bold">Dimension Engineering Buffered ±2g Accelerometer</span><br />hey guys, is there any reason why this accelerometer wouldnt work?<br /><br />i figure its 2 axis  and thats all i need, and it uses 3-5v<br />-----<br />Dimensions: 10mm X 18mm<br />Weight: 0.9g<br />Operating Voltage: 3-5V<br />Draws less then 2mA <br /><br />Applications:<br />Motion, tilt and slope measurement <br />Shock sensing <br /><br />Performance:<br />Dual axis ±2g sensing<br />750mV/g sensitivity at 5VDC<br />500Hz bandwidth<br />Accurately drives up to a 3k&#8486; load<br />Based on the Analog Devices ADXL322<br /><br />Protective Features:<br />Reverse voltage protection<br />14v overvoltage protection <br />Output short protection<br />----<br /> <img src="http://forum.robosavvy.com/images/smilies/icon_question.gif" alt=":?:" title="Question" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=120">onesandzeros</a> — Sat Feb 17, 2007 4:22 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-03-06T18:37:13+01:00</updated>
<published>2006-03-06T18:37:13+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=583#p583</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=583#p583"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=583#p583"><![CDATA[
<blockquote class="uncited"><div><br />Why not use this accelerometer ADXL32x Series?<br /></div></blockquote><br />Sure, that would work. I switched over to 3.3V in order to use some other mods I have in mind.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Mon Mar 06, 2006 6:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RubikCube]]></name></author>
<updated>2006-03-06T18:30:54+01:00</updated>
<published>2006-03-06T18:30:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=582#p582</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=582#p582"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=582#p582"><![CDATA[
Why not use this accelerometer ADXL32x Series? ( <!-- m --><a class="postlink" href="http://www.sparkfun.com/commerce/product_info.php?products_id=406">http://www.sparkfun.com/commerce/produc ... cts_id=406</a><!-- m -->). It does not require voltage change.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=95">RubikCube</a> — Mon Mar 06, 2006 6:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-03-06T17:51:50+01:00</updated>
<published>2006-03-06T17:51:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=580#p580</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=580#p580"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=580#p580"><![CDATA[
I just uncommented the robot_tilt line in the main loop and modded the subroutine like below. I'm just checking the one axis to see if he is laying on his back or his belly. Very preliminary. <br />'================================================<br />robot_tilt:<br />A = AD(6)<br />IF A &lt; &amp;h40 THEN GOTO tilt_back<br />IF A &gt; &amp;ha0 THEN GOTO tilt_front<br />RETURN<br />tilt_back:<br />A = AD(6)<br />'IF A &lt; 30 THEN  GOTO forward_standup<br />IF A &lt; &amp;h40 THEN  GOTO backward_standup<br />RETURN<br />tilt_front:<br />A = AD(6)<br />'IF A &gt; 200 THEN GOTO backward_standup<br />IF A &gt; &amp;ha0 THEN GOTO forward_standup<br />RETURN<br />'================================================<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Mon Mar 06, 2006 5:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-03-06T13:20:40+01:00</updated>
<published>2006-03-06T13:20:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=578#p578</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=578#p578"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=578#p578"><![CDATA[
Neat - presumably you check this each time through the main routine? <br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Mon Mar 06, 2006 1:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[subpilot]]></name></author>
<updated>2006-03-06T02:21:03+01:00</updated>
<published>2006-03-06T02:21:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=576#p576</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=576#p576"/>
<title type="html"><![CDATA[Triple Axis Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=142&amp;p=576#p576"><![CDATA[
I just got my accelerometer board working. Now my RoboNova knows when he has taken a fall and gets back up on his own.<br />I used the Sparkfun Triple Axis Accelerometer <!-- m --><a class="postlink" href="http://www.sparkfun.com/commerce/product_info.php?products_id=252">http://www.sparkfun.com/commerce/produc ... cts_id=252</a><!-- m --><br /><br />Here's where I put the board. I'm running it from A2D chans 5 &amp; 6 (just using 2 axis so far)<br /><br /><img src="http://webpages.charter.net/b_waters/www/accel.jpg" alt="Image" /><br /><br />Note: This accelerometer board runs on 3.3V and is NOT 5V tolerent. You must convert the 3024 over to run on 3.3V or provide an external 3.3V source for this board.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=86">subpilot</a> — Mon Mar 06, 2006 2:21 am</p><hr />
]]></content>
</entry>
</feed>