tag:blogger.com,1999:blog-54912779396056445492024-03-05T00:57:51.658-08:00Breadboard ConfessionsLetting the magic smoke out. For science.Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-5491277939605644549.post-36494957162334507942012-02-16T12:34:00.000-08:002012-02-16T12:37:02.726-08:00FK2 Demo Video With Custom PCBI've been able to work on this project in short bursts, and have finally been able to test the new PCB. Currently I've got it set up to run through a series of automated tests to prove that it can execute all the required functions.<br />
<br />
The following keystrokes are implemented:<br />
<br />
UP<br />
DOWN<br />
LEFT (page turn)<br />
RIGHT (page turn)<br />
SELECT<br />
HOME<br />
<br />
With these six commands, the user can select books, turn pages, and return to the main menu to select another book.<br />
<br />
Here's a short video where you can see it run: <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/tYTU-cJzGSw?feature=player_embedded' frameborder='0'></iframe></div>
<br />
From here, all that remains is attaching some simple cables to each button so it can be easily plugged into the appropriate jack on the board, then attaching everything to the new wooden stand I created a couple weeks ago.<br />
<br />
We're getting there!Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com2tag:blogger.com,1999:blog-5491277939605644549.post-64577449121646383252012-01-28T10:53:00.000-08:002012-01-28T10:53:28.779-08:00New PCB!The PCB's from ExpressPCB arrived, and I finally got some time to solder all the components. If all goes well, this should be a much more stable solution.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6724264911/in/photostream"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAURsJzXvwfmAUAyts25AdQRndCyzf2jcb7_Rv1HdUCUKVWMCK5qJpWrDjQQUoB-kJZgdgLywA4GjJPZpbc8INuJfL1vkyI2Y5rUigablv_diXbSq2YtNE3FDHgNnpu0GGuVU5EXtTmYhn/s320/FK2+layout.jpg" width="320" /></a></div>
<div style="text-align: center;">
<i>PCB layout design</i></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6777300229/in/photostream"><img border="0" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs2XBbNG3rEKhlv0cSTPhjaeXWRnceuIPr0oeHHDm7yFMWWcO2n9FzIpHR54eZfla87u66jmzY-DwzcT1VN_b1aV-yaWZuGCKd3OGLP5Vi_dMmGWOZVTqW_wOD_qeMqpZiQuuehDTPcRNk/s320/DSCN3489.JPG" width="320" /></a></div>
<div style="text-align: center;">
<i>Front view</i> </div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6777300321/in/photostream"><img border="0" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIAuTbI0hq77rKoJdeITtJOn3WZc1L9xEIEKjVmA8QGxoNbgXJWQlfmpKlyKtchCV87yUezgA56kyOZTliUp5Ryzp8sUg8AmlBxqtmcBLo0LjgqStl2Dws91FjQABrg4B_vUEYpkgskIUN/s320/DSCN3490.JPG" width="320" /></a></div>
<div style="text-align: center;">
<i>Back view. Testing out a new logo.</i> </div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6777300409/in/photostream"><img border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJQF9jfUK9t9oiVARChW9gxyVYNUBUVq62E5uu6oYd7F4pm0S-0z-W10a5YYAmtKVSnE7oZdo0c7lVfwY2JzSb6IOF4H-uKpEgeiLRBoRrNeqIY_F7wPSN6njmdbmkjjIxUmYmXqfO_lvh/s320/DSCN3491.JPG" width="320" /></a></div>
<div style="text-align: center;">
<i>The fully populated board!</i></div>
<br />
I applied power and the LED came on as it should. Voltages to the Teensy controller and the two multiplexers (mounted on the red breakout boards) is correct as well. There's still a bit more testing to be done before I hook up all the buttons, but so far I'm happy with how it's coming together.<br />
<br />
<br />
<br />Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-57157814852324566622012-01-18T22:44:00.000-08:002012-01-18T22:44:33.973-08:00Custom PCB design complete!It's always exciting when you create something and test it for the first time. It's not unlike trying a new baking recipe. Put yourself in that magical state of limbo where all the ingredients have been mixed, the dish is assembled and has just gone into the oven. You're confident that you've followed the recipe correctly but you just can't quite silence that little voice in the back of your head telling you that you won't know for sure until the oven timer dings. <br />
<br />
That's where I'm at right now.<br />
<br />
I checked and re-checked the PCB design, and when I was finally satisfied that there was nothing else I could do from this end, I submitted my order. I'm using a site called <a href="http://expresspcb.com/index.htm">ExpressPCB</a>. I've talked to a few people who have used them before and they have had good results, so I'm optimistic. I can say for certain that their schematic capture and PCB layout software is far easier to use than the alternative (*cough* - Eagle - *cough*). One other nice thing about this particular PCB service is their unbelievably fast turnaround time. I expect to see my boards within 4 to 5 business days.<br />
<br />
If you're curious, here's what a completed PCB design looks like.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6724264911/in/photostream"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQfO7OCP5jhBKRBN8k5ugrWw8SSN2w_AJxwp5zv5CrCLL0ZToh6-ibE-b2w849R_ujN38stAaZRVI0gZrtr4mVDvDzubKPSr8S2UFzwrN3IfWIjY6R8y1FY4PQrz3Gus5UZ8n8ORGWFI4l/s320/FK2+layout.jpg" width="320" /></a></div>
<br />
This is a 2-layer Printed Circuit Board (PCB). That means there are actually two layers of "copper", or conductive metal traces. These are analogous to the "wires" in a wire-wrapped board. In the picture above, the green layer is actually printed on the bottom of the board and the red layer is on top. Note the reversed green text, indicating that this text will appear on the bottom of the board, and will look correct when viewed from underneath.<br />
<br />
The yellow text and lines are called a "silkscreen" layer, and are printed last, after the board is completely fabricated. These markings exist to assist in component alignment and board identification.<br />
<br />
The board is designed, and the order placed. All there is to do now is wait. <br />
<br />
...and I hate waiting. <br />
<br />
<br />Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-35417083554079612572012-01-18T10:15:00.000-08:002012-01-18T10:15:49.570-08:00We're famous!Last night, those of you in the San Francisco Bay Area may have seen a human interest story during the 6:00 news that looks familiar.<br />
<br />
That's right, we made the news! <br />
<br />
I'll post the link below. Head over there and show your support for the fine folks at ABC San Francisco, they do great work!<br />
<br />
You can find the video <a href="http://abclocal.go.com/kgo/story?section=news%2Ftechnology&id=8509232">here</a>.Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-20716233114158261332012-01-17T15:00:00.000-08:002012-01-17T15:00:20.855-08:00Redesign underway!It's been a slow few weeks in the world of the Frankenkindle. Having an infant in the house, while amazing and stressful and miraculous, leaves little time for electronics tinkering. <br />
<br />
The Frankenkindle was intended to be a Christmas gift for my sister, but something went sideways when it everything was transferred from the old wooden stand to the new plastic body. It became unstable, and only worked sporadically. Needless to say this isn't suitable for a gift, and I'll need to fix it before Amberly can use it.<br />
<br />
Fortunately, I had already planned to create a custom PCB design for the next phase of the project. PCB, for those of you who may not know, means "<a href="http://en.wikipedia.org/wiki/Printed_circuit_board">Printed Circuit Board</a>". PCB's aren't susceptible to any of the instability issues that are inherent in <a href="http://en.wikipedia.org/wiki/Wire_wrap">wire-wrapped</a> boards, which are prone to lose wires, shaky connections, etc. This is what bit me at Christmas. The wire-wrapped prototype circuit proved too fragile to be transferred from one body to the next, and something broke. The design is solid, so it makes sense to take the plunge and transfer everything to a PCB.<br />
<br />
Wire wrapping is a great technique for quickly prototyping a concept circuit, but it is never to be considered a good long-term solution for circuit design. The downside, of course, is the additional time and money required to produce a good PCB design. Fortunately the fundraising efforts on the <a href="http://www.indiegogo.com/Frankenkindle-adaptive-electronics-interfaces-1?a=321629">IndieGoGo campaign</a>, along with a few other donations, has allowed the project to move forward. A PCB is being designed now, and should be available for testing soon. <br />
<br />
The initial PCB will replicate the same features of the existing Frankenkindle device. Since the primary goal is still to give it to Amberly as a (very belated) Christmas gift, I want to get it functional as quickly as possible. Once she's taken care of, I'll begin adding features and pushing the design to the next phase.<br />
<br />
<br />
So what's next? All sorts of good stuff. New capabilities for the Frankenkindle itself, interfaces to new devices, and a few completely new ideas! <br />
<br />
Keep checking in, there's a lot more to come!Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-34229828655331580292011-12-29T09:46:00.000-08:002011-12-29T09:46:54.823-08:00New Body, New IssuesI wanted to take some decent shots of the new Frankenkindle body, so you can see what it looks like when fully assembled.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6595083335/in/photostream"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJaaybflD1q7A4HwfgLDSquWETNOLRA-sep1uBj1DOq_0SaX9t3dJ8nujLRqVp8mGHC1Yf3Iy1N9B5pTa79L3-6xuupapQDXabnr8EpBm8_d4Qv1TouhTyTPDhOCapKMVA59V6pif1sRqb/s320/DSCN3382.JPG" width="320" /></a></div>
<div style="text-align: center;">
<i>Front view. Agatha Christie approves.</i></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6595085917/in/photostream"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkCKZvEhxccBdVFQ2oeahtgcC6sFQelVx9YTDPpWIKOiINkUnx6k9j1Ovf2NGo5GkMXRmxd7UdyftMUr5DyjYiBSlIrukMaXlM1AzvE-t5lZFKcCqIkByyXbOdgqS0eW88kxp_jooKKBvU/s320/DSCN3383.JPG" width="320" /></a></div>
<div style="text-align: center;">
<i> Another front view, </i></div>
<div style="text-align: center;">
<i>slightly different angle for dramatic effect (try to contain yourself).</i></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6595091191/in/photostream"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit1tlpxU8gQ7FmzNtAfmLYDqAkXeQIQi7GPt-czwkfRog5DN3oxxVIVE0LJ5l7asK0zdM5acriARC3uXys-xT4M2F7AqxjE_EBe6rTz5b004Jo9PLTJnAcxPKFGqhAT3oNmHC84Y8WpUNl/s320/DSCN3385.JPG" width="320" /></a></div>
<div style="text-align: center;">
<i>Rear view.</i></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Note that the electronics haven't changed just yet. This is simply a new package for the same device we've demonstrated earlier. </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
This button arrangement worked out beautifully for my sister, but it turns out it doesn't fit on her tray! She uses a joystick to drive the chair, which stands about 6" high and sits at her right hand. Her left hand is strapped into a permanent support on the left side of the tray, giving me about 10.5" of useable space on the tray, right in the middle. This body is just over 18" wide.</div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
I had spent so much time designing the body itself that I didn't consider the available room on her tray. You can't see it, but I'm banging my head on my desk. Rookie mistake. </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
This is what R&D is all about. Trying to anticipate everything, and then trying to fix what you didn't see coming. In this case we'll need another body design, but I now have some experience with that so the next one should come much more easily. The electronics still need to be repackaged as well, so I will try to incorporate that into the next design. </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Stay tuned for more updates as they become available.</div>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-68202333866405538982011-11-25T10:52:00.001-08:002011-11-25T10:54:53.662-08:00New funding opportunity!Go have a look at our shiny new <a href="http://www.indiegogo.com/Frankenkindle-adaptive-electronics-interfaces-1?a=321629&i=addr">IndyGoGo funding campaign</a>!<br />
<br />
If you can give, that's great. If not, that's also fine. I know times are tough, and every dollar counts for everyone. If you want to help but can't spare a buck or two, I'd appreciate it if you could just tell a friend. Facebook, Reddit, Google+, I'm not picky. <br />
<br />
Help us get the word out!<br />
<br />
<br />Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-3150560775469435382011-11-23T14:04:00.001-08:002011-11-23T14:34:17.574-08:00New body for the FK1The FK1, as it's being called now, received a new body this week. Parts were obtained from TAP Plastics in San Rafael, CA, and assembled. Overall I think it looks very good so far.<br />
<br />
Apologies for the image quality - cell phone cameras and all... <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6389779629/in/photostream"><img border="0" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMaqw7RtOJtuTM7MxLfmbuZtcjdtOf_Cdh9P2Ek-LvaQQcgxVzkcI0U16Ws0Dz3YrTQg0L6HwdOr9RKmz5xulbmUMmrz2KMQJRf_EWJlnYDoyNyh6I-ikK5qARRxDkZN34KWEVkf-yOzr0/s320/IMG_20111120_195721.jpg" width="320" /></a></div>
<div style="text-align: center;">
<i>FK1 Front Panel Assembled. Napoleon Dynamite Approves.</i></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6389782657/in/photostream"><img border="0" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV64473BdlviHpkWJttjfKsmNnCjxSYhhXxUnbk8YOJWsF9ifNCWkDpyvmg7uEWhJbnVibRPEEFei9fNHsbNzW6G_odtGElZM8GBssyRrKMH2XFMy_an1Q_Ge3bGsSs3-Ey08ETCUuMsY_/s320/IMG_20111120_195741.jpg" width="320" /></a></div>
<div style="text-align: center;">
<i>FKI Rear View</i></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flickr.com/photos/60527729@N05/6389777699/in/photostream"><img border="0" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLmQ9GMqyK-yL8WT6ELi3GVUFzF7HNla7IjP-Y2t_b5zRWw2FKQlZdFb4LHktt-SgOrnE3ljRBxAynbOkvXHHIsA9ZdIS6VsOtgteDa4Gc3QnF_nS4cEd9k2jZg_NVx84-aEZfEenpYDxT/s320/IMG_20111122_210845.jpg" width="320" /></a></div>
<div style="text-align: center;">
<i> FK1 Front Panel w/ Kindle & Cover</i></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Everything is a learning process. I'm keeping a list of things to alter/upgrade/change when the FK2 is finally built, and that list keeps growing. So far it's a secret though, so keep checking back for progress updates! :)</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
The next step on the FK1 will be the actual brain transplant. The control board will be mounted on the large flat area in the rear of the unit and wired to all six control buttons. The ribbon cable will be routed around the side, and that should do it! </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<br />Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-56821712388053479292011-11-15T08:04:00.001-08:002011-11-15T09:03:04.681-08:00Get your very own Frankenkindle!Long time no see! Turns out having an infant at home kinda takes up a lot of one's time.<br />
<br />
Last week I received my first request for pricing on a Frankenkindle. (insert happiness and merriment here).
The eventual goal has always been to offer this up for sale, but the
design needs a lot of work. I've got some great ideas for additional
functionality that I'd like to add, but as of now they're just that:
ideas.<br />
<br />
Stay tuned for information on the next-gen Frankenkindle. For now though, let's concentrate on what we have right in front of us. <br />
<br />
Original Frankenkindle (FK1)<br />
<br />
Parts have been ordered from <a href="http://www.tapplastics.com/">TAP Plastics</a> to create a housing that is easier on the eyes. I figured it was better to have a platform that could be streamlined and trimmed back later. It will be constructed of 1/2" plastic and will utilize six arcade-style buttons for control, but will use the same control system we've seen before. <a href="http://www.flickr.com/photos/60527729@N05/6348005164/in/photostream">Here's</a> what the design should look like. Expect pictures after Thanksgiving.<br />
<br />
It was this version that I quoted to the reader who requested more information. Then I realized that there's really no reason to make you guys wait if there's anyone else out there who might be interested. After all, Christmas is coming up... <br />
<br />
Before we get to a quote, it's important that we all understand a few key points about the FK1:<br />
<ul>
<li>The design isn't finished yet. </li>
</ul>
There are a lot of changes and improvements coming soon... (cue cheesy, ominous music) While the critical page turning functions work beautifully, the user has only the following keystrokes available: Up, Down, Left, Right, Select, and Home. This is sufficient for selecting and reading books, but it will still require assistance for things like connecting to the Amazon network to download additional books. <br />
<ul>
<li>The design isn't finished yet</li>
</ul>
The FK1 will be constructed of 1/2-inch plastic. It will be strong. It'll probably survive the next big California earthquake. This was intentional. Rather than testing structures that may break under unanticipated stresses, I decided to overdesign it. The housing will be a key area of the next design, which should look better and (with any luck) cost less to produce.<br />
<ul>
<li>The design isn't finished yet (see a pattern yet?)</li>
</ul>
The control board that powers the Frankenkindle was hacked together piece by piece as each function was figured out. While "pretty" isn't usually a requirement for DIY electronics projects, efficiency should be. This control board will receive the bulk of the design attention in the next revision. Many new features will be added, and a custom circuit board will be created. It should be far simpler to assemble, and (again, with any luck) cost less. The FK1 however, will ship with something similar to <a href="http://breadboardconfessions.blogspot.com/2011/08/frankenkindle-prototype-demo.html">the control board you've seen in previous posts</a>.<br />
<br />
Finally, understand that the use of any Frankenkindle unit will shred any warranty that Amazon may offer. for this reason, it is not possible to modify an existing Kindle unit. Each Frankenkindle (certainly the FK1 and possibly later versions as well) will ship with a new 3rd-generation Kindle. You will receive a completely assembled unit, and detailed instructions will be included for any operation that may be required for use (for example, replacing the original Kindle cables to add books.) <br />
<br />
So, all that said, if you would like to purchase your very own FK1 unit it can be yours for the bargain basement price of...<br />
<br />
$445 (w/ Kindle WiFi)<br />
$495 (w/ Kindle WiFi + 3G)<br />
<br />
This won't always be the case, but for now I can only accept payment through PayPal. Please direct all sales-related inquiries to eewestcoaster@gmail.com.Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-68089087847753631772011-10-18T11:01:00.000-07:002011-10-20T09:52:47.811-07:00Frankenkindle Field Test - Great Success!This last weekend my wife and I packed up our new daughter and headed south to Lompoc to spend some time with the family. The purpose of the visit was twofold: My sister was due to meet and play with both her new niece and the Frankenkindle. I'll leave it to you to decide which is more important.<br />
<br />
The day was a fantastic success on all levels.<br />
<br />
When it finally came time to play with the Frankenkindle, my sister took to it immediately. A very brief introduction was all that was needed, and she was off and running. Here is some home video we shot of her using the device. (Apologies for the quality. My Dad did a great job with the camera but we only got one take because of a dying battery.)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/Zq9e63jd0Oo?feature=player_embedded' frameborder='0'></iframe></div>
<br />
She was a great beta tester, suggesting a number of improvements to the design. First, the whole system needs to be raised off the table a bit so she can have better access to the buttons (hence the giant textbook). The next revision will also use different buttons, and she mentioned that she liked <a href="http://www.sparkfun.com/products/7836">these </a>membrane buttons from Sparkfun but would prefer to see them in a single row rather than a 2x2 design. Excellent feedback - Thanks Sis!<br />
<br />
I'm also aware that some of you can't believe I'd gloss over the new baby in favor of electronics. For you, I present a still shot of my sister holding her new niece, Zoey.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmnJXzwQkbY55iI7BZ-aCAM93Npv7u5Lo7pWSGTzLoncMgyMop_dJvaL6-Wrb9rvD9id-9p-vbxaBoT3z5mGUkeqxKBATeIQViOQWCM7c0YevnribV4umTY-yAskzH58nCa1rCf9dDesLZ/s1600/Zoey%252C+Amberly+and+me.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmnJXzwQkbY55iI7BZ-aCAM93Npv7u5Lo7pWSGTzLoncMgyMop_dJvaL6-Wrb9rvD9id-9p-vbxaBoT3z5mGUkeqxKBATeIQViOQWCM7c0YevnribV4umTY-yAskzH58nCa1rCf9dDesLZ/s320/Zoey%252C+Amberly+and+me.jpg" width="240" /></a></div>
<div style="text-align: center;">
<i>Zoey, Amberly, and myself</i> </div>
<br />
<br />Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-85358669550114847932011-08-27T13:59:00.000-07:002011-08-27T13:59:57.651-07:00By request: Frankenkindle demo codeMike at <a href="http://hackaday.com/2011/08/24/more-frankenkindle-progress/">Hackaday</a> suggested that I submit the code used to generate the keystroke sequences that control the Kindle. He correctly noticed in the <a href="http://breadboardconfessions.blogspot.com/2011/08/frankenkindle-prototype-demo.html">prototype video</a> that the pages don't turn very quickly. I believe that this issue is caused by the custom script running on the Kindle itself. You can see that the Up and Down buttons used on the menu selection screen operate very quickly, but the page turn operation takes more time. At this point it's something I think I can live with but I'm always looking for ways to optimize my design. This project will be completely open source anyway, so there's no harm in publishing it a bit early.<br />
<br />
The basic operation is as follows: The microcontroller waits until a button is pressed, at which point it calls the appropriate subroutine. These subroutines manipulate control signals going to two multiplexer chips, which effectively act as Single Pole, Quadruple Pole switches. When activated, they short specific pairs of wires that are connected to the Kindle, mimicking actual button press events. Note that turning individual pages is not possible from the main Kindle keypad, so the software had to be hacked to allow custom control through specific key press sequences. Turning a page to the right is accomplished by pressing the Shift key followed by the 5-way Right key. There is specific timing required to make this work. <br />
<br />
TL;DR: Microcontroller waits for you to press a button, then presses a button on the Kindle for you.<br />
<br />
Note that the controller itself is a <a href="http://pjrc.com/teensy/index.html">Teensy++</a> v1.0 (PJRC has since updated the design and currently sells v2.0 boards). It runs in a mode Paul at PJRC calls <a href="http://pjrc.com/teensy/teensyduino.html">Teensyduino</a>, which allows it to use Arduino code. A full design package (code, schematics, BOM, etc) will be published once I feel the design is complete. For now, here is the code you saw running in the demo video:<br />
<br />
<br />
<div class="code processing"><h4 class="cHead"><a href="http://www.arduino.cc/">Arduino</a> code </h4><div class="cBody"><div class="lines">01<br />
02<br />
03<br />
04<br />
05<br />
06<br />
07<br />
08<br />
09<br />
10<br />
11<br />
12<br />
13<br />
14<br />
15<br />
16<br />
17<br />
18<br />
19<br />
20<br />
21<br />
22<br />
23<br />
24<br />
25<br />
26<br />
27<br />
28<br />
29<br />
30<br />
31<br />
32<br />
33<br />
34<br />
35<br />
36<br />
37<br />
38<br />
39<br />
40<br />
41<br />
42<br />
43<br />
44<br />
45<br />
46<br />
47<br />
48<br />
49<br />
50<br />
51<br />
52<br />
53<br />
54<br />
55<br />
56<br />
57<br />
58<br />
59<br />
60<br />
61<br />
62<br />
63<br />
64<br />
65<br />
66<br />
67<br />
68<br />
69<br />
70<br />
71<br />
72<br />
73<br />
74<br />
75<br />
76<br />
77<br />
78<br />
79<br />
80<br />
81<br />
82<br />
83<br />
84<br />
85<br />
86<br />
87<br />
88<br />
89<br />
90<br />
91<br />
92<br />
93<br />
94<br />
95<br />
96<br />
97<br />
98<br />
99<br />
100<br />
101<br />
102<br />
103<br />
104<br />
105<br />
106<br />
107<br />
108<br />
109<br />
110<br />
111<br />
112<br />
113<br />
114<br />
115<br />
116<br />
117<br />
118<br />
119<br />
120<br />
121<br />
122<br />
123<br />
124<br />
125<br />
126<br />
127<br />
128<br />
129<br />
130<br />
131<br />
132<br />
133<br />
134<br />
135<br />
136<br />
137<br />
138<br />
139<br />
140<br />
141<br />
142<br />
143<br />
144<br />
145<br />
146<br />
147<br />
148<br />
149<br />
150<br />
151<br />
152<br />
153<br />
154<br />
155<br />
156<br />
157<br />
158<br />
159<br />
160<br />
161<br />
162<br />
163<br />
164<br />
165<br />
166<br />
167<br />
168<br />
169<br />
170<br />
171<br />
172<br />
173<br />
174<br />
175<br />
176<br />
177<br />
178<br />
179<br />
180<br />
181<br />
182<br />
183<br />
184<br />
185<br />
186<br />
187<br />
188<br />
189<br />
190<br />
191<br />
192<br />
193<br />
194<br />
195<br />
196<br />
197<br />
198<br />
199<br />
200<br />
201<br />
202<br />
203<br />
204<br />
205<br />
206<br />
207<br />
208<br />
209<br />
210<br />
211<br />
212<br />
213<br />
214<br />
215<br />
216<br />
217<br />
218<br />
219<br />
220<br />
221<br />
222<br />
223<br />
224<br />
225<br />
226<br />
227<br />
228<br />
229<br />
230<br />
231<br />
232<br />
233<br />
234<br />
235<br />
236<br />
237<br />
238<br />
239<br />
240<br />
241<br />
242<br />
243<br />
244<br />
245<br />
246<br />
247<br />
248<br />
249<br />
250<br />
251<br />
252<br />
253<br />
254<br />
255<br />
256<br />
257<br />
258<br />
259<br />
260<br />
261<br />
262<br />
263<br />
264<br />
265<br />
266<br />
267<br />
268<br />
269<br />
270<br />
271<br />
272<br />
273<br />
274<br />
275<br />
276<br />
277</div><pre><span class="COM">///////////////////////////////////////////////////////////////////////
</span><span class="COM">//
</span><span class="COM">// Frankenkindle v0.1 code
</span><span class="COM">//
</span><span class="COM">// Glenn Johnson
</span><span class="COM">// 8/2011
</span><span class="COM">//
</span><span class="COM">// Monitor simple pushbuttons from V.Reader device and <span class="KEY">translate</span>
</span><span class="COM">// into Kindle-compatible keypad control signals.
</span><span class="COM">//
</span><span class="COM">// Note: Chip select signals not used - both multiplexers
</span><span class="COM">// are always powered.
</span><span class="COM">//
</span><span class="COM">//////////////////////////////////////////////////////////////////////
</span>
<span class="KEY">void</span> <span class="KEY">setup</span>() {
<span class="COM">//Set up serial <span class="KEY">for</span> debug messages
</span> Serial.begin(9600);
<span class="COM">//<span class="KEY">set</span> up the digital inputs from the V.Reader
</span> pinMode(PIN_B0, INPUT_PULLUP); <span class="COM">//Down, marked <span class="STR">"Replay"</span>
</span> pinMode(PIN_B1, INPUT_PULLUP); <span class="COM">//Home, marked as <span class="STR">"Exit"</span>
</span> pinMode(PIN_B2, INPUT_PULLUP); <span class="COM">//Up, marked as <span class="STR">"Play"</span>
</span> pinMode(PIN_B3, INPUT_PULLUP); <span class="COM">//(Not connected)
</span> pinMode(PIN_B4, INPUT_PULLUP); <span class="COM">//Right
</span> pinMode(PIN_B5, INPUT_PULLUP); <span class="COM">//Select (Enter), marked as <span class="STR">"Bookmark"</span>
</span> pinMode(PIN_B6, INPUT_PULLUP); <span class="COM">//Left
</span>
<span class="COM">//<span class="KEY">set</span> up digital outputs to control the mux
</span> pinMode(PIN_C0, OUTPUT); <span class="COM">//IN1_1
</span> pinMode(PIN_C1, OUTPUT); <span class="COM">//IN2_1
</span> pinMode(PIN_C2, OUTPUT); <span class="COM">//IN1_2
</span> pinMode(PIN_C3, OUTPUT); <span class="COM">//IN2_2
</span> <span class="COM">//pinMode(PIN_C4, OUTPUT); //chip select 1
</span> <span class="COM">//pinMode(PIN_C5, OUTPUT); //chip select 2
</span>
pinMode(PIN_D6, OUTPUT); <span class="COM">//LED, <span class="KEY">for</span> testing
</span>
<span class="COM">//Set control signals to unused states
</span> digitalWrite(PIN_C0, HIGH);
digitalWrite(PIN_C1, HIGH);
digitalWrite(PIN_C2, HIGH);
digitalWrite(PIN_C3, HIGH);
<span class="COM">//digitalWrite(PIN_C4, LOW);
</span> <span class="COM">//digitalWrite(PIN_C5, LOW);
</span>
}
<span class="KEY">void</span> shift()
{
<span class="COM">//press SHIFT
</span> digitalWrite(PIN_C0, LOW); <span class="COM">//IN1_1
</span> digitalWrite(PIN_C1, HIGH); <span class="COM">//IN2_1
</span>
<span class="KEY">delay</span>(100);
<span class="COM">//release SHIFT
</span> digitalWrite(PIN_C0, HIGH);
digitalWrite(PIN_C1, HIGH);
}
<span class="KEY">void</span> left()
{
<span class="COM">//press DPAD_LEFT
</span> digitalWrite(PIN_C0, HIGH); <span class="COM">//IN1_1
</span> digitalWrite(PIN_C1, LOW); <span class="COM">//IN2_1
</span>
<span class="KEY">delay</span>(100);
<span class="COM">//release DPAD_LEFT
</span> digitalWrite(PIN_C0, HIGH); <span class="COM">//IN1_1
</span> digitalWrite(PIN_C1, HIGH); <span class="COM">//IN2_1
</span>
}
<span class="KEY">void</span> right()
{
<span class="COM">//press DPAD_RIGHT
</span> digitalWrite(PIN_C0, LOW); <span class="COM">//IN1_1
</span> digitalWrite(PIN_C1, LOW); <span class="COM">//IN2_1
</span>
<span class="KEY">delay</span>(100);
<span class="COM">//release DPAD_RIGHT
</span> digitalWrite(PIN_C0, HIGH); <span class="COM">//IN1_1
</span> digitalWrite(PIN_C1, HIGH); <span class="COM">//IN2_1
</span>
}
<span class="KEY">void</span> up()
{
<span class="COM">//press DPAD_UP
</span> digitalWrite(PIN_C2, LOW); <span class="COM">//IN1_2
</span> digitalWrite(PIN_C3, LOW); <span class="COM">//IN2_2
</span>
<span class="KEY">delay</span>(100);
<span class="COM">//release DPAD_UP
</span> digitalWrite(PIN_C2, HIGH); <span class="COM">//IN1_2
</span> digitalWrite(PIN_C3, HIGH); <span class="COM">//IN2_2
</span>
}
<span class="KEY">void</span> down()
{
<span class="COM">//press DPAD_DOWN
</span> digitalWrite(PIN_C2, HIGH); <span class="COM">//IN1_2
</span> digitalWrite(PIN_C3, LOW); <span class="COM">//IN2_2
</span>
<span class="KEY">delay</span>(100);
<span class="COM">//release DPAD_DOWN
</span> digitalWrite(PIN_C2, HIGH); <span class="COM">//IN1_2
</span> digitalWrite(PIN_C3, HIGH); <span class="COM">//IN2_2
</span>
}
<span class="KEY">void</span> enter()
{
<span class="COM">//press DPAD_CENTER
</span> digitalWrite(PIN_C2, LOW); <span class="COM">//IN1_2
</span> digitalWrite(PIN_C3, HIGH); <span class="COM">//IN2_2
</span>
<span class="KEY">delay</span>(100);
<span class="COM">//release DPAD_CENTER
</span> digitalWrite(PIN_C2, HIGH); <span class="COM">//IN1_2
</span> digitalWrite(PIN_C3, HIGH); <span class="COM">//IN2_2
</span>
}
<span class="KEY">void</span> shiftLeft()
{
<span class="COM">//send SHIFT keystroke
</span> shift();
<span class="KEY">delay</span>(200);
<span class="COM">//send DPAD_LEFT keystroke
</span> left();
<span class="COM">//Two <span class="KEY">second</span> <span class="KEY">delay</span>, ensure that the script has time to execute.
</span> <span class="KEY">delay</span>(2000);
}
<span class="KEY">void</span> shiftRight()
{
<span class="COM">//send SHIFT keystroke
</span> shift();
<span class="KEY">delay</span>(200);
<span class="COM">//send DPAD_RIGHT keystroke
</span> right();
<span class="COM">//Two <span class="KEY">second</span> <span class="KEY">delay</span>, ensure that the script has time to execute.
</span> <span class="KEY">delay</span>(2000);
}
<span class="KEY">void</span> shiftUp()
{
<span class="COM">//send SHIFT keystroke
</span> shift();
<span class="KEY">delay</span>(200);
<span class="COM">//send DPAD_UP keystroke
</span> up();
<span class="COM">//Two <span class="KEY">second</span> <span class="KEY">delay</span>, ensure that the script has time to execute.
</span> <span class="KEY">delay</span>(2000);
}
<span class="KEY">void</span> <span class="KEY">loop</span>() {
<span class="COM">//<span class="KEY">if</span> a button is pressed, it goes low
</span>
<span class="KEY">if</span> (!digitalRead(PIN_B0))
{
<span class="COM">//Down
</span>
<span class="COM">//Kindle command
</span> down();
<span class="KEY">delay</span>(1000);
}
<span class="KEY">if</span> (!digitalRead(PIN_B1))
{
<span class="COM">//Home
</span>
<span class="COM">//Kindle command
</span> shiftUp();
<span class="KEY">delay</span>(1000);
}
<span class="KEY">if</span> (!digitalRead(PIN_B2))
{
<span class="COM">//Up
</span>
<span class="COM">//Kindle command (Home = Shift + Up)
</span> up();
<span class="KEY">delay</span>(1000);
}
<span class="KEY">if</span> (!digitalRead(PIN_B3))
{
<span class="COM">//Not connected
</span>
}
<span class="KEY">if</span> (!digitalRead(PIN_B4))
{
<span class="COM">//Turn page right
</span>
<span class="COM">//Kindle command
</span> shiftRight();
<span class="KEY">delay</span>(1000);
}
<span class="KEY">if</span> (!digitalRead(PIN_B5))
{
<span class="COM">//Select
</span>
<span class="COM">//Kindle command
</span> enter();
<span class="KEY">delay</span>(1000);
}
<span class="KEY">if</span> (!digitalRead(PIN_B6))
{
<span class="COM">//Turn page left
</span>
<span class="COM">//Kindle command (page turn left = Shift + left)
</span> shiftLeft();
<span class="KEY">delay</span>(1000);
}
}</pre></div><div class="cFoot"><a href="http://www.anthonymattox.com/code_formatter">code formatter</a></div></div>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-77907229031097109872011-08-25T11:12:00.000-07:002011-08-25T11:12:52.910-07:00Exciting times for the Frankenkindle!<br />
<div class="MsoNormal">Yesterday was a huge day for the Frankenkindle!</div><div class="MsoNormal"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb9vj3RearG79feqyuVg2ZLnkPS2s45Boi-K9WJk6yHNvUv1zZWTwoOUzBIUTB80llRRIMlwMD0osBV8Oi0x3wpGsQOSSJtmmM1-D7v9rlcxSxn0VjuW6OAYApcV0hgRyazDqoGFeRDLrQ/s1600/8-24-2011+3-18-45+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb9vj3RearG79feqyuVg2ZLnkPS2s45Boi-K9WJk6yHNvUv1zZWTwoOUzBIUTB80llRRIMlwMD0osBV8Oi0x3wpGsQOSSJtmmM1-D7v9rlcxSxn0VjuW6OAYApcV0hgRyazDqoGFeRDLrQ/s640/8-24-2011+3-18-45+PM.png" width="640" /></a></div><div class="MsoNormal"><br />
</div><div class="MsoNormal">Site traffic jumped, to say the least, as word of the <a href="http://www.blogger.com/">functional prototype demo</a> spread. Special thanks to Drew from <a href="http://buildlounge.com/2011/08/23/kindle-hacked-for-a-good-cause/">Build Lounge</a>, who saw the post on <a href="http://www.reddit.com/r/somethingimade/comments/jr6md/update_functional_demo_vid_aftermarket_keyboard/">Reddit</a> and forwarded the link to a few other websites. </div><div class="MsoNormal"><br />
</div><div class="MsoNormal">Throughout the day it spread all over the world. Here are some other sites promoting the project. I urge you to take a moment to check them out, as many of these sites are dedicated to making devices for disabled individuals just as I am, and could benefit from some additional exposure. </div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://blog.makezine.com/archive/2011/08/engineer-mods-a-kindle-for-his-sister.html">Make</a> </div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://www.engadget.com/2011/08/24/engineer-hacks-a-kindle-creates-easy-to-use-prototype-for-siste/">Engadget</a></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://hackaday.com/2011/08/24/more-frankenkindle-progress/">Hackaday</a> </div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://translate.google.es/translate?hl=es&sl=es&tl=en&u=http%3A%2F%2Ftinta-e.blogspot.com%2Fp%2Fpasapagina.html">Tinta-e</a> (from Spain! Translated to English)</div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://www.geek.com/articles/gadgets/electrical-engineer-creates-frankenkindle-for-sister-with-cerebral-palsy-20110824/">Geek.com </a></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://www.the-digital-reader.com/2011/08/24/introducing-the-frankenkindle-video/">Inhabitat</a></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://thenerdinsurance.us/?tag=frankenkindle">The Digital Reader</a><br />
<br />
<a href="http://www.mobileread.com/forums/showthread.php?t=147596">The Nerd Insurance</a><br />
<br />
<a href="http://www.mobileread.com/forums/showthread.php?t=147596">MobileRead Forums</a> (these guys are great. I got the Launchpad script I used to hack the Kindle on a <a href="http://www.mobileread.com/forums/showthread.php?t=97636">different thread</a> on this site.)</div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><a href="http://www.richardsnotes.org/archives/2011/08/24/frankenkindle/">Richard's Notes</a> (personal blog)<br />
<br />
I also sat for a couple interviews, so be on the lookout for those stories to be published soon. I’ll post links when they’re up. </div><div class="MsoNormal"><br />
</div><div class="MsoNormal">Stay tuned for an update on the project itself, where I will attempt to answer some of the questions posed by comments to the above linked stories. There are some fantastic discussions going on in this niche market, and it’s exciting to be a part of it. </div><div class="MsoNormal"><br />
</div><div class="MsoNormal">Finally, we also received our first donation! I’m not sure if it was intended to be anonymous so I’ll err on the side of caution. You know who you are, and we thank you. Just to recap, we accept donations through PayPal or Bitcoin (information on the sidebar). If you want to help but don't have / don't want to send the cash, just have a look at the ads on the side of the page. Every little bit helps!</div><div class="MsoNormal"><br />
</div><div class="MsoNormal">Thanks again for taking the time to follow my little project. </div>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com2tag:blogger.com,1999:blog-5491277939605644549.post-76263576909844714482011-08-21T22:34:00.000-07:002011-08-21T22:39:32.384-07:00Frankenkindle prototype demo<div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/roplxL3SgTg?feature=player_embedded' frameborder='0'></iframe></div><br />
That's right, it's alive!<br />
<br />
The Frankenkindle is alive, and fully functional. The 5-way keypad (up, down, left, right and center) and 'Home' have all been implemented with a substitute keyboard. (Also,if you turn up your speakers you may hear Queen playing Bohemian Rhapsody in the background - don't say I never give you anything.)<br />
<br />
Functionally it's complete, but there's still a fair bit to be done to make it more robust. The Kindle itself needs to be semi-permanently mounted to the front panel rather than just resting on two wood screws. The circular interface board along with the flat cable connecting it to the Kindle are both quite fragile and will need to be covered. Finally, the cables will need to be routed in a more organized fashion.<br />
<br />
Here are some pictures to better illustrate what you saw in the video. Keep in mind that this is a prototype if ever there was one. It's not pretty, but it doesn't have to be. It's functional. Once my sister has a chance to play with it I'll be able to take some good notes on what works and what doesn't, and fold them into the next revision. Right now I'm designing for what<i> I think</i> she'll need. The only way to find out if it's useful to her is to actually turn her loose on it and watch what happens.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/6068417354/in/photostream"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdpHvOF7djAh8gt1HdFd6NxQ15WNq7SJ6tUcnnFve_ls-kx29p6rRHeJZrtL418053hlGstVXmZPtrFiAYPk07lknJxDYp2Ooh-m7N8cyOZd6Kj7lr0hB1xVzTVYOHHcvI1yuQ7XXXYAzc/s320/kindle+on+stand+small.JPG" width="239" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuM9TNoRrQq6JHIHgR7j115jYz7jKUqVL-9poyjWRmS7ZP010tUMbCxVHiGxz9V7btwuXEvpiKbhqAAECaDseF7uJAsuz1un6SWBt8HLzo3DYpErOs9b1yzfoDTsbuRe0Act7FGIV2Eozt/s1600/back+small.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br />
</a></div><div style="text-align: center;"> <i>The disassembled Frankenkindle. Front panel, Kindle, and control board are all visible.</i></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/6067872217/in/photostream"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikIaErqZJvu1M1eQO0UvoKcWjecW0OrIfaCGMVvc7rP3As6iAit6FwJKmHoSKCahzm4jgZygChNqrwe_APR8a5xBZGsZasGlzUl5xrjI2ZoxpmrGewDOD4yBa02xjXZjUCsUZlf3Hnw3pb/s320/side+small.JPG" width="219" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div style="text-align: center;"><i>Side view, showing the circular board used to interface the main control board</i></div><div class="separator" style="clear: both; text-align: center;"><i>to the Kindle's keyboard input.</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/6068417180/in/photostream"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuM9TNoRrQq6JHIHgR7j115jYz7jKUqVL-9poyjWRmS7ZP010tUMbCxVHiGxz9V7btwuXEvpiKbhqAAECaDseF7uJAsuz1un6SWBt8HLzo3DYpErOs9b1yzfoDTsbuRe0Act7FGIV2Eozt/s320/back+small.jpg" width="236" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div style="text-align: center;"><i> Rear view, showing the control board. </i></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: left;">Power is supplied from a 5V "wall wart" style power supply and the 9-pin serial cable is used to provide an easy quick-disconnect for the new front panel buttons.</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikIaErqZJvu1M1eQO0UvoKcWjecW0OrIfaCGMVvc7rP3As6iAit6FwJKmHoSKCahzm4jgZygChNqrwe_APR8a5xBZGsZasGlzUl5xrjI2ZoxpmrGewDOD4yBa02xjXZjUCsUZlf3Hnw3pb/s1600/side+small.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br />
</a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikIaErqZJvu1M1eQO0UvoKcWjecW0OrIfaCGMVvc7rP3As6iAit6FwJKmHoSKCahzm4jgZygChNqrwe_APR8a5xBZGsZasGlzUl5xrjI2ZoxpmrGewDOD4yBa02xjXZjUCsUZlf3Hnw3pb/s1600/side+small.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br />
</a></div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/6068417290/in/photostream"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho0Yu5L2T6-57me7f8c2CdK7HVHjiukZoookvfa4Rr8chvsDpSOTDTKrR7Ijr6VPWZAH9ofc87ziDSMnesNbq6zxbUacjzGIzzcyPv3yByyxkEuOEqknCFV2D-kgHfh2X6ovlzS9MVVfYJ/s320/control+board+solo+closeup.jpg" width="308" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div style="text-align: center;"><i>Closeup of the main control board. </i> </div><br />
5V DC power is fed through the black cable and used to power the Teensy controller directly (the long green board with USB connector). It is then fed through a series of diodes to provide a sexy red power LED and stable 3.3V for the multiplexers (actually closer to 3.5V, but who's counting?). The multiplexers are the surface-mount chips on the red breakout boards. The bank of resistors in the upper right form a series of voltage dividers, useful for dropping the 5V control signals from the Teensy into 3.3V signals suitable for use with the multiplexers.<br />
<br />
And there you have it! More pictures will be posted to document progress on the enclosure itself. Also, be on the lookout for a full bill of materials (BOM) and more formal documentation. <br />
<br />
Thanks for reading! Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com11tag:blogger.com,1999:blog-5491277939605644549.post-63676586976631656282011-08-20T16:26:00.000-07:002011-08-20T16:26:48.050-07:00Rookie mistake<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ZDukYcX-xt6nlR-550I6R3ELQgMkIw3mc9tm3sXbDe1ml2uKMR9J0L8TLgYA78BIB_ybhXJJAPtgaNiQqeBv8epGmwQT_TfrmDpYNIwJbc-ZRNr9dHuwgdqR5Lqrh4MGX-G1p7XWVo6G/s1600/facepalm.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ZDukYcX-xt6nlR-550I6R3ELQgMkIw3mc9tm3sXbDe1ml2uKMR9J0L8TLgYA78BIB_ybhXJJAPtgaNiQqeBv8epGmwQT_TfrmDpYNIwJbc-ZRNr9dHuwgdqR5Lqrh4MGX-G1p7XWVo6G/s320/facepalm.jpg" width="320" /></a></div>We all do it, and we all hate to admit it. But every now and then a facepalm-worthy event occurs that just can't stay hidden.<br />
<br />
A few weeks ago I finished rewiring the main control board on the Frankenkindle, adding quick-disconnect cables and fitting it into the crude wooden stand I made. Everything looked good, but it stubbornly refused to actually control the kindle. <br />
<br />
I tested everything. I checked the code, made special modified subroutines for testing, played with the timing, checked continuity on every connection on the board. Then I did it again. Then (you guessed it), I did it again. This worked on the breadboard, so what's different about my new wiring?<br />
<br />
Then it hit me.<br />
<br />
I came back to <a href="http://breadboardconfessions.blogspot.com/2011/06/by-request-kindle-3-keyboard-map.html">this blog post</a> wherein I explained the keyboard connector on the back of the Kindle itself. Sure enough, there it was in black and white: "As seen in this picture, pin 1 is at the bottom, and pin 20 on top." It seems in my infinite wisdom I had failed to document this fact anywhere else in my notes, and wired the Kindle connector board in reverse. As is usually the case, it's always the simplest things that trip us up. <br />
<br />
I haven't facepalmed that hard in a while. It was so bad I had to share. <br />
<br />
<br />
Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-70251597502987989422011-08-04T13:18:00.000-07:002011-08-04T13:18:03.736-07:00It's a girl!I just wanted to stop by and explain the painful lack of updates recently. <br />
<br />
Short version: it's my wife's fault. :)<br />
<br />
We're expecting a baby, and have been seeing doctors and attending all sorts of classes to prepare for having our lives turned upside down in a little over a month. Zoey Kristina is set to arrive September 17th, so you can imagine that the past few months have messed with my normal schedule a bit. As those of you with kids know, this disruption is likely to only get more pronounced in the coming months when she gets here. <br />
<br />
I am still working on the Frankenkindle, albeit sporadically. I wire-wrapped the whole circuit onto a perfboard, tore it apart and rewired it all over again, then mounted everything onto a hastily constructed stand. At this point all the pieces are in place, I just need to squash a few small bugs in my code and triple-check the board's wiring. It shouldn't be long now until I have a working demo to show you.<br />
<br />
So, thank you for continuing to follow this project. I assure you it's not dead, just don't expect updates as often as before.<br />
<br />
See you soon!Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-10828104500501378592011-07-06T21:49:00.000-07:002011-07-06T21:49:15.888-07:00No more Amazon Associates referralsI live under a rock, so I didn't find out about this until just the other day when Amazon sent out an e-mail blast to all their California associates, informing us that they are severing ties and will no longer offer referral fees.<br />
<br />
This is in response to a bill that our esteemed governor just signed that will require the state to collect taxes on internet sales. Or something to that effect. I could learn more about it but honestly I don't care. Politicians will do what they do best - nothing constructive.<br />
<br />
So why am I writing about this? Because it means one potential source of income (and a mighty convenient one, at that) has just dried up and gone away. As of now, the only financial way to support this site is with a direct donation (we still accept kindly worded comments if you're running short on cash). <br />
<br />
In the sidebar you will see donation links. As of today we are also accepting donations in the new digital currency known as BitCoin. <br />
<br />
I just wanted to thank you for taking the time to follow this project. Donations or no, it is the enthusiasm and creativity of people like you that help make the world go around. <br />
<br />
Enough talk - let's go void a warranty!Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-71954583804257811212011-06-21T15:07:00.000-07:002011-06-21T15:07:00.832-07:00By Request: Kindle 3 Keyboard MapIn a <a href="http://breadboardconfessions.blogspot.com/2011/04/keyboard-map-complete.html?showComment=1306971499030#c4813909960454220251">previous post</a>, loyal reader Blaketh requested that I post the keyboard map information I'm using for this project. I immediately broke a promise to post it in the following few days, so I'll try to make up for it today. <br />
<br />
First, let's look at the connector itself, so you can figure out which end is up. With the rear cover removed, you can see the keyboard connector in the lower-right corner of the main board. It's a thin white FFC (Flat Flex Cable) type, and has 20 very small pins. <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqvFN5qExqzGG6O73WADWkwvA6eMv1dP73b07a4CGelYKvJQGjEe1AbmcY4wietK3Y-pxSjAGj4_RcgQO0jMaKFs490G98zWKXnzJuT6yLv1O4rE4Nf2YHg8ut3Ddai2hzYxakrRBzQhA_/s1600/keyboard+connector+1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqvFN5qExqzGG6O73WADWkwvA6eMv1dP73b07a4CGelYKvJQGjEe1AbmcY4wietK3Y-pxSjAGj4_RcgQO0jMaKFs490G98zWKXnzJuT6yLv1O4rE4Nf2YHg8ut3Ddai2hzYxakrRBzQhA_/s320/keyboard+connector+1.JPG" width="305" /></a></div><br />
As seen in this picture, pin 1 is at the bottom, and pin 20 on top. <br />
<br />
The keyboard itself is nothing more than a bunch of dry-contact switches, which is to say there aren't any sensitive electronics to worry about damaging or cloning. To simulate a keystroke, all you have to do is short two wires together. The trick is figuring out which pairs do what...<br />
<br />
For your consideration, I present the keyboard map of the Kindle-3. <br />
<br />
<i>(Format: (Short this pin) (to this pin) (to generate this keystroke) )</i><br />
<br />
<br />
<table border="0" cellpadding="0" cellspacing="0" style="width: 336px;"><colgroup><col span="4" style="mso-width-alt: 3072; mso-width-source: userset; width: 63pt;" width="84"></col> </colgroup><tbody>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt; width: 63pt;" width="84">1</td> <td align="right" style="width: 63pt;" width="84">7</td> <td style="width: 63pt;" width="84"><br />
</td> <td style="width: 63pt;" width="84">Menu</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">1</td> <td align="right">8</td> <td><br />
</td> <td>Home</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">1</td> <td align="right">9</td> <td><br />
</td> <td>Back</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">2</td> <td align="right">12</td> <td><br />
</td> <td>Q</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">2</td> <td align="right">13</td> <td><br />
</td> <td>W</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">2</td> <td align="right">14</td> <td><br />
</td> <td>E</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">7</td> <td><br />
</td> <td>R</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">8</td> <td><br />
</td> <td>T</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">9</td> <td><br />
</td> <td>Y</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">10</td> <td><br />
</td> <td>U</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">11</td> <td><br />
</td> <td>I</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">12</td> <td><br />
</td> <td>O</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">13</td> <td><br />
</td> <td>P</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">3</td> <td align="right">14</td> <td><br />
</td> <td>A</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">7</td> <td><br />
</td> <td>S</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">8</td> <td><br />
</td> <td>D</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">9</td> <td><br />
</td> <td>F</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">10</td> <td><br />
</td> <td>G</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">11</td> <td><br />
</td> <td>Home</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">12</td> <td><br />
</td> <td>J</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">13</td> <td><br />
</td> <td>K</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">4</td> <td align="right">14</td> <td><br />
</td> <td>L</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">7</td> <td><br />
</td> <td>Del</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">8</td> <td><br />
</td> <td>Z</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">9</td> <td><br />
</td> <td>X</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">10</td> <td><br />
</td> <td>C</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">11</td> <td><br />
</td> <td>V</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">12</td> <td><br />
</td> <td>Back</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">13</td> <td><br />
</td> <td>N</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">5</td> <td align="right">14</td> <td><br />
</td> <td>M</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">6</td> <td align="right">7</td> <td><br />
</td> <td>.</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">6</td> <td align="right">9</td> <td><br />
</td> <td>Enter</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">6</td> <td align="right">10</td> <td><br />
</td> <td>^ (shift)</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">6</td> <td align="right">11</td> <td><br />
</td> <td>Alt</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">6</td> <td align="right">12</td> <td><br />
</td> <td>Space</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">6</td> <td align="right">13</td> <td><br />
</td> <td>Aa</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">6</td> <td align="right">14</td> <td><br />
</td> <td>Sym</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">20</td> <td align="right">15</td> <td><br />
</td> <td>FW_UP</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">20</td> <td align="right">16</td> <td><br />
</td> <td>FW_DN</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">20</td> <td align="right">17</td> <td><br />
</td> <td>FW_LEFT</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">20</td> <td align="right">18</td> <td><br />
</td> <td>FW_RIGHT</td> </tr>
<tr height="20" style="height: 15.0pt;"> <td align="right" height="20" style="height: 15.0pt;">20</td> <td align="right">19</td> <td><br />
</td> <td>FW_CENTER</td> </tr>
</tbody></table><br />
A simple pushbutton can be used to mimic the stock Kindle keys. <br />
<br />
One word of caution - the auto-repeat delay is very short. You don't notice this on the stock Kindle because those tiny little buttons don't maintain contact when pressed. I won't pretend to know much about their internal structure, but I can tell you that a standard button will generate a lot of duplicate keystrokes in rapid succession if held down or even pressed slowly. In my case I'm using a microcontroller to handle all the timing so it's not a big issue. However, if you're just cloning the keyboard with no additional electronics, you might want to investigate a debounce circuit of some sort or you'll get a lot of duplicate keystrokes.<br />
<br />
That's it! Once again, thanks for reading!Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com2tag:blogger.com,1999:blog-5491277939605644549.post-91495917318612599982011-04-26T13:19:00.000-07:002011-04-26T13:19:41.954-07:00The FrankenKindle - It's alive!Every project needs a good name, and given the nature of this particular endeavor I can't think of anything that would top The FrankenKindle. Now all I need is a theme song...<br />
<br />
This week marked a huge milestone for the project. The two large page turning buttons on the <a href="http://www.amazon.com/V-Reader-80-115600-Animated-E-Book-System/dp/B00385QVHA?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">V.Reader</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B00385QVHA" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /> device were used to control the page turn functionality of the <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" />3. And, wonder of wonders, it worked!<br />
<br />
Here's a quick rundown of the components in the video (skip to the end to see the actual test).<br />
<br />
<i>(WARNING: Nerdspeak ahead. Skip to the bottom if you value your sanity. You've been warned...)</i><br />
<br />
<b><span class="Apple-style-span" style="font-size: large;">The <a href="http://www.amazon.com/V-Reader-80-115600-Animated-E-Book-System/dp/B00385QVHA?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">V.Reader</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B00385QVHA" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /></span></b><br />
<br />
We'll be using seven buttons in total from this device, although for this test only the two large arrow buttons on the front panel were used to turn individual pages. They are simple dry-contact switches, which means that when they're activated it's basically the same as touching two wires together to make a connection. Two wires were used per switch, and are routed back to the microcontroller on the breadboard. <br />
<br />
<b><span class="Apple-style-span" style="font-size: large;">The controller</span></b><br />
<br />
For simplicity's sake I chose to use the <a href="http://pjrc.com/teensy/index.html">Teensy++</a>. It's a USB-powered device based on an 8-bit AVR microcontroller, which allows easy connection to the PC for programming and also provides a convenient 5V supply to the rest of the circuit. In addition, it is compatible with the <a href="http://www.arduino.cc/" target="_blank">Arduino </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=0596155514" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" />environment which dramatically simplifies the programming phase. This particular unit is overkill for this application but we're hip-deep in the prototyping phase here so the emphasis is more on making it work than making it efficient. That will come later.<br />
<br />
<b><span class="Apple-style-span" style="font-size: large;">The multiplexer</span></b><br />
<br />
<a href="http://www.sparkfun.com/products/8970">This </a>is the multiplexer I chose, mainly because it's cheap, intended for digital signals, and has a breakout board already. If multiplexers confuse you, just think of one of those old-school telephone operators sitting in front of a giant <a href="http://www.wreckedmagazine.com/images/joeyredmond/switchboard.jpg">switchboard</a>. They take a jumper cable and connect two signals together so they can communicate. That's exactly what happens here. <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIjegCArc4-B4sknJxnmh21N04ER1hoYRTdExLvBnkE5mRJnDgTGB1VfbT7oML_SDM1l__QlTJICfONoOECn5ocAj-D_Zs_LxEfSPfYmTsBvyKKdzZFIleVmJUZModkJ6RvlAyUYNEjVLi/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="269" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIjegCArc4-B4sknJxnmh21N04ER1hoYRTdExLvBnkE5mRJnDgTGB1VfbT7oML_SDM1l__QlTJICfONoOECn5ocAj-D_Zs_LxEfSPfYmTsBvyKKdzZFIleVmJUZModkJ6RvlAyUYNEjVLi/s320/Capture.PNG" width="320" /></a></div><br />
Let's look at the left-hand circuit for starters. The short version is that pin 7 (called "1D") may be connected to any one of the four pins above it, pins 3, 4, 5 or 6 (1S4, 1S3, 1S2, or 1S1, respectively). The signals IN1 and IN2 control which connection is made, and 1EN and 2EN enable it. The EN signals allow the connection circuits to be handled independently, basically making this into a dual single-pole, quadruple-throw switch. Each chip, then, should allow up to eight distinct connections to be made.<br />
<br />
That's fantastic, except the breakout board supplied by SparkFun doesn't break out the 1EN and 2EN pins, so any connection made on one side of the chip is mirrored on the other. 1D and 2D are still distinct, but they cannot be controlled independently. If 1D is connected to 1S3, then 2D must also be connected to 2S3. This limits us to only four independent connections per chip, rather than eight. (Yes, the two switch systems are electrically isolated, but since it is not possible to independently control them, half of the switch becomes useless for this application.) <br />
<br />
Further, since I can't enable or disable the connection I must reserve one combination as a "home" and make sure it's not used. The reason for this is simple - each connection simulates a key press event on the Kindle. We must have a state where no keys are pressed, and the only way to do that with this chip as SparkFun sells it is to reserve one of the switch combinations and not connect it to the Kindle at all. As such, out of eight possible connections we are only able to use three. <br />
<br />
Fortunately I decided to buy spares, so I should have enough on hand to complete the first run of the FrankenKindle. Eventually I'd like to make this project more user-friendly however, and this issue will need to be addressed. It will likely require creating a custom PCB for the project.<br />
<br />
<b><span class="Apple-style-span" style="font-size: large;">The software</span></b><br />
<br />
As detailed in a previous post, two hacks were used to improve the functionality of the Kindle for this application, <a href="http://www.mobileread.com/forums/showthread.php?t=88004">Jailbreak </a>and <a href="http://www.mobileread.com/forums/showthread.php?t=97636">Launchpad</a>. When a key is pressed on the V.Reader, the Teensy sees that and uses the multiplexer to mimic pressing the specific key sequence to fire the Launchpad script, which will turn an individual page. (<i>Whew!</i>) This same procedure could be used without the software hack, but it would only be able to jump between chapters, not individual pages.<br />
<br />
<i>(This concludes the nerdspeak - welcome back!)</i><br />
<br />
<b><span class="Apple-style-span" style="font-size: large;">The test</span></b><br />
<br />
Enough talk - here's a short video showing how it works. Apologies for the horrible sound quality.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/2V5_qZqcM3k/0.jpg"><param name="movie" value="http://www.youtube.com/v/2V5_qZqcM3k?f=user_uploads&c=google-webdrive-0&app=youtube_gdata" /><param name="bgcolor" value="#FFFFFF" /><embed width="320" height="266" src="http://www.youtube.com/v/2V5_qZqcM3k?f=user_uploads&c=google-webdrive-0&app=youtube_gdata" type="application/x-shockwave-flash"></embed></object></div>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com13tag:blogger.com,1999:blog-5491277939605644549.post-7473016269325836032011-04-19T22:25:00.000-07:002011-04-19T22:25:19.977-07:00Successful keyboard test!They say a picture is worth a thousand words. I'm not sure who "they" are, and I imagine this word value is up for debate, but the idea is nice. <br />
<br />
This video is 2:16, or 136 seconds in length. At 25 frames per second (I have no idea if that's the case, but it's what Youtube recommends), that's 3400 words. Don't worry, I won't put you through that. I just want you to know how valuable this video really is... <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/O4gJbp9XhXs?feature=player_embedded' frameborder='0'></iframe></div><br />
Thanks to the great folks over at the <a href="http://www.mobileread.com/forums/forumdisplay.php?f=150">Mobileread.com forums</a>, it is now possible to remap hotkey combinations and individual keys to just about any function we could need. In this case the 5-way Left and Right keys have been paired with the Shift key to allow them to turn individual pages.<br />
<br />
One unexpected benefit of this technique is that the keys retain their original functionality if used without the Shift key. That is, pressing the Right-side 5-way button will jump to the next chapter in the book. But pressing Shift <i>and then</i> the Right-side 5-way button will advance only one page. <br />
<br />
That's great, but the goal of this project was to be able to do this without using the Kindle's onboard keypad at all, instead using a custom keyboard with big cushy buttons.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/nzJFwDln3sQ?feature=player_embedded' frameborder='0'></iframe></div><br />
This video shows a successful test of the system. There are some very subtle timing issues that will need to be ironed out, and it now becomes clear that an intermediate controller will be required to handle the key sequencing. This entire process should be transparent to the user; a single keystroke should advance a page. Fortunately there are a host of very simple controllers on the market that will be able to accomplish this task.<br />
<br />
We've still got a long way to go, but this was an important milestone. We've shown that the <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle</a> can be controlled externally, using whatever buttons we may find convenient. Once the sequencing and timing issues are resolved, we can move on to actually building the custom keyboard using buttons harvested from the <a href="http://www.amazon.com/V-Reader-80-115600-Animated-E-Book-System/dp/B00385QVHA?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">V.Reader</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B00385QVHA" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" />.<br />
<br />
See you next time!Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-36875555845361880072011-04-18T23:31:00.000-07:002011-04-18T23:31:06.765-07:00Success!I have not yet begun to void your warranties, BestBuy! <br />
<br />
I thought my warranty shredding activities would be limited to popping off the rear case and tapping into the keypad's signal connectors. Nope, it turns out the actual Kindle operating system needs a good dose of warranty-voiding hacks as well. Fortunately the Great and Powerful Internet (henceforth known as the "GPI") came through once again. Thanks to the aforementioned hacks (jailbreak, launchpad), I have successfully created hotkey sequences to allow the user to turn individual pages from the main keypad. <br />
<br />
The simple keystroke combination Shift + Right and Shift + Left (that's the left and right keys on the 5-way) will now allow the user to turn individual pages. Interestingly enough, pressing the Right and Left buttons without first pressing shift retains their original function: jumping between chapters.<br />
<br />
This is a huge success. Proper documentation will follow in a later post, when I'm properly rested and have a chance to produce some decent pictures and maybe a demo video. For now, it looks like the biggest hurdle so far has been overcome.<br />
<br />
Thanks for reading!Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-6290775303169889222011-04-17T22:31:00.000-07:002011-04-17T22:31:52.855-07:00If Engineering were easy, anyone could do it!No Engineering endeavor goes smoothly every step of the way, and this one seems no different. After surprising success with the main keypad a couple weeks ago, it quickly became clear that the easy part was over.<br />
<br />
It turns out that the main keypad and the individual page turn keys on the device edges use signals which are routed through two different connectors on the motherboard. The 20-pin FFC (Flat Flex Cable) connector handles the main keypad signals, while the individual page turn keys on the edges are routed through two VERY small connectors, one 6-pin and the other merely 4. <br />
<br />
Pictures will follow in a later post. For now though, the moral of the story is that tiny connectors are incredibly difficult to deal with. The creation of a breakout board similar to that of the 20-pin main ribbon cable proved to be a spectacular failure.<br />
<br />
So what alternatives do we have? With the existing physical hack, we're only able to advance between <i>chapters</i>, not individual pages. It seems clear that the physical keyboard alone won't be sufficient to complete this project.<br />
<br />
Fast forward a few hours. Some quality alone time with Google and more than a few newbie questions posted on <a href="http://www.mobileread.com/">www.mobileread.com</a> and a possible solution is found. Jailbreak the Kindle and install another software hack called <a href="http://www.mobileread.com/forums/showthread.php?t=97636">Launchpad</a>. (<a href="http://www.jeffreybian.com/1/post/2011/1/kindle-development-101.html">Here</a> is the page I used for the jailbreak operation, which pulls together information from a few different <a href="http://www.mobileread.com/forums/forumdisplay.php?f=150">mobileread.com</a> forum posts and presents it in a nice step-by-step instruction guide) This should allow the keys to be mapped to just about any function we wish. The idea will be to map the left and right keys on the 5-way to force them to turn pages, not chapters. <br />
<br />
So far the Kindle has been jailbroken and it's not (yet) a smoking ruin. The road got a lot longer this week, but we're making good progress.<br />
<br />
Stay tuned for pictures and detailed information about the software hacks. Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-40928075195918590542011-04-03T20:13:00.000-07:002011-04-03T20:14:51.676-07:00Keyboard map complete!This weekend's mini-project was simple - use a physical pushbutton <a href="http://www.sparkfun.com/products/10302">like this</a> to mimic the behavior of every key on the Kindle 3's main keypad. The result? Success!<br />
<br />
Of course as we all know, every silver lining has a cloud. It turns out that the D-Pad (called a "5-Way" in most Kindle documentation), while useful for menu navigation, cannot actually be used to turn a page. <br />
<br />
You read that right. The Kindle offers pairs of oversized buttons on halfway up either side of the unit for turning pages but does not duplicate this functionality in the 5-Way connector they offer on the main keyboard. These dedicated keys are routed to the motherboard through their own connectors. It looks like I'll have to clone this second, much smaller connector as well.<br />
<br />
Back to Mouser, and it looks like the smallest FFC (Flat Flex Cable) connector they've got has 6-pins, which matches nicely with one of the small connectors on the side of the Kindle.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427208/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJNm6CCHUO1es9nacdm8J8k4rDIdSVyiVASlyLYZBzw1LDVIHuRJXdyVhLCInphxfC5nAA-5vdJ_9spqvFq53AfPbSxwTD9K6_pxTZln9Ae_iw2hjPmt9AHsc_kltBscsihWlZTW2KN6p9/s320/keyboard+connectors.JPG" width="265" /> </a></div><div class="separator" style="clear: both; text-align: center;"><i>The 6-pin page turning keypad connector</i></div><div class="separator" style="clear: both; text-align: center;"><i> marked by the upper-right arrow</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Once the dedicated page turn keys are cloned, this phase of the project will be complete. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Phase II begins with an organ transplant. The main keypad from the V.Reader unit referenced in an <a href="http://breadboardconfessions.blogspot.com/2011/03/organ-donor.html">earlier blog post </a>will be removed and wired into an adaptor that will allow it to be used in place of the Kindle's own keypad. This adaptor will also need to be created.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Phase III, hopefully the final phase, will be the creation of a simple stand for the assembly. It will need to position the Kindle in such a way that the screen is easily visible, but will also need to present the custom replacement keyboard so my sister can use it. Finally, the entire assembly will need to be physically secured to a desk or wheelchair tray to provide stability.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Thanks for reading!</div>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com2tag:blogger.com,1999:blog-5491277939605644549.post-66015379786807243942011-03-29T22:44:00.000-07:002011-03-29T23:02:50.575-07:00Keyboard Test<div class="separator" style="clear: both; text-align: center;"></div><div style="text-align: left;">It's amazing what you can learn when you spend a few hours with a <a href="http://www.amazon.com/Fluke-FLUKE-87-5-Digital-Multimeter/dp/B0002YFD1K?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">multimeter</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B0002YFD1K" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /> and a <a href="http://www.amazon.com/Elenco-9485WK-Breadboard-Prototype-Design-Aid/dp/B0002H4W2I?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">breadboard</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B0002H4W2I" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />. </div><div style="text-align: left;"><br />
</div><div style="text-align: left;">The <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle's</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /> keyboard does indeed use simple tactile switches as I had initially expected, but the wiring scheme was not very straightforward at all. For this test I set up a series of <a href="http://www.sparkfun.com/products/10302">tactile buttons</a> from <a href="http://www.sparkfun.com/">SparkFun</a> to mimic the behavior of the Kindle's directional pad. Up, Down, Left, Right, Enter (select) and Home were wired. </div><div style="text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgIl8czRmUC5PzPUjb6Ng7Dhs1eAUKIJpM7q5veck2H-uW_8kw9k0VE2f40DauwcC5J1xlVc08tiNbRS2HV0YEctuBzuRm9GbVg7U2Zxd_81oXPjSyQrK83LV_214fsbCf_ddKs2608stJ/s1600/Keyboard+test.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="297" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgIl8czRmUC5PzPUjb6Ng7Dhs1eAUKIJpM7q5veck2H-uW_8kw9k0VE2f40DauwcC5J1xlVc08tiNbRS2HV0YEctuBzuRm9GbVg7U2Zxd_81oXPjSyQrK83LV_214fsbCf_ddKs2608stJ/s400/Keyboard+test.JPG" width="400" /></a></div><div style="text-align: center;"><i>The sample keyboard wired and ready for testing.</i></div><div style="text-align: left;"><br />
</div><div style="text-align: left;">The test was a success, in that it proved that the keys can be cloned with simple switches. Nevertheless, it illustrated a few more nuances that will need to be fully explored.</div><div style="text-align: left;"><br />
</div><div style="text-align: left;">First, the keys auto repeat. Holding a key will continually execute the given function, and the delay is surprisingly short. I routinely advanced multiple lines vertically or multiple chapters to either side (yes, chapters - we'll come back to that in a second). This means that we will probably need to use some sort of microcontroller to handle the timing. If I'm getting unwanted repeats, how hard will it be for someone with a disability?</div><div style="text-align: left;"><br />
The second issue actually involved the left and right keys. For the purposes of this project it is desirable to use the D-pad instead of the edge-mounted ">" and "<" keys for advancing to the next page, for the simple reason that the edge-mounted keys are routed to the motherboard through an additional, very small 4-conductor cable. It's the same type of cable as the main keyboard connector, but it would be another part to solder and wire. It would be far simpler to just use the D-Pad. <br />
<br />
Fortunately the D-pad's left and right buttons can be used in place of the standard keys on the side of the unit. During testing however, I discovered that my cloned replacements advanced by an entire chapter with each click, not just one page. A quick Google search for keyboard shortcuts suggests that the Alt key can be used to cause this sort of "fast forward" effect. Alt+Right will advance to the next chapter (or annotation), and Alt+Left will back up to the previous one. By pressing my Left and Right keys alone, I jumped by a full chapter, implying that the Alt function was automatically engaged on a signal line that I haven't yet wired. This should be ironed out in a later test when I'm able to simulate more of the keyboard. This test was just intended to show that the keyboard can, in fact, be cloned.</div><div style="text-align: left;"><br />
</div><div style="text-align: left;">Finally there is a very subtle electrical issue that will still need to be addressed, but more research is required to properly document it. Stay tuned.</div><div style="text-align: left;"><br />
</div><div style="text-align: left;">You can see the keyboard test here. Bask in the glow of my amateur film making skills. Try to contain yourself.</div><div style="text-align: left;"><br />
</div><div style="text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/vUfzclnzi40?feature=player_embedded' frameborder='0'></iframe></div><div style="text-align: left;"><br />
</div><div style="text-align: left;"><br />
</div>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-33461955521036635592011-03-18T22:30:00.000-07:002011-03-29T23:03:49.396-07:00Christmas in March!It's always a good week when you get packages from both Mouser and SparkFun in the space of two days. My <a href="http://www.mouser.com/ProductDetail/Hirose-Electric/FH28E-20S-05SH05/?qs=nSryOFbzj8J07B%2f0u%2f7fAg%3d%3d">Hirose connectors</a> and ribbon cables arrived, along with a <a href="http://www.sparkfun.com/products/8877">breakout board from SparkFun</a>.<br />
<br />
Remember the goal of this project, to create a custom keyboard for use with a standard <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />. The <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />is a fantastic design, but only if you have small fingers or superior motor control. For people with certain physical disabilities, this device is completely unusable. <br />
<br />
Today we'll begin creating the physical adapter board that will allow us to solder buttons and such together to create a custom keyboard. We'll worry about the actual layout and physical appearance later. First we have to prove that this is even possible. The first task is to gain access to each of the tiny conductors in the Flexible Flat Cable (FFC) on the <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />motherboard.<br />
<br />
The Hirose connector used on the <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />is a 20-pin type, with 0.5mm pin spacing. The only breakout I could find readily available is an 80-pin TQFP type, for use with certain microcontrollers. It's a great design, with duplicate pads on both sides. There are four possible mounting locations for a connector of this type on each side of the board, which means I can screw up the soldering 7 times and still not be out of luck. <br />
<br />
I really only need one connector. I bought six. Turns out three was the magic number (surface mount soldering is tricky!).<br />
<br />
Thanks to the surprisingly handy magnifying <a href="http://www.amazon.com/Eclipse-902-109-Magnifier-Workbench-White/dp/B0012XG6TS?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">ring lamp</a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B0012XG6TS" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /> my Dad got me back in college, I was finally able to secure the connector to the breakout without shorting any of the leads. A quick continuity test with my <a href="http://www.amazon.com/Fluke-FLUKE-87-5-Digital-Multimeter/dp/B0002YFD1K?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">multimeter </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B0002YFD1K" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />showed that each pin was securely fastened to the board. <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5538647791/"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY3aNURIDt70Og5tto5fAei2RNa4r9Ggn0uBRTRGzvTH8FOZio5g8KrtAFxETLw4ebwGS8pelyJ1fFbUByq_QMF-hh-mlDQBpmtd9S-XUpa66nX0fa0tqbpmzLDfxttniqvLhlM85z53IP/s320/Connector+on+TQFP80+breakout.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>A couple scorch marks never hurt anyone...</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5538647805/"><img border="0" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfMR8KGJFnYrGFAA5TtHnA3Dw7klQdRnEFWj-VsshB4HUDY-Qd4ZGHAuFv_3VxwG45ExYsE2zvixM5tLCYioU6dCrVG2yHng502TS2DVpuxqslenl5cLnzA9PCVZkskaG411EKrRjqYUs1/s320/Connector+with+cable.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>Flat Flexible Cable (FFC) test fit</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Now that we've got the connector attached to a suitable (albeit oddly shaped) breakout board, let's do one final sanity check. We need to make sure the other end of the cable actually fits into the <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle's </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />socket. This is the acid test, and will prove whether or not we actually bought the right connector.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5539226732/"><img border="0" height="220" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8GGCMk6_FkoFcNH5Jboanp5qciJp-hG3W2yPdhMxtcEQywUpfHRGQwa70odtkvPPdHmBS-2NTeqyQFoH0dfyT49xj8gc5wg1lduCEnfY3xTXMqncM50crT44IBexs_dDp4FW4rJeudsos/s320/Cable+in+Kindle+Connector.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>It fits!</i></div><br />
Whew! That's a relief. The cable fits securely into both the <a href="http://www.amazon.com/Kindle-Wireless-Reader-Wifi-Graphite/dp/B002Y27P3M?ie=UTF8&tag=breadboardconfessions-20&link_code=btl&camp=213689&creative=392969" target="_blank">Kindle </a><img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=breadboardconfessions-20&l=btl&camp=213689&creative=392969&o=1&a=B002Y27P3M" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" />connector and my hacked-together breakout board. <br />
<br />
That's enough for today. Now that we have access to the keyboard, we can begin testing to figure out exactly how the buttons work. <br />
<br />
<br />
<a href="http://www.blogger.com/"></a><span id="goog_1994806466"></span><span id="goog_1994806467"></span>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com0tag:blogger.com,1999:blog-5491277939605644549.post-51975643649514395702011-03-12T23:05:00.000-08:002011-03-13T09:52:05.723-07:00Kindle TeardownI went to Best Buy and played with the Kindle in preparation for this project. The first thing I did was to turn it over and look for screws. To my horror, there weren't any. I left empty handed and immediately went to my old friend The Internet. Approximately 14 seconds after I started my search, I'd discovered two excellent videos showing me exactly how to take the Kindle apart. Well, I should clarify that... I knew I wouldn't have a problem taking it apart, the trick would be to make sure it still worked when I put it back together again.<br />
<br />
Two site of note here, both are recent favorites of mine. In no particular order, here they are:<br />
<br />
<a href="http://www.eevblog.com/">www.eevblog.com</a>: <a href="http://www.eevblog.com/2010/09/03/eevblog-109-amazon-kindle-3-3ggsmwifi-6-teardown/">This video</a> was the first I found, and was an excellent tour of the Kindle's guts. Dave demonstrates exactly how to tear the unit down, and even offers some insight into its construction. This was an excellent find, and I plan to spend a lot of time here going forward.<br />
<br />
My only issue with the EEVBlog video above is that he didn't take the front panel apart to look at the keyboard. That was the whole reason for this project, so I bookmarked his site and continued my search. <br />
<br />
<a href="http://www.tested.com/">www.tested.com</a>: This site is chock full of product reviews and teardown videos, and I quickly found the one I was looking for. <a href="http://www.tested.com/how-to-take-apart-a-kindle-3rd-gen/47-122/">A complete teardown and reassembly video of the 3rd generation Kindle</a>. He didn't spend much time on the keyboard but he did completely disassemble the unit and spent some additional time on the disassembly procedure (especially as it relates to the screwless case!). With this information I felt confident that I could completely tear down my Kindle without destroying it. It would be up to me to figure out the keyboard.<br />
<br />
It should be noted that this site is not in any way affiliated with the above blogs. They were an excellent resource for this project however, and I would be remiss if I didn't list them here. Anyone trying a similar project as mine would find their information incredibly useful.<br />
<br />
<br />
Enough talk! Let's void a warranty.<br />
<br />
The 3rd-Generation Kindle is a great piece of engineering. It's much smaller than I expected it to be, and internally it's laid out in a way that allows surprisingly easy maintenance.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigU1tMkiG_9BoMtR41CTeknhlo6rfmfR8HSRwGZ4SN8XNXSQfuSdf5vW5NcTpbPkAPrs7hY1jn672112h_6sXZaCiKgCK4_YaxVa6jHQGjFW7Pms3_xotAlq8hfKEMr-W7tL31vN-7DRDe/s1600/Kindle+rear+view.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br />
</a></div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521744778/"><img border="0" height="207" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXp9r4vYwkhdD7jFTwKm3krHwV5hUMlYYc5M32wLsh5E_qg1QqmrMAO-9mLBLQvbE6xP0n7L2mIr7poa1yfSMMrokc44dh5sIu4I1G8B07oFne0J0DtP3sVMUtPkQ2PNOQRcitk6Smz1uE/s320/Kindle+front+and+back.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>This Kindle is at the top of the button transplant list.</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: left;">I've never used another eReader, so I don't have much to compare it to. That said, I love it. My sister loves to read but has trouble holding a book and turning the pages. This will be exactly what she needs, we just need buttons she can work with! </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">When I bought the Kindle the clerk at Best Buy very politely listed my options for extended service plans. I had to stop myself from laughing out loud. If only he knew that the first thing I'm going to do is take it home and void the warranty. Let's get to it!</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521470238/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigU1tMkiG_9BoMtR41CTeknhlo6rfmfR8HSRwGZ4SN8XNXSQfuSdf5vW5NcTpbPkAPrs7hY1jn672112h_6sXZaCiKgCK4_YaxVa6jHQGjFW7Pms3_xotAlq8hfKEMr-W7tL31vN-7DRDe/s320/Kindle+rear+view.JPG" width="255" /></a></div><div style="text-align: center;"><i>Challenge accepted.</i></div><br />
<div class="separator" style="clear: both; text-align: left;">The first thing you might notice is the fact that the back of the Kindle has no screws. It's like a big sign saying "I dare you to crack this case open." What do we say to a challenge like that? "Watch me."</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">The case simply snaps together. All you need to get it apart is a flat bladed screwdriver. Insert the screwdriver into the seam that runs around the perimeter of the unit, pressing outward. Once you're able to insert the screwdriver under the rear case, rotate it parallel to the table to pry it apart. With a little luck this will open the case slightly, and you can move down a bit to the next spot. Repeat the process all the way around and remove the case.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">When the back case comes off, take a moment to look around. Most notable here is the surprisingly large battery. It is held in place by two screws, which are easily removed. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427182/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmsBx58W5w05uF4OQs7q3VXmzCsYHFrVi8-ziq2D0QCn4YZNELchP9CmVxCGU9yHfDEz4_Uev1r01cv_rpyYuQeYVHyOnx11rXZ1o2kGj75BEV9wSFIKSEmSt2WsmJhxp1_T27PE0hMvB-/s320/Battery+screws.JPG" width="265" /> </a></div><div class="separator" style="clear: both; text-align: center;"><i>Battery screws, begging to be removed.</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: left;">Once the battery is removed, it's time for the motherboard. There are two sizes of screws used in the assembly of this device. Those used to attach the battery are the larger of the two, and there are quite a few more on the frame, the 3G modem and the connector for external lights and such. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427172/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi76aNM0YGM_h-w53IQXc4Uh0h0-RnmkQYxtxfGEGyB9AyXSgUzNFvgoHd6TxdS-ja9N1KteJnDh4zwcqg3-O7LfDBqzckAYho5Hfil8YNwJPhwGbm3L78dDEYGNvvplg6KwsV6UfW8RLB1/s320/Modem+screws.JPG" width="265" /> </a></div><div class="separator" style="clear: both; text-align: center;"><i>Three screws hold the 3G modem (or in this case a plastic dummy) in place.</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5520835165/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlg8aEK0FHME6aGF24tqeMlIXT-EcqAROmZz8DSY0tARvb1V3uytJE26g07WNav5eabJFG-GIxEcsiIrZxJ55Dmtbgh7nmftWFSt2LASun2tsw5lLpmGbwQc6Wiea4zfoeLeuk6MJhuh5A/s320/Frame+screws.JPG" width="265" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>The rest of the large frame screws.</i></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Once the silver screws are removed, it's time to get out the magnifying glass and tweezers and start in on the tiny little black screws. There are 11 of them, and they actively try to hide from you. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427116/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqRxJ3A2VJBsa4jtcEbtW-6jH40ra_d6e9jooJ0aAYFyJCqQ3rpuM7zIyl836fz9ht8BAR3BYB8L8sc0uEBS3wE71dfVJLyhXxe-C3j_Ix8z-uFR35-pnS3F5dQXI4jlvlNgJC88oL149w/s320/Tiny+frame+screws.JPG" width="265" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>It's like playing "Where's Waldo?", but smaller and more expensive.</i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"> With all the screws removed the motherboard is left floating, but it's not quite time to remove it yet. There are four ribbon cables connecting all the front panel buttons to the motherboard, along with one miniature four wire cable with a JST-style connector for the speakers. This connector is at the upper right corner of the image below, just to the right of the dummy 3G modem. The red and black cable can be removed with a flat bladed screwdriver, or with your fingers (provided yours are smaller than mine!). Three of the ribbon cables have "zero insertion force" (ZIF) sockets, and can be removed simply by flipping the top door of the connector and easing the cable to the side. The last ribbon cable (bottom left) uses a different socket, and is a simple press fit. Lift it straight up to disengage.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427208/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJNm6CCHUO1es9nacdm8J8k4rDIdSVyiVASlyLYZBzw1LDVIHuRJXdyVhLCInphxfC5nAA-5vdJ_9spqvFq53AfPbSxwTD9K6_pxTZln9Ae_iw2hjPmt9AHsc_kltBscsihWlZTW2KN6p9/s320/keyboard+connectors.JPG" width="265" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>Four ribbon cables connect the front panel keys to the motherboard.</i></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Once these have been successfully removed, the motherboard is floating free and can be removed. Slide it toward the top of the Kindle slightly to free the connectors and switches at the bottom of the case, and lift the entire assembly up and away. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427270/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0vxBNq-S2osw0nbXY2Pvn7qrIApCMCv5OQv3Fpj35wjFX9j90DdldOh7DWj_gGOvEsOP0XqowndyOn71WwDDoVqyl5TtyKimB8g7p4MLccTueYJDRxYAOSTcPDMq22xiV2ZzltiuGz03F/s320/Motherboard+Removed.JPG" width="279" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>Motherboard removed. This is the back of the keypad.</i></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">When the motherboard is removed, you can infer the purpose of each ribbon cable removed in the previous step. the two smaller cables are routed to the side buttons for turning pages. The large ribbon cable on the lower right is routed to the main keyboard, and the final cable on the lower left handles the eInk controller for the display.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5520835293/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWaiVKzN6CJV9UcvNTtnhSZrIba4qGz4FLMs5pkKhZS1dkW5n-DZucBku1VxVpR1nQE6jUOUzsYhMh_pcpTIoPjnNA2LR7DRiXf6GPuwjLDW1vcHX0gkuvEXFv_IPp0cFsKp7830XMZgRN/s320/Front+Panel+interior.JPG" width="283" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>The front panel, from behind. The display controller cable is clearly visible.</i> </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Once the keyboard is removed, the front panel is visible from the rear. There are a few things to note here. First, the ghost image on the eInk panel. This type of display retains whatever was last displayed when power is removed. Second, the keypad is a simple strip of silicone rubber, with small plungers on the rear of each key. This type of keypad typically uses strips of conductive rubber on the back of each button to close a connection between two exposed traces on the circuit board underneath. In this case however, the plungers are not conductive. The assumption was that we would find pairs of exposed PCB traces to which we could solder wires and hijack each button. Houston, we might have a problem...</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427244/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzfqOVvnk4n20fpxCbP2CrTKHkjQuRcXIaEA81OqAjCDQQHgVEelFL2JGoO8OVmi8HnPl0Mct_vXuCHkxSvyRV8F-4pNPR38g-RexYoE9R7sVYiBBDsct7qWR0rIYNCHRxA1i3xFFbhoiz/s320/Keyboard+front.JPG" width="270" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>The keyboard itself.</i></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Looking at the keyboard itself, it is clear that we'll need a new approach. There doesn't seem to be any simple way to connect wires to these buttons and have the user close the circuit by pressing something on the keypad. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Unless... This keyboard is connected to the motherboard via a 20-connector ribbon cable visible at the lower left of the image above. Let's have a look at the connector to which it mates.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5522001700/"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqvFN5qExqzGG6O73WADWkwvA6eMv1dP73b07a4CGelYKvJQGjEe1AbmcY4wietK3Y-pxSjAGj4_RcgQO0jMaKFs490G98zWKXnzJuT6yLv1O4rE4Nf2YHg8ut3Ddai2hzYxakrRBzQhA_/s320/keyboard+connector+1.JPG" width="305" /></a></div><div class="separator" style="clear: both; text-align: center;"><i>Flat ribbon cable connector for the keyboard.</i></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">This cable is the only connection between the main keyboard and the motherboard. The signals from each key must be carried in this cable. It's a 20-pin connector but I count 42 distinct keys on the front (not counting the four side-mounted buttons for turning pages. This cable is still our best bet for intercepting the keyboard commands and injecting our own, but it's going to take some tinkering to figure out the signals.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">First, let's have a look at the connector. Flipping through the new Mouser catalog that conveniently arrived yesterday, it looks like this is an FFC (Flexible Flat Cable) connector from Hirose. The arrow in the picture below confirms that the connector is a 20-position variety.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.flickr.com/photos/60527729@N05/5521427348/"><img border="0" height="208" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK1HhQBrUuxZdKm3G7_Oq5ODwjUvRrpk_4wm3JvPpvHg6OM0bE7BEm9Rjn7ixNdaCqAc1yDtOJZa__C9vr4XK3vyJHkuljhiAU9qgm9DadqlwEg3s-twXLYhZI-8LwJlhpcJ6TI7vNq4dM/s320/keyboard+connector+2.JPG" width="320" /></a> </div><div class="separator" style="clear: both; text-align: center;"><i>Closeup of the keyboard connector. </i></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">The closest match in the catalog appears to be the <a href="http://www.mouser.com/ProductDetail/Hirose-Electric/FH28E-20S-05SH05/?qs=nSryOFbzj8J07B%2f0u%2f7fAg%3d%3d">798-FH28E20S05SH05</a>. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">So, what have we learned? The initial idea of simply soldering wires to the keyboard is out. It's not feasible with this particular button style so we need a new approach. We know that the keyboard signals are wired through this connector and cable back to the motherboard, but that cable is far too small and flimsy to solder to directly. Fortunately it looks like we got lucky with Mouser and just might be able to find a suitable mating connector of our own. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">The next phase will be the creation of a suitable breakout board for that cable. Once we're able to wire to all 20 signal lines, we can begin hacking the keyboard. The goal remains the same: substitute our own buttons for the tiny factory keyboard. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Time to hit <a href="http://www.mouser.com/">www.mouser.com</a> to order some connectors. </div>Glennhttp://www.blogger.com/profile/12295839159113269488noreply@blogger.com1