<?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"
	>

<channel>
	<title>code, circuits, &#038; construction</title>
	<atom:link href="http://www.tigoe.net/pcomp/code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tigoe.net/pcomp/code</link>
	<description>code and fabrication resources for physical computing and networking</description>
	<pubDate>Mon, 01 Sep 2008 17:35:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Converting an Arduino Diecimila into an ICSP programmer</title>
		<link>http://www.tigoe.net/pcomp/code/category//193</link>
		<comments>http://www.tigoe.net/pcomp/code/category//193#comments</comments>
		<pubDate>Thu, 21 Aug 2008 10:07:40 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[]]></category>

		<category><![CDATA[AVR]]></category>

		<category><![CDATA[arduino/wiring]]></category>

		<category><![CDATA[circuits]]></category>

		<category><![CDATA[arduino diecimila avrdude AVR]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/?p=193</guid>
		<description><![CDATA[Kimio Kosaka has made a way to program a virgin Atmega168 without a hardware programmer.  You use a modified version of the avrdude programming software that can access the extra pins of an FTDI USB-to-serial chip, do a little soldering on your Diecimila, and Bob&#8217;s your uncle, as the Italians say.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category//193/feed</wfw:commentRss>
		</item>
		<item>
		<title>How Much Electricity Is Dangerous?</title>
		<link>http://www.tigoe.net/pcomp/code/category/circuits/176</link>
		<comments>http://www.tigoe.net/pcomp/code/category/circuits/176#comments</comments>
		<pubDate>Fri, 20 Jun 2008 15:19:54 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[circuits]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/circuits/176</guid>
		<description><![CDATA[This question comes up all the time in physical computing classes and workshops. Recently Zach Eveland posted a good informal but thorough answer to the ITP physical computing list. This isn&#8217;t an authoritative medical answer by any means, but it&#8217;s good enough to keep you safe if you follow his recommendations:

&#8220;&#8230;it&#8217;s the current that kills, [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/circuits/176/feed</wfw:commentRss>
		</item>
		<item>
		<title>Microcontroller Shop</title>
		<link>http://www.tigoe.net/pcomp/code/category/XBee/174</link>
		<comments>http://www.tigoe.net/pcomp/code/category/XBee/174#comments</comments>
		<pubDate>Wed, 30 Apr 2008 17:40:07 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[XBee]]></category>

		<category><![CDATA[circuits]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/circuits/xbee/174</guid>
		<description><![CDATA[Microcontroller Shop has a variety of useful electronic and microcontroller parts. What they have that&#8217;s exciting are the XBee boards from droids.it. They sell the XBee Simple board, the XBee Serial board, and the XBee USB board.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/XBee/174/feed</wfw:commentRss>
		</item>
		<item>
		<title>International Keyboard Mapping Fun</title>
		<link>http://www.tigoe.net/pcomp/code/category/OSX/172</link>
		<comments>http://www.tigoe.net/pcomp/code/category/OSX/172#comments</comments>
		<pubDate>Tue, 18 Mar 2008 10:31:53 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/unixlinux/172</guid>
		<description><![CDATA[I&#8217;ve had requests from folks outside the US asking how to get the arcane keyboard commands needed for the screen program in OSX. For those who&#8217;ve used screen commands, you know that to get out of a screen session, you hit control-A followed by control-\ and then respond Y when it asks if you want [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/OSX/172/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sending Mail from Processing</title>
		<link>http://www.tigoe.net/pcomp/code/category/Processing/169</link>
		<comments>http://www.tigoe.net/pcomp/code/category/Processing/169#comments</comments>
		<pubDate>Thu, 13 Mar 2008 12:17:42 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/processing/169</guid>
		<description><![CDATA[Here&#8217;s a piece of code to send mail from Processing.  It uses the net library.  Warning: your mail server may not use port 25.

/* mail_client
 by Tom Igoe

  A simple mail sender client
 Created 21 January 2006
 */

import processing.net.*;
Client myClient;
int clicks;
String reply = null;
boolean sent = false;
void setup() {
  // Connect:
 [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/Processing/169/feed</wfw:commentRss>
		</item>
		<item>
		<title>RFID Reader and Image Display</title>
		<link>http://www.tigoe.net/pcomp/code/category/Processing/168</link>
		<comments>http://www.tigoe.net/pcomp/code/category/Processing/168#comments</comments>
		<pubDate>Wed, 12 Mar 2008 21:25:24 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/processing/168</guid>
		<description><![CDATA[
This program reads ID Innovations ID-12 RFID readers and matches the tags against a list of known tags. It&#8217;s an illustration of how to use an RFID reader to associate data with a set of tags.

/*
  RFID Reader and image display
  Language: Processing

  This program reads ID Innovations ID-12 RFID readers rom [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/Processing/168/feed</wfw:commentRss>
		</item>
		<item>
		<title>Reading Multiple Serial Ports in Processing</title>
		<link>http://www.tigoe.net/pcomp/code/category//167</link>
		<comments>http://www.tigoe.net/pcomp/code/category//167#comments</comments>
		<pubDate>Wed, 12 Mar 2008 12:56:21 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[]]></category>

		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/uncategorized/167</guid>
		<description><![CDATA[
This program reads multiple serial ports and lets you know when data comes from one port or the other. The two ports in this example are attached to ID Innovations ID-12 RFID readers. The ID-12 readers send a string that ends with a byte whose value is 0&#215;03.


/*
   Multiple Serial Ports
   [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category//167/feed</wfw:commentRss>
		</item>
		<item>
		<title>Control Geek</title>
		<link>http://www.tigoe.net/pcomp/code/category/circuits/160</link>
		<comments>http://www.tigoe.net/pcomp/code/category/circuits/160#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:35:48 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[circuits]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/circuits/160</guid>
		<description><![CDATA[Control Geek - John Huntington&#8217;s guide to all things in show control. John&#8217;s book on show control covers every show control data protocol you might need and then some.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/circuits/160/feed</wfw:commentRss>
		</item>
		<item>
		<title>The Handiest Thing Ever (for soft material fabricators)</title>
		<link>http://www.tigoe.net/pcomp/code/category/construction/151</link>
		<comments>http://www.tigoe.net/pcomp/code/category/construction/151#comments</comments>
		<pubDate>Tue, 19 Feb 2008 00:54:01 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[construction]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/construction/151</guid>
		<description><![CDATA[Kate Hartman turned me on to the nifitiest place ever: the Big Button.

This is the information center for the Fashion District. You need to know where to get something there, they&#8217;ll tell you. It&#8217;s located at the corner of 39th St. and Seventh Ave.and well worth a visit.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/construction/151/feed</wfw:commentRss>
		</item>
		<item>
		<title>XBee Library graphing and logging application</title>
		<link>http://www.tigoe.net/pcomp/code/category/Processing/149</link>
		<comments>http://www.tigoe.net/pcomp/code/category/Processing/149#comments</comments>
		<pubDate>Fri, 15 Feb 2008 21:10:44 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[Processing]]></category>

		<category><![CDATA[XBee]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/processing/149</guid>
		<description><![CDATA[Here&#8217;s a program that uses Rob Faludi and Dan Shiffman&#8217;s XBee library for processing to read three analog sensors from multiple remote XBee radios and graph them. It also saves the data to a comma-delimited file. It also makes sounds when the value exceeds a given threshold. For this application, you need two or more [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/Processing/149/feed</wfw:commentRss>
		</item>
		<item>
		<title>XBee Library graphing application</title>
		<link>http://www.tigoe.net/pcomp/code/category/Processing/148</link>
		<comments>http://www.tigoe.net/pcomp/code/category/Processing/148#comments</comments>
		<pubDate>Fri, 15 Feb 2008 20:12:10 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[Processing]]></category>

		<category><![CDATA[XBee]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/processing/148</guid>
		<description><![CDATA[Here&#8217;s a simple program that uses Rob Faludi and Dan Shiffman&#8217;s XBee library for processing to read three analog sensors from a remote XBee radio and graph it. For this application, you need two XBee series 1 radios. One is attached to the serial port of the computer, and the other is remote, broadcasting three [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/Processing/148/feed</wfw:commentRss>
		</item>
		<item>
		<title>Logging Sensor data to a Web Database using Sensorbase.org</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/146</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/146#comments</comments>
		<pubDate>Mon, 11 Feb 2008 22:46:45 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[Lantronix]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[XBee]]></category>

		<category><![CDATA[arduino/wiring]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/php/146</guid>
		<description><![CDATA[Sensorbase.org is an open data repository run by the Center for Embedded Networked Sensing at UCLA. It&#8217;s a database of sensor databases. You can upload datasets to it, and you can browse other datasets as well. If you&#8217;ve never set up a database before but are interested in logging sensor data, it&#8217;s a good tool [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/146/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sensor graphing with 3 lines of code!</title>
		<link>http://www.tigoe.net/pcomp/code/category/arduinowiring/140</link>
		<comments>http://www.tigoe.net/pcomp/code/category/arduinowiring/140#comments</comments>
		<pubDate>Thu, 31 Jan 2008 19:10:30 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[arduino/wiring]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/arduinowiring/140</guid>
		<description><![CDATA[I&#8217;ve been looking for simple ways to graph the data from a sensor attached to a microcontroller lately, because it&#8217;s such a necessary activity if you want to look at sensor data over time. Using Apples Grapher program, which comes with OSX, I found a simple way that involves only four lines of code on [...]]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/arduinowiring/140/feed</wfw:commentRss>
		</item>
		<item>
		<title>Circuit schematic symbols for Illustrator</title>
		<link>http://www.tigoe.net/pcomp/code/category/circuits/134</link>
		<comments>http://www.tigoe.net/pcomp/code/category/circuits/134#comments</comments>
		<pubDate>Thu, 24 Jan 2008 12:40:34 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[circuits]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/circuits/134</guid>
		<description><![CDATA[ITP alum David Bamford has posted some Illustrator symbols for making circuit schematics, for those people comfortable in Illustrator.  Thanks to David for the link and the symbols.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/circuits/134/feed</wfw:commentRss>
		</item>
		<item>
		<title>iPod control from Arduino or Wiring</title>
		<link>http://www.tigoe.net/pcomp/code/category/arduinowiring/131</link>
		<comments>http://www.tigoe.net/pcomp/code/category/arduinowiring/131#comments</comments>
		<pubDate>Thu, 17 Jan 2008 20:02:52 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[arduino/wiring]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/arduinowiring/131</guid>
		<description><![CDATA[Rosie Daniel wrote a nice piece of Arduino code to control an iPod.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/arduinowiring/131/feed</wfw:commentRss>
		</item>
		<item>
		<title>Mechanics for Artists</title>
		<link>http://www.tigoe.net/pcomp/code/category/construction/130</link>
		<comments>http://www.tigoe.net/pcomp/code/category/construction/130#comments</comments>
		<pubDate>Wed, 02 Jan 2008 18:10:53 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[construction]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/construction/130</guid>
		<description><![CDATA[Christopher Palmer's got a couple of nice sites dedicated to mechanics for artists.  Check out kineticworld.com, his blog on mechanical art, and the ROMFA (Rudiments of Mechanics for Artists) wiki as well.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/construction/130/feed</wfw:commentRss>
		</item>
		<item>
		<title>Finding a Lantronix Device on a Subnet</title>
		<link>http://www.tigoe.net/pcomp/code/category/Lantronix/129</link>
		<comments>http://www.tigoe.net/pcomp/code/category/Lantronix/129#comments</comments>
		<pubDate>Thu, 13 Dec 2007 16:13:01 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[Lantronix]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/circuits/lantronix/129</guid>
		<description><![CDATA[Any Java app that receives TCP connections will be able to pull out the IP address of the device connecting to it.Processing app:If your router doesn't disclose the IP table, there are at least five ways you can discover the Xport's IP; one PC-dependent, one Mac-dependent, and three platform independent.Mac-dependent: download IPNetMonitorX and use it to ping all devices on your subnet....  This program uses the Hypermedia UDP library available at http://hypermedia.loeil.org/processing/ by Tom Igoe Created 18 April 2006 */// import UDP libraryimport hypermedia.net.*;UDP udp; // define the UDP objectint queryPort = 30718; // the port number for the device queryString broadcastIpAddress = "128.122.151.255"; // fill in IP address herevoid setup() { // create a new connection to listen for // UDP datagrams on query port udp = new UDP(this, queryPort);// listen for incoming packets: udp.listen( true );}//process eventsvoid draw() { // twiddle your thumbs.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/Lantronix/129/feed</wfw:commentRss>
		</item>
		<item>
		<title>XOR calculation for NMEA checksums (GPS protocol)</title>
		<link>http://www.tigoe.net/pcomp/code/category/Processing/127</link>
		<comments>http://www.tigoe.net/pcomp/code/category/Processing/127#comments</comments>
		<pubDate>Tue, 20 Nov 2007 16:13:27 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/processing/127</guid>
		<description><![CDATA[IF you've ever seen the serial output of a GPS reader, you've seen a mystery string at the end like this:That's the checksum of the whole string....  For example, if the sentence is this:LKLKJLKJLthen you run a checksum on this:KLKJLKJLKHere's a Processing method to calculate the checksum, given the string between the $ and the *:char checkSum(String theseChars) { char check = 0; // iterate over the string, XOR each byte with the total sum: for (int c = 0; c &#60; theseChars.length(); c++) { check = char(check ^ theseChars.charAt(c)); } // return the result return check;}And here's a whole program to use the checksum with an Etek EB-85A reader:/* ETEK EB-85A GPS reader test.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/Processing/127/feed</wfw:commentRss>
		</item>
		<item>
		<title>XBee to USB modules</title>
		<link>http://www.tigoe.net/pcomp/code/category/XBee/126</link>
		<comments>http://www.tigoe.net/pcomp/code/category/XBee/126#comments</comments>
		<pubDate>Wed, 31 Oct 2007 14:04:57 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[XBee]]></category>

		<category><![CDATA[circuits]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/circuits/xbee/126</guid>
		<description><![CDATA[The USB board is nice, because in addition to having a built-in 5V-to-3.3V regulator and indicator LEDs, it's got all the pins of the XBee broken out on the side of the board....  As the US dollar continues to sink, they're a bit pricier for US customers, but still reasonable, for now.Thanks to Rob Faludi and Jeff LeBlanc for testing help, and to Luigi Carnevale for supplying sample boards.
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/XBee/126/feed</wfw:commentRss>
		</item>
		<item>
		<title>Startup Checks</title>
		<link>http://www.tigoe.net/pcomp/code/category/arduinowiring/125</link>
		<comments>http://www.tigoe.net/pcomp/code/category/arduinowiring/125#comments</comments>
		<pubDate>Tue, 30 Oct 2007 19:09:05 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
		
		<category><![CDATA[arduino/wiring]]></category>

		<category><![CDATA[circuits]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/category/code/arduinowiring/125</guid>
		<description><![CDATA[Since this value is stored even when the Arduino is not powered, you're going to get a new number each time it's run.Thanks to Hans for the code./* EEPROM reset checker By Hans Steiner Reads a value from the EEPROM on startup, prints it out, and increments the value then stores it back in EEPROM....  Created 25 Oct. 2007*/ #include &#60;EEPROM.h&#62;int potPin = 5; // select the input pin for the potentiometerint motorPin = 9; // select the pin for the LEDint value = 0; // variable to store the value coming from the sensorint resetCountByte = 36;void setup() { // open the serial port Serial.begin(9600); // read the last value stored in the EEPROM: value = EEPROM.read(resetCountByte); // send it out the serial port: Serial.println(value); // increment it and write it back to the EEOPROM: EEPROM.write(resetCountByte, value + 1); pinMode(motorPin, OUTPUT); // declare the motor as an OUTPUT pinMode(13, OUTPUT); // declare the LED pin as an output digitalWrite(13,HIGH); // turn on the LED}void loop() { // you can do anything you want to here.}
]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/arduinowiring/125/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
