<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6010643750336958857</id><updated>2011-11-27T17:11:41.341-08:00</updated><category term='site updates'/><category term='bus'/><category term='progress'/><category term='hardware'/><category term='intro'/><category term='google'/><title type='text'>twiidler</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6010643750336958857.post-5942056170671789085</id><published>2008-01-03T15:07:00.000-08:00</published><updated>2008-01-03T15:24:57.576-08:00</updated><title type='text'>Update</title><content type='html'>Well, obviously I've lost my enthusiasm for keeping this site and blog updated.  I did get the arduino working and made a &lt;a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1172459283/2"&gt;post on the arduino forum&lt;/a&gt; about it.  Chad over at &lt;a href="http://www.windmeadow.com"&gt;windmeadow.com&lt;/a&gt; has done something similar; see &lt;a href="http://www.windmeadow.com/node/37"&gt;this post&lt;/a&gt; for arduino-as-peripheral and &lt;a href="http://www.windmeadow.com/node/42"&gt;this one&lt;/a&gt; for arduino-as-nunchuk-master.  &lt;br /&gt;&lt;p&gt;&lt;br /&gt;On the hardware side I threw together a harness out of ShapeLock and mounted eight pinball microswitches.  The wiimote would slide into place and the arduino could be bolted on.  A pretty ugly monstrosity to be sure, but it more-or-less worked.  I got bored with the project before getting around to writing a keymap.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6010643750336958857-5942056170671789085?l=twiidler.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/5942056170671789085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6010643750336958857&amp;postID=5942056170671789085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/5942056170671789085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/5942056170671789085'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/2008/01/update.html' title='Update'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6010643750336958857.post-4130267670044060439</id><published>2007-02-21T10:02:00.000-08:00</published><updated>2007-02-23T10:04:14.501-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bus'/><category scheme='http://www.blogger.com/atom/ns#' term='progress'/><category scheme='http://www.blogger.com/atom/ns#' term='site updates'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>Success!</title><content type='html'>I've succesfully sniffed the perihperal bus.  I've updated the &lt;a href="http://www.twiidler.org/firmware"&gt;firmware&lt;/a&gt; page with a link to the details of &lt;a href="http://www.twiidler.org/sniffing4"&gt;my sniffing adventure&lt;/a&gt;.  The short version is that the peripheral bus is Fast-I2C compatible, with a 400kHz clock, a master (presumably the wiimote), and a slave at address 0x52 (presumably the nunchuck).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6010643750336958857-4130267670044060439?l=twiidler.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/4130267670044060439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6010643750336958857&amp;postID=4130267670044060439' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/4130267670044060439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/4130267670044060439'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/2007/02/success.html' title='Success!'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6010643750336958857.post-5719938206636780365</id><published>2007-02-15T21:29:00.000-08:00</published><updated>2007-02-15T23:23:55.048-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bus'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>Hardware update</title><content type='html'>After much consternation, running of lmilk, and reflashing of my arduino board, I am still unable to get anything that looks like valid I2C traffic from the peripheral bus.  It's just possible that my arduino board is still too slow, as with an extra timing loop I clock in at around 200Khz, but it ought to be fast enough when I take the timing loop out.  It's also possible that lmilk doesn't work at these frequencies (at least not with the ~6ft parallel cable I'm using).  But at this point I am starting to suspect that &lt;a href="http://www.kako.com/neta/2007-003/2007-003.html"&gt;this page&lt;/a&gt; might be fake.  I just put in a sample order for some pca9539 chips, so when they arrive I'll try to duplicate his circuit exactly and see what happens.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6010643750336958857-5719938206636780365?l=twiidler.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/5719938206636780365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6010643750336958857&amp;postID=5719938206636780365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/5719938206636780365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/5719938206636780365'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/2007/02/hardware-update.html' title='Hardware update'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6010643750336958857.post-1295971343573591913</id><published>2007-02-13T15:30:00.000-08:00</published><updated>2007-02-15T23:24:03.982-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bus'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>Waveforms</title><content type='html'>Here's some of the output from my arduino sniffer.  The height of the character traces the clock line (big for high, small for low) and the shape traces the data line (1/i for high, 0/o for low).&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;...11111111io0oooooooo0ooo11111i0oo0oiiiiiiiiiiiiii1iioi1iii1ii1ii0iiii1ii1ii00ii1ii01111111...&lt;br /&gt;...11111ooo0iiiiiiioii0iiiiio1iiiiioi0ooioii1ioiiiiioi1ooiiiiiioo1iiiiiii0iiiiiiiiii1io111111...&lt;br /&gt;...11100oooo0oo0oooo111101ioii0iiiiiiiiiiiiiii1io1ii11oi1i1ii1ii1oii1ii1i1ii1i01111111110i1oiioiiiioi1oooiiiiiii1oiio1oo0iiiiioiiiiioii0ooiiiiii0ioiiiiiiiii1ioiiii1iioooo011...&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Each of these is surrounded by a great number of 1's.  Each ought to correspond to roughly the same transaction; a querying of the nunchuk for about 6 bytes of (mostly) identical data.  Unfortunately I don't know the precise sample rate.  For reference, here's what I would expect on an I2C bus, if we were sampling at four times the clock speed.  In this example the Master requests data from slave with address 0b0000001, and it responds with one byte of data, 0b1001011.  (This is assuming I've correctly understood I2C, perhaps it's a bit off.)&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;11110000oooo0000oooo0000oooo0000oooo0000oooo0000oooo0000ooii1111iioo0000ooii1111iiii1111iioo0000oooo0000ooii1111iioo0000ooii1111ii1111ii1111iioo00001111&lt;br /&gt;START        ----------------------Device 1 ---------------------  READ  -- ACK   -------------------------------  0b10010111 --------------  STOP&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6010643750336958857-1295971343573591913?l=twiidler.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/1295971343573591913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6010643750336958857&amp;postID=1295971343573591913' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/1295971343573591913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/1295971343573591913'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/2007/02/waveforms.html' title='Waveforms'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6010643750336958857.post-1363884972796987836</id><published>2007-02-12T10:07:00.000-08:00</published><updated>2007-02-21T14:48:45.781-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='progress'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>Hardware progress</title><content type='html'>Using my handy triwing screwdriver I opened the Nunchuk attachment.  Consulting the pinout from wiire.org, I soldered wires onto the Clock and Data lines.  I attached my oscilloscope and confirmed a 250kHz clock rate, but my 'scope wasn't sophisticated enough for me to read the bits manually.  I bought an &lt;a href="http://www.arduino.cc/"&gt;Arduino &lt;/a&gt;from &lt;a href="http://www.sparkfun.com/commerce/product_info.php?products_id=666"&gt;SparkFun&lt;/a&gt;; I was hoping to use the Wire library to sniff the may-or-may-not-be-I2C bus.  I have seen some signs of life, but no actual data yet.  I'll also try &lt;a href="http://warmcat.com/milksop/cheapi2c.html"&gt;this simple approach &lt;/a&gt;using only the parallel port on my PC, but it does specify 100kHz on that page, so it may not work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6010643750336958857-1363884972796987836?l=twiidler.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/1363884972796987836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6010643750336958857&amp;postID=1363884972796987836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/1363884972796987836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/1363884972796987836'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/2007/02/hardware-progress.html' title='Hardware progress'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6010643750336958857.post-7114440338695523796</id><published>2007-02-08T13:31:00.000-08:00</published><updated>2007-02-08T13:33:16.103-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='site updates'/><title type='text'>Stubbing out the site</title><content type='html'>I've filled out the &lt;a href="http://www.twiidler.org"&gt;front page&lt;/a&gt; with links to the five subpages:&lt;br /&gt;&lt;a href="http://www.twiidler.org/electronics"&gt;Electronics&lt;/a&gt;, &lt;a href="http://www.twiidler.org/hardware"&gt;Hardware&lt;/a&gt;, &lt;a href="http://www.twiidler.org/firmware"&gt;Peripheral Firmware&lt;/a&gt;, &lt;a href="http://www.twiidler.org/drivers"&gt;Host drivers&lt;/a&gt;, and &lt;a href="http://www.twiidler.org/reprogramming_the_wiimote"&gt;Updating the Wiimote Firmware&lt;/a&gt;.  Right now these just contain basic sketches of how I plan to proceed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6010643750336958857-7114440338695523796?l=twiidler.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/7114440338695523796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6010643750336958857&amp;postID=7114440338695523796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/7114440338695523796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/7114440338695523796'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/2007/02/stubbing-out-site.html' title='Stubbing out the site'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6010643750336958857.post-7005390376292380453</id><published>2007-02-08T12:51:00.000-08:00</published><updated>2007-02-08T12:51:10.549-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='intro'/><title type='text'>Welcome</title><content type='html'>First post!&lt;br /&gt;&lt;br /&gt;For a while now, I've had an idea bouncing around my head and taking various forms.  But only yesterday did it finally coalesce into a single mission: to build a bluetooth-enabled, battery-powered hand-held chording keyboard out of a Wii Remote.&lt;br /&gt;&lt;br /&gt;Since I'm a google fanboy (and, coincidentally, employee) I'll be test-driving a bunch of google tools for this project.  I just registered &lt;a href="http://www.twiidler.org/"&gt;twiidler.org&lt;/a&gt; using &lt;a href="http://www.google.com/a/"&gt;Google Apps for your Domain&lt;/a&gt; for ten bucks.  It went through very quickly and I was soon using &lt;a href="http://pages.google.com/"&gt;Google Page Creator&lt;/a&gt; to sketch out the front page. &lt;br /&gt;&lt;br /&gt;Stay tuned to this blog for further updates.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6010643750336958857-7005390376292380453?l=twiidler.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://twiidler.blogspot.com/feeds/7005390376292380453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6010643750336958857&amp;postID=7005390376292380453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/7005390376292380453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6010643750336958857/posts/default/7005390376292380453'/><link rel='alternate' type='text/html' href='http://twiidler.blogspot.com/2007/02/welcome.html' title='Welcome'/><author><name>abliss</name><uri>http://www.blogger.com/profile/02817423825917887768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
