<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>touchoptics</title>
	<atom:link href="http://touchoptics.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://touchoptics.wordpress.com</link>
	<description>We are developing a system to help blind people sense their surroundings beyond the range of a standard walking cane.</description>
	<lastBuildDate>Sun, 20 Mar 2011 18:57:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='touchoptics.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>touchoptics</title>
		<link>http://touchoptics.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://touchoptics.wordpress.com/osd.xml" title="touchoptics" />
	<atom:link rel='hub' href='http://touchoptics.wordpress.com/?pushpress=hub'/>
		<item>
		<title>First Prototype</title>
		<link>http://touchoptics.wordpress.com/2011/03/19/hello-world/</link>
		<comments>http://touchoptics.wordpress.com/2011/03/19/hello-world/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 19:11:08 +0000</pubDate>
		<dc:creator>touchoptics</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://touchoptics.wordpress.com/?p=1</guid>
		<description><![CDATA[We are developing a system to help blind people sense their surroundings beyond the range of a standard walking cane. Using low-cost, open source, wearable electronics we hope to produce a set of technologies and methodologies that can be easily replicated and customized by others. The prototype below uses under $100 in parts, using an Arduino [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=touchoptics.wordpress.com&amp;blog=21396278&amp;post=1&amp;subd=touchoptics&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We are developing a system to help blind people sense their surroundings beyond the range of a standard walking cane. Using low-cost, open source, wearable electronics we hope to produce a set of technologies and methodologies that can be easily replicated and customized by others.</p>
<p>The prototype below uses under $100 in parts, using an Arduino board, a vibration motor and an ultrasonic range finder to translate a single point of depth data into varying intensities of tactile output. A similar system could be mass produced for under $40.</p>

<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf5008/' title='DSCF5008'><img data-attachment-id='23' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf5008.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF5008" title="DSCF5008" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf5004/' title='DSCF5004'><img data-attachment-id='22' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf5004.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF5004" title="DSCF5004" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf5001/' title='DSCF5001'><img data-attachment-id='21' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf5001.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF5001" title="DSCF5001" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4999/' title='DSCF4999'><img data-attachment-id='20' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4999.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4999" title="DSCF4999" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4988/' title='DSCF4988'><img data-attachment-id='12' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4988.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4988" title="DSCF4988" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4987/' title='DSCF4987'><img data-attachment-id='11' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4987.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4987" title="DSCF4987" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4996/' title='DSCF4996'><img data-attachment-id='19' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4996.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4996" title="DSCF4996" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4995/' title='DSCF4995'><img data-attachment-id='18' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4995.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4995" title="DSCF4995" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4994/' title='DSCF4994'><img data-attachment-id='17' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4994.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4994" title="DSCF4994" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4993/' title='DSCF4993'><img data-attachment-id='16' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4993.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4993" title="DSCF4993" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4992/' title='DSCF4992'><img data-attachment-id='15' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4992.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4992" title="DSCF4992" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4991/' title='DSCF4991'><img data-attachment-id='14' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4991.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4991" title="DSCF4991" /></a>
<a href='http://touchoptics.wordpress.com/2011/03/19/hello-world/dscf4990/' title='DSCF4990'><img data-attachment-id='13' data-orig-size='4000,3000' data-liked='0'width="150" height="112" src="http://touchoptics.files.wordpress.com/2011/03/dscf4990.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="DSCF4990" title="DSCF4990" /></a>

<p>Here&#8217;s the source code:</p>
<div style="background-color:#ffffdd;padding:10px;">
<pre style="font:10px Courier;">//
// Touch Optics
// v.1
// http://touchoptics.wordpress.com
//

// Do we want debugging on serial out? 1 for yes, 0 for no
int DEBUG = 1;

const int motorPin = 9;
const int pingPin = 7;

boolean ascending = true;

void setup()
{
  pinMode(motorPin, OUTPUT);
  if (DEBUG) {
    Serial.begin(9600); // Set serial out if we want debugging
  }
}

void loop()
{
  long cm = getPingCentimeters(pingPin);
  analogWrite(motorPin,map(cm,0,200,255,0));
  delay(100);
}

long getPingCentimeters(int pin)
{
  // establish variables for duration of the ping,
  // and the distance result in inches and centimeters:
  long duration;
  // The PING))) is triggered by a HIGH pulse of 2 or more microseconds.
  // Give a short LOW pulse beforehand to ensure a clean HIGH pulse:
  pinMode(pingPin, OUTPUT);
  digitalWrite(pingPin, LOW);
  delayMicroseconds(2);
  digitalWrite(pingPin, HIGH);
  delayMicroseconds(5);
  digitalWrite(pingPin, LOW);

  // The same pin is used to read the signal from the PING))): a HIGH
  // pulse whose duration is the time (in microseconds) from the sending
  // of the ping to the reception of its echo off of an object.
  pinMode(pingPin, INPUT);
  return microsecondsToCentimeters(pulseIn(pingPin, HIGH));
}

long microsecondsToInches(long microseconds)
{
  // According to Parallax's datasheet for the PING))), there are
  // 73.746 microseconds per inch (i.e. sound travels at 1130 feet per
  // second).  This gives the distance travelled by the ping, outbound
  // and return, so we divide by 2 to get the distance of the obstacle.
  // See: http://www.parallax.com/dl/docs/prod/acc/28015-PING-v1.3.pdf
  return microseconds / 74 / 2;
}

long microsecondsToCentimeters(long microseconds)
{
  // The speed of sound is 340 m/s or 29 microseconds per centimeter.
  // The ping travels out and back, so to find the distance of the
  // object we take half of the distance travelled.
  return microseconds / 29 / 2;
}</pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/touchoptics.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/touchoptics.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/touchoptics.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/touchoptics.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/touchoptics.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/touchoptics.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/touchoptics.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/touchoptics.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/touchoptics.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/touchoptics.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/touchoptics.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/touchoptics.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/touchoptics.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/touchoptics.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=touchoptics.wordpress.com&amp;blog=21396278&amp;post=1&amp;subd=touchoptics&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://touchoptics.wordpress.com/2011/03/19/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3741d56e7b3ea4054ec8c6a55ca54941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">touchoptics</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf5008.jpg?w=150" medium="image">
			<media:title type="html">DSCF5008</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf5004.jpg?w=150" medium="image">
			<media:title type="html">DSCF5004</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf5001.jpg?w=150" medium="image">
			<media:title type="html">DSCF5001</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4999.jpg?w=150" medium="image">
			<media:title type="html">DSCF4999</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4988.jpg?w=150" medium="image">
			<media:title type="html">DSCF4988</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4987.jpg?w=150" medium="image">
			<media:title type="html">DSCF4987</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4996.jpg?w=150" medium="image">
			<media:title type="html">DSCF4996</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4995.jpg?w=150" medium="image">
			<media:title type="html">DSCF4995</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4994.jpg?w=150" medium="image">
			<media:title type="html">DSCF4994</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4993.jpg?w=150" medium="image">
			<media:title type="html">DSCF4993</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4992.jpg?w=150" medium="image">
			<media:title type="html">DSCF4992</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4991.jpg?w=150" medium="image">
			<media:title type="html">DSCF4991</media:title>
		</media:content>

		<media:content url="http://touchoptics.files.wordpress.com/2011/03/dscf4990.jpg?w=150" medium="image">
			<media:title type="html">DSCF4990</media:title>
		</media:content>
	</item>
	</channel>
</rss>
