<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Technical Difficulties</title>
    <link>http://unnaturaldipthongs.com/rss/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>A blog about my super-nerdy hobbies. I'm building a watch.</description>
    
		<item>
		          <title>v6, maybe we&#39;ll make a few</title>
		          <description>
		          	&lt;p&gt;So, it’s been a while since I bothered to document anything, but if you’ve been following the git repo, you’d know that the work continues apace. v5 has come and gone; I made substantial changes to the layout, built a version with working pushbuttons, and wore it for a while there. Then, life caught up with me and I didn’t work on anything fun for a while, but now I’m back at it.&lt;/p&gt;

&lt;p&gt;One day, while I was contemplating if I should add yet another feature, I thought that it really sucks that to add any features I have to change the board layout, wait two weeks for a board, and then see if what I’ve done actually works. Then I thought, why don’t I just break out a bunch of GPIOs and make Ourglass like a dev kit? That’s how v6 was born.&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;display:block;&quot; class=&quot;center&quot;&gt;
&lt;img src=&quot;https://photomattmills.com/images/ourglass-6-5/ourglass-6-5.png&quot; alt=&quot;front view of PCB&quot; /&gt;
&lt;img src=&quot;https://photomattmills.com/images/ourglass-6-5/ourglass-6-5-back.png&quot; alt=&quot;back view of PCB&quot; /&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;I’ve shared the new boards on &lt;a href=&quot;https://oshpark.com/shared_projects/HucPzDVf&quot;&gt;OSHpark&lt;/a&gt; for the curious. Version 5 was an incremental improvement on 4, but rebuilt from scratch. All of the parts were moved around, and some features with interrupts were added. Version 6 is based on version 5, but the l-shape has been changed to a rectangle, the expansion header added, and now the design is double sided.&lt;/p&gt;

&lt;p&gt;The sharp-eyed may notice a few other things: there are test points and fiducials on this version. Version 6.5 is the first pass at making Ourglass production ready. I’d like to produce somewhere between 200-1000 boards, which seems to be a sweet spot for this kind of run. If I’m selling just the board (no battery, no screen, and no case) they’d cost about $60 in that quantity (to buy; manufacturing cost is about half that). With battery, case, and screen, it’s more like $100. This would have to be a limited run, since to make a real commercial product I’d also have to have FCC certification. I could see doing 1000 at a time, though. Crowdsupply or Massdrop, with a laminate case, similar to the early prototypes. Notably, you can get silicone laser cut to spec; I think that would be really interesting.&lt;/p&gt;

&lt;p&gt;Also a part of the work of getting to a product: Getting the software toolchain up and running. Out of the blue, around the beginning of December, someone from the &lt;a href=&quot;https://mynewt.apache.org/&quot;&gt;Apache Mynewt&lt;/a&gt; project reached out to me. They have a fully open-source RTOS based on the NRF51/52 including bluetooth stack. There’s no compatibility with Arduino, which was a goal of mine, but I think there are two ways to go with that: either write a bunch of tutorials for working with MyNewt in the openocd toolchain, or figure out what’s needed to build a compatibility layer. I think both are doable.&lt;/p&gt;

&lt;p&gt;In an ideal world, you’d be able to upload a program over USB or BTLE from the Arduino IDE; this lowers the bar for beginner-level entry. Then, for advanced users, the source for the whole stack is available, and it can be programmed over SWD. My bet is that most users will want to tweak a little, and some people will want to build a whole interface from the ground up. I want Ourglass to be a platform that enables that kind of experimentation.&lt;/p&gt;

		          </description>
		          <pubDate>2017-01-23T19:09:36+00:00</pubDate>
		          <guid>/2017/01/23/v6-maybe-well-make-a-few.html</guid>
		          <link>/2017/01/23/v6-maybe-well-make-a-few.html</link>
		        </item>
		
		<item>
		          <title>how to build v4</title>
		          <description>
		          	&lt;p&gt;This post is part of what I hope to be a series that will de-mystify and put in one place all the things I’ve learned constructing these things, and at the same time lay out the steps to building a working version of the watch as it is now. First, we’re going to talk about tools, and then I’ll lay out the current BOM, and how to go about getting some of the parts and material that are hard to find.&lt;/p&gt;

&lt;h3 id=&quot;tools&quot;&gt;Tools&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;note: I don’t get any referral money from any of my links; wherever possible, I link to where I got something, or a known reputable source. A lot of these links will be to Adafruit, because they have all the best stuff.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The difference between a good tool and bad tool is measured in the hours of frustration the bad one will cause you. Yes, you can accomplish a lot with minimal tooling, and the good stuff doesn’t have to cost a lot. For example: &lt;a href=&quot;https://www.adafruit.com/product/422&quot;&gt;this pair of tweezers&lt;/a&gt; is really very good, and very reasonable at less than $4. So, the list, with some annotations:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/products/180&quot;&gt;Soldering Iron&lt;/a&gt; – Why would you need one of these for a surface mount project? There are four through hole joints to be made, but you’d need it anyway, to clean up the inevitable bridges.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/products/145&quot;&gt;Solder wire&lt;/a&gt; – For the through hole joints. If you’re in the EU, you’ll want the lead free ROHS compliant stuff: &lt;a href=&quot;https://www.adafruit.com/products/1930&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://www.digikey.com/product-detail/en/SMDLTLFP/SMDLTLFP-ND/2682721&quot;&gt;Solder Paste&lt;/a&gt; – This stuff is kinda amazing. It’s a low-temp solder paste that makes SMT work a lot easier to control. Instead of a precise reflow curve to avoid damaging components, you just heat till it’s all liquid, wait ten seconds, and turn off the heat. If that link dies, search digikey for “SMTLTLFP”. It’s also ROHS compliant!&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://www.amazon.com/gp/product/B00425FUW2?psc=1&amp;amp;redirect=true&amp;amp;ref_=oh_aui_search_detailpage&quot;&gt;No clean Paste Flux&lt;/a&gt; – Another thing that’s cheap and handy to have around. It helps solder flow onto a joint, or onto your solder wick.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/products/149&quot;&gt;Solder Wick&lt;/a&gt; – This is a braid of fine copper wires which wicks away solder when you heat both at the same time. You can remove excess solder, or even desolder some components with it.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/product/422&quot;&gt;Tweezers&lt;/a&gt; – I actually have two of these on hand, because I don’t want to do without them if I mislay them somewhere in the junk pile that is my desk. You’ll use them for placing all of the components, removing stray hairs from the board, plucking hot components from molten solder (don’t worry, we’ll get there).&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/products/150&quot;&gt;Soldering Iron Stand&lt;/a&gt; – Nobody ever told me how great these were, so I’m telling you. A stable place to put your iron while it’s hot is essential. Note: Sometimes the spring on the inside will pop off; just push it back on. It’s safe to use that way, but not as stable as having both springs.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/products/1869&quot;&gt;Hot Air Rework Station&lt;/a&gt; – This is probably the only really big ticket item on the list. You might be able to do without it, but remember what I said about frustration?&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://www.homedepot.com/p/Voltec-500-Watt-Halogen-Portable-Work-Light-08-00209/203749554&quot;&gt;Halogen lamp&lt;/a&gt;  – This is what is going to heat the whole board up for reflow. Note that the Home Depot is bad at online ordering; you’re better off going to a store. Any single bulb, 500w lamp should do the trick. SAFETY WARNING: hot lamp is hot all over, except maybe on the handle and base. It will set fire to things that touch it, so use caution.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/product/284&quot;&gt;Programmer&lt;/a&gt; – You can also use an arduino with the chip pulled, both methods are very similar.  &lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/products/152&quot;&gt;Wire Snips&lt;/a&gt; – Another item I did without for years, a good pair of flush cutters. Their usefulness can’t be overstated.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;parts&quot;&gt;Parts&lt;/h3&gt;

&lt;p&gt;Now that we’ve talked about the specific tools, there are a few parts that are peculiar to this BOM that can’t just be stuck in a spreadsheet.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://oshpark.com/shared_projects/cbMKupNE&quot;&gt;The PCB&lt;/a&gt; – &lt;strike&gt;This link is to v4.4, which will soon be replaced by 4.5. That said, 4.4 is fully functional, but the screen folds the wrong way. I&#39;m fairly sure it&#39;ll fit in the case still (target was &amp;lt; 4mm). I&#39;ll update the link when it&#39;s there.&lt;/strike&gt; 4.5 is there! New balun, fixed screen connector. OSHpark is the best, and given the size of these traces, I wouldn’t recommend any of the cheaper options for PCB fab.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://oshstencils.com&quot;&gt;The paste stencil&lt;/a&gt; – Not required, but without a stencil, putting paste down takes about half an hour. With it, it takes about a minute. You’ll have to grab the cream layer from the &lt;a href=&quot;https://github.com/mattmills/ourglass/tree/master/watch-v4&quot;&gt;Github Repo&lt;/a&gt; and upload it yourself, since oshstencils doesn’t have shared projects.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://www.adafruit.com/product/1317&quot;&gt;Battery&lt;/a&gt; – These are often out of stock, I don’t know why. There’s a 110mah version that you could also use.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Case – No link, because this is one of the places the ‘Y’ in DIY happens. Also, my case designs are rubbish, and I don’t have any for the v4 series movement. I’ll probably post an STL when we get to that phase of the howto.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://www.mouser.com/ProductDetail/RF-Digital-Wireless/RFD22301/?qs=sGAEpiMZZMsrChSOYEGTCT%252bqHrbsfX8g2IB00KAX%252brY%3d&quot;&gt;RFduino&lt;/a&gt; – This is the brains of the operation. To get the chip with a bootloader, you’ll need to buy one of these and desolder the RF sheilding, and then desolder the chip itself. This is where you’ll be glad you got the hot air station, or borrowed a friend’s. You may be able to hear up the RFduino on the halogen light to desolder it; it’s worth a try. After desoldering, you usually have to clean some solder off the center pad with solder wick.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The rest of the BOM is &lt;a href=&quot;https://docs.google.com/spreadsheets/d/14jRSNYrciR-tZefQazQIYSMZuqghAQMD3fvnpsEUQMA/edit?usp=sharing&quot;&gt;here&lt;/a&gt;, but some of the links are stale. I last updated that for version 4.1, and we’re at 4.4. The BOM is pretty stable at this point; I don’t see changing it much.&lt;/p&gt;

&lt;p&gt;And that’s it! probably a $200 investment, if you can borrow a hot air station, or more like $300 with it. Order 10 or more of the components that cost less than a dollar, since they’re cheaper that way, and you’ll need extra.&lt;/p&gt;

		          </description>
		          <pubDate>2015-10-15T05:19:52+00:00</pubDate>
		          <guid>/2015/10/15/how-to-build-v4.html</guid>
		          <link>/2015/10/15/how-to-build-v4.html</link>
		        </item>
		
		<item>
		          <title>gave a talk at magmaconf</title>
		          <description>
		          	&lt;p&gt;&lt;em&gt;Blogger&amp;#8217;s note: I wrote this shortly after coming back from magmaconf, and then forgot about it. Oops.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This last week I&amp;#8217;ve been in Mexico, giving a talk at &lt;a href=&quot;http://magmaconf.com&quot;&gt;Magmaconf&lt;/a&gt; . The conf was awesome. I genuinely enjoyed all the talks I saw, and was sorry to miss the ones that I was in the pool or at the beach for. There were two other hardware talks, and I got a lot of compliments on mine; The guys from &lt;a href=&quot;http://hybridgroup.com/&quot;&gt;Hybrid Group&lt;/a&gt;, especially Ron, got everyone hyped up about the hardware future, and then I came in later that morning and showed everyone how to get started making that future.&lt;/p&gt;
&lt;p&gt;Here&amp;#8217;s the genius of the conf: the pool/beach are really the hallway track, but with beers and relaxation. Sun, heat, cool off in a pool, wade into the ocean. You might be thinking &amp;#8220;That sounds like a recipe for some harassment nightmare,&amp;#8221; but no, they have a strict anti-harrasment code of conduct, posted right on the home page. Very cool, and &lt;span class=&quot;caps&quot;&gt;AFAIK&lt;/span&gt; there were no issues.&lt;/p&gt;
&lt;p&gt;Anyway, the v4 work continues apace. I assembled a rev0 board and discovered some errata. The footprint I made for the quartz crystal was wrong, and there was also schematic error. I had the wrong part number, and so was wiring the power regulator wrong. Rev1 is at the fabricators now, and it should be done maybe a week from friday?  I also put up a github repo: &lt;a href=&quot;http://github.com/mattmills/ourglass&quot;&gt;mattmills/ourglass&lt;/a&gt; that has the schematics and code that I&amp;#8217;m currently using. It&amp;#8217;s missing all the older iterations, but that&amp;#8217;s not a huge loss. Anyway, it&amp;#8217;s 2am and I&amp;#8217;ve been up far too long.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Also notable: After four revisions, I finally have a decent handle on version 4. I may do a fifth, but the fourth is working. The screen didn&amp;#8217;t work for the first three, but that&amp;#8217;s because I reversed the order of the pins on the screen connector part. Yr. hmbl-er blogger.&lt;/em&gt;&lt;/p&gt;
		          </description>
		          <pubDate>2015-06-22T06:50:15+00:00</pubDate>
		          <guid>/2015/06/22/gave-a-talk-at-magmaconf.html</guid>
		          <link>/2015/06/22/gave-a-talk-at-magmaconf.html</link>
		        </item>
		
		<item>
		          <title>v4 at the fab</title>
		          <description>
		          	&lt;p&gt;So, I changed my mind again. I was about 2/3 of the way through breadboarding the fourth version of the watch circuitry, and I decided I didn&amp;#8217;t want to build a &lt;span class=&quot;caps&quot;&gt;SPI&lt;/span&gt; bus with multiple slaves. That, and 8mhz was really too slow. So, I went back, and re-designed with the NRF51822. It&amp;#8217;s a fine chip, and somewhat reduces my part count.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve sent the board version off to the fab, but not much else has changed. I&amp;#8217;m going to desolder the &lt;span class=&quot;caps&quot;&gt;NRF&lt;/span&gt; from one of my RFduinos, to skip building a bootloader for now. It&amp;#8217;s a pretty simple matter, but there aren&amp;#8217;t any open source examples that I can find, and so I&amp;#8217;m taking the easy route. If I ever produce more than one of these at a time, I&amp;#8217;ll build a bootloader from scratch, and try to make it as open as possible. The softdevice that runs the radio is a blob, which is unfortunate, but there&amp;#8217;s nothing I can really do about that, unless I end up making tens of thousands of these things, and can hire someone to build an open version. I&amp;#8217;ve looked around for alternative &lt;span class=&quot;caps&quot;&gt;ARM&lt;/span&gt; M0 chips with bluetooth, and there aren&amp;#8217;t that many. &lt;span class=&quot;caps&quot;&gt;NXP&lt;/span&gt; makes &lt;a href=&quot;http://www.mouser.com/ProductDetail/NXP-Semiconductors/QN9021-DY/?qs=sGAEpiMZZMsnnVx9hWj0EaUMcknfOFeO4pz3kuoM7Ps%3d&quot;&gt;this one&lt;/a&gt; , but it also has a blob for the BT stack. There is an open-ish bootloader for it, in active development, but there isn&amp;#8217;t really any reason to switch at the moment. I&amp;#8217;m sort of thinking the next version will have wifi, but the power requirements for that are nuts.&lt;/p&gt;
&lt;p&gt;Things I need to write about: Using KiCad, from schematic to board. It&amp;#8217;s actually not that bad, once you figure out a few things. Also, design considerations for manufacture, which I&amp;#8217;ve mostly been ignoring. Through hole components are bad, and dense packing is bad. I don&amp;#8217;t have any ground planes in the current board, which means that I&amp;#8217;ll probably have weird intermittent faults, if it works at all.&lt;/p&gt;
		          </description>
		          <pubDate>2015-05-12T04:49:27+00:00</pubDate>
		          <guid>/2015/05/12/v4-at-the-fab.html</guid>
		          <link>/2015/05/12/v4-at-the-fab.html</link>
		        </item>
		
		<item>
		          <title>arduino micro as ISP for atmega1284</title>
		          <description>
		          	&lt;p&gt;TL;DR- use the labeled hardware &lt;span class=&quot;caps&quot;&gt;SPI&lt;/span&gt; pins and AVRdude, and life is good.&lt;/p&gt;
