The Emergent Properties of Meat
Blog
Software
Hardware
About me
Photography
 Logos
Bigger projects: emc2 & AXIS
Friends' pages:
Alex
Bill
Chris
Jon
Michael
Email me: jepler@unpy.net

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

Quadrature divider board. Actual size: .7x.4 inches (about 18x10mm)
This untested code, along with an Eagle schematic and board layout, are for a quadrature divider that polls at over 1MHz. The R and S test points are used to program the device.

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.

read more...


2 June 2006, 18:02 UTC400kHz Triple quadrature divider for atmega8 and quadrature state table generator
I promised a single, 800kHz quadrature divider for the attiny13. Well, I haven't done that yet (I don't have any attiny13s to test on anyway), but I have something else instead. Update, 2007/01/04: Want true high-resolution PWM and multi-MHz quadrature counting with emc2, for under $100? Try this!

read more...


31 May 2006, 16:57 UTCCreating a Quadrature Divider: What Won't Work

A proposed quadrature divider circuit, and a waveform that it will treat incorrectly
As an improvement to the simplest possible closed-loop servo system, I've been trying to design a circuit that will function as a quadrature divider: the input and output are both quadrature waveforms with the same direction, but the output waveform is 1/8 or 1/16 as fast as the input.

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.

read more...


22 May 2006, 13:13 UTCTwo-axis servo schematic and board

L298 single-sided board
I didn't originally include the eagle-format schematic and board for this project. Well, here it is.

read more...


14 March 2006, 14:50 UTCParallel-port Two-axis PWM servo controller for Etch CNC

ETCH Servo(M) (L)
Inspired by discussion on #emc and by the fact that I'd already bought two tiny servo motors, I've designed and built a two-axis PWM servo controller with a parallel port interface.

read more...


7 March 2006, 3:33 UTCET-ARM Stamp
I recently got an ET-ARM Stamp (a very wide DIP-format board with an ARM microcontroller on board). I haven't done anything exciting with it yet, but I will as soon as I can think of something! Some notes about the thing:

read more...


17 December 2005, 15:53 UTCSOIC-8 to DIP adapter board

SOIC-8 to DIP adapter board(M) (L)
This little board is an adapter from SOIC-8 to .6"-spacing DIP. It allows a surface-mount or thru-hole decoupling capacitor to be placed on the board as well. I'll be using this to breadboard a flash trigger circuit. The op-amp I chose is in a surface-mount package.

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:

soic8-to-dip.brd6.9kB

[permalink]


15 October 2005, 19:11 UTC4-axis half-stepping translator in AVR
Chris started with a MAXNC 10 open-loop machine. The included driver boxes (which we came to understand were complete crap) use one pin per winding. This requires two parallel ports for 4 axes. So, a year or so ago, before he switched to L297/8-based boards, I helped Chris design an avr-based translator from step+direction pulses to the individual winding activation signals. Today I'm posting the program, which I compiled with avr-gcc. In the future I might post the board, which was a double sided design created in eagle.

read more...


26 May 2005, 0:36 UTCXY display update
New CRT, new board, same software...

read more...


3 April 2005, 20:19 UTCRegulated LED flashlight -- update
It was a bust. The button cell I selected just can't supply the required current. When I hooked up a pair of AA batteries, it worked well.

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.

[permalink]



29 March 2005, 23:57 UTCTI serial-interface DAC
25 March 2005, 15:23 UTCRegulated LED flashlight
19 March 2005, 17:55 UTCAnother constant-current circuit

All older entries

Stippler: Glowing displays from digital images

Etch CNC: Computer-controlled etch-a-sketch



Powered by the Emergent Properties of Meat. Copyright © 2004-2007 Jeff Epler
[atom feed]  
[æ]