<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Edison Crashes when using Servo in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Edison-Crashes-when-using-Servo/m-p/1003899#M31312</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I followed Rex's Grove Starter kit and then decided to add a little bit more complexity to it to do more interesting things.&amp;nbsp; I have the rotary sensor controlling the servo.&amp;nbsp; The code itself works great for a while until it eventually crashes.&amp;nbsp; Full symptoms are: Program stops responding to analog input, followed by the wifi appearing to shut down temporarily.&lt;/P&gt;&lt;P&gt;I have attempted increasing the detection to every .25 seconds, which made the issue worse.&amp;nbsp; Decreasing the time to .05 seconds seems to work better-ish.&amp;nbsp; I use cylon.js.&lt;/P&gt;
&lt;PRE class="brush:jscript;"&gt;every((.05).second(), function() {
var nAngle = parseInt(robo.rotary.analogRead() / 5.6);
var aDelta = nAngle - robo.servo.currentAngle();
if(aDelta &amp;gt; 7 || aDelta &amp;lt; -7 &amp;amp;&amp;amp; nAngle &amp;gt; 5 &amp;amp;&amp;amp; nAngle &amp;lt; 175)
{
robo.servo.angle(nAngle);
}
});&lt;/PRE&gt;

&lt;P&gt;I have the analog connected to A0 and the servo connected to D3.&amp;nbsp; I currently have nothing else connected.&amp;nbsp; The switch is set to 5V.&amp;nbsp; It seems to die immediately on 3v3.&lt;/P&gt;
&lt;P&gt;Any ideas what the issue might be?&amp;nbsp; Do I need more power?&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2015 17:50:34 GMT</pubDate>
    <dc:creator>David_C_9</dc:creator>
    <dc:date>2015-05-15T17:50:34Z</dc:date>
    <item>
      <title>Edison Crashes when using Servo</title>
      <link>https://community.intel.com/t5/Software-Archive/Edison-Crashes-when-using-Servo/m-p/1003899#M31312</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I followed Rex's Grove Starter kit and then decided to add a little bit more complexity to it to do more interesting things.&amp;nbsp; I have the rotary sensor controlling the servo.&amp;nbsp; The code itself works great for a while until it eventually crashes.&amp;nbsp; Full symptoms are: Program stops responding to analog input, followed by the wifi appearing to shut down temporarily.&lt;/P&gt;&lt;P&gt;I have attempted increasing the detection to every .25 seconds, which made the issue worse.&amp;nbsp; Decreasing the time to .05 seconds seems to work better-ish.&amp;nbsp; I use cylon.js.&lt;/P&gt;
&lt;PRE class="brush:jscript;"&gt;every((.05).second(), function() {
var nAngle = parseInt(robo.rotary.analogRead() / 5.6);
var aDelta = nAngle - robo.servo.currentAngle();
if(aDelta &amp;gt; 7 || aDelta &amp;lt; -7 &amp;amp;&amp;amp; nAngle &amp;gt; 5 &amp;amp;&amp;amp; nAngle &amp;lt; 175)
{
robo.servo.angle(nAngle);
}
});&lt;/PRE&gt;

&lt;P&gt;I have the analog connected to A0 and the servo connected to D3.&amp;nbsp; I currently have nothing else connected.&amp;nbsp; The switch is set to 5V.&amp;nbsp; It seems to die immediately on 3v3.&lt;/P&gt;
&lt;P&gt;Any ideas what the issue might be?&amp;nbsp; Do I need more power?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2015 17:50:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Edison-Crashes-when-using-Servo/m-p/1003899#M31312</guid>
      <dc:creator>David_C_9</dc:creator>
      <dc:date>2015-05-15T17:50:34Z</dc:date>
    </item>
    <item>
      <title>Measure the voltage rails,</title>
      <link>https://community.intel.com/t5/Software-Archive/Edison-Crashes-when-using-Servo/m-p/1003900#M31313</link>
      <description>&lt;P&gt;Measure the voltage rails, its likely the Servo is needing more power than the 5V regulator can supply, especially if it stalls.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2015 19:31:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Edison-Crashes-when-using-Servo/m-p/1003900#M31313</guid>
      <dc:creator>Stewart_C_Intel</dc:creator>
      <dc:date>2015-05-15T19:31:26Z</dc:date>
    </item>
  </channel>
</rss>

