286334
https://vimeo.com/133228886
More pictures at: Mini Mill X Feed by WmCnc | Photobucket
Wagner
Type: Posts; User: WmCnc
286334
https://vimeo.com/133228886
More pictures at: Mini Mill X Feed by WmCnc | Photobucket
Wagner
Hi qazplm800,
My mistake.
Please change the code (on the function ThrDsp) from if(m) to if(v), as follows:
case 7:
if(v) ...
Hello qazplm800,
Nice picture.
As I understand, your machine screw is 4 mm pitch, meaning that at one turn of the screw, your setup moves 4 mm and you want the display to show 4.00
I also...
Hi qazplm800,
On the equation:
600 is the number of pulses per revolution of the encoder
4 if the is the number of interruptions per pulse (The code measures the encoder lines A and B on...
Hy qazplm800,
The code can be found here: Mini Mill DRO
The connections are indicated on the code.
Also, see the full DRO: Mini Mill DRO
Wagner
Done.
281268
iGaging Scales on the X and Y axis, Quad Encoder on Z axis and infrared emitter/detector for the RPM.
Circuit and Arduino code at: Mini Mill DRO
Wagner
Hi James, thank you
It is a 600 pulses per rotation encoder; got from eBay
On the code, I count the encoder channels A and B on rise and fall, for a total of 2400 pulses per rotation.
The...
Rotary Quad Encoder + Arduino
http://i1282.photobucket.com/albums/a536/WmCnc/Mini%20Mill%20DRO/MillDroZ%20030_zpstoygey9o.jpg
...
https://vimeo.com/90060371
Wagner
I Jon,
Thank you for your comments.
As I remember, the original library had a little error. There was a missing factor on the calculation of acceleration.
But mostly I modified it to gain more...
Hi rooies13,
No, the way it is it will not work.
For that you will probably need a full cnc mill, with a 4th axis.
The mechanical part of this project would work as the 4th axis; but not the...
Hi salzburg,
Attached, new version.
Remedies the effect of backlash compensation on continuous mode.
Wagner
Hi Lakeside53,
I didn't have time yet to check, but maybe it is related to backlash. Indexing CCW (left) will cause the thing to rotate left the amount of pulses plus backlash pulses; than it will...
Solved.
Attached, the new version.
Or, if you want to change the code yourself,
Function "void Index(int mod,int..." about line 1165
if(mod<3)
{
newdeg%=360000L; ...
Hi lakeside53,
Yes, you have found a bug. The code should be (Cnf.dJog<=0); thank you.
The Continuous mode needs the digital inputs D11 and D12 connected (hardwired) on the keypad. See the...
Good morning to all,
For this project I've only used the Arduino environment.
The folder "Indexer" must be copied to your sketch folder and the lib folders "Wlcd and Wstepper" to your...
Thank you arvidj and lakeside53 for your comments
http://i1282.photobucket.com/albums/a536/WmCnc/Cnc%20Index%20-%20Control/4thAxis069_zps0eab9575.jpg
More pictures:
Cnc Index - Control Photos...
Screens:
190588
Wagner
First thing when running the code, you must set the configuration.
Steps/Rev: 200.........Stepper motor, number of steps per revolution
MicroStep: 8............Stepper controller, number of micro...
Here is the software:
Indexer.zip
\Indexer\Indexer.ino.........The main code
\Libraries\Wlcd................Modified version of LCD4Bit
\Libraries\Wstepper..........My striped down version...
A little bit about the mechanics:
190496
Tank you lakeside53. The code is at home. Please wait til tomorrow
Wagner
Diagram:
190476
Wagner
Hi arvidj,
Thank you.
Details to come (hardware and software). I'm working on the diagram, and pictures.
Wagner
Just finished:
https://vimeo.com/69431556
Arduino UNO
Wagner