<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Obstacle avoidance Arduino robot – build your own larryBot</title>
	<atom:link href="http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/feed/" rel="self" type="application/rss+xml" />
	<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/</link>
	<description></description>
	<lastBuildDate>Fri, 11 May 2012 23:24:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=294</generator>
	<item>
		<title>By: ashraf</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15477</link>
		<dc:creator>ashraf</dc:creator>
		<pubDate>Thu, 10 May 2012 21:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15477</guid>
		<description>i&#039;m having same problem with. did you manage to solve this?</description>
		<content:encoded><![CDATA[<p>i&#8217;m having same problem with. did you manage to solve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lee</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15474</link>
		<dc:creator>lee</dc:creator>
		<pubDate>Mon, 07 May 2012 17:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15474</guid>
		<description>hye larry,below is my code for coding obstacle avoidance robot. i use 2 type of sensor which is Ping sensor and IR Sharp sensor..my problem is when i running the robot its look like my both of sensor is not functioning. Can you detect my problem..i also use L293D motor driver chip..


int i;
int dist1;
int dist2;
int pingPin= 7;
int redpin=0;

int motor1Pin1=4;
int motor1Pin2=3;
int enable1Pin=9;
int motor2Pin1=5;
int motor2Pin2=6;
int enable2Pin=10;
int duration;

void setup () {
  pinMode(motor1Pin1, OUTPUT);
  pinMode(motor1Pin2, OUTPUT);
  pinMode(enable1Pin, OUTPUT);
  pinMode(motor2Pin1, OUTPUT);
  pinMode(motor2Pin2, OUTPUT);
  pinMode(enable2Pin, OUTPUT);
  
  digitalWrite (enable1Pin, HIGH);
  digitalWrite (enable2Pin, HIGH);
  
   pinMode(redpin, OUTPUT);
   
}

void loop() {
   pinMode(pingPin, OUTPUT);
   digitalWrite (pingPin, LOW);
   delayMicroseconds(2);
   digitalWrite (pingPin, HIGH);
   delayMicroseconds(5);
   digitalWrite (pingPin, LOW);
   
   pinMode(pingPin, INPUT);
   duration=pulseIn(pingPin, HIGH);
   dist1=duration/74/2;
 
   i= analogRead(redpin);
   dist2=(6762/(i-9))-4;
 
 if (dist2 &gt; 10 &#124;&#124; dist1  10 &#124;&#124; dist1 &gt; 5 ){
   backward();
   turn();
   
 }
 if (dist2  5 ){
   backward();
   turn();
 }
   
 if (dist2 &lt; 10 &#124;&#124; dist1 &lt; 5 ){
   backward();
   turn();
 }
}

void forward() {
  digitalWrite (motor1Pin1, LOW);
  digitalWrite (motor1Pin2, HIGH);
  digitalWrite (motor2Pin1, LOW);
  digitalWrite (motor2Pin2, HIGH);
  return;
}

void backward(){
  digitalWrite (motor1Pin1, HIGH);
  digitalWrite (motor1Pin2, LOW);
  digitalWrite (motor2Pin1, HIGH);
  digitalWrite (motor2Pin2, LOW);
  return;
}

void turn(){
  digitalWrite (motor1Pin1, HIGH);
  digitalWrite (motor1Pin2, LOW);
  digitalWrite (motor2Pin1, LOW);
  digitalWrite (motor2Pin2, HIGH);
  return;
}</description>
		<content:encoded><![CDATA[<p>hye larry,below is my code for coding obstacle avoidance robot. i use 2 type of sensor which is Ping sensor and IR Sharp sensor..my problem is when i running the robot its look like my both of sensor is not functioning. Can you detect my problem..i also use L293D motor driver chip..</p>
<p>int i;<br />
int dist1;<br />
int dist2;<br />
int pingPin= 7;<br />
int redpin=0;</p>
<p>int motor1Pin1=4;<br />
int motor1Pin2=3;<br />
int enable1Pin=9;<br />
int motor2Pin1=5;<br />
int motor2Pin2=6;<br />
int enable2Pin=10;<br />
int duration;</p>
<p>void setup () {<br />
  pinMode(motor1Pin1, OUTPUT);<br />
  pinMode(motor1Pin2, OUTPUT);<br />
  pinMode(enable1Pin, OUTPUT);<br />
  pinMode(motor2Pin1, OUTPUT);<br />
  pinMode(motor2Pin2, OUTPUT);<br />
  pinMode(enable2Pin, OUTPUT);</p>
<p>  digitalWrite (enable1Pin, HIGH);<br />
  digitalWrite (enable2Pin, HIGH);</p>
<p>   pinMode(redpin, OUTPUT);</p>
<p>}</p>
<p>void loop() {<br />
   pinMode(pingPin, OUTPUT);<br />
   digitalWrite (pingPin, LOW);<br />
   delayMicroseconds(2);<br />
   digitalWrite (pingPin, HIGH);<br />
   delayMicroseconds(5);<br />
   digitalWrite (pingPin, LOW);</p>
<p>   pinMode(pingPin, INPUT);<br />
   duration=pulseIn(pingPin, HIGH);<br />
   dist1=duration/74/2;</p>
<p>   i= analogRead(redpin);<br />
   dist2=(6762/(i-9))-4;</p>
<p> if (dist2 &gt; 10 || dist1  10 || dist1 &gt; 5 ){<br />
   backward();<br />
   turn();</p>
<p> }<br />
 if (dist2  5 ){<br />
   backward();<br />
   turn();<br />
 }</p>
<p> if (dist2 &lt; 10 || dist1 &lt; 5 ){<br />
   backward();<br />
   turn();<br />
 }<br />
}</p>
<p>void forward() {<br />
  digitalWrite (motor1Pin1, LOW);<br />
  digitalWrite (motor1Pin2, HIGH);<br />
  digitalWrite (motor2Pin1, LOW);<br />
  digitalWrite (motor2Pin2, HIGH);<br />
  return;<br />
}</p>
<p>void backward(){<br />
  digitalWrite (motor1Pin1, HIGH);<br />
  digitalWrite (motor1Pin2, LOW);<br />
  digitalWrite (motor2Pin1, HIGH);<br />
  digitalWrite (motor2Pin2, LOW);<br />
  return;<br />
}</p>
<p>void turn(){<br />
  digitalWrite (motor1Pin1, HIGH);<br />
  digitalWrite (motor1Pin2, LOW);<br />
  digitalWrite (motor2Pin1, LOW);<br />
  digitalWrite (motor2Pin2, HIGH);<br />
  return;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15373</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Sun, 04 Mar 2012 00:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15373</guid>
		<description>i have 4 motors. 4 wheels. so can a single 6 volts battery can power up the motor? I will use two L293D . the stall current each motor is 470 mA.</description>
		<content:encoded><![CDATA[<p>i have 4 motors. 4 wheels. so can a single 6 volts battery can power up the motor? I will use two L293D . the stall current each motor is 470 mA.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Doe</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15362</link>
		<dc:creator>John Doe</dc:creator>
		<pubDate>Wed, 22 Feb 2012 14:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15362</guid>
		<description>Do you have any sketch available of your robot, of the cabling using for example fritzing?</description>
		<content:encoded><![CDATA[<p>Do you have any sketch available of your robot, of the cabling using for example fritzing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahin</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15351</link>
		<dc:creator>Shahin</dc:creator>
		<pubDate>Fri, 17 Feb 2012 21:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15351</guid>
		<description>Hello there, first of all, thank you for the information/tutorial! I&#039;ve bought the tamiya twin gear motor and tamiya tracks, 2x sn754410ne.

I only use one sn754410ne.

So my setup is 
- new 9v battery
- T-twin gear with original motors
- Arduino

When I power it up, it runs for about 20 seconds and then it slows down. When I power it off and then on it does not even move anymore. When I run the motor, it is in the air, so no pull/push power of the ground. 
Can I use a bigger battery pack? for example 7 times 9V battery or one LIPO RC car pack? 

And are the capacitors necessary? And what about if I use a bigger battery? 
Could you please provide me with a link to the right capacitors? Because I could not find the right one on the internet...

Thank you in advance!</description>
		<content:encoded><![CDATA[<p>Hello there, first of all, thank you for the information/tutorial! I&#8217;ve bought the tamiya twin gear motor and tamiya tracks, 2x sn754410ne.</p>
<p>I only use one sn754410ne.</p>
<p>So my setup is<br />
- new 9v battery<br />
- T-twin gear with original motors<br />
- Arduino</p>
<p>When I power it up, it runs for about 20 seconds and then it slows down. When I power it off and then on it does not even move anymore. When I run the motor, it is in the air, so no pull/push power of the ground.<br />
Can I use a bigger battery pack? for example 7 times 9V battery or one LIPO RC car pack? </p>
<p>And are the capacitors necessary? And what about if I use a bigger battery?<br />
Could you please provide me with a link to the right capacitors? Because I could not find the right one on the internet&#8230;</p>
<p>Thank you in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Godwin</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15339</link>
		<dc:creator>Godwin</dc:creator>
		<pubDate>Tue, 14 Feb 2012 21:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15339</guid>
		<description>What kind of sensor need to measure the speed of a car. I have LV-max sonar -EZO and Arduino uno?</description>
		<content:encoded><![CDATA[<p>What kind of sensor need to measure the speed of a car. I have LV-max sonar -EZO and Arduino uno?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larry</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15329</link>
		<dc:creator>larry</dc:creator>
		<pubDate>Tue, 07 Feb 2012 14:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15329</guid>
		<description>I would use a different h bridge chip entirely, voltage seems to be ok for most but it&#039;s the current that&#039;s the issue. Too much current will burn the chip out and stall the motors.</description>
		<content:encoded><![CDATA[<p>I would use a different h bridge chip entirely, voltage seems to be ok for most but it&#8217;s the current that&#8217;s the issue. Too much current will burn the chip out and stall the motors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larry</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15328</link>
		<dc:creator>larry</dc:creator>
		<pubDate>Tue, 07 Feb 2012 14:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15328</guid>
		<description>for 58, I measured the time the signal took over a set distance.

In terms of the averages, it&#039;s probably the wrong way of doing it e.g. taking multiple readings and then an average. What I should have done is remove any values that are outside of a threshold.</description>
		<content:encoded><![CDATA[<p>for 58, I measured the time the signal took over a set distance.</p>
<p>In terms of the averages, it&#8217;s probably the wrong way of doing it e.g. taking multiple readings and then an average. What I should have done is remove any values that are outside of a threshold.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larry</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15326</link>
		<dc:creator>larry</dc:creator>
		<pubDate>Sun, 05 Feb 2012 14:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15326</guid>
		<description>You may want to actually improve this or make the project your own rather than just copying it wholesale.

I really should start to leave more bugs in the code to make you think about it before just copying it all ;)</description>
		<content:encoded><![CDATA[<p>You may want to actually improve this or make the project your own rather than just copying it wholesale.</p>
<p>I really should start to leave more bugs in the code to make you think about it before just copying it all <img src='http://luckylarry.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bernard</title>
		<link>http://luckylarry.co.uk/arduino-projects/obstacle-avoidance-robot-build-your-own-larrybot/comment-page-1/#comment-15325</link>
		<dc:creator>bernard</dc:creator>
		<pubDate>Sun, 05 Feb 2012 12:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=409#comment-15325</guid>
		<description>great! i&#039;m going to use this as my project. thanks a lot</description>
		<content:encoded><![CDATA[<p>great! i&#8217;m going to use this as my project. thanks a lot</p>
]]></content:encoded>
	</item>
</channel>
</rss>

