<?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: Arduino + Processing &#8211; Make a Radar Screen – Part 3: Visualising the Data from Sharp Infrared Range Finder</title>
	<atom:link href="http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/feed/" rel="self" type="application/rss+xml" />
	<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/</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=103</generator>
	<item>
		<title>By: Cody</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-15451</link>
		<dc:creator>Cody</dc:creator>
		<pubDate>Sat, 14 Apr 2012 06:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-15451</guid>
		<description>Hey, Larry

 I&#039;ve built an infrared range finder from an infrared led and phototransistor and I can only get up to like 20 centimeters. Which is fine for me but im trying to change the processing code to reflect this and I can&#039;t figure out how to change the numbers on the grid to go from like 5 centimeters to 20 any help would be greatly appreciated.

                                                                                               Thanks, Cody</description>
		<content:encoded><![CDATA[<p>Hey, Larry</p>
<p> I&#8217;ve built an infrared range finder from an infrared led and phototransistor and I can only get up to like 20 centimeters. Which is fine for me but im trying to change the processing code to reflect this and I can&#8217;t figure out how to change the numbers on the grid to go from like 5 centimeters to 20 any help would be greatly appreciated.</p>
<p>                                                                                               Thanks, Cody</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-15352</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Fri, 17 Feb 2012 21:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-15352</guid>
		<description>Hi Larry,
I just bought a Sharp IR sensor for my project. The Arduino code is working fine. I got the data from the serial monitor. But for the Processing, the radar screen does not move at all. I used the code that you provided. I tried to find out if I can change the serial port number in the Processing program, but I can&#039;t find it. So, do you have any idea what is the possible problem?</description>
		<content:encoded><![CDATA[<p>Hi Larry,<br />
I just bought a Sharp IR sensor for my project. The Arduino code is working fine. I got the data from the serial monitor. But for the Processing, the radar screen does not move at all. I used the code that you provided. I tried to find out if I can change the serial port number in the Processing program, but I can&#8217;t find it. So, do you have any idea what is the possible problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larry</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-5254</link>
		<dc:creator>larry</dc:creator>
		<pubDate>Sat, 08 Jan 2011 11:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-5254</guid>
		<description>Looks like I had a site bug thats messed up a lot of my code :( should be fixed now</description>
		<content:encoded><![CDATA[<p>Looks like I had a site bug thats messed up a lot of my code <img src='http://luckylarry.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  should be fixed now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joseph</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-5208</link>
		<dc:creator>joseph</dc:creator>
		<pubDate>Sat, 18 Dec 2010 05:21:39 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-5208</guid>
		<description>Hey, tried to use your processing code and i get a host of syntax errors. im new to processing and i really don&#039;t know how to fix the code. when i try to run i get &quot;syntax error, maybe a right parenthesis?&quot; on this line, if (degree &gt;= 179) { . using linux if that matters. thanks</description>
		<content:encoded><![CDATA[<p>Hey, tried to use your processing code and i get a host of syntax errors. im new to processing and i really don&#8217;t know how to fix the code. when i try to run i get &#8220;syntax error, maybe a right parenthesis?&#8221; on this line, if (degree &gt;= 179) { . using linux if that matters. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larry</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-1595</link>
		<dc:creator>larry</dc:creator>
		<pubDate>Wed, 14 Apr 2010 19:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-1595</guid>
		<description>Hey Rhys,

Tall order! Umm... well I this wold be my logic:

Get image from jMyron
Map/scale the camera image to your Processing screen/document area
Translate the position of the jMyron item to a set of shapes/quads/lines and then produce co-ordinates from these - not sure how many points of reference you want but for example a hand you could split to several items.
Then you pass the x, y and z of each object made from the jMyron to Arduino via the serial port.

That probably makes it sound easier than it is. How precise do the movements need to be? and what do you want to detect - I guess you want to map the movement of a hand to alter the positions of the acid sprayer?

What I would do instead is have a look at this:

http://www.maximumpc.com/article/features/maximum_pc_builds_a_multitouch_surface_computer

And build a kind of touch screen that will detect a users hand/ fingerprints from infrared (can convert the webcam easy enough)

Not quite as fluid as monitoring a users hand but probably easier to achieve (Or not).

Sorry not much use here - not done anything like this yet.</description>
		<content:encoded><![CDATA[<p>Hey Rhys,</p>
<p>Tall order! Umm&#8230; well I this wold be my logic:</p>
<p>Get image from jMyron<br />
Map/scale the camera image to your Processing screen/document area<br />
Translate the position of the jMyron item to a set of shapes/quads/lines and then produce co-ordinates from these &#8211; not sure how many points of reference you want but for example a hand you could split to several items.<br />
Then you pass the x, y and z of each object made from the jMyron to Arduino via the serial port.</p>
<p>That probably makes it sound easier than it is. How precise do the movements need to be? and what do you want to detect &#8211; I guess you want to map the movement of a hand to alter the positions of the acid sprayer?</p>
<p>What I would do instead is have a look at this:</p>
<p><a href="http://www.maximumpc.com/article/features/maximum_pc_builds_a_multitouch_surface_computer"  rel="nofollow">http://www.maximumpc.com/article/features/maximum_pc_builds_a_multitouch_surface_computer</a></p>
<p>And build a kind of touch screen that will detect a users hand/ fingerprints from infrared (can convert the webcam easy enough)</p>
<p>Not quite as fluid as monitoring a users hand but probably easier to achieve (Or not).</p>
<p>Sorry not much use here &#8211; not done anything like this yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rhys himsworth</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-1585</link>
		<dc:creator>rhys himsworth</dc:creator>
		<pubDate>Wed, 14 Apr 2010 03:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-1585</guid>
		<description>Hi,

Came across your stuff online and loved it.

I am an artist only beginning to use arduino

You can see examples of my work here-

http://rhyshimsworth.com/work%207.htm

As you can see, I have been making some basic drawing and painting
machines and so far I have been using some very basic software that turns
a PC into a CNC machine, communicating to a driver box and powering
stepper motors.

I am now keen to make the pieces more interactive and am trying to make a
painting machine that will paint according to the movements of the viewer,
using a web cam to monitor the viewer and an arduino micro controller to
move the stepper motors in real time.

I have spoken to a friend of mine who has some experience of arduino who
was able to find some processing code that would turn movements on a web
cam into a drawing on the computer screen-

http://pastie.org/795453

It needs a plugin to be added to processing, from the  JMyron site

http://webcamxtra.sourceforge.net/download.shtml

We were thinking that we should be able to tweak this to drive some
stepper motors, at least i hope my friend will be able to. Trouble is he
has little experience of stepper motors. The motors I have are like the
ones here-

http://www.xylotex.com/StepperMotor.htm

I have got the motors kind of working through the arduino, all though they move very slow. I am desperately trying to find some way of translating the processing code for JMyron into x and y coordinates to move the the stepper motors. I have an art exhibition opening next week and have 3 pieces that all rely on this working. I have bitten off more than I can chew so any help you can offer would be amazing!

Any advice you have would be greatly appreciated.

Thanks for your time.

Rhys</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Came across your stuff online and loved it.</p>
<p>I am an artist only beginning to use arduino</p>
<p>You can see examples of my work here-</p>
<p><a href="http://rhyshimsworth.com/work%207.htm"  rel="nofollow">http://rhyshimsworth.com/work%207.htm</a></p>
<p>As you can see, I have been making some basic drawing and painting<br />
machines and so far I have been using some very basic software that turns<br />
a PC into a CNC machine, communicating to a driver box and powering<br />
stepper motors.</p>
<p>I am now keen to make the pieces more interactive and am trying to make a<br />
painting machine that will paint according to the movements of the viewer,<br />
using a web cam to monitor the viewer and an arduino micro controller to<br />
move the stepper motors in real time.</p>
<p>I have spoken to a friend of mine who has some experience of arduino who<br />
was able to find some processing code that would turn movements on a web<br />
cam into a drawing on the computer screen-</p>
<p><a href="http://pastie.org/795453"  rel="nofollow">http://pastie.org/795453</a></p>
<p>It needs a plugin to be added to processing, from the  JMyron site</p>
<p><a href="http://webcamxtra.sourceforge.net/download.shtml"  rel="nofollow">http://webcamxtra.sourceforge.net/download.shtml</a></p>
<p>We were thinking that we should be able to tweak this to drive some<br />
stepper motors, at least i hope my friend will be able to. Trouble is he<br />
has little experience of stepper motors. The motors I have are like the<br />
ones here-</p>
<p><a href="http://www.xylotex.com/StepperMotor.htm"  rel="nofollow">http://www.xylotex.com/StepperMotor.htm</a></p>
<p>I have got the motors kind of working through the arduino, all though they move very slow. I am desperately trying to find some way of translating the processing code for JMyron into x and y coordinates to move the the stepper motors. I have an art exhibition opening next week and have 3 pieces that all rely on this working. I have bitten off more than I can chew so any help you can offer would be amazing!</p>
<p>Any advice you have would be greatly appreciated.</p>
<p>Thanks for your time.</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larry</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-1487</link>
		<dc:creator>larry</dc:creator>
		<pubDate>Mon, 29 Mar 2010 18:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-1487</guid>
		<description>Well you got another option: hack a servo for continous rotation - never done it myself but might be useful.

Anyway, not done too much with stepper motors, so apologies if I&#039;m wrong.

Have a look at: http://arduino.cc/en/Reference/Stepper?from=Tutorial.Stepper

So first create a stepper motor object - are you using a bipolar stepper? If so I can help you out with the H-bridge/ motor controller chip :)

If you&#039;ve got all that done and can control the stepper then we just need to calculate the steps per revolution the motor will have - might already be in your tech specs.

If you&#039;ve got that then you should be able to use the Arduino stepper motor libraries and then send number of steps over the serial port?</description>
		<content:encoded><![CDATA[<p>Well you got another option: hack a servo for continous rotation &#8211; never done it myself but might be useful.</p>
<p>Anyway, not done too much with stepper motors, so apologies if I&#8217;m wrong.</p>
<p>Have a look at: <a href="http://arduino.cc/en/Reference/Stepper?from=Tutorial.Stepper"  rel="nofollow">http://arduino.cc/en/Reference/Stepper?from=Tutorial.Stepper</a></p>
<p>So first create a stepper motor object &#8211; are you using a bipolar stepper? If so I can help you out with the H-bridge/ motor controller chip <img src='http://luckylarry.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you&#8217;ve got all that done and can control the stepper then we just need to calculate the steps per revolution the motor will have &#8211; might already be in your tech specs.</p>
<p>If you&#8217;ve got that then you should be able to use the Arduino stepper motor libraries and then send number of steps over the serial port?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomahawk</title>
		<link>http://luckylarry.co.uk/arduino-projects/arduino-processing-make-a-radar-screen-part-3-visualising-the-data-from-sharp-infrared-range-finder/comment-page-1/#comment-1482</link>
		<dc:creator>tomahawk</dc:creator>
		<pubDate>Mon, 29 Mar 2010 13:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://luckylarry.co.uk/?p=631#comment-1482</guid>
		<description>Hey larry,
really nice post! I gave it a go with IR and it works brilliantly! Im  trying this again but with a stepper motor for 360° rotation but I&#039;m having problems with sending the steps over to serial.print. Do you have any idea how I could solve this?
Cheers</description>
		<content:encoded><![CDATA[<p>Hey larry,<br />
really nice post! I gave it a go with IR and it works brilliantly! Im  trying this again but with a stepper motor for 360° rotation but I&#8217;m having problems with sending the steps over to serial.print. Do you have any idea how I could solve this?<br />
Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>

