Lucas,
PM (Private Message) me your email address.
Brian
Lucas,
PM (Private Message) me your email address.
Brian
I am currently busy with the same idea and have got a scale model running at my PC station. There are various ways to do this, but I have opted for the multipin PIC devices. I started of with the 18F8720, but ended up using the DSPIC 30F6014. Not for the speed, but for getting more experience with the 16 bit processor. The 452 has enough processing power. There are ways and means, and to try and do linear and circular interpolation with on the fly math sin and squareroot functions is not neccesary. In the 70's and eighties, commercial CNC machines were available as stand alone controllers using slow processors like the 8085, 8080 from intel. The PIC is to a much greater advantage.
If you would like, we can exchange ideas and code.
My scale is running quite well at this stage with increment accuracy of 0.02 mm
Regards,
Whacko
These guys at USBCNC have a PIC and ARM based cnc controllers with circular interpolation
http://www.edingcnc.com/
There is a much easier way to do this using a PIC.
Use Mach3 to generate the step pulses. The PIC records the pulses and stores the information on an SD card. The PIC just reads the SD card and outputs the recorded information to drive the steppers.
With .200 pitch ballscrews and microstepping Geckos, 200 ipm would require only 33,333 bytes per second to drive a 4 axis system.
A 4GB SD card would hold over four hours of machining information at 200 inches per minute.
A 40 Mhz PIC executes 10 million instructions per second.
This gives the PIC enough time to execute 300 instructions between pulses.
The SD card is more than capable enough to record and play back at twice this speed.
This is roughly equivalent to 8 bit monaural audio.
And the PIC doesn't have to crunch the numbers for circular interpolation. It's already been done by Mach3.
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers