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

<channel>
	<title>Dangerous Prototypes &#187; confessions</title>
	<atom:link href="http://dangerousprototypes.com/category/confessions/feed/" rel="self" type="application/rss+xml" />
	<link>http://dangerousprototypes.com</link>
	<description>A new open source hardware project every month</description>
	<lastBuildDate>Thu, 29 Jul 2010 14:44:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Confessions of a prototyper: USB Infrared Toy</title>
		<link>http://dangerousprototypes.com/2010/06/09/confessions-of-a-prototyper-usb-infrared-toy/</link>
		<comments>http://dangerousprototypes.com/2010/06/09/confessions-of-a-prototyper-usb-infrared-toy/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 09:22:40 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Infrared toy]]></category>
		<category><![CDATA[confessions]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[infrared]]></category>
		<category><![CDATA[IR LED]]></category>
		<category><![CDATA[SFH-482]]></category>

		<guid isPermaLink="false">http://dangerousprototypes.com/?p=4781</guid>
		<description><![CDATA[
Confessions is a series where we share prototypes that didn&#8217;t quite work out. Read previous posts for the Bus Pirate, #twatch, and web platform here.
The USB Infrared Toy took a few tries to get right. We&#8217;d like to fill you in on some things that happened behind the scenes before we released the v1 hardware. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-4782" title="all-three.490" src="http://dangerousprototypes.com/wp-content/media/2010/05/all-three.490.jpg" alt="" width="490" height="180" /></p>
<p><em>Confessions is a series where we share prototypes that didn&#8217;t quite work out. Read previous posts for the Bus Pirate, #twatch, and web platform <a href="http://dangerousprototypes.com/category/confessions/">here</a>.</em></p>
<p>The <a href="http://dangerousprototypes.com/usb-ir-toy-manual/">USB Infrared Toy</a> took a few tries to get right. We&#8217;d like to fill you in on some things that happened behind the scenes before we released the v1 hardware. It went through three revisions before we were happy, and even then there were <a href="http://dangerousprototypes.com/2010/04/05/usb-ir-toy-preorder-1-defect/">plenty of bugs</a> in the initial production version.</p>
<p>The <a href="http://www.seeedstudio.com/depot/usb-infraed-toy-p-607.html?cPath=61_68">USB  IR Toy is $20</a>, including worldwide shipping. At the time of this  post it’s on back order, but v1a hardware is currently in production.</p>
<p>Continue reading for a look at the early USB IR Toy  prototypes.</p>
<p><span id="more-4781"></span><img class="alignnone size-full wp-image-4783" title="irtoyv1.490" src="http://dangerousprototypes.com/wp-content/media/2010/05/irtoyv1.490.jpg" alt="" width="490" height="285" /></p>
<p>The first IR Toy prototype had a PCB USB connector &#8216;tongue&#8217; (<a href="http://dangerousprototypes.com/2010/01/10/free-pcb-sunday-infrared-receivertransmitter-2/">seen here</a>). We weren&#8217;t sure it would work, so we also included a regular through-hole USB jack too. This was a good move because the PCB we used was too thin to make good contact with the USB port.</p>
<p>A circuit based on outdated datasheets was used for the IR receiver. C4 is a 10uF capacitor, and R2 is a pull-up resistor for very old-style receivers that don&#8217;t have one internally.</p>
<p>In this version the PIC drives the IR LED directly without a transistor. The MCLR circuit uses a SOT-23 diode (D1).</p>
<p><img class="alignnone size-full wp-image-4784" title="irtoyv2.490" src="http://dangerousprototypes.com/wp-content/media/2010/05/irtoyv2.490.jpg" alt="" width="490" height="335" /></p>
<p>An SMD mini-B USB jack was used in the second prototype instead of the PCB and through-hole USB connectors.</p>
<p>The power supply for the IR receiver was updated based on a modern datasheet, and the external pull-up resistor was removed. Part layout at the front of the board was cleaned up a lot.</p>
<p>We decided to try an interrupt pin with a <a href="http://en.wikipedia.org/wiki/Schmitt_trigger">Schmitt trigger</a> to give the receiver better noise immunity. The white wire was added so we could test the new interrupt before committing to another PCB.</p>
<p><img class="alignnone size-full wp-image-3278" title="irtoy-overview" src="http://dangerousprototypes.com/wp-content/media/2010/01/irtoy-overview.jpg" alt="" width="490" height="284" /></p>
<p>Version 1 is a fairly major update from the last prototype.</p>
<p>We connected the IR receiver to both interrupt pins. The current firmware uses the pin with a Schmitt trigger, but the TTL pin is also available for experimentation.</p>
<p>The MCLR diode was changed from an SOT-23 package to DO-323. This change saves some space and reduces the pin count.</p>
<p>We also really wanted the IR LED to be hackable for higher current. The PIC pin can only source 20mA max, so we added a transistor that can handle up to 200mA.</p>
<p>This is the initial production version. It has one major error: the IR LED silkscreen is backwards in the Eagle library. The small tab pointing up and to the right should be on the bottom left. Preorder 1 <a href="http://dangerousprototypes.com/2010/04/05/usb-ir-toy-preorder-1-defect/">shipped with the LED backwards</a>, this was corrected in preorder 2.</p>
<p><img class="alignnone size-full wp-image-5179" title="USBIRtoy.v1a" src="http://dangerousprototypes.com/wp-content/media/2010/06/USBIRtoy.v1a.jpg" alt="" width="490" height="291" /></p>
<p>Version 1a is a minor manufacturing update. The latest files are <a href="http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn/trunk/USBIRtoy/hardware">available in the SVN</a>.</p>
<p>Current back-orders, and future orders, will be filled with v1a hardware.</p>
<p>This version uses a &#8216;normal&#8217; LED footprint instead of the funky, incorrect SFH-482 from the Eagle part library. We requested that Seeed use a plain IR LED like we used in the prototype, instead of the dated (and expensive) SFH-482. This version will also ship with a 180ohm current limiting resistor for higher-power IR LED transmission.</p>
<p><strong>Onwards</strong></p>
<p>Without a doubt there will be future revisions of the USB IR Toy hardware.</p>
<ul>
<li>We have an all through-hole kit version ready to go.</li>
<li>The IR transmitter could be replaced with a proper right-angle module instead of a bent-LED.</li>
<li>Most of the IO pins are unused and should be brought to the edge for prototyping and expansion.</li>
</ul>
<p>You can continue this discussion, ask questions, and make suggestions in the <a href="http://dangerousprototypes.com/forum/index.php?board=29.0">USB IR Toy forum</a>.</p>
<p>The <a href="http://www.seeedstudio.com/depot/usb-infraed-toy-p-607.html?cPath=61_68">USB   IR Toy is $20</a>, including worldwide shipping. At the time of this   post it’s on back order, but v1a hardware is currently in production and should ship soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://dangerousprototypes.com/2010/06/09/confessions-of-a-prototyper-usb-infrared-toy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Confessions of a prototyper: #twatch v1/v1b</title>
		<link>http://dangerousprototypes.com/2009/09/14/confessions-of-a-prototyper-twatch-v1v1b/</link>
		<comments>http://dangerousprototypes.com/2009/09/14/confessions-of-a-prototyper-twatch-v1v1b/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 07:26:07 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[#twatch]]></category>
		<category><![CDATA[confessions]]></category>
		<category><![CDATA[Prototypes]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://dangerousprototypes.com/?p=1101</guid>
		<description><![CDATA[
Last week we released the #twatch v2, an ethernet backpack for 20&#215;4 character LCDs. This wasn&#8217;t the only version of the #twatch that we designed. V2 is based on the slick, inexpensive, single-chip ethernet microcontroller, the PIC 18F67J60. The biggest downside to the 18f67J60 is that it can only be programmed an average of 100 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1149" title="twatchv1-image" src="http://dangerousprototypes.com.php5-11.dfw1-1.websitetestlink.com/wp-content/media/2009/09/twatchv1-image.jpg" alt="twatchv1-image" width="450" height="302" /></p>
<p>Last week we released the <a href="http://dangerousprototypes.com/2009/09/10/prototype-twitter-watcher-the-twatch/">#twatch v2, an ethernet backpack for 20&#215;4 character LCDs</a>. This wasn&#8217;t the only version of the #twatch that we designed. V2 is based on the slick, inexpensive, single-chip ethernet microcontroller, the <a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en026445">PIC 18F67J60</a>. The biggest downside to the 18f67J60 is that it can only be programmed an average of 100 times. The limited program cycles make it really difficult to develop the firmware unless you&#8217;re a programming genie.</p>
<p>#twatch v1 is a development board for the #twatch firmware. It uses a <a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en026374">PIC 24FJ64GA002</a> microcontoller with a million potential programing cycles, and an ENC28J60 for ethernet access. The design isn&#8217;t as advanced as v2, but it&#8217;s key to developing the #twatch firmware. We also use the v1 #twatch to diagnose new bugs, like the recent <a href="http://dangerousprototypes.com/2009/09/12/twatch-twitter-changes-json-feed-slightly/">change in Twitter JSON</a>.</p>
<p>You can <a href="http://dangerousprototypes.com/2009/09/11/preorder-the-twatch-ethernet-lcd-backpack/">buy an assembled #twatch v2 PCB for $30</a>, including worldwide shipping. Keep reading for more about the v1 design.</p>
<p><span id="more-1101"></span></p>
<p><strong>Hardware/PCB</strong></p>
<p><img class="alignnone size-full wp-image-1146" title="twatchv1-pcb" src="http://dangerousprototypes.com.php5-11.dfw1-1.websitetestlink.com/wp-content/media/2009/09/twatchv1-pcb.jpg" alt="twatchv1-pcb" width="450" height="348" /></p>
<p>#twatch v1 uses a 28pin SOIC PIC24FJ64GA002. This is one of our favorite chips, you might recognize it from <a href="http://dangerousprototypes.com/bus-pirate-manual/">the Bus Pirate</a>.  These 16bit chips are really easy to work with, and they have a ton of RAM for storing Tweets. Most importantly, it should last through a million program cycles, so it won&#8217;t burn out during development like the 18F67J60.</p>
<p>Since the 24FJ64GA002 doesn&#8217;t have a built-in ethernet transceiver, we used the 28pin SOIC ENC28J60 ethernet controller.</p>
<p>The 24FJ64GA002 doesn&#8217;t have enough 5volt tolerant pins to operate the LCD in 8bit parallel mode, so we used the 4bit mode instead. Most LCDs have a 4bit mode, but it cuts the refresh rate in half and makes the scrolling seem a bit jerky.</p>
<p>The LCD screen and ethernet transceiver can  use a lot of current. Depending on the power supply, the voltage regulators may have to dissipate a bunch of heat. The v1 #twatch used surface mount SOT-223 regulators, but we decided to use  larger TO-220 regulators on v2. Additionally, there&#8217;s some really poor routing and sizing of power traces on the v1 PCB.</p>
<p><strong>v1/v1b</strong></p>
<p>V1 (image) and v1b (rendering) are slightly different versions of the same board. V1 uses a 10mm through-hole potentiometer, v1b uses a small 3mm surface mount version. V1b has cleaner routing around the backlight control, and uses a larger 1206 current-limiting resistor.</p>
<p><strong>Conclusion</strong></p>
<p>The PCBs and firmware for #twatch v1 are on the <a href="http://code.google.com/p/dangerous-prototypes-open-hardware/">Google Code project page</a>. If you want to build your own v1, <a href="http://www.seeedstudio.com/depot/propaganda-service-propaganda-pcbs-c-64_33.html">Seeed has our extra PCBs</a>, and we&#8217;ll be giving away free v1 and v2 #twatch PCBs for the next few <a href="http://dangerousprototypes.com/category/free-prototype-pcb-sunday/">Free PCB Sundays</a>.</p>
<p>You can <a href="http://dangerousprototypes.com/2009/09/11/preorder-the-twatch-ethernet-lcd-backpack/">order an assembled v2 #twatch for $30</a>, including worldwide shipping, until September 23rd, 2009. Your support makes our projects possible, thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://dangerousprototypes.com/2009/09/14/confessions-of-a-prototyper-twatch-v1v1b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Confessions of a prototyper: Server v2</title>
		<link>http://dangerousprototypes.com/2009/08/11/confessions-of-a-prototyper-server-v2/</link>
		<comments>http://dangerousprototypes.com/2009/08/11/confessions-of-a-prototyper-server-v2/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 13:30:23 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[confessions]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://dangerousprototypes.com/?p=350</guid>
		<description><![CDATA[
The original web server on a business card Ian posted at Hack a Day was a homemade single-sided PCB with a few jumper wires. A version 2 was designed on a professional PCB, which opened up a lot of possibilities for new features. We added a 128&#215;128 color Nokia knock-off LCD to make a network-connected [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-377" title="wsbc2(2)" src="http://dangerousprototypes.com.php5-11.dfw1-1.websitetestlink.com/wp-content/media/2009/08/wsbc22.jpg" alt="wsbc2(2)" width="450" height="257" /></p>
<p>The original <a href="http://hackaday.com/2008/09/25/web-server-on-a-business-card-part-2/">web server on a business card</a> Ian posted at Hack a Day was a homemade single-sided PCB with a few jumper wires. A version 2 was designed on a professional PCB, which opened up a lot of possibilities for new features. We added a <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=569">128&#215;128 color Nokia knock-off LCD</a> to make a network-connected photo frame.</p>
<p>The blue wire on the left connects some  power pins we forgot to route. The unrouted wire was directly over the connecting wire, which made Eagle Cad&#8217;s unrouted indicator invisible. Now we use the zoom-unrouted.ulp script to check for unrouted wires before submitting Gerbers to the board house.</p>
<p>This design remains unpublished because the parts are hard to find. SparkFun stopped carrying the microSD card holder, and a new batch of LCDs didn&#8217;t work the same as the old models. The giant DPack 3.3volt regulator (LD117) next to the power jack at the back of the board was also a really expensive, somewhat rare part. We have one extra PCB that we&#8217;ll give away on a future <a href="http://dangerousprototypes.com/category/free-prototype-pcb-sunday/">free PCB Sunday</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dangerousprototypes.com/2009/08/11/confessions-of-a-prototyper-server-v2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Confessions of a prototyper: Bus Pirate v1.5</title>
		<link>http://dangerousprototypes.com/2009/07/31/bus-pirate-v1-5-confessions-of-a-prototyper/</link>
		<comments>http://dangerousprototypes.com/2009/07/31/bus-pirate-v1-5-confessions-of-a-prototyper/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 13:14:24 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Bus Pirate]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[confessions]]></category>

		<guid isPermaLink="false">http://dangerousprototypes.com/?p=113</guid>
		<description><![CDATA[
The Bus Pirate V2a and V2go weren&#8217;t the only design candidates for the Bus Pirate v2 series. Here&#8217;s a rendering of the Bus Pirate &#8216;v1.5&#8242;, a design that never saw the light of day. This Bus Pirate was meant to be completely portable. It has an LCD to display the terminal, and a keyboard jack [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-247" title="bp15" src="http://dangerousprototypes.com.php5-11.dfw1-1.websitetestlink.com/wp-content/media/2009/07/bp15.jpg" alt="bp15" width="450" height="218" /></p>
<p><a href="http://hackaday.com/2009/06/25/how-to-the-bus-pirate-v2-with-usb/">The Bus Pirate V2a and V2go</a> weren&#8217;t the only design candidates for the Bus Pirate v2 series. Here&#8217;s a rendering of the Bus Pirate &#8216;v1.5&#8242;, a design that never saw the light of day. This Bus Pirate was meant to be completely portable. It has an LCD to display the terminal, and a keyboard jack to work with a <a href="http://www.thinkgeek.com/computing/keyboards-mice/5a7f/">roll-up rubber keyboard</a>.</p>
<p>Here&#8217;s some of the differences between this version and the final v2 series.</p>
<ol>
<li>This design didn&#8217;t include software controlled pull-up resistors. It uses the jumper concept from v1a with SMD resistors.</li>
<li>V1.5 included a Nokia LCD knock off, like the one <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=569">SparkFun sells for $15</a>. The LCD backlight needs 7volts, so the large SOT223 regulator behind the power supply is a LM317 set to 7volts. The LM317 also supplies the other regulators with 7volts, which is  better than the 5V supply to 5volt regulators on the v2a and v2go.</li>
<li>The six hole pattern seen on both sides of the PCB is for the <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8509">PC keyboard connector</a>. PC keyboards operate at 5volts, so this feature took two of only seven 5volt tolerant pins on the PIC24FJ64.</li>
</ol>
<p>When we decided to manufacture the Bus Pirate, this design was too complicated and expensive. The code to run the LCD terminal and read the keyboard was big and made it hard to add new protocols. The knock-off Nokia LCDs are really inconsistent too, even different batches from SparkFun require different drivers. We minimized the design first to the v2a, then to the v2go.</p>
<p>In the end, we&#8217;re really pleased with the v2go. In retrospect, however, there were a few changes that would have make the whole process smoother. These  have been integrated into the updated <a href="http://dangerousprototypes.com/2009/07/29/bus-pirate-v3-beating-the-shortage/">Bus Pirate v3</a>, which is an even cleaner design that should be easier to manufacture in quantity.</p>
]]></content:encoded>
			<wfw:commentRss>http://dangerousprototypes.com/2009/07/31/bus-pirate-v1-5-confessions-of-a-prototyper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