&lt;p&gt;This is a tale of woe, of how I tore apart a day&amp;#8217;s work trying to get to the bottom of something, and then solved it sitting at the bar waiting for trivia to start. Basically, I have some stuff on hand to build a breadboard version of the v4 Ourglass. I need to do this to validate my circut design, as well as measure some things about power consumption and timing (see previous post). There are a bunch of resources on how to build a &amp;#8220;boarduino&amp;#8221; online, but a couple of my parameters are out of the ordinary, and threw me off.&lt;/p&gt;
&lt;p&gt;First, I&amp;#8217;m using an &lt;a href=&quot;http://arduino.cc/en/Main/arduinoBoardMicro&quot;&gt;Arduino Micro&lt;/a&gt; , which isn&amp;#8217;t like all the other Arduino boards. The hardware &lt;span class=&quot;caps&quot;&gt;SPI&lt;/span&gt; is on the &lt;span class=&quot;caps&quot;&gt;ICSP&lt;/span&gt; header. So, the setup is something like:&lt;/p&gt;
&lt;table&gt;
	&lt;tr&gt;
		&lt;td&gt;Arduino Micro&lt;/td&gt;
		&lt;td&gt; &lt;/td&gt;
		&lt;td&gt;&amp;#8594;&lt;/td&gt;
		&lt;td&gt; &lt;/td&gt;
		&lt;td&gt;1284p (pin numbers)&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;&lt;span class=&quot;caps&quot;&gt;MOSI&lt;/span&gt;&lt;/td&gt;
		&lt;td&gt;     &lt;/td&gt;
		&lt;td&gt;&amp;#8594;&lt;/td&gt;
		&lt;td&gt; &lt;/td&gt;
		&lt;td&gt;6&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;&lt;span class=&quot;caps&quot;&gt;MISO&lt;/span&gt;&lt;/td&gt;
		&lt;td&gt;     &lt;/td&gt;
		&lt;td&gt;&amp;#8594;&lt;/td&gt;
		&lt;td&gt; &lt;/td&gt;
		&lt;td&gt;7&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;&lt;span class=&quot;caps&quot;&gt;SCK&lt;/span&gt;&lt;/td&gt;
		&lt;td&gt;      &lt;/td&gt;
		&lt;td&gt;&amp;#8594;&lt;/td&gt;
		&lt;td&gt; &lt;/td&gt;
		&lt;td&gt;8&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;D10 (reset)&lt;/td&gt;
		&lt;td&gt;      &lt;/td&gt;
		&lt;td&gt;&amp;#8594;&lt;/td&gt;
		&lt;td&gt; &lt;/td&gt;
		&lt;td&gt;9&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;You also need to connect the &lt;span class=&quot;caps&quot;&gt;VCC&lt;/span&gt;, both &lt;span class=&quot;caps&quot;&gt;GND&lt;/span&gt; pins, and &lt;span class=&quot;caps&quot;&gt;AVCC&lt;/span&gt;; those are well known, and left as an exercise for the reader (seriously, consult the &lt;a href=&quot;http://www.atmel.com/images/Atmel-8272-8-bit-AVR-microcontroller-ATmega164A_PA-324A_PA-644A_PA-1284_P_datasheet.pdf&quot;&gt;data sheet&lt;/a&gt;). Once everything is hooked up, you&amp;#8217;ll need to decide how to set the fuses. I used &lt;a href=&quot;http://www.engbedded.com/fusecalc/&quot;&gt;this online fuse calculator&lt;/a&gt; (edit: be careful, and read around about how to set your fuses properly, I&amp;#8217;ve bricked my chip since getting it to work by messing around). There are probably others, and of course, you can just stare at the data sheet and figure out 3 bytes yourself. I&amp;#8217;m using the internal oscillator, and setting the brownout to 2.7 (since I&amp;#8217;m running at 8mhz and 3v). In reality, I could probably disable this altogether, since the battery I&amp;#8217;m using has a pretty sharp cuttoff, but it&amp;#8217;s strongly reccomended &lt;a href=&quot;http://www.ladyada.net/learn/avr/fuses.html&quot;&gt;here&lt;/a&gt; to leave it on if you&amp;#8217;re using a bootloader at all (also covered more in depth &lt;a href=&quot;https://learn.adafruit.com/low-power-coin-cell-voltage-logger/other-lessons&quot;&gt;here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;I picked a bootloader mostly at random, from &lt;a href=&quot;https://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/&quot;&gt;this post&lt;/a&gt; about bootloading the 1284p (using an uno, which lead me to waste half a day). I may regret this; I haven&amp;#8217;t verified that it works, but avrdude reported success loading it onto the chip at least. Edit: still waiting on the final verdict, as I need an external oscillator for serial communication.&lt;/p&gt;
&lt;p&gt;So, in the Arduino &lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt;, there&amp;#8217;s an example sketch called ArduinoISP. You&amp;#8217;ll need to change the line &amp;#8220;#define &lt;span class=&quot;caps&quot;&gt;RESET&lt;/span&gt;     SS&amp;#8221; to be &amp;#8220;#define &lt;span class=&quot;caps&quot;&gt;RESET&lt;/span&gt;     10&amp;#8221;. Then load it onto your micro, and you should be able to use avrdude to load your fuse configuration and bootloader. You can also use the &lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt;, although I haven&amp;#8217;t tested that; you need add the hardware descriptions to your personal ~/Documents/Arduino/hardware/ (on mac) and restart the &lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt; to get the board type. This will also set the fuses based on what&amp;#8217;s in the boards.txt, so make sure that reflects what you want.&lt;/p&gt;
&lt;p&gt;Of course, since getting this more or less working, I&amp;#8217;ve managed to brick the thing, so now I have to wait a week for another chip to come in.&lt;/p&gt;
		          </description>
		          <pubDate>2015-01-20T06:09:38+00:00</pubDate>
		          <guid>/2015/01/20/arduino-micro-as-isp-for-atmega1284.html</guid>
		          <link>/2015/01/20/arduino-micro-as-isp-for-atmega1284.html</link>
		        </item>
		
		<item>
		          <title>january update</title>
		          <description>
		          	&lt;p&gt;Let&amp;#8217;s see&amp;#8230; last time, I was struggling with what processor to use, now I&amp;#8217;m struggling with how the hell to keep this thing charged. The idea is to use a couple solar cells to make it autonomous. I&amp;#8217;ll have to figure out how to flash firmware over the air too, but that&amp;#8217;s not super hard&amp;#8230; the hard part, as usual, is power. I ordered one batch of cells to try, but they were too delicate and only had one solder point on each cell. I should have known not to order from Edmund Scientific. After destroying those, I started working on a boarduino that&amp;#8217;s more or less equivalent to what I&amp;#8217;m planing on for v4.&lt;/p&gt;
&lt;p&gt;So, let&amp;#8217;s talk about v4. It&amp;#8217;s based arount the atmega 1284p, and the nordic NRF80001. Same accelerometer and &lt;span class=&quot;caps&quot;&gt;RTC&lt;/span&gt; as version 3, and for now the power supply is mostly the same. They may change as soon as the second round of solar cells come in, but the charge IC I&amp;#8217;m using now might work, at least if I&amp;#8217;m reading the spec sheet right. I have been wrong before. For example: I thought I was going to run this version at a much lower clock speed, to save power. As it turns out, I wouldn&amp;#8217;t ever be able to put the processor to sleep if I ran it that slow, so I&amp;#8217;m stuck using it at 8mhz. I may try it anyway; 1/2 the power means 1/2 the surface area of solar cells to keep it charged. I&amp;#8217;m also hoping that the &lt;span class=&quot;caps&quot;&gt;AVR&lt;/span&gt; is more effecient than the nordic. We&amp;#8217;ll see.&lt;/p&gt;
&lt;p&gt;I do have most of a schematic for it down in eeschema, kicad&amp;#8217;s circuit design program. I don&amp;#8217;t have the bluetooth part or the buttons. The buttons are trivial, and the radio is based on the reference design in the data sheet. So, mostly copying that over and tailoring it to fit my needs. &lt;span class=&quot;caps&quot;&gt;FCC&lt;/span&gt; certification is a problem for when it goes on sale, if ever. My luck, it&amp;#8217;ll be leaky in all the bands, and require massive sheilding. &lt;span class=&quot;caps&quot;&gt;TBH&lt;/span&gt;, I think that&amp;#8217;s how a lot of designs go, those little folded metal covers over parts of the board.&lt;/p&gt;
&lt;p&gt;I have some preliminary thoughts for the shape and dimensions, too; hopefully thinner, but roughly the same area as the current iteration. This board version should have a cutout for the battery, and thus be a bit thinner overall. I&amp;#8217;ll also probably farm out a 3d-printed version of the case, and use thinner plastic for the face of it. 8mm is the target, not counting the strap lugs. The solar cells may be links on the band, too, but that&amp;#8217;s just a concept for now. I need to see them to know if I can use them that way or not.&lt;/p&gt;
&lt;p&gt;Next post: how to use an arduino micro as &lt;span class=&quot;caps&quot;&gt;ISP&lt;/span&gt; for a &lt;span class=&quot;caps&quot;&gt;ATMEGA&lt;/span&gt; 1284p. If I feel up to it.&lt;/p&gt;
		          </description>
		          <pubDate>2015-01-19T05:04:19+00:00</pubDate>
		          <guid>/2015/01/19/january-update.html</guid>
		          <link>/2015/01/19/january-update.html</link>
		        </item>
		
		<item>
		          <title>further work on v4</title>
		          <description>
		          	&lt;p&gt;So far, there&amp;#8217;s not a lot to show for v4 of the watch, just a lot of ideas. I&amp;#8217;ve figured out the hook, though: a smart watch that you never have to charge. Basically, I have to pull about 500uA/hr (maybe as low as 100uA with the right sleep modes) out of thin air, and it&amp;#8217;ll never have to be plugged in. You can&amp;#8217;t get something for nothing, but most of the time people have an energy source all around them: Light. A calculator solar cell like &lt;a href=&quot;http://www.scientificsonline.com/product/space-industry-super-solar-cells-25ma&quot;&gt;this one&lt;/a&gt; (second one on the page) will, I think, produce enough power.&lt;/p&gt;
&lt;p&gt;To get there, you have to do a bunch of stuff. The accelerometer I&amp;#8217;m using has sleep modes, so we&amp;#8217;ll turn those on when we&amp;#8217;re not taking a measurement, and disable the power hungry gyroscope altogether. The processor can be slowed down to 1mhz and also slept for intervals. The &lt;span class=&quot;caps&quot;&gt;RTC&lt;/span&gt; doesn&amp;#8217;t have any low power modes, but it&amp;#8217;s already pretty low-powered. The screen hardly uses any power, but LEDs for backlighting will; we&amp;#8217;ll need to be careful about those. The radio, according to the data sheet, only consumes a lot of power when it&amp;#8217;s advertising; once paired, it&amp;#8217;ll be in the 10uA (average) range. Processor, radio, accelerometer, clock, screen, backlight.&lt;/p&gt;
		          </description>
		          <pubDate>2014-12-02T23:47:32+00:00</pubDate>
		          <guid>/2014/12/02/further-work-on-v4.html</guid>
		          <link>/2014/12/02/further-work-on-v4.html</link>
		        </item>
		
		<item>
		          <title>walkin blues</title>
		          <description>
		          	&lt;p&gt;The work continues apace. I&amp;#8217;ve decided to go with an &lt;span class=&quot;caps&quot;&gt;AVR&lt;/span&gt;, mostly because the other processors under consideration either require some closed source stuff, or libraries wouldn&amp;#8217;t be compatible, require a lot more software to get something running. Not that I&amp;#8217;m running stock anything, really, but example code and well-written libraries are a great start.&lt;/p&gt;
&lt;p&gt;Speaking of well-written, the code for counting steps is coming along. At first, I was doing dumb stuff that didn&amp;#8217;t work at all, and now I&amp;#8217;ve got some slightly smarter stuff that may work with some more tuning&amp;#8230; we&amp;#8217;ll see. I&amp;#8217;m aiming for greater than 95% accuracy, and right now I&amp;#8217;m getting about 50% steps, and 10% false positives, at least on days where I walk a normal ammount for me (about 4 miles). I&amp;#8217;m using a moving average over 5 seconds, and counting anything that&amp;#8217;s more than a standard deviation from the mean as a step. I&amp;#8217;ve set a lower bound on the g forces, as well.&lt;/p&gt;
&lt;p&gt;There are a couple things I can do to improve on this; I&amp;#8217;ll put out the library (probably a couple statistics classes and a step-specific logic class) once it&amp;#8217;s in a better form. Right now, it&amp;#8217;s jsut One Big Method, which I know is dumb. Things to tune: how much history we have, and how we compare it to past things we thought might be steps. I have ideas, but I am sleepy so they may all be dumb. We&amp;#8217;ll see in the morning.&lt;/p&gt;
		          </description>
		          <pubDate>2014-11-10T07:04:49+00:00</pubDate>
		          <guid>/2014/11/10/walkin-blues.html</guid>
		          <link>/2014/11/10/walkin-blues.html</link>
		        </item>
		
		<item>
		          <title>Accelerometers and processors</title>
		          <description>
		          	&lt;p&gt;First, some good news: the mark 3/4 (I&amp;#8217;ve lost track a bit) is done, and looks fairly identical to the mark 2. It has some nice internal differences, though. To start, it has a working accelerometer. This means that I can, in theory, implement a simple pedometer and sleep monitor. Unfortunately, all the howtos for that are not on the public internet, at least not that I&amp;#8217;ve found yet.&lt;/p&gt;
&lt;p&gt;I can think of a couple of ways to do it. The first approach I tried was to just count up a step when the g forces go over a certain threshold. To save you time: That doesn&amp;#8217;t work.&lt;/p&gt;
&lt;p&gt;The next thing I though of was doing bayesian analysis, saving the last few seconds of movement, and deciding with some logic if the numbers look like a step. This isn&amp;#8217;t impossible, but I&amp;#8217;m afraid it&amp;#8217;d eat processor cycles and memory. If I ever get the phone app running, I can dump the data to a &lt;span class=&quot;caps&quot;&gt;CSV&lt;/span&gt; and do visualization and patern mapping in ruby, which has nicer libraries for that sort of thing. Deriving them from first principal souds like a pain in the ass.&lt;/p&gt;
&lt;p&gt;The other, simpler method, is to extend the first non-working method a bit: I also have a gyroscope, so I always know where down is; I could subtract the 1g of force that gives me, and then the spikes up and down should be really obvious. Also, it&amp;#8217;s cheaper in the processing department. I&amp;#8217;ll probably try that next.&lt;/p&gt;
&lt;p&gt;Speaking of processing&amp;#8230; I&amp;#8217;ve just about outgrown the RFduino. I was going to use a shift register to make up for the lack of I/O, but there are a number of other problems with it:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;It&amp;#8217;s close source. This isn&amp;#8217;t a technical problem, but I don&amp;#8217;t like it.&lt;/li&gt;
	&lt;li&gt;Lack of compatibility; every library I use has to be modified, sometimes drastically.&lt;/li&gt;
	&lt;li&gt;Size: it takes up a lot of board real estate, which means I can&amp;#8217;t arrange things as I see fit.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There are two contenders to replace it: either an &lt;span class=&quot;caps&quot;&gt;AVR&lt;/span&gt; like the ATMEGA1281, or a STM32F405RG underclocked and running &lt;a href=&quot;https://micropython.org&quot;&gt;micropython&lt;/a&gt; . It would be insanely cool to be running python. It&amp;#8217;s enough of a hook that writing all the libraries over from scratch doesn&amp;#8217;t seem so bad. But &amp;#8220;Arduino compatible watch&amp;#8221; also has a nice ring to it. There&amp;#8217;s plenty of info to make designing either into the watch not bad, and I could then use an nRF8001 for the bluetooth. The chip cout stays roughly the same, but with a ton more flexibility.&lt;/p&gt;
		          </description>
		          <pubDate>2014-11-03T06:43:51+00:00</pubDate>
		          <guid>/2014/11/03/november-status-update.html</guid>
		          <link>/2014/11/03/november-status-update.html</link>
		        </item>
		
		<item>
		          <title>another status update</title>
		          <description>
		          	&lt;p&gt;So, we&amp;#8217;re on par for a status update a month. I&amp;#8217;m OK with that. Version version 2.2 (major.board) is my daily watch now. It&amp;#8217;s in pretty good shape, for a &lt;span class=&quot;caps&quot;&gt;DIY&lt;/span&gt; watch. It&amp;#8217;s not smart, not really, and that&amp;#8217;s where I&amp;#8217;ve got a ton of programming to do, still.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve updated the &amp;#8216;github&amp;#8217;:http://github.com/mattmills/oswatch with a bunch of changes. First, the latest gerbers are there; the board is now &lt;em&gt;very&lt;/em&gt; different. The new accelerometer is a &lt;a href=&quot;https://learn.adafruit.com/adafruit-lsm9ds0-accelerometer-gyro-magnetometer-9-dof-breakouts&quot;&gt;LSM9DS0&lt;/a&gt; , in a weird little package that turns out to be footprint compatible with &lt;span class=&quot;caps&quot;&gt;QFN&lt;/span&gt;-24, the same as my shift register. The shift register has an interrupt pin that can send an intterrupt from any of the other pins when they change, so I&amp;#8217;ve hooked up that, as well. Interrupts for everyone! The updated software also has some minor updates to the watchface, which now shows the day and date, and the markers no longer overlap the hands. I have a really convoluted ruby script for generating all the data to draw those rectangles; I didn&amp;#8217;t want to think about doing floating point math in the machine.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m thinking for the next version, I&amp;#8217;m also going to reduce the battery size again. 500mah is nice, but thinner is also nice, and charging isn&amp;#8217;t really a hardship. Also, right now, it lasts more than 6 days; more than two days is fine. I might need a 3d-printer, to make a waterproof case. Making millimeter-accurate bends in sheetmetal isn&amp;#8217;t easy, but a 3d-printed case would be able to do that, and have grooves for o-ring seals.&lt;/p&gt;
		          </description>
		          <pubDate>2014-10-08T01:17:44+00:00</pubDate>
		          <guid>/2014/10/08/another-status-update.html</guid>
		          <link>/2014/10/08/another-status-update.html</link>
		        </item>
		
		<item>
		          <title>finally a working power supply</title>
		          <description>
		          	&lt;p&gt;so, since I last updated here on the blog, a lot has been going on. I got the 2.1 revision of the board, single sided, and it had another couple errors in the power supply, and I discovered while hacking that I&amp;#8217;d also ordered the wrong power regulators, 3v instead of 5v. So, I ordered another round of boards, this time re-reading all the datasheets and example circuts twice. I got it right.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://farm4.staticflickr.com/3885/15231982546_3f875772fd_h.jpg&quot; alt=&quot;Watch photos, version 2.2&quot;&gt;&lt;div class=&quot;caption&quot;&gt;The circut board with hand-applied solder paste. Had to do a bit of cleanup on this one.&lt;/div&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;That said, the board still has some errata. The shift register isn&amp;#8217;t properly configured, and so it eats power, and the accelerometer is also wrong in a couple ways. Also, the screen connector is too close to the edge of the board. I&amp;#8217;m working on these defects and some improvements; &lt;span class=&quot;caps&quot;&gt;LED&lt;/span&gt; lights for the screen side of the board, to serve as backlights, a different accelerometer altogether, and maybe a vibration motor, for notfications.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://farm4.staticflickr.com/3905/15231982176_85602ed140_h.jpg&quot;  alt=&quot;Watch photos, version 2.2&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;caption&quot;&gt;Exploded v2.2, before I&amp;#8217;d build the first enclosure. The ribbon cable on the display is super delicate; I&amp;#8217;ve reinforced mine with tape.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I have managed to make a much smaller, fuller featured version than the old one. The current version uses the real time clock, has a 3x larger battery, and is 5mm thinner. I&amp;#8217;ve removed the shift register, and the whole thing is on track to run through wednesday evening, having been last fully charged on saturday at 6pm. If I&amp;#8217;m a little lucky, it&amp;#8217;ll run through thursday morning.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm6.staticflickr.com/5596/15254593172_b2e99efaee_h.jpg&quot; alt=&quot;Watch photos, version 2.2&quot;&gt;&lt;div class=&quot;caption&quot;&gt;Case #4, with rubber sides. I wasn&amp;#8217;t a huge fan of the rubber, so&amp;#8230;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;On the software front, I&amp;#8217;ve written a new analog watchface, with rectangular hands instead of lines, and nicer hour markers. As I mentioned above, I got the &lt;span class=&quot;caps&quot;&gt;RTC&lt;/span&gt; working with this board release, so now I shouldn&amp;#8217;t have to reset it every morning, assuming I don&amp;#8217;t let the battery die all the way. I&amp;#8217;m to the point where I need to take an inventory of the parts on hand; I have a probably 2/3rds of the next watch here already, just a few leftovers to pick up (a couple more sharp LCDs, maybe another extra rfduino).&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://farm4.staticflickr.com/3843/15068224119_11f8693566_h.jpg&quot; alt=&quot;Watch photos, version 2.2&quot;&gt;&lt;div class=&quot;caption&quot;&gt;Case #5, with plexiglass on 5 sides. It&amp;#8217;s a little chunkier, but not bad. Stainless steel back, and corners for strength.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I think that&amp;#8217;s all for now. Keep an eye on the &lt;a href=&quot;http://twitter.com/ourglasswatch&quot;&gt;twitter&lt;/a&gt; for more frequent updates. &lt;br /&gt;
&lt;div class=&quot;center&quot;&gt;&lt;/p&gt;
&lt;/div&gt;
		          </description>
		          <pubDate>2014-09-16T05:00:59+00:00</pubDate>
		          <guid>/2014/09/16/finally-a-working-power-supply.html</guid>
		          <link>/2014/09/16/finally-a-working-power-supply.html</link>
		        </item>
		
		<item>
		          <title>project status</title>
		          <description>
		          	&lt;p&gt;So, currently, the project is a bit all over the place, with a lot of things happening all at once. I&amp;#8217;m hopeful that by writing them all down, I can get some sleep. &lt;em&gt;edit: totally worked!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;First things first: the board design I was so happy about turned out to be unworkable, mostly because the battery was backwards on the schematic, so I connected a bunch of stuff to ground that shouldn&amp;#8217;t have been. I reworked it, but I&amp;#8217;m holding off on publishing a revision until I know it works this time. The new version is larger, taking up the full area of the screen, roughly. It&amp;#8217;s also one-sided; the bottom of the board only has some traces. This will make it thinner overall, so that&amp;#8217;s a bonus.&lt;/p&gt;
&lt;p&gt;While I&amp;#8217;m waiting for that to come in, I&amp;#8217;ve been thinking about what constitutes &amp;#8216;done&amp;#8217; for this watch. I&amp;#8217;d like to do one more prototype, at least, with a backlight and a more sophisiticated accelerometer. I&amp;#8217;m hopeful that the real time clock will let me actually put the watch in low power mode between updates, and save battery. So &amp;#8216;done&amp;#8217; for me is dark readable, waterproof, no dissassembly to upload new firmware. Battery life somewhere in the range of 5-7 days, which I may have to acheive with a larger battery.&lt;/p&gt;
&lt;p&gt;Case design is another area that needs some work. I&amp;#8217;m thinking in a lot of directions here, and there are some interesting engineering limitations. RF and metal cases don&amp;#8217;t go well together, but I may test using metal anyway, to see what kind of attenuation I get. The face will be open and nonconductive, at least. I&amp;#8217;d also like to do a women&amp;#8217;s version, but it&amp;#8217;ll have to be a two-sided, four-layer board. I have no idea what I&amp;#8217;d use for a display; I&amp;#8217;d want something roughly 1/3rd the size of what I&amp;#8217;m doing now. It&amp;#8217;s different enough that it should probably be shelved in favor of getting &lt;em&gt;something&lt;/em&gt; done. Maybe size isn&amp;#8217;t even an issue, and it&amp;#8217;s just style.&lt;/p&gt;
&lt;p&gt;A word about solder paste and tiny packages with pins hidden under the chip: use less. That said, you can hand solder 0.5mm traces, using the methods in &lt;a href=&quot;https://www.youtube.com/watch?v=5uiroWBkdFY&quot;&gt;this video&lt;/a&gt;. My first pass with the reflow oven, I had a ton of solder bridges; I used too much solder, and I was a little sloppy putting it on. So, don&amp;#8217;t do that. Syringes seem like a good idea, but really, the &lt;a href=&quot;https://www.youtube.com/watch?v=h-NG8Vk1aC0&quot;&gt;toothpick method&lt;/a&gt; works really well; I used a needle, and it gives pretty good control of where paste goes and how much you apply.&lt;/p&gt;
&lt;p&gt;The other thing I&amp;#8217;ve learned is about supplies: the adage &amp;#8220;If you need one, order 10&amp;#8221; is completely true for small components. I&amp;#8217;ve been wrong about a lot of things, including the number of resistors and capacitors I needed. 0401 parts are &lt;em&gt;tiny&lt;/em&gt;, and I&amp;#8217;ve also lost at least one of them. I damaged one &lt;span class=&quot;caps&quot;&gt;ZIF&lt;/span&gt; connector as well. So: always order extra. I&amp;#8217;d say order ten of anything that costs less than a dollar, or is smaller than 2mm^2.&lt;/p&gt;
&lt;p&gt;That&amp;#8217;s all for now. The new boards arrive tomorrow, so look for a post on tuesday with photos and hopefully a new, working prototype.&lt;/p&gt;
		          </description>
		          <pubDate>2014-08-11T06:42:21+00:00</pubDate>
		          <guid>/2014/08/11/project-status.html</guid>
		          <link>/2014/08/11/project-status.html</link>
		        </item>
		
		<item>
		          <title>minimum viable reflow oven</title>
		          <description>
		          	&lt;p&gt;So: I totally stole the idea for this thing from all over the place. There are &lt;a href=&quot;http://hackaday.com/2014/06/16/reflow-oven-controller-with-graphic-lcd/&quot;&gt;dozens&lt;/a&gt; &lt;a href=&quot;http://hackaday.com/2014/02/22/smart-reflow-oven-is-over-engineered/&quot;&gt;of&lt;/a&gt; &lt;a href=&quot;http://hackaday.com/2013/11/21/a-pair-of-toaster-reflow-oven-builds/&quot;&gt;tutorials&lt;/a&gt; about how to build a reflow oven with a toaster oven. By far the coolest is the &lt;a href=&quot;https://www.youtube.com/watch?v=hVxDJbmCN8o&quot;&gt;Halogen Lamp reflow with low-temp solder paste&lt;/a&gt;, but assuming you only have regular paste, what I&amp;#8217;ve done will also work. Note: I&amp;#8217;m moving to the low temp stuff for future builds because it&amp;#8217;s faster and easier to work with.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm6.staticflickr.com/5577/14880023224_0380bc3abe_h.jpg&quot;&gt;
  &lt;div class=&quot;caption&quot;&gt;The breadboard all wired up. The big green phone wire is running to the power relay.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;First, supplies: You&amp;#8217;ll need a toaster oven. I ordered one &lt;a href=&quot;http://www.amazon.com/gp/product/B00AZSZYTO/ref=oh_aui_detailpage_o04_s00?ie=UTF8&amp;amp;psc=1&quot;&gt;from the big river&lt;/a&gt; , but anything that&amp;#8217;s functioning and has both top and bottom elements should work just fine. Don&amp;#8217;t use it for food afterwards; not only is the metal in solder toxic, but the fumes from the flux are also not great. There&amp;#8217;s probably an &lt;span class=&quot;caps&quot;&gt;MSDS&lt;/span&gt; around somewhere, possibly from wherever you can buy solder paste, that describes the precautions you should take.&lt;/p&gt;
&lt;p&gt;Second, you&amp;#8217;ll need some way of measuring the temperature inside the oven accurately. I got a &lt;a href=&quot;https://www.adafruit.com/products/270&quot;&gt;thermocouple&lt;/a&gt; and an &lt;a href=&quot;https://www.adafruit.com/products/1727&quot;&gt;amp&lt;/a&gt; from adafruit, but you could also hack a kitchen thermometer. They&amp;#8217;re less accurate, but cheaper. I went for accuracy here.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm4.staticflickr.com/3873/14695871188_110a0d63bf_h.jpg&quot;&gt;
  &lt;div class=&quot;caption&quot;&gt;Oven in use.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Third, you&amp;#8217;ll need some way of turning the power off and on. Some people have observed that toaster ovens have perfectly good knobs on the front, and you can get away with just turning it off and on that way. I&amp;#8217;m lazy, and I have a short attention span, so I got a &lt;a href=&quot;https://www.adafruit.com/product/268&quot;&gt;powerswitch tail&lt;/a&gt;. It&amp;#8217;s a pretty nifty isolated relay; it connects to a digital pin, and when you bring it high, it turns on the power.&lt;/p&gt;
&lt;p&gt;Lastly, you&amp;#8217;ll need a microcontroller of some sort. I used a Spark core, because it was on hand and easy to program. I didn&amp;#8217;t even change the firmware. I used the tinker firmware and some ruby code to talk to the spark &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;. I could have used a raspberry pi, an arduino, whatever; the requirements for this project are super minimal. Really, you need about one-second resolution on the thermocouple, and the same on the power. My code is here: &lt;a href=&quot;https://gist.github.com/mattmills/746bc1e8fed75ea413ae&quot;&gt;https://gist.github.com/mattmills/746bc1e8fed75ea413ae&lt;/a&gt; (note that I&amp;#8217;ve taken out my access tokens). Note that the values for temperature are probably unique to my oven and room temperature; if you make one of these, definitely do a test run.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm4.staticflickr.com/3857/14859492756_e754240264_h.jpg&quot;&gt;
  &lt;div class=&quot;caption&quot;&gt;A finished board. There were a few bridges, but this was the first effort. &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Assembly: I didn&amp;#8217;t even bother with a permanent board. The Spark core is dead useful, and I don&amp;#8217;t want it tied up in one device. I stuck it in a breadboard, wired up the amp to power and an analog pin. Wired the powertail&amp;#8217;s control lines to a digital pin and ground, and plugged everything in. I ran the code once, tuned when to stop heating for both stages, and then ran it again. The curve was in the bounds of workable, so I put in a test board, and it worked :)&lt;/p&gt;
		          </description>
		          <pubDate>2014-08-11T02:43:08+00:00</pubDate>
		          <guid>/2014/08/11/minimum-viable-reflow-oven.html</guid>
		          <link>/2014/08/11/minimum-viable-reflow-oven.html</link>
		        </item>
		
		<item>
		          <title>a tour of version 2.0</title>
		          <description>
		          	&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm4.staticflickr.com/3856/14605627056_8fc9d9d177_o.png&quot; alt=&quot;top_layer&quot;&gt;  &lt;img src=&quot;https://farm6.staticflickr.com/5572/14628622945_963ebd0b3d_o.png&quot; alt=&quot;bottom_layer&quot;&gt;
&lt;/div&gt;
&lt;p&gt;So, after many weeks slaving at the computer every night, I&amp;#8217;ve managed to produce a circut board design for v2 of the watch. The design is a little rough around the edges, but I think it&amp;#8217;s worth walking through things at this point. First, some general considerations: I decided not to give a shit about cost per component in this design. I&amp;#8217;m working with a lot of other constraints, mainly board speace, my time, and my ignorance. So almost all of these components are things that I&amp;#8217;ve seen used in kits, things that are dead simple, and usually the smallest available version. Where possible, I&amp;#8217;ll link to resources that have helped me along the way. The software that I ended up using was the one with the easiest learning curve, &lt;a href=&quot;http://fritzing.org/home/&quot;&gt;Fritzing&lt;/a&gt; . The biggest drawback is that it can only do 2-layer boards. I could probably make the board 20% smaller with a four layer design, but I&amp;#8217;m unwilling to pay for eagle, and KiCAD was impossible to install when I was trying. I did later get a binary version to work, but the drag-and-drop simplicity of Fritzing sold me.&lt;/p&gt;
&lt;p&gt;The heart of this board is the RFduino, a mostly Arduino compatible &lt;span class=&quot;caps&quot;&gt;ARM&lt;/span&gt; M0 system-on-chip with 7 GPIOs that runs at 3V. It was chosen for it&amp;#8217;s size and ease of programming; there are a ton of libs and code that work out of the box for it. Also, it&amp;#8217;s very small; smaller than a microduino, and has blutooth built in. It was suggested to me by my friend &lt;a href=&quot;https://twitter.com/mojinations&quot;&gt;@mojinations&lt;/a&gt; . Originally, I was going to do something very similar to the &lt;a href=&quot;http://oswatch.org&quot;&gt;OSWatch&lt;/a&gt;, just build the Amtel and the bluetooth into the same board. When I found the RFduino, I knew it was the right part, just based on size alone. The drawback being that it&amp;#8217;s &lt;span class=&quot;caps&quot;&gt;SMT&lt;/span&gt; only, which has made prototyping interesting, to say the least. Also, it only exposes 7 of the processor&amp;#8217;s available 30-some GPIOs. I understand there&amp;#8217;s a space constraint, but it would still be nice to have a few more (not to mention reducing my part count and complexity even further).&lt;/p&gt;
&lt;p&gt;Moving on to power, I&amp;#8217;m using a lipo battery like &lt;a href=&quot;http://www.adafruit.com/products/1317&quot;&gt;this one&lt;/a&gt; from Adafruit. This feeds a Maxim MAX1724EZK30 regulator, which was chosen for its very low quiescent current, although it was a bit more costly than other switching regulators.The board also will charge the battery over &lt;span class=&quot;caps&quot;&gt;USB&lt;/span&gt;. It uses a MCP73831 charging IC and a power sharing circut described &lt;a href=&quot;http://blog.zakkemble.co.uk/a-lithium-battery-charger-with-load-sharing/&quot;&gt;here&lt;/a&gt; ; basically it uses a &lt;span class=&quot;caps&quot;&gt;MOSFET&lt;/span&gt; transistor to switch to the &lt;span class=&quot;caps&quot;&gt;USB&lt;/span&gt; power when it&amp;#8217;s connected. As an aside, I found that page looking at photos of other people&amp;#8217;s &lt;span class=&quot;caps&quot;&gt;DIY&lt;/span&gt; watches. His is pretty rad.&lt;/p&gt;
&lt;p&gt;Next is the screen. Sharp makes a family of low-power memory displays, which are like e-paper, but with fast refresh rates. I decided to build around one of these instead of a more typical &lt;span class=&quot;caps&quot;&gt;OLED&lt;/span&gt; because I always want the display to be on, telling the time. If a watch is about displaying essential information, it shouldn&amp;#8217;t need a button press to see it. I got the idea from the Adafruit breakout board, which isessentially a level shifter and a voltage regulator hooked directly to the screen. There are actually two displays that are interchangeable here; one 96&amp;#215;96 and one 128&amp;#215;128. They&amp;#8217;re physically about 1mm different, and the connector is the same. Unfortunately, they&amp;#8217;re also backordered everywhere; I&amp;#8217;ve been forced to buy breakout boards to get the part.&lt;/p&gt;
&lt;p&gt;On the I2C bus, we have three chips. First there&amp;#8217;s an accelerometer, which I have no idea if it&amp;#8217;s the right one, but it&amp;#8217;s at least widely supported. This will allow the watch to do activity tracking and shake gestures. Second is the real time clock. I went with the Maxim DS3231MZ+, which has an internal oscillator, so reduces the &lt;span class=&quot;caps&quot;&gt;BOM&lt;/span&gt; by 1 part. I could probably get away without a &lt;span class=&quot;caps&quot;&gt;RTC&lt;/span&gt;, I mean, my current version doesn&amp;#8217;t have one. That said, it&amp;#8217;s pretty essential that the watch keep time. Last on the I2C bus is a I/O expander, which has 4 pads exposed for buttons, and another two for shits and giggles. I should probably make the extra two pads the I2C bus.&lt;/p&gt;
&lt;p&gt;The full &lt;span class=&quot;caps&quot;&gt;BOM&lt;/span&gt; is in &lt;a href=&quot;https://docs.google.com/spreadsheets/d/14jRSNYrciR-tZefQazQIYSMZuqghAQMD3fvnpsEUQMA/edit?usp=sharing&quot;&gt;this google doc&lt;/a&gt; . There are some various capacitors, resistors, and such that do things like power conditioning, pullups, or config. Nothing super crazy. The full set of gerbers is in the &lt;a href=&quot;https://github.com/mattmills/oswatch&quot;&gt;github repo&lt;/a&gt;, along with the code I&amp;#8217;m currently using. Astute readers will note that none of the new hardware is implemented at all yet. It&amp;#8217;s on my todo list, as soon as I build it.&lt;/p&gt;
		          </description>
		          <pubDate>2014-07-10T15:58:50+00:00</pubDate>
		          <guid>/2014/07/10/a-tour-of-version-20.html</guid>
		          <link>/2014/07/10/a-tour-of-version-20.html</link>
		        </item>
		
		<item>
		          <title>some words about a case</title>
		          <description>
		          	&lt;p&gt;So, I&amp;#8217;ve made like three cases so far, &amp;#8220;case&amp;#8221; being the lingo for the container a watch goes in. I don&amp;#8217;t have a 3D printer or a machine shop, so I&amp;#8217;m limited to what I can hand fabricate. That said, I have a long history making things with my hands, and I&amp;#8217;ve been able to make a couple different things, the last of which is actually not that bad.&lt;/p&gt;
&lt;p&gt;The first one was metal, which was ok, except I was holding the circut boards in with tape, and metal blocks radio signals. Not ideal, but for the time that I was just wearing it as a timepiece, it was ok. The band was attached with wires looped through holes; imagine a staple, wrapping around the band and through the metal.&lt;/p&gt;
&lt;p&gt;The next case was all acrylic; I had the idea to make a laminate case by cutting the inside holes with a dremel; this turned out to be way too much work. Acrylic kind of sucks as a material for fine work. You can cut arbitrary streight lines pretty easily, so I made a bunch of rectangles, and made that into a box with some superglue. One side I left open, with a bit of the two sides sticking out, and cut grooves so I could make a slide-in cover out of aluminum. I noticed after wearing it for a bit that it had super sharp corners, so I sanded all the edges so they don&amp;#8217;t gouge random people on the bart (or my wife).&lt;/p&gt;
&lt;p&gt;Then, of course, I broke that. I was trying to drill holes for buttons, and the top came off. So, instead of trying to fix it, I went back to the drawing board, and thought for a little while, and came up with my favorite so far. A laminate design like the second case, but instead of using acrylic for the middle sections, I used gasket material, which is cuttable with an X-acto knife. The top and bottom are acrylic, and it&amp;#8217;s held together by the four bolts you see in the picture.&lt;/p&gt;
&lt;p&gt;I could continue to work on little stuff like this indefinitely, but to make new features, I need to add to the circuts, which has become inpossible on the perf board. It&amp;#8217;s overworked and out of room. I&amp;#8217;m calling a halt to development on this iteration, and focusing on the schematic and board for the next major version.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&#39;https://farm6.staticflickr.com/5571/14376247400_2b149e0f22_h.jpg&#39; /&gt;
&lt;img src=&#39;https://farm4.staticflickr.com/3904/14559537931_42974a432a_h.jpg&#39; /&gt;
&lt;/div&gt;
		          </description>
		          <pubDate>2014-07-03T05:41:19+00:00</pubDate>
		          <guid>/2014/07/03/some-words-about-a-case.html</guid>
		          <link>/2014/07/03/some-words-about-a-case.html</link>
		        </item>
		
		<item>
		          <title>buttons buttons buttons</title>
		          <description>
		          	&lt;p&gt;So, with the watch assembled and largely working, work on it slowed a bit. I didn&amp;#8217;t want to break it. I added some buttons, that didn&amp;#8217;t do much, and left it, stable, for a week or so. I worked on the schematic for version 2.0, a.k.a. the &lt;span class=&quot;caps&quot;&gt;DVT&lt;/span&gt;. I routed the copper for most of it, too; I have some things left to add. Using I2C for a lot of things, since there are only 7 I/O pins on the RFduino, and I&amp;#8217;m still one pin short. There are tools for that, at least.&lt;/p&gt;
&lt;p&gt;Speaking of I/O, buttons! In order to get things working, I couldn&amp;#8217;t just hook up one side of the switch to 3v and the other to the digital pin. That would be too easy. There are a lot of factors in play here. This is worth a little diversion. I come from software, where by comparison we live in a world of platonic ideals, where 1 always equals 1. Hardware is harder. For starters, the digital pins don&amp;#8217;t read 0v when in their natural state. You have to use either a pullup or a pulldown resistor to get a 1 or a 0.&lt;/p&gt;
&lt;p&gt;Then, interrupts, oy! Somewhere in the libraries I&amp;#8217;m using, there&amp;#8217;s some interrupt driven thing that was causing the watch to freeze randomly after pressing the button. Not all the time, but probably 1 time in 10. I wrapped my whole loop function in noInterrupt() to fix it. The code is on github here: &lt;a href=&quot;https://github.com/mattmills/oswatch&quot;&gt;https://github.com/mattmills/oswatch&lt;/a&gt; . It will probably change a lot while I&amp;#8217;m adding features and improvements.&lt;/p&gt;
&lt;p&gt;Next up, hopefully in the next couple weeks, I&amp;#8217;ll have the &lt;span class=&quot;caps&quot;&gt;DVT&lt;/span&gt; schematic and gerbers. There&amp;#8217;s not a ton left to do, basically wiring in the screen and accelerometer, and maybe a &lt;span class=&quot;caps&quot;&gt;RTC&lt;/span&gt; if there&amp;#8217;s room. 8 mil traces are tiny, but I&amp;#8217;m leaving basically half the case for battery. The original plan was for a 35&amp;#215;35mm final board, and I&amp;#8217;ve got that down to 35&amp;#215;18mm, which will make the whole watch thinner and more wearable. I&amp;#8217;ll also post the Fritzing files, which may be of use if anybody wants to roll their own hardware. It&amp;#8217;s limited to a 2 layer board, which kinda sucks, but it&amp;#8217;s doable.&lt;/p&gt;
&lt;p&gt;That&amp;#8217;s all for now. More news when there&amp;#8217;s more to report.&lt;/p&gt;
		          </description>
		          <pubDate>2014-06-30T01:05:49+00:00</pubDate>
		          <guid>/2014/06/30/buttons-buttons-buttons.html</guid>
		          <link>/2014/06/30/buttons-buttons-buttons.html</link>
		        </item>
		
		<item>
		          <title>Desoldering braid is magic (or, Building prototypes is hard)</title>
		          <description>
		          	&lt;p&gt;So, to kill any suspense that may have been building over the last couple weeks, I&amp;#8217;ve managed to complete a first prototype of my open watch. As it turns out, a lot of people have built these over the last couple years, as hobby parts get more sophisticated and smaller. It&amp;#8217;s now possible to take a bunch of off the shelf stuff and build a smart watch in any number of configurations. It&amp;#8217;s not long before you can build a phone, similarly.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://farm3.staticflickr.com/2916/14425833726_028a690252_h.jpg&quot; alt=&quot;version2 with rfduino&quot;&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;I hesitate to go into too much detail. There&amp;#8217;s a lot of this that&amp;#8217;s arbitrary, or an accident of me painting myself into some corner through mistakes early on, or simply unexamined. I&amp;#8217;m sure there are several lucky breaks I don&amp;#8217;t know about, in addition things like the fact that the display breakout I&amp;#8217;m using has a voltage regulator. You can see from the photos that it took a lot of working and re-working. What I&amp;#8217;d like to do is to teach the knack that helped me know where to look for problems when they came up. How to work through a decision tree of what parts to use, where, and when, what connections to make,&lt;/p&gt;
&lt;p&gt;As hinted in an earlier post, the heart of the beast is an RFduino, an Arduino compatible &lt;span class=&quot;caps&quot;&gt;ARM&lt;/span&gt; and Bluetooth LE system on chip (SoC). The prototype is built on an an Adafruit perma-proto, but you could proably use any standard perf board. The display is &lt;a href=&quot;https://www.adafruit.com/product/1393&quot;&gt;this one&lt;/a&gt;, which I&amp;#8217;m also using for it&amp;#8217;s voltage regulator. &lt;span class=&quot;caps&quot;&gt;VIN&lt;/span&gt; goes to the display, and the rfduino is powered from the 3v pin. I&amp;#8217;m using one of their tiny LiPo batteries, the 150mAh, but I think power consumption may be an issue when I get to the radio-using phase, so I also have a 500mAh ready to swap in.&lt;/p&gt;
&lt;p&gt;The first draft of thie prototype was&amp;#8230; messy.  I sat and thought about every connection, then soldered, then sat and thought some more. This is not a fast way to build a watch. This version of the setup worked, for a loose definition of &amp;#8216;work&amp;#8217;. I used really long jumper wires, and tried to pack them all together, so, of course, there were shorts. It also made the whole package considerably bigger than I thought it would be. So, kind of a dud.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm3.staticflickr.com/2908/14262519117_a693a22215_h.jpg&quot; alt=&quot;second rfduino SMT solder&quot;&gt;
&lt;/div&gt;
&lt;p&gt;The second version was a little better; I shortened a bunch of wires, but the RFduino had a pad separation on the reset pin, which meant that it was kaput. I had bought 2 of them, luckily, so I wasn&amp;#8217;t dead in the water. Not that the pad separation was my fault; these are &lt;span class=&quot;caps&quot;&gt;SMT&lt;/span&gt; complonents, meant to be reflowed (soldered) once only. I knew I was pushing my luck, and it didn&amp;#8217;t work out.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://farm3.staticflickr.com/2928/14262832019_e8d5c40637_h.jpg&quot; alt=&quot;rear of finished board&quot;&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Version three I sort of took the experiences of the first two and combined them. I made the proto board a little longer, and soldered little legs to the rfduino, which I made out of wire wrap wire. They&amp;#8217;re tiny, and a little flimsy, but in aggregate, give enough tension to hold the chip securely. I wired the power/programmer side so that I could plug it in directly and power everything off of it, for debugging purposes. You may notice, if you look closely, that Rx and Tx are switched from the circut diagram I posted in my last post; that&amp;#8217;s because I screwed up drawing it.&lt;/p&gt;
&lt;p&gt;So, what have I learned so far? There is a metric ton of information on how to do all of this stuff out there on the internet. If you have a question, someone else already has, and has posted on a forum about it, and been derided for being a noob. Then, someone knowledgeable will come along and actually answer the question, sometimes clearly, and sometimes in an offhand way that has you googleing again. Skim the trolling, look for answers. Then, there are the manufacturers&amp;#8217; data sheets, which are supposed to tell you everything you need to know to use their product. They give away perfectly good designs, so you get to benefit.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm4.staticflickr.com/3871/14262833049_a5a507796d_h.jpg&quot; alt=&quot;With clips&quot;&gt;
&lt;/div&gt;
&lt;p&gt;But seriously, solder braid really is magic. There&amp;#8217;s more to say, and a ton more to do, but that&amp;#8217;s enough for now.&lt;/p&gt;
		          </description>
		          <pubDate>2014-06-17T12:52:43+00:00</pubDate>
		          <guid>/2014/06/17/desoldering-braid-is-magic.html</guid>
		          <link>/2014/06/17/desoldering-braid-is-magic.html</link>
		        </item>
		
		<item>
		          <title>Programming an Rfduino with an FTDI friend</title>
		          <description>
		          	&lt;p&gt;There comes a time in every man&amp;#8217;s life when he buys a thing, thinking he won&amp;#8217;t need accessories, only to find out later that he does, in fact, need them. This was one of those times.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;d tweeted about building a bluetooth-enabled watch,and a friend linked me to the &lt;a href=&quot;http://www.rfduino.com&quot;&gt;RFduino&lt;/a&gt;, a device that seemed to fit all my requirements. It&amp;#8217;s small, low power, has enough GPIOs, and was supposedly open source. I&amp;#8217;m not entrely sure that&amp;#8217;s true, as I know that you need a proprietary toolchain to build the  bootloader currently, but the bootloader itself is at least open. So, I decided to forge ahead with experiments anyway. I ordered two of the &lt;span class=&quot;caps&quot;&gt;SMT&lt;/span&gt; versions.&lt;/p&gt;
&lt;p&gt;When they arrived, I was stoked. They&amp;#8217;re freaking &lt;em&gt;tiny&lt;/em&gt; . My level of stoke only lasted until I started trying to find out how to program it; there wasn&amp;#8217;t much information at first, other than to use their programmer. A look at the &lt;a href=&quot;http://www.rfduino.com/wp-content/uploads/2014/03/RFD22301.Data_.Sheet_.11.24.13_11.38PM.pdf&quot;&gt;data sheet&lt;/a&gt; told me that it was just a &lt;span class=&quot;caps&quot;&gt;USB&lt;/span&gt; &amp;#8594; serial interface, and I had one of those, &lt;a href=&quot;http://www.adafruit.com&quot;&gt;Adafruit&amp;#8217;s&lt;/a&gt; &lt;a href=&quot;http://www.adafruit.com/products/284&quot;&gt;&lt;span class=&quot;caps&quot;&gt;FTDI&lt;/span&gt; Friend&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To get it working, there are some steps. The Friend is already configured for 3v logic, but you have to solder some jumpers on the back to expose the right signal lines, and make Vcc 3v as well. In the picture, you can see I&amp;#8217;ve bridged the &lt;span class=&quot;caps&quot;&gt;DTR&lt;/span&gt; jumper pads with a surface mount part; that&amp;#8217;s a small value capacitor I had laying around. You don&amp;#8217;t have to do it that way, it just needs to be in series with the &lt;span class=&quot;caps&quot;&gt;DTR&lt;/span&gt; line.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&#39;https://farm6.staticflickr.com/5239/14349497315_a1792cd12d_k.jpg&#39; /&gt;
&lt;/div&gt;
&lt;p&gt;I derived most of the schematic from the datasheets for the parts involved, and then from some forum postings figured out the capacitor. It&amp;#8217;s pretty simple once you get to the end point, but took me a while to get here. Recommended but not required is a filter capacitor wired in parrallel between &lt;span class=&quot;caps&quot;&gt;VCC&lt;/span&gt; and Ground. On my breadboard currently, there&amp;#8217;s also a pullup resistor from reset to Vcc, but that&amp;#8217;s not required. I was trying to troubleshoot&amp;#8230; anyway. Protip: Command-u is not the same as Command-shift-u.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm3.staticflickr.com/2939/14326482296_6c9f8a7c98_b.jpg&quot; alt=&quot;&quot; /&gt;
&lt;/div&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;img src=&quot;https://farm6.staticflickr.com/5594/14159135070_7d755ea4aa_b.jpg&quot; alt=&quot;&quot; /&gt;
&lt;/div&gt;
&lt;p&gt;You could replicate the above with any of the &lt;span class=&quot;caps&quot;&gt;FTDI&lt;/span&gt; programmers out there; sparkfun sells one, and there are clones all over. Just make sure it exposes the &lt;span class=&quot;caps&quot;&gt;DTR&lt;/span&gt; line, and you&amp;#8217;re set. One last photo: this is the current setup, with filter caps and a sneak peek at the display of the watch I&amp;#8217;m working towards. You can see what loook like three hands; the one pointing to 12 is actually a bug in the redraw code. We&amp;#8217;ll pretend it&amp;#8217;s a second hand.&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://farm6.staticflickr.com/5589/14163671978_84bb76d82c_h.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;/div&gt;
		          </description>
		          <pubDate>2014-06-04T15:58:19+00:00</pubDate>
		          <guid>/2014/06/04/programming-an-rfduino-with-an-ftdi-friend.html</guid>
		          <link>/2014/06/04/programming-an-rfduino-with-an-ftdi-friend.html</link>
		        </item>
		

	</channel>
</rss>
