Sunday, February 21, 2010

en route

Yesterday was a very, very bad day. On Friday night I had a couple hours to work on sucker bits in the garage before heading to the airport to pick up Emily. At some point during that time, Charley, our Rhodesian Ridgeback, went outside and got stuck in the backyard. I looked for him as I was getting ready to leave and finally found him prone in the snow next to the chicken coop at the bottom of the slope in the dog yard. He was unable to stand, so I carried him inside and sat with him by the fire for a while. After twenty minutes or so, he showed a slight interest in food and managed to get up and walk by himself, but it wasn't pretty. He only made it a few feet, and it was clear that his legs were not working correctly.

I decided to put him in the car and take him with me to the airport. Since he hadn't shown any improvement by the time we were heading back up the hill, we took him to the emergency vet. She thought it might be something neurological, perhaps a tumor or spinal injury, and sent Charley home after midnight with a steroid shot and a follow-up appointment scheduled for early the next morning.

Charley didn't respond to the shot, and the vet at our Saturday morning appointment discovered that he had a new and significant heart murmur. He determined that Charley's inability to walk was due to general weakness from his heart condition and that little could be done for him. We had to say goodbye to Charley just a few days prior to his twelfth birthday.

On the way home from the vet, we stopped by the cleaners to pick up my heavy coat for the trip. I had left it there a week ago to have its zipper replaced. They didn't have it. Apparently it was in the possession of their seamstress in Aurora, and she hadn't returned their calls for the past two days. Fortunately the Fairbanks forecast looks fairly warm (mostly above zero F) for the coming week, so I should be fine with a lesser coat.

After getting home, I finally turned my attention to my right eye which had been irritated since the drive to the airport. It didn't take long to find a small bit of steel stuck in my cornea. I had been wearing safety glasses while making the sucker bits, but that one piece somehow found its way around them. The only good news I had all day was that my ophthalmologist would be able to return from Colorado Springs and see me in the afternoon. He popped the tiny chunk out with the tip of a syringe and then removed the remaining rust ring with a drill.

Needless to say, I didn't have as much time for trip preparations on Saturday as I had hoped, but I was able to get everything packed in time for a few hours sleep before my early morning flight. I'll probably have time at Belfair on Monday to test and touch up the sucker bits and finish sharpening chisels and saw chains. Meanwhile, I'm spending a long day of travel, an odd calm amid days of storm.

Friday, February 19, 2010

sharpening, sharpening, sharpening

When Lars and I first started carving ice, we underestimated the value of some of the more traditional ice carving tools. Chainsaws would be essential, we knew, but we didn't figure that chisels would be so important to the mechanical ice sculptor as they are to the traditional ice sculptor. We only had a few, small, one-handed chisels on hand that first year, but wasn't long before we realized that we needed more chisels, sharper chisels, bigger chisels, and better chisels.

We found that professional ice carving chisels are rather expensive, so we tried making some of our own or refurbishing antiques found on eBay. These efforts weren't terribly successful until one day a couple years ago when Lars found a nice, large, 3/8 inch thick piece of tool steel. He cut it up into several chisel blades (up to 4 inches wide) and welded on sockets for hockey stick handles. These chisels have been an outstanding addition to our arsenal.

When they were new, Lars had them professionally sharpened. They cut ice much better than any chisel we had used before, but some of them lost their edges fairly quickly. After learning a thing or two about sharpening chisels I came to realize that the reason some of them were better than others was that they had flatter backs. The professional sharpener had done a terrific job on the bezels but hadn't flattened the backs. Since the cutting edge is the intersection of two planes, the bezel and the back, it is important that both be very flat. Over time, I've tried to flatten the backs of these chisels, but it is a great deal of work. Last year I took a particularly troublesome one home with me, and I have been trying to flatten it this week, starting with a belt sander and moving up to a coarse diamond stone.

Wednesday, February 17, 2010

big suckers

Making sucker bits out of spade bits turned out to be pretty easy, but we need to make some bigger suckers. The largest spade bit I have found is 1.5 inches. I'd like to be able to make suckers at least twice that large, so I made a prototype 3 inch sucker bit out of a flat piece of 1/4 inch aluminum.

It worked quite well, so I'm now working on a set of bits in made in this style out of 1/4 inch steel. Tonight I drink a toast to whoever invented the angle grinder.

Monday, February 15, 2010

suckers!

In one week I'll head to Fairbanks for the World Ice Art Championships. This year Lars and I have decided to carve a windmill as seen through the eyes of Don Quixote. There isn't much in the text that describes how he perceives them, so we have a lot of freedom. Don Quixote calls them "monstrous giants" and says that they have many arms, so we are carving our windmill in the form of an octopus-like monster.

Inspired by the bubble bits that Steve Brice has used to great effect in past events, I decided to try making a sucker bit. I used an off-the-shelf spade bit and modified it with a bench grinder and some hand filing. With bits in this shape, we should be able to quickly carve long tentacles with many suckers.

My first test went well! While I've been working on sucker bits, Lars has done ten times as much, making improvements on various machines including the lathe, the eight-legged slab-cutting bandsaw (now known as "Sleipnir"), and "Bob the Boiler," a heat cutting tool.

Friday, February 05, 2010

ShmooCon live!

I'm giving a talk on Bluetooth keyboard security at ShmooCon this year. Live video of the talk will be provided. My talk will be at 3:00 PM EST on Saturday, February 6th in the Break It! track.

Tuesday, January 12, 2010

KillerBee on a budget

At ToorCon 11, Joshua Wright handed out a pre-release version of his KillerBee framework, a set of tools for analysis of 802.15.4 and ZigBee wireless networks.

KillerBee requires a particular hardware device, Atmel's AVR RZUSBSTICK, an inexpensive USB dongle with a programmable microcontroller. Many of the KillerBee functions require custom firmware (written by Joshua) to be flashed onto the stick. While most Atmel products feature In-System Programming (ISP) which can be done with a low-cost programming device, the RZUSBSTICK unfortunately only provides a JTAG header for programming, and the JTAG debugger/programmer costs about $300.

The good news is that ISP can be used to program the RZUSBSTICK. The bad news is that it requires some tricky soldering to get it working. With a little guidance from those who have gone before me and SparkFun's excellent surface mount soldering tutorials under my belt, I was able to attach a 10-pin ISP header to my RZUSBSTICK and successfully flash it with the KillerBee firmware.

There are two kinds of AVR ISP headers, a 6-pin and a 10-pin version. I chose the 10-pin variety because my programmer has a 10-pin connector, but a simple adapter can allow you to use either. Both varieties use the same 6 signals: GND, VCC, RESET, SCK, MISO, and MOSI. I connected them with colored wire (28 or 30 AWG wirewrap wire) as follows:

signalcolorheader pinsource
GNDblack4,6,8,10JTAG header pin 2
VCCred2JTAG header pin 4
RESETwhite5JTAG header pin 6
SCKpurple7AT90USB1287 pin 11
MISObrown9AT90USB1287 pin 13
MOSIorange1AT86RF230 pin 22

I ran all six wires through the unused holes of the (unpopulated) JTAG header in order to provide some strain relief. Those connections to the individual chip pins are fragile! From there I ran them across the back of the board to a 10-pin header glued to the end of the stick.

My serial programmer works great when connected to an on-board serial port on an old PC, but its bit-banging technique is incredibly slow (about 3 bits per second) and unreliable when connected to a USB/serial adapter. I believe that trying to use it via USB was the cause of death of an ATtiny85 while working on a previous project. Anyway, with a good serial port, AVRDUDE does a fine job programming the RZUSBSTICK over ISP:

avrdude -c ponyser -p usb1287 -P /dev/ttyS0 -U flash:w:kb-rzusbstick1.hex

Now to find some target devices. . .

Wednesday, November 04, 2009

worst malware analysis ever

Symantec has decided that Lose/Lose is a trojan. It is, in fact, a video game that deletes files. The game's web site warns that the game deletes files. The game itself warns the player that it deletes files. There is nothing whatsoever malicious about a program deleting files after warning the user that it will delete files.

Why does Symantec (oh, Trend too) think this is malware? Because "there’s nothing stopping someone with more malicious intentions from modifying it slightly and then passing it on to unsuspecting users, causing significant damage to a computer." By that logic, rm should be considered malware because it could be modified (say, by renaming it) to delete files contrary to a user's expectation. Frozen Bubble must be malware too, because it could easily be modified to delete files!

Saturday, September 12, 2009

ToorCon workshop

I'll be running a software radio workshop at ToorCon in October. It will be similar to the workshop at ToorCamp but with more electricity and less volcanic ash! With a more pleasant environment and more structured lessons, a greater amount of material will be covered.

Friday, September 11, 2009

building an all-channel Bluetooth monitor

video (179M) of my presentation with Dominic Spill at ShmooCon 2009 has been posted.

Saturday, July 18, 2009

toorcamp badge hacking

The badges at Toorcamp were solder-yourself passive RFID detectors. With the jumper in one position, an LED lights up in the presence of 125 kHz signals (used by low frequency RFID tags). With the jumper in the other position, a second LED indicates the presence of 13.56 MHz signals (used by high frequency RFID tags and Near Field Communication).

The circuit is very simple. Each side consists of an inductive loop (of traces on the circuit board), a tuning capacitor (forming a tank circuit with the loop), and an LED. It is powered by the received signals (as are passive RFID tags). I've tested my badge by holding it up to both types of RFID readers, and it works perfectly. Unfortunately it only works at very close range, so it isn't the most useful device on its own. As a component in other circuits, however, the unit has great potential.

Thanks to some spare parts and excellent soldering equipment provided by my friends at the Dorkbot campsite, I was able not only to assemble the badge but to perform a simple modification that turned it into a low frequency RFID decoder (in conjunction with a laptop computer). All I had to do was attach a cable with an audio plug in place of the jumper. At the camp, I soldered the audio cable directly to the board, but I have since reworked it with a plug that can be removed or repositioned on the header.

125 kHz RFID tags (at least the ones I've had an opportunity to play with) use a double modulation scheme. The data signal is frequency modulated (FSK) in the neighborhood of 14 kHz, and then the resulting signal is amplitude modulated up to 125 kHz. One way to demodulate the over-the-air signal is to perform the whole process in reverse: undo the amplitude modulation to get back to 14 kHz FSK, and then FM demodulate back to the baseband signal.

The fist step can be done with a small analog circuit. The simplest way to demodulate an AM signal is to rectify the signal (only allowing current to pass in one direction) with a diode and then smooth the resulting signal with a low pass filter (which can be as simple as a single capacitor). This results in a waveform that represents the envelope, the amplitude variations over time, of the original signal. Lucky for me, the LED on the Toorcamp badge is a diode that rectifies the signal! With the badge plugged into a laptop's microphone jack, the sound card's anti-aliasing filter does the smoothing, and the resulting signal of approximately 14 kHz is within the range that the sound card can record.

The FSK demodulation can then be done in software, allowing the whole setup to act as a close-range RFID decoder. You could even plug the badge into a small audio recorder and decode recorded signals later on a computer.

This simple modification just scratches the surface of what can be done with the Toorcamp badges. Having RFID frequency tuned loops available to plug into your own circuits makes it easy to play with both reception and transmission of RFID and NFC signals. For example, at the camp I used a second badge plugged into a USRP in order to transmit the 125 kHz signal needed to excite an RFID tag for testing the decoder.

Thanks again to everyone who made Toorcamp possible and to all the new friends I made there, especially the Dorkbot campers. It was an incredible experience.

Friday, June 26, 2009

toorcamp awaits

Next week Dominic and I will reprise our ShmooCon Bluetooth talk at Toorcamp, North America's first hacker camp (which happens to be taking place at a defunct Titan-1 missile silo). The nice folks from DorkbotPDX have allowed us to join their campsite. While we're there we also plan to run a software radio workshop. It is high time that more hackers learn how to use this technology.

Thursday, March 26, 2009

Black Hat video up

Video (warning! 283 MB!) of my talk, Software Radio and the Future of Wireless Security, at Black Hat USA 2008 is now available along with all the other presentations from the event.

Tuesday, March 03, 2009

Star Crossed

After four years of developing tools and techniques, three gloves and mittens cut by angle grinders, two broken slabs of ice intended for moving parts, one tool confiscated by the TSA, and zero broken beaks, we completed Star Crossed. The sculpture features a realistic penguin on the left and a mechanical penguin on the right. It is the first working mechanical ice sculpture that we have completed in the Single Block Classic.

The head of the realistic penguin is shown in this detail photo. We used two textures: scratched and transparent.

This shot shows the mechanism on edge. The head piece rotates on the upper axle and has a long slot that extends downward. The key on the lower axle turns a cam with a lug that rides along the slot. You can watch a video of the mechanism in action.

We carved Star Crossed in three days and had a great time doing it. Thanks to all the volunteers and sculptors at Ice Alaska who make the experience a fun one every year. Thanks to Sharon Hansen for the shooting the photos and video.

Monday, March 02, 2009

night

Throughout the final day of competition we worked primarily on converting the rough penguin bodies into finished sculptures. The first step was a thorough scratching with the devil's back scratcher. This removed all the chainsaw and chisel marks, refined the shape of the piece, and left only small scratches to be polished away. We decided to use the scratched texture for the black portion of the realistic penguin and a transparent texture for the white portion and for the entire mechanical penguin (in order to make the machine parts visible).

For the transparent texture, we removed the scratches by polishing with a Scotch Brite pad on an angle grinder and applied heat with a weed burner and hair dryer for the final finish. "Scratch, buff, burn" was our mantra for the day. By dinner, both penguins were finished as were all of the machine parts.

After a quick dinner, our first priority was assembly of the machine. We had done a trial assembly the day before to verify fit and clearance for all the parts, but the final assembly was a bit different. For one thing, we had to add bushings to keep parts from sliding along the length of axles. We also had to waterglue parts together, eliminating a bit of play between various parts. Once we had everything welded into place, the mechanism didn't work! There wasn't enough clearance for the cam's lug at one end of the slot in the head piece. Fortunately we had anticipated that this might happen, so Lars was able to correct the problem by thinning the lug while I worked on finishing the beak of the realistic bird. The rest of the penguin was done, but we had left the beak for last in order to avoid breaking it. I trimmed an inch or so of diameter with a small chisel and added a beak line and eyes.

By the time I was done, Lars had the mechanism working, but he had only tested it with his hands guiding the interior parts. He hadn't actually turned the entire mechanism from the key on the front. We decided to try it together, rotating it a few times just before the final horn sounded. It worked!

During clean-up, several people, including sculptors and the event director, stopped by to try it out. We constructed fence posts within reach of the key and a sign instructing people to turn it gently. Sharon made a short video of Lars and I turning it as well. When we left, the mechanism was still working, but we didn't know how long it would last.

We crashed at Belfair that night and woke up the next day in time to thaw and dry our equipment before heading out for an 11 mile hike-and-sled to remote Tolovana Hot Springs. It was a delightful weekend of snow, sun, and good company.

Thursday, February 26, 2009

morning

It is the morning of the final day of competition. Last night we stopped a bit early (?) and made it back to Belfair around 11:00. Lars made lesson plans while I sharpened chisels. (Thanks for the diamond stone, mom and dad!) Actually, Lars made lesson plans while I had a beer (Belfair home brew) and played guitar. Then I stayed up a couple hours after him to sharpen chisels, and I'm glad I did! I made short work of the head first thing this morning, and I did it all with two freshly sharpened chisels. Meanwhile Lars taught a pre-calculus class and has now arrived at the warming hut to join me in a mid-morning snack. (Unlimited coffee and doughnuts!) We didn't get much sleep last night, but at least we didn't spend the entire night carving ice like a few of the other sculptors.

day two

What a beautiful day for carving ice! The weather has been perfect for ice, not too warm, not too cold. After the ice warmed up a bit in the morning and our liquid water cooled down, we worked on the welds and had them done by lunch. They could be prettier, but they are structurally sound. After lunch we finished the mechanism pieces (except for the handle) and performed a trial assembly. Everything fit and had enough clearance through the complete range of motion.

Later in the day we turned to the task of removing large quantities of ice to shape the bodies. It has been slow going but is mostly done. While Lars is at school for a bit Thursday morning I'll tackle the head of the realistic penguin. I'm terrified that I will ruin the thing!

Wednesday, February 25, 2009

the penguins are coming! the penguins are coming!

Day one was quite successful. Our ice had several large cracks (and the heat of the giant chansaw produced an additional one), but we've managed to work around them well. We have been able to find high quality sections for our mechanical parts. We made a last minute decision the night before the event to increase the overall size of the piece. This has required a considerable effort to add large chunks to the top of the pengiuns, but we think it will be worth it. Hopefully the additional time required to do this doesn't burn us later.

By the end of the day we had both penguin bodies very roughly formed, a cavity for moving parts carved out of the mechanical penguin, one of two axle holes drilled, a head roughed out and lifted (oof!) up on top of a body (not yet oriented correctly), and both axles turned on the lathe.

Toward the end of the day, we started doing stupid things. Lars had to remind me to get my safety equipment on before using a chainsaw, we forgot that we should have drilled the axle holes before cutting out the cavity, and we drilled a hole through two panels that only needed to go through one. Fortunately we decided to quit early in the evening before doing anything terribly disastrous. That enabled us to get an early start today, and we are making good progress again.

Lars had a wonderful (terrible?) idea for a technique to deliver liquid water to a weld. We were attaching the shoulders to the body of the mechanical penguin, so we packed the edges with snow and then drilled a 3/4 inch hole all the way from the top of the shoulder piece down to the thin gap between the parts and poured water right down the hole. Unfortunately the liquid water never spread further than an inch from the hole because, we suspect, it encountered too much snow deposited by the drill bit. Maybe it would have worked if we had blown out the hole with compressed air before pouring the water. Anyway we'll have to try to bond the pieces together better today. We hope to have that and the head of the other penguin done very soon.

Watch us on our webcam!

Monday, February 23, 2009

site

We are in site number one this year. Matt, our inside man in the webcam crew, tells us that our webcam was the first one made operational yesterday, so it should be available when the event starts Tuesday morning at 9:00. We might not be there right when the horn sounds, however, due to some scheduling difficulties. Lars has recently been promoted (yay!) to a full-time teaching position at a local high school, but his students have had so many different teachers that they need a bit of stability. For this reason he'll have to teach one morning class on Tuesday and Thursday, but he'll have substitutes for his other classes.

sketch

Here is our official sketch for this year's Single Block Classic. Our plan is to carve a pair of star-crossed lovers, a realistic penguin and a mechanical penguin. The mechanical penguin's head bobs up and down when a wind-up-toy-style key is turned.

greetings, ice machine enthusiasts!

I am a terrible blogger. As all (three) of you know, I have failed to finish blogging about the 2008 World Ice Art Championships. Now a whole year has passed, and I find myself back at Belfair preparing for the 2009 event! Perhaps I will properly finish telling last year's tale at some point, but I want to start blogging about this year, so here is a quick summary: Lars and I constructed what we felt was our best sculpture yet, but the machine portion was non-functional. The primary mechanical problem was that we failed to make gears precise enough to mesh (so what else is new). We did, however, complete a giant half gear, several smaller gears, the flywheel, and axles. Then we made an abstract sculpture with rounded edges and round gears on one end and square edges and square gears (not even pretending to be functional) at the other end. It was great fun and hard work, and we ended up rather burnt out (a contributing factor to the non-blogging condition).

On to 2009! We are back in action with a great new design. We contemplated trying a non-mechanical sculpture this year (I suggested penguins). We also had an idea for a simpler, gear-less mechanical windmill. We ended up deciding that mechanical ice sculpture is our own particular. . . idiom, so a machine it will be. We combined the ideas and intend to produce a mechanical penguin. No gears!

Our goal has been to produce a mechanical sculpture that is visually interesting yet requires minimal preparation. We haven't constructed any new tools this year! I'm sure we'll enhance our arsenal in the future, but we needed a year without the hundreds of hours of tool preparation that has kept us so busy in the past. It will be fun to see what we can create using only previously developed tools and techniques.

Saturday, February 21, 2009

thanks, ShmooCon

Dominic and I had a great time at ShmooCon. Our talk was fun and well attended. Video of the talk will be posted "soon." Slides (PDF, ODP, PPT) and code are up.

We met a lot of great people and had some interesting feedback and discussions of new ideas. We're still working on this stuff, so hopefully we'll have something even better to show off later this year.

Thursday, February 05, 2009

see you at ShmooCon

Dominic Spill and I are presenting Building an All-Channel Bluetooth Monitor at ShmooCon this weekend. It should be fun!

Thursday, November 13, 2008

narrowing the hop search

Dominic Spill has been kind enough to correspond with me about my recent work on reversing the Bluetooth hopping sequence. He pointed out some interesting ideas he had proposed last May. One essential idea I had overlooked is that 6 bits of clock can be recovered along with the partial address from (almost) any frame. These clock bits can be used to narrow the search space of possible clock values.

In my original analysis, I looked at the hopping algorithm and assumed that an observer is somehow able to accurately measure the intervals between frames captured on one or more channels. I also assumed that the observer has partial knowledge of the master's address, but I did not consider partial knowledge of the master's clock.

How can the observer measure intervals between frames? The method Dominic proposed (and I overlooked) is to decode the 6 bits of the master's clock from each frame. Differences from one frame to the next reveal information about the interval between frames. Unfortunately, the six bits of clock only describe 64 different time slot intervals, yet there is an average of 79 slots between two frames on a single channel. When observing a single channel, a difference of 47 might indicate an interval of 47 slots, but it could also represent an interval of 111 slots (47 + 64). A more direct approach would be to count the number of samples between observed frames. Perhaps the best method would be to combine direct measurement with confirmation by decoded clock values.

No matter how the intervals are determined, the 6 decoded clock bits can be used to narrow the search space. My first simulations included a search through 134217728 possible clock values. Taking advantage of the 6 known clock bits, it is possible to reduce the search space to 2097152 possible values. I ran a new set of simulations to find out how much this helps.

In order to have 95% chance of a unique match, we could observe all 79 channels for 3/8 of a second (30 channel seconds processed). Alternatively, we could observe a single channel for 3/5 of a second (3/5 channel seconds processed).

When narrowing the search space by the 6 known clock bits, the observation time required when observing all 79 channels changes very little, but the time required when observing a single channel changes considerably. This result strengthens support of my conclusion that the most efficient method to reverse the hopping sequence is to monitor a single channel.

Wednesday, November 05, 2008

reversing the Bluetooth hopping sequence

Monitoring Bluetooth is hard. A Bluetooth piconet (a small network of two or more Bluetooth devices) continually hops through 79 adjacent channels, each 1 MHz wide. The piconet uses one channel at a time, hopping to a new channel 1600 times each second according to a pseudo-random channel sequence based on semi-secret information.

In order to capture all the transmissions of a particular piconet, a receiver must predict and execute the piconet's hopping sequence. (An alternative approach is to capture all 79 channels simultaneously and then throw out the 78 that are unused at any particular time after identifying the channel that is active for a particular time slot. I'm considering this to be too expensive, but it can be done and will become less expensive over time.)

We can only predict the hopping sequence if we know two pieces of information. The first is a portion (the 28 lowest bits) of the piconet master device's numeric address (the "MAC address" or more properly "BD_ADDR"), and the second is the master's clock, a 28 bit integer value that increments 3200 times per second. If we know both the address and the clock at a particular time, then we can correctly predict the hopping sequence forever. We just have to use the hopping algorithm dictated by the Bluetooth specification.

In 2007, Spill and Bittau demonstrated that the necessary portion of the address can be derived from the contents of any single frame. [update: see Thierry Zoller's comment below.] It is easy to capture a frame by listening on a single channel and waiting for the piconet to hop through it. With 79 channels and 1600 hops per second, this doesn't take long. All that we are then missing is the clock.

One way to acquire the clock is to join the piconet. When we successfully join, the master shares its clock with us so that we can follow along from then on. In order to join, we need to know the entire address of the master, not just the lowest 28 bits. Since we already know part of the address, the remaining bits can be guessed fairly easily (see Josh Wright's BNAP BNAP project). Armed with the complete address, we can attempt to join the piconet. This works in a great many cases, even when you might think it shouldn't, but it is possible that we could encounter a master device that will not let us join. It is also possible that we would prefer to monitor passively and do not want to interfere with the piconet in any way.

There is a way to acquire the clock passively by observing another device joining the piconet. Unfortunately, this requires some combination of luck and patience. If we don't have an opportunity to observe a device joining the piconet, this technique doesn't help us.

It is possible to reliably determine the master's clock completely passively, and that is by reversing the hopping sequence. That is, instead of using the hopping algorithm in the forward direction (determining the sequence from the clock), we use it in reverse (determining the clock from the hopping sequence). The hopping sequence repeats every 134217728 steps (28 clock bits minus one bit because it only hops every other clock cycle) with each step calculated from the address and clock. You can think of it as a static sequence based on the address with the clock value indicating the current index or position within the sequence. Using the address, we can pre-calculate the entire sequence. If we then observe a small number of hops taken by the target piconet, we can search through the complete sequence to find the index that matches the observed hops. This index is the clock.

At first, I thought this would be a great application for a high-bandwidth (79 MHz) software radio device. We could capture all 79 channels for a fraction of a second, do a bunch of number crunching to identify target frames and reveal a short segment of the hopping sequence, and then search through the complete sequence to find the clock. Even if we can't decode all 79 channels simultaneously in real time, we can probably do real time decoding of one channel at a time after (slowly) reversing the hopping sequence. Assuming that the pseudo-random hopping sequence is reasonably random, we would only need to observe a few hops in order to have a high probability of locating a unique match within the complete sequence; five hops ought to be enough in most cases.

Unfortunately, the pseudo-random hopping sequence is a long way from being reasonably random. The algorithm does a good job of spreading nearby time slots across a wide range of channels, but it does so with a great deal of repetition in the long run. If we capture all 79 channels for five hops, our chance of finding a unique match in the complete sequence is almost nil. Even after observing fifty consecutive hops we would have less than a 50% chance of success.

To illustrate this, I simulated the results for a large number of cases (with random address and random clock). This graph shows how often an observed sequence segment turned out to be unique for various observation periods. One set of simulations was done assuming a single observed channel, one with eight adjacent channels (randomly selected), and one with all 79 channels. When observing fewer than 79 channels, we miss many of the hops, but we are able to capture a frame each time the piconet hops through one of the observed channels.

It turns out that, in order to have a 95% chance of getting a unique match while observing all 79 channels, we have to capture not five hops, but about 650! This requires an observation period of about four tenths of a second and a great deal of computation. Multiplying the four tenths of a second by the number of channels observed (79), the result is about 32 channel seconds processed. At the other end of the scale, if we only observe a single channel, it takes about 2000 total hops (out of which only about 25 will be captured) to get to a 95% chance of a unique match. It takes almost a second longer of observation, but the number of channel seconds processed is only 1.25.

Adding channels helps quite a bit less than I expected. Regardless of the number of channels observed, the important thing is to capture frames that span a long enough period of time. Since the observation of more channels involves significantly more computation and more expensive hardware, it looks like the best way to reverse the hopping sequence is to listen to a single channel until a unique match is found.

Here is the code I used for the simulations. It includes a fast (I think) implementation of the hopping algorithm. Please let me know if you find any bugs! I'd love to hear from you if you find this interesting or useful.

Tuesday, August 12, 2008

mystery signal challenge results

Congratulations to Emily Metcalfe for winning the Mystery Signal Challenge I announced at my Black Hat talk! Emily correctly identified the signal as a DECT cordless phone and was awarded a 5-in-1 network admin's cable plus a throwing star lan tap.

software radio at Black Hat and DEFCON

My Black Hat talk, Software Radio and the Future of Wireless Security went very well. Thanks to everyone who showed up. I've posted the final slides, demo code, and mystery signal stuff here.

Also at Black Hat were Olle's Mobitex talk and Kevin and Yoshi's talk on implantable medical devices. The Mobitex presentation was full of technical protocol details and described a method of decoding Mobitex traffic in software using sound card input from a radio receiver (more here). The medical devices talk was less technical but briefly covered wireless attacks on medical devices using the USRP (more here).

At DEFCON, NYCMIKE spoke about software-based decoding of pager networks. This was far less technical than Olle's talk, but it was nice to get a perspective from someone who just likes monitoring/scanning stuff. The canceled talk on MBTA vulnerabilities would have included a bit on using the USRP for everyone's favorite new hobby, attacking Mifare Classic RFID cards. It would have been nice to see their code. Thanks to the EFF for helping out on this one.

In his presentation at DEFCON, Rick pointed out the fact that the ath5k driver can be easily modified to tune wireless cards to a fairly impressive range of licensed bands. He also hinted that the cards might be able to be used as software radio devices for non-802.11 functions. I'm skeptical of this because it appears that ADC and DAC are tightly bound to PHY in the Atheros chipsets, but there are some interesting things like "i/q calibration" and "AR5K_ADDAC_TEST" that might be worth a closer look.

Software radio is certainly exploding in the security community. Maybe I should have called my talk, Software Radio and the Present of Wireless Security.

Thursday, February 28, 2008

working into the night

It is getting colder tonight, but we are making good progess and having a great time at the World Ice Art Championships. We've had to abandon our plan A design (and even plan B) due to a variety of problems including gear cutting difficulties and poor ice quality. We had one large gear mysteriously break over night, perhaps due to cracks in the original block. Our block has many cracks this year. I guess this year's ice just isn't that great because we've seen other blocks that are much worse than ours.

We have made some small gears successfully, and we are well on our way toward completing an alternate design. Most of our new tools have performed admirably this year, and we'll continue to use them tomorrow until the horn sounds at 9:00 PM.

Tuesday, February 26, 2008

and we're off!

The Single Block Classic began at 9:00 this morning, and we are carving our block to bits! We are on camera this year. Check out the web cam for our site throughout the next three days, or stop by for a visit if you are lucky enough to be enjoying the Fairbanks winter. The temperature is currently slightly above 0°F, which is much, much friendlier than last year. As of Tuesday lunch, we are on schedule.

Unfortunately it has been more difficult this year for me to get photos online, but the web cam should fill the gap a bit. Also, Dan is here taking a lot of pictures again, and I'm sure he'll be happy to share some for the blog when we have a little time to devote to the project.

So far we have sliced off a new face on the front end of our block and taken three slabs out from the rear portion. We've also marked axle hole drilling locations on the front face that is quite planar thanks to the chainsaw guide rails that Lars bolted right into the ice. This afternoon I'll be roughing out the gears and flywheel while Lars gets started on the axles. The lathe is just to the right of the web cam view, but we'll see if we can get the camera position adjusted.

Monday, February 25, 2008

blogging from Ice Park

Alas, the computers at Ice Park are not in very good shape, and they fail to handle USB mass storage devices correctly. I was hoping that a little CF/USB adapter would allow me to get photos from my camera to the blog in record time. Oh well.

We have registered and are about to check out the condition of our block. We are site number six. Who is number one?

Sunday, February 24, 2008

arrived

Ice madness has descended upon Belfair! It was here long before my arrival as is apparent from the array of new equipment Lars has constructed this winter. We didn't do much on our first night other than show off various gadgets and tools to each other. My Denver friends will be horrified to discover that I spent the night in a bed with an Oakland Raiders blanket. I didn't see it until morning. Honest.

yes, you can get a 25 pound Variac through airport security

I checked my two 49 pound bags and headed for the metal detectors. "What is in here?" the TSA lady asked.

"Oh, you're probably looking at the variable transformer. It is very heavy."

She turned down my offer to help carry the bag to the inspection table - protocol I suppose. "What is this again?"

"A variable transformer, like the AC adapters you plug into the wall, only bigger, and with a knob."

"You wouldn't use something like this in the home, would you?"

"You could, but mostly they are used in more industrial settings for testing electronic equipment and any other time you need fine control over voltage."

"So this thing is high voltage?"

"Only if you plug it into a high voltage source, like that socket over there."

Once I told her that guitarists sometimes use them to adjust the tone of old electric guitar amps, she finally warmed up and decided to let me on my way. Maybe she is a music lover.

Saturday, February 23, 2008

flying

After a short night of sleep, I'll be on a plane for Fairbanks. It will be nice to meet up with Dan, Brian, and Tamara (the documentary crew) in Seattle as we all ended up on the same flight to Fairbanks. Here's hoping the TSA doesn't find my gear too interesting. . .

Wednesday, February 20, 2008

less than one week to go

Although our task list for the next few days is daunting, we are making great progress in our preparations for Ice Art 2008. Lars has finished building a trailer that will help us transport all our equipment and will also provide a relatively warm environment for heat cutting should the weather be extremely cold. He has also been hard at work on drill bits, the slab machine, and various other tools. I started and nearly finished the drill laser guidance system tonight and have a few other projects to finish (not the least of which is packing!) before heading to Fairbanks this Saturday.

The weather in Fairbanks has been unusually warm lately - so much so that Lars has had difficulty testing tools because of temperatures above freezing. It is supposed to cool off this weekend. With any luck, the forecasters will be right and we will have highs in the teens next week.

Tuesday, February 19, 2008

more bits

Since my last post I've learned that augers with their screws removed are called barefoot augers. They are rare but not unheard of. Since Lars had complained of the screw on a new auger of his that we hope to use, I suggested that we could turn it into a barefoot auger. It turns out that he already had a better idea!

He is fabricating a pilot spade bit that will screw onto the auger's feed screw. I think this is a great idea and can't wait to see if it works. If it doesn't, then we can always resort to hacking off the screw.

Sunday, February 17, 2008

auger mangling

Augers have long been used for boring holes through ice, but it is difficult to find an ice auger smaller than 6 inches in diameter. There are plenty of smaller augers for wood boring, but they top out at around 1.5 inches. Even so, we plan to use at least one of these.

Wood augers have a screw tip designed to pull the bit into the wood. Unfortunately this doesn't work at all in ice, so I did some experiments today to see if a wood auger could be modified to work in ice.

I started with an old 3/4 inch auger that I picked up at a thrift store. It wasn't completely useless in ice, but I'd rate its performance at only about 40%. Not having an old brace, the first thing I had to do was hack off the square taper shank. Then I ground off the screw tip and what I'll call wings on the outer edge. I'd say that at best it only performed at about 5% in this condition. It was pretty bad.

I decided to compare it to a 6 inch hand cranked ice auger (for fishing) that I picked up on ebay a few months ago. I was worried about the flat center of my modified auger; it seemed that flat section was just pushing in vain against the ice. The 6 inch ice auger has a fairly small gap between cutting blades at the center, so I decided to try to cut a gap in mine.

I cut a groove across the center and tried it again, but I didn't notice any improvement. In hindsight, I think that these first couple of modifications may have resulted in a curvature that cause the cutting edges to not be fully in contact with the ice. I didn't notice that at the time, but I decided to try a more aggressive modification to get the cutting edges closer to the center point.

I removed quite a bit of material from the end of the bit and completely reshaped the cutting edges to look similar to the 6 inch ice auger. This time the results were excellent. I'd rate the performance at 80%, and the only thing keeping me from calling it 100% was that it was a little hard to get started in a precise spot.

I think this is a worthwhile modification, but the loss of control when starting a new hole is a concern. I think the ideal shape would have a small triangular spade tip instead of a larger screw tip.

Friday, February 15, 2008

hot wire didn't make the cut

Unfortunately the hot wire cutter I have spent so much time on isn't going to make the trip to Fairbanks this year. Even though the project has been somewhat successful, we decided that the method isn't fast enough to use for this year's sculpture. So far my fastest cuts with the device have been at a rate of about three inches per minute.

The only task we had in mind for the hot wire cutter this year was cutting discs (the flywheel and gear blanks). At three inches per minute it would take well over two hours to cut all the discs we require. Instead of using the hot wire cutter, we will use the table mounted chainsaw for this task.

We haven't completely given up on heat cutting. On the contrary, we intend to use hot wire gear cutters similar to last year's model but sturdier. The power supply that I have partially constructed for the single wire cutter will be put to use for this purpose. I expect that future improvements will make the single wire cutter and/or the boiler useful tools one day.

Thursday, February 14, 2008

simulations

The only thing that will prevent our sculpture from running for a very long time is friction. Without friction, the momentum of the flywheel would lift the half gear all the way up to the full starting position repeatedly. Making a working model of the machine out of some other materials won't help us figure out how long the finished product will run (or if it will oscillate at all) because the friction is highly dependent on the materials and scale of the piece. We've turned instead to computer simulations.

I had a perl script from two years ago that I used to calculate the moment of inertia of the clock's gear train, so I started with that and added a simulation loop. Modeling friction was the hardest part, but I think I have a reasonable approximation of friction's effect at this point. It accounts for the weight of the various components as well as the gear separating forces (spur gears tend to push away from each other as one drives the next), but my values for the coefficient of friction at various speeds are somewhat questionable.

Assuming the simulation is in the ballpark, it has helped us to optimize our design for maximum running time. Things that improve running time include:

  • larger half gear radius
  • thicker half gear
  • larger flywheel radius
  • thinner flywheel (to a point)
  • higher gear ratio
  • thinner stage 2 gears

With a few modifications based on these findings, our simulated running time has increased from 45 to 105 seconds.

Friday, February 08, 2008

fat wire

I was excited to find the 16 gauge nichrome in my mailbox yesterday and quickly put it to use. It seems to do the trick! After my first test cut I thought my multi-meter was starting to smoke, but it turned out to be a wire draped across the multi-meter. I was overloading the wire going from the power supply to the nichrome. I should have thought of that! I quickly replaced it with some 14 gauge copper, but even that got warmer than I would like. I'll have to get some lower gauge connecting wire soon.

Even though the new nichrome worked well at high power and showed no signs of failure, cutting through ice wasn't exactly speedy. It should go a little faster once I reduce the connecting wire voltage drop with fatter wire. I'll also soon have air cooling for the power supply which should allow for close to 2000 Watts.

Thursday, February 07, 2008

it's a good thing we're normal

One of the ways we hope to improve this year is by sculpting subtractively rather than additively; instead of assembling a sculpture entirely out of individual parts that we have produced, we'll carve most of it out of a solid block. There will be parts, like gears and axles, that we will have to add, but the bulk of the piece will be carved, not assembled. Our hope is that this technique will allow us to create a sculpture faster, with improved aesthetic value, and with better overall use of ice. The technique does come with drawbacks, however, the principle one being the difficulty of boring holes for axles.

This problem was one of the major reasons we decided to use the additive method in the past. We thought that the best way to drill the fairly large (3.5 inches usually) holes for axles would be to use a drill press on individual frame segments and then assemble those pieces together. The drill press does a good job of boring very straight holes, even with homemade bits, perfectly perpendicular to a slab of ice. Then it is simply a matter of aligning those slabs correctly when assembling the frame. Unfortunately it has turned out to be slower and more difficult than we originally anticipated to execute this process. In order for the frame pieces to be assembled with perfect alignment, many pieces must be produced, each piece must be very precisely shaped (more precisely than can be done with a chainsaw), and a lot of watergluing must be done.

Turning to the subtractive method brings back the problem we at first sought to avoid: How do you bore 3.5 inch holes through two feet (or even more) of solid ice while keeping the hole perfectly straight, level, and parallel to an adjacent hole? Some weeks back, I was discussing the problem with Dan, and he had an intriguing suggestion: lasers! By mounting one or more lasers on a hand drill and marking a target on the far side of the block of ice, it should be possible to keep the drill precisely on the correct path by aiming the lasers at the target. I loved the idea because it is simple and takes advantage of the transparency of the medium. It is certainly worth trying as it is much easier than constructing some sort of deep-boring, horizontal drill press.

This is the technique that Lars and I intend to use to bore axle holes in the frame of our sculpture this year. Fortunately, Lars was smart enough to point out that the method can only be used at the precise angle perpendicular, or normal, to the ice surface where the drilling begins; otherwise we would have to account for refraction of the laser beam when placing the target on the far side of the ice!

Monday, February 04, 2008

design

Lars and I plan to build a sort of perpetual motion machine for the 2008 World Ice Art Championships. This is a simplified diagram of the mechanism, notably missing gear teeth. The big red thing is a heavy half gear that powers the sculpture. It is shown here nearly at the starting position. The weight of the half gear pulls it downward, turning the little red pinion as it goes. The red pinion is connected to the large yellow gear which turns the yellow pinion. The yellow pinion is connected to the large green flywheel.

Once the half gear completes a quarter turn to the bottom position, the flywheel should have enough angular momentum to keep the half gear moving until it slows to a stop opposite from its starting position. With any luck, the half gear will be high enough that gravity will pull it back toward the center position, repeating the whole process in reverse. Our goal is to produce oscillatory motion that lasts for as long as possible, perhaps a few minutes.

Friday, February 01, 2008

snap

Good news: I was right about transformer winding selection. I switched to the heavy gauge secondary winding, and all is well. I can now crank the thing up as high as my household circuit breaker allows.

Bad news: As I feared might happen, the cutting wire became brittle at high temperature and snapped during my first test at a higher voltage!

In anticipation of this problem, I had prepared a quarter inch copper tube with a length of nichrome wire running through it, electrically insulated by a high temperature fiberglass sleeve. The idea, suggested by Lars, is that the tube, not the wire, bears the brunt of the ice pushing against it (stainless steel would be ideal, but copper was fine for testing). This certainly allowed the wire to get very hot; I could see it glowing brightly right through the fiberglass sleeve! It even left a couple of black marks on the sleeve. Unfortunately, it didn't produce enough heat to cut at a useful speed due to the wide swath of ice that must be melted for the tube to pass through. Maybe a narrower tube could be used, but I haven't found a smaller high temperature insulator to keep the current running through the wire and not the tube.

Then I tried a new length of nichrome in the original setup to see how it works at lower voltage. I adjusted the tension somewhat lower too. I was able to cut at a reasonable speed (at least two inches per minute) with 14V across eight inches of wire, but I had another breakage when I turned it up to 16V. It cuts more slowly than I had hoped, but it is certainly usable.

Two inches per minute may sound quite slow, but I believe it is faster than the boiler we used last year with some success. The benefit of this technique is the ability to make precise, intricate cuts that are perfectly perpendicular (or at some consistent angle) to a surface of the workpiece. For many mechanical parts this benefit could outweigh the slow cutting speed.

Next I would like to try a lower gauge cutting wire which should fail at a higher power level. My guess at this point is that the tension doesn't matter much (the second break happened under very little tension) but that the breakage occurs due to the wire becoming so brittle at high temperature that very little physical stress causes it to break. The failures tend to be located at the hottest part of the wire, between the ice and the alligator clips that deliver current. I'd also like to try to minimize that gap, but it can't be completely eliminated.

wooden bicycle

I am in awe. This guy built a working bicycle entirely out of wood.

Thursday, January 31, 2008

smoking transformers

Having just received a new transformer in the mail, I was able to piece together a first attempt at a new power supply tonight. This allowed me to properly test the hot wire cutter for the first time. I am happy to report that it sliced through a block of ice quite easily. I had it up to about half of (theoretical) maximum power, and it cut as fast or faster than any hot wire I have used to date. This was the first time I have ever seen 19 gauge nichrome get red hot. I was afraid that it might become too brittle when hot and snap under the tension, but it remained intact. Unfortunately I had to cut my test short because the new transformer started making ominous crackling noises and then started to smoke a little bit!

The unit is rated for 2000 Watts, but, in hindsight, I think that rating is only for one of its secondary windings. It has a primary winding of heavy gauge wire rated at 100V, a secondary winding of the same wire at 95V, and various lower voltage secondaries from 15V to 30V. I plugged in a variac with its variable tap connected to the new transformer's primary winding and attempted to use one of the lower voltage taps to power the hot wire at 0-30V. It started to crackle at about one quarter power and smoke at half.

I think my problem was that the winding I used does not have thick enough wire for my power level. Instead of using the new transformer to step down from high to low voltage, I'll just use a lower voltage tap on the variac and use the 95/100 tap on the new transformer for isolation.

hot wire cutter

I got the new hot wire ice cutter mostly finished and in testable condition the other night. Unfortunately I am still missing one part needed for the power supply, but I was able to perform an initial test with a much weaker power supply from last year. Since the new device uses a very short length of low gauge wire (compared to the gear cutters of last year), it draws much more current. I hope to take advantage of this with a new power supply in the neighborhood of 1500 Watts for faster cutting, but for now I have to use my old power supply at very low voltage to prevent overheating of the transformer. It works, very slowly.

The device is made mostly of plywood with a 24 inch square piece of HDPE for the work surface, 19 AWG nichrome for the cutting wire, and assorted hardware. It should support the wire with enough tension to keep it reasonably straight while ice is pushed against it. So far I've cranked it up to 20 pounds of tension, but I think it will handle twice that. The cutting angle is adjustable to 45 degrees to either side. I still need to add an adjustable fence and rulers for the fence position and cutting angle.

Thursday, January 24, 2008

my plastic isn't very plastic

My sheet of UHMW was nicely planar, but it had small grooves in concentric arcs left by some sawing or milling covering both sides. I thought it would be a good idea to make the working surface as smooth as possible, so I tried sanding it. No dice! One of the properties of UHMW that makes it attractive for its many uses is extreme abrasion resistance - it out-wears steel 10 to 1! It should be planable, but I only have a mini hand plane, so that didn't work very well. Then I thought I might be able to smooth out the grooves with a propane torch, like finishing ice. Bad idea! The process did work somewhat as intended, but it also slightly discolored the surface and, worse, caused major warpage! It turns out that UHMW has some pretty strong internal stresses originating from uneven cooling at production, and those stresses result in warping when it is heated near the melting point.

I tried to flatten the piece by heating the whole thing up and then letting it cool slowly while being held flat by heavy things. Unfortunately, it didn't work. In hindsight, I should have just left the grooves. I doubt that they would have been much of a problem in the first place.

I decided that having a flat piece of plastic was important enough to warrant buying a replacement, so I took another trip to Colorado Plastic Products to rummage through the scrap bins. I couldn't find any UHMW scraps of the correct size this time, so I settled for some HDPE. I'm pretty sure it will work just as well for my application, and it is quite inexpensive.

Wednesday, January 23, 2008

make your own working paper clock

The very cool Automata / Automaton Blog points out a neat book, Make Your Own Working Paper Clock. "Cut this book into 160 pieces, glue them together, and have a paper clock operated by weights that keeps perfect time and can be rewound and regulated."

complexity

One of our guiding principles this year is simplicity. We want to make a working mechanical ice sculpture, but we want the design to be simple enough that we can actually build it without compromising the design during construction. One way to gauge complexity is by counting mechanical parts such as axles and gears (I'm not counting bushings).

In our first year, we attempted to build a mechanical ice sculpture with 25 mechanical parts (9 independently moving assemblies). We failed but managed to assemble 6 mechanical parts (2 independently moving) almost functionally. In our second year, we attempted 22 mechanical parts (11 independently moving) and succeeded in building a functional mechanical sculpture of 5 mechanical parts (2 independently moving).

This year we hope to construct a sculpture consisting of only 8 mechanical parts (3 independently moving). I think this is an attainable goal. With the experience we now have under our belts, I believe we can produce a few more working parts than last year.

Tuesday, January 22, 2008

oops

Although Lars and I are very excited about Ice Art this year, we somehow have failed to find time for as much preparation as we had the last couple years. We even forgot to register for the event until a friend reminded us! Fortunately we were able to get one of the last spots in the single block.

Both of us are working on tool preparation, of course. I'm primarily working on a new hot wire cutter while Lars is attempting to resurrect the ill-fated bandsaw of 2006. We are both working on improving our arsenal of chisels.

I guess it's time to wake up and start blogging.

Monday, November 26, 2007

math review

It had been years since I last factored a polynomial. I had forgotten how to derive the quadratic formula. Clearly it was time for a math review. I picked up Precalculus Mathematics in a Nutshell from the Boulder Labs Library; it was just what I needed. The book by George F. Simmons zips through geometry, algebra, and trigonometry in about a hundred pages of amazingly complete and readable prose. Each section is independent of the others, so it is perfect for a quick review of any of the three topics alone. The book is sparsely populated with exercises, just enough to get a solid grasp of each topic. The exercises, as in any good math book, reveal insights beyond those illustrated in the text. I can't imagine a better tool for review, but the book probably wouldn't serve well as a first introduction to the subjects (except perhaps in the hands of the right teacher).

Sunday, November 25, 2007

a good book

Yukio Matsuo's Ice Sculpture is a marvelous book, really two books in one. The first is filled with full-color photographs of the master's work, ranging from traditional culinary pieces to original abstract sculptures. Many of them demonstrate the sculptor's distinctive style. The second is a series of sketches, diagrams, and notes that concisely illustrate how to carve each of the depicted pieces. Wonderful!

Tuesday, November 13, 2007

just one word: plastics

I stopped by Colorado Plastic Products in Boulder today. They sell scraps of all sorts of materials, including high density polyethylene (HDPE), polytetrafluoroethylene (PTFE/Teflon), and ultra-high molecular weight polyethylene (UHMWPE), all of which are attractive for making ice carving tools.

I needed a low friction surface for a new hot wire ice cutter I'm working on, so I picked out a nice sheet of UHMWPE. It has terrific properties for the application, including a low coefficient of friction, low water absorption, and a wide operating temperature range. Lars had suggested the stuff because it is used for ski bases and dog sled runners, so it should work very well.

Friday, November 02, 2007

October visit

Lars and Sharon visited us in Colorado a couple weeks ago as a part of a post-wedding tour of the lower 48. We took full advantage of the opportunity to start planning for Ice Art 2008.

After touring Celestial Seasonings (Sharon's favorite part of the trip), we enjoyed an Ethiopian dinner with Keith and Andy, both ice scientists! It was an excellent opportunity to explore ideas for ice machines, but, more importantly, it was a good time in good company.

rumblings from the deep

The first snow has come and gone. The days are getting shorter. It's the time of year when Lars and I start talking about ice. It must be time to revive the blog.

Wednesday, March 14, 2007

serial/ethernet combination tap

J@§¤ñ wrote to tell me about how he extended my 5-in-1 network admin's cable to build a dual-purpose Ethernet and RS-232 tap. Very nice!

Tuesday, March 13, 2007

the great satellite disaster of 2007

I traveled to Fairbanks with a small hot wire gear cutter and parts to make a large one. At Belfair I spent the better part of two days making the large gear cutter and an axle guide prior to the start of the event. The structures were made primarily of balsa wood, fragile but lightweight enough to allow for gradual, gravity powered gear cutting without bending the resistance wire. Lars had the bright idea that I could use a single axle guide with the small and large gear cutter mounted at either end. We decided that this configuration looked somewhat like a satellite.

I didn't try to make a gear until the third day of the competition. By that time my power supply had apparently fallen off of one of our work benches and sustained some damage from the low temperature impact. The case was broken, and the Kapton tape holding the transformer to its mount had broken (They use the stuff to make space suits, so you'd think it would hold up in cold temperatures! I guess I must have had it against too sharp of an edge.) Fortunately, the wiring was intact, and current was delivered to the gear cutter as I attempted to make our pinion.

When I tested the hot wire gear cutting technique at home, I ended up with a nice gear and a puddle of water. Unfortunately, the colder temperature (-20°F or so) during the competition didn't allow for a similar result. No liquid water escaped at all, and I helplessly watched the device pass slowly through the entire cylinder of ice while all of the melted water re-froze immediately behind the hot wires.

I tried adjusting the voltage. More power made it work faster but also caused cracks to appear in the block of ice; no setting prevented the horrifying re-freezing. With only a half an inch to go, the power supply failed for an unknown reason (temperature affecting the semiconductor in the TRIAC dimmer switch?), so I began using the backup power supply (same design, smaller transformer). It finished the job, but I was left with a solid cylinder of ice trapped within the gear cutter assembly. Only a hint of a gear shape was visible.

I was almost ready to give up on making gears at all, but I figured that there was a chance that the technique might work if the individual resistance wires were bent slightly upward so that gravity could pull the liquid water along the hot wire toward the outer edge of the ice block. I decided to flip the whole contraption over, tweak the wires, and run it upside-down, passing the wires through the gear blank in the opposite direction. Even if it didn't work, I would at least free the ice from the gear cutter.

Here's a fun exercise to try at home: Place all your fine china or other fragile valuables in a large box with a bowling ball in the center. Don't use any packing material. Take the box for a walk around the block, flip it upside-down at least once, bring it home, open it, and witness the destruction. This is pretty much what it was like turning the balsa wood frame around with a block of ice trapped inside. I thought I could turn it over (holding the ice, not the wood) and pass it up from beneath the sawhorse workbench, but it was too big, or I was too clumsy, and it was, well, a disaster.

I did finally manage to get the small gear cutter in place, upside-down, over the gear blank resting on temporary supports, but the large gear cutter was badly damaged and completely separated from the axle guide in the process. I bent the resistance wires, attached the backup power supply, turned it on, and nothing happened. The backup power supply had failed! Thus our quest for gears ended.

Perhaps last year's technique would have been better, but the speed advantage of hot wire cutting seemed tremendous. After this experience and our first field use of The Boiler (Lars's hot tube cutting machine - effective but slow and with some cracking), we've determined that no heat cutting technique should be used in sub-zero weather. If we decide to use heat cutting in the future (and the speed advantage may well lead to that decision), then we will have to perform the operation on warmer ice with a warmer ambient temperature, perhaps in a tent.

Sunday, March 04, 2007

Counterclockwise

Here are a couple photos of the completed piece. It is a working music box that plays one note. When the crank at the front is turned, a cam lifts and then drops a hammer that strikes a vertical chime.

The frame structure on the left ended up being completely superfluous because our chime was attached directly to the floor.