http://www.lkm.bz/Anagol to pwm Esc.rar

Eagle 6.4 was used to make the board and schematic
Linux CNC is setup to make 100hz pwm signal

HAL Config

net spindle-cmd <= motion.spindle-speed-out => pwmgen.0.value
net spindle-enable <= motion.spindle-on => pwmgen.0.enable
net spindle-pwm <= pwmgen.0.pwm
setp pwmgen.0.pwm-freq 100.0
setp pwmgen.0.scale 10000.0
pwmgen.0.offset -2.77555756156e-17
setp pwmgen.0.dither-pwm true
net spindle-pwm => parport.0.pin-16-out

If everthing is right this will give you 1000 Rpm to 10000 Rpm or a scale 1.1ms to 2ms to ESC controller
anything less in RPM will give 1 ms witch is off

the input to the device is driven from and opticoupler across pin 1 and 2 of the input

The board is designed that you could just input and analog signal in the board be setting the right values for R2 and R6 to make resitive ladder for you input voltage and use pin 2 and 3

Input plug
Pin 1 is 3.3V
pin 2 is input
pin 3 is gnd


I milled this board on my mico mill running Linux CNC
I have a tool probe setup so you might need to modify the gcode to run on your machine
the drill file will drill and mill the outline out all in one file
i installed a jumper on the top side for the one trace that was on the bottom side so i didn't drill the vias for them
sense IC1 is so small you will need a fine tip mill to complete

The code is made with silicon Labs IDE with keil compiler installed

 
