|
Here are a few of the hardware projects I've been working on in my spare time: 3 June 2006, 15:25 UTC1MHz+ Quadrature Divider for attiny13 Like the 400kHz triple divider, this program uses a state table generated by "mkstate.py", and is GPL software. For real-world use, external pull-ups should probably be added to the board's input side, according to the directions of the encoder manufacturer. 2 June 2006, 18:02 UTC400kHz Triple quadrature divider for atmega8 and quadrature state table generator 31 May 2006, 16:57 UTCCreating a Quadrature Divider: What Won't Work Because emc2's encoder module poops out somewhere around 20 microsecond polling intervals, an external divider is the only way to get accurate feedback from a fast servo motor with a high-resolution encoder. Division by 16 lets the PC see a 25kHz quadrature signal instead of a 400kHz one. For Chris's lathe retrofit, the target speed is actually around 125kHz (1250 mm/min, 1mm/rev leadscrew, 3:1 pulley, 500 line/rev encoder), but to keep it from being too easy, he's going to do 3 such decoders on a single 16MHz atmega. Many people seem to hit on the idea of using an up/down counter to process a quadrature input. Chris and I managed to convince a couple of bright guys on the #emc channel that this would work to create a quadrature divider circuit. Well, it doesn't. 22 May 2006, 13:13 UTCTwo-axis servo schematic and board 14 March 2006, 14:50 UTCParallel-port Two-axis PWM servo controller for Etch CNC 7 March 2006, 3:33 UTCET-ARM Stamp 17 December 2005, 15:53 UTCSOIC-8 to DIP adapter board The board very cleanly milled. Two areas needing just a bit of additional cleanup are visible at the bottom, and that was solved with nothing more than the tip of the fingernail. To give a sense of scale, the board is about .4x.75 inches overall (10x19mm), with the holes being .1" (2.54mm) apart. I took the photo with my new macro lens. I used a combination of back-lighting and the camera's built-in flash. The photo is hand-held with an exposure time of 1/125s (ISO 100, f/8.0), and postprocessed with gimp's perspective tool. Files currently attached to this page:
15 October 2005, 19:11 UTC4-axis half-stepping translator in AVR 26 May 2005, 0:36 UTCXY display update 3 April 2005, 20:19 UTCRegulated LED flashlight -- update Later, when I tried to substitute a 1F capacitor (thinking "tiny *rechargable* regulated LED flashlight) I screwed up and either damaged the tiny SMD button or bridged some pads under it, because now it is stuck "on". Oh, and it doesn't run long from the capacitor anyway. I still like the idea, but I need a different power source. Oh well.
Stippler: Glowing displays from digital images Etch CNC: Computer-controlled etch-a-sketch
|
| [atom feed] [æ] |