Axminster/SIEG SX3 Mill Table Power Feed Part 2

Тәжірибелік нұсқаулар және стиль

*** Yet another update ***
Video uploaded showing a program to help configure the Arduino/ Stepper driver system here - • Stepper Test
*** Update ***
New update to the code is now on github at the following address -
github.com/kintekobo/millcode
Just use the Download button to get the files, place them in a directory called millcode and open the Arduino file called millcode.ino then compile.
Any problems leave me a comment.
This video is about the Axminster/SIEG SX3 Mill Table Power Feed with the added end-stop control.
See • Axminster SX3 / SIEG S... for part one of the series and links to the parts and the Arduino code.

Пікірлер: 13

  • @machiningbasics1729
    @machiningbasics17296 жыл бұрын

    Great video !!

  • @GreatOldOne
    @GreatOldOne6 жыл бұрын

    Hi Chris, what size vice to you have on your mill? I’m trying to decide on wether to replace my round column mill, and I currently have a 4” Axminster milling vice on it. I believe the SX3 has a slightly smaller table, 160mm vs my current 190mm - so understanding the size of your vice will let me understand if I’m going to miss those extra 30mm or not. I hope not... the SX4 is considerably more expensive! 😆

  • @ChrisMower

    @ChrisMower

    6 жыл бұрын

    Jason Cundall The vise jaws are 5" wide and fit the mill perfectly. You could possibly fit a 6" vice but I wouldn't go any higher myself. Your 4" vise should be perfect.

  • @Kampala69
    @Kampala695 жыл бұрын

    Hi Chris My boy wants to do this on his mill, so I said I'd do the electrics..purely on the basis I've built a 3D printer! Just a simple question, please, does the reed switch connection go: Pin 2 >>>Reed NC>>>GND... Or +5v >>>Reed NC>>>Pin 2? Probably blatantly obvious to the Arduino Cognoscenti! Cheers Phil

  • @ChrisMower

    @ChrisMower

    5 жыл бұрын

    Hi Phil. I wired the reed switch so that it is normally closed and connected to +5V. When the magnet approaches it then causes the reed switch to open and break the circuit. I did it this way so that if for some reason the line gets disconnected, or the switch damaged, the carriage will not move in order to prevent damage. Not that to do it this way the reed switch needs to be a single-pole double-throw type, a change-over switch if you like, so that you can wire the common and normally closed connections. If you can't find that type of reed switch and can only find the single-pole single-throw type they tend to be open until the magnet comes close whereupon the close. In that case you will need to modify the code to stop when the input goes high. I hope that this is clear, if not let me know and I'll try to make clearer. Cheers, Chris

  • @Kampala69

    @Kampala69

    5 жыл бұрын

    @@ChrisMower Great, thanks Chris. Phil

  • @Kampala69
    @Kampala695 жыл бұрын

    Hi Chris Got the Arduino Uno over missing libraries problems, and now I'm stumbling with this problem about "scope". I have no idea what scope means! I have taken the liberty of pasting the crash log, in the hope that you know of a magic bullet, that will educate me. I'm on v1.6.0 because my 3dprinter won't have anything newer. Thanks in advance... Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno" Using library PinChangeInterrupt in folder: C:\Program Files (x86)\Arduino 1.6.0\libraries\PinChangeInterrupt Using library LiquidCrystal_I2C in folder: C:\Program Files (x86)\Arduino 1.6.0\libraries\LiquidCrystal_I2C (legacy) Using library Wire in folder: C:\Program Files (x86)\Arduino 1.6.0\hardware\arduino\avr\libraries\Wire C:\Program Files (x86)\Arduino 1.6.0/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino 1.6.0\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino 1.6.0\hardware\arduino\avr\variants\standard -IC:\Program Files (x86)\Arduino 1.6.0\libraries\PinChangeInterrupt\src -IC:\Program Files (x86)\Arduino 1.6.0\libraries\LiquidCrystal_I2C -IC:\Program Files (x86)\Arduino 1.6.0\hardware\arduino\avr\libraries\Wire C:\Users\LEODAV~1\AppData\Local\Temp\build4757423307511100484.tmp\millcode.cpp -o C:\Users\LEODAV~1\AppData\Local\Temp\build4757423307511100484.tmp\millcode.cpp.o millcode.ino: In function 'void setup()': millcode.ino:117:22: error: 'setEnable' was not declared in this scope millcode.ino:118:22: error: 'setDirection' was not declared in this scope millcode.ino:121:74: error: 'buttonService' was not declared in this scope millcode.ino:128:74: error: 'rotarySwitchService' was not declared in this scope millcode.ino:134:5: error: 'lcd' was not declared in this scope millcode.ino: In function 'void loop()': millcode.ino:152:22: error: 'showFeedRate' was not declared in this scope millcode.ino:162:25: error: 'setEnable' was not declared in this scope millcode.ino:170:26: error: 'setEnable' was not declared in this scope millcode.ino: In function 'void doCommand()': millcode.ino:178:18: error: 'endStopCheck' was not declared in this scope millcode.ino:183:22: error: 'showFeedRate' was not declared in this scope millcode.ino:224:35: error: 'setDirection' was not declared in this scope millcode.ino:225:34: error: 'travelMillimeters' was not declared in this scope Error compiling.

  • @ChrisMower

    @ChrisMower

    5 жыл бұрын

    Hi, When the compiler complains that something was not declared "In this scope" what it usually means is that the variable or function is actually declared in another file but the current file does not have a reference to it. This is most likely because you have not got the files in the correct place and/or are missing some. If you put the following files in a directory called millcode - InterruptServiceRoutines.ino millcode.ino UtilityFunctions.ino and then open the file millcode.ino then you should be able to compile and upload. Let me know if you are still having problems. Chris

  • @ChrisMower

    @ChrisMower

    5 жыл бұрын

    Incidentally you might want to try the newer version of the program which can be found here - github.com/kintekobo/MillCodeMkII This is a re-work of my original code by Graham Walsh. He has made several improvements which make it more precise to use. I had some problems with it running on my system so this version is tweaked for my mill but you can find his version here as well github.com/themainframe/power-feed

  • @Kampala69

    @Kampala69

    5 жыл бұрын

    @@ChrisMower Hi Chris (& Graham Walsh). Looks like I had conflicting versions of the LCD library scattered all over the place! I reverted to my old laptop running Win XP, cleared all references to Arduino out, and loaded Graham's version and the suggested LiquidCrystal_I2C library. I can now compile and upload the sketch successfully, to an empty board. We'll see what happens when I've got the rest of the hardware hooked up. Thanks for your work, everyone involved.

  • @Gaatech
    @Gaatech5 жыл бұрын

    Hi Chris do you think its possible to make it fully CNC on all three axis

  • @ChrisMower

    @ChrisMower

    5 жыл бұрын

    I'm pretty sure that it is quite possible. At the moment it is only on the X-Axis but the Y axis is very easy to move requiring very little in the way of torque. The Z-axis requires more torque but it is not that much more than the others. I currently use an electric screwdriver to adjust it if it needs more than a few turns, so a stepper motor should have no trouble.

  • @Gaatech

    @Gaatech

    5 жыл бұрын

    @@ChrisMower great i have now found some video yes very possible.