ISEL Flatbed
Fra Robin
m |
|||
(13 mellomrevisjoner ikke vist.) | |||
Linje 22: | Linje 22: | ||
* En til hver akse | * En til hver akse | ||
* Disse er krute gode og vi bruker de som de er og styrer de direkte fra Arduino med Dir/Pulse inngang | * Disse er krute gode og vi bruker de som de er og styrer de direkte fra Arduino med Dir/Pulse inngang | ||
+ | * Vi bruker 8 eller 16 microsteps (iMC-S8 er opprinnelig satt opp med 4, som gir forferdelig støy og vibb) | ||
+ | |||
+ | Vi bruker i dag: | ||
+ | * [[https://www.arduino.cc/en/Main/arduinoBoardDuemilanove Arduino Duemilanove (ATmega168)]] | ||
+ | * [[https://www.sparkfun.com/products/12761 SD kortleser]] | ||
== Programvare == | == Programvare == | ||
Linje 40: | Linje 45: | ||
[https://github.com/matshovin/ISEL All egen kode] | [https://github.com/matshovin/ISEL All egen kode] | ||
- | [[Fil:ISEL_top.jpg|x100px]] [[Fil: | + | [[Fil:ISEL_top.jpg|x100px]] [[Fil:ISEL_millaP.png|x100px]] [[Fil:ISEL_Duemilanove.jpg|x100px]] [[Fil:ISEL_SD.jpg|x100px]] |
- | |||
+ | == Installing cncjs == | ||
+ | The machine is connected with a raspberry pi running CNCjs. Following the instructions provided by CNCjs will result in errors. The approach is therefor modified a bit. See resources for more detail. To install CNCjs run the following commands: | ||
+ | |||
+ | -Update and upgrade apt-get | ||
+ | |||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get upgrade -y | ||
+ | $ sudo apt-get dist-upgrade -y | ||
+ | |||
+ | -Installing build essentials | ||
+ | |||
+ | $ sudo apt-get install -y build-essential git | ||
+ | |||
+ | -Some useful tool, some are already preinstalled in Rasbian. | ||
+ | |||
+ | $ sudo apt-get install htop iotop nmon lsof screen -y | ||
+ | |||
+ | -Installing node package manager | ||
+ | |||
+ | $ sudo apt install npm | ||
+ | |||
+ | -Installing CNCjs | ||
+ | |||
+ | $ sudo npm install -g cncjs@latest --unsafe-perm | ||
+ | |||
+ | After the installation is finish you can run CNCjs with the command <code> cncjs </code>. The default port is 8000, and the webserver can be accessed by the URL: http://isel.labnet.ifi.uio.no:8000/ | ||
+ | |||
+ | |||
+ | == Parts == | ||
+ | |||
+ | === Spindle motor === | ||
+ | |||
+ | SPINDLE MOTOR ISA 750 (https://www.isel.com/en/spindle-motor-isa-750-manual-tool-exchange.html) | ||
+ | |||
+ | The spindle motor is rated for up to 28 000 rpm, or about 450 Hz. | ||
+ | |||
+ | === Controller for spindle === | ||
+ | |||
+ | SKA1200075 (https://www.galco.com/buy/Control-Techniques/SKA1200075) | ||
+ | |||
+ | The controller for the spindle works in Hz and not rpm. 1 Hz is equal to 60 rpm. The max is currently set to 380 Hz, to prevent damage to the motor. | ||
---- | ---- | ||
Linje 50: | Linje 95: | ||
* Erstatte SD kort med ringbuffer | * Erstatte SD kort med ringbuffer | ||
- | * Vil vel gå over til MEGA | + | * Vil vel gå over til MEGA eller DUE etterhvert |
+ | |||
+ | [[Fil:ISEL_Mega2660.jpg|x100px]] [[Fil:ISEL_dueP.png|x100px]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | === Resources === | ||
+ | https://cnc.js.org/ | ||
- | + | https://theiqworkshop.com/upgrading-my-cnc-capabilities-cncjs/ |
Nåværende revisjon fra 17. mar 2022 kl. 15:51
- XY(Z)-Flatbed unit FB2
- BD16x4 (4mm pitch)
- Travel 1250mm x 1030mm
- Z-axes with magnet, lift 160mm
Innhold |
Controller
[iMC-S8 stepper motor controller (modifisert)]
- Med denne følger rævskit programmet PROnc/PALpc som ikke lar seg installere på en moderne PC, derfor modifiserer vi iMC-S8 med Arduino og får moderne fungerende USB kommunikasjon
IMC-S8 inneholder 3stk
[MD28 steppermotordrivere] [PDF]
- En til hver akse
- Disse er krute gode og vi bruker de som de er og styrer de direkte fra Arduino med Dir/Pulse inngang
- Vi bruker 8 eller 16 microsteps (iMC-S8 er opprinnelig satt opp med 4, som gir forferdelig støy og vibb)
Vi bruker i dag:
Programvare
Fra CAD (Fusion360)
- Postprocessor:
- (Restarte F360 etter første gang Bracket install)
- Postprocessor: Fanuc/fanuc
- Property:
- Write machine = No
- Write tool list = No
- Use sequence numbers = No
- Maximum circular radius = 0.001
- Mimimum circular radius = 0.0001
- Overfør "1.stp" fil til Arduino via å flytte ST kort fra PC til Aruino shield eller via USB og kjør
Installing cncjs
The machine is connected with a raspberry pi running CNCjs. Following the instructions provided by CNCjs will result in errors. The approach is therefor modified a bit. See resources for more detail. To install CNCjs run the following commands:
-Update and upgrade apt-get
$ sudo apt-get update $ sudo apt-get upgrade -y $ sudo apt-get dist-upgrade -y
-Installing build essentials
$ sudo apt-get install -y build-essential git
-Some useful tool, some are already preinstalled in Rasbian.
$ sudo apt-get install htop iotop nmon lsof screen -y
-Installing node package manager
$ sudo apt install npm
-Installing CNCjs
$ sudo npm install -g cncjs@latest --unsafe-perm
After the installation is finish you can run CNCjs with the command cncjs
. The default port is 8000, and the webserver can be accessed by the URL: http://isel.labnet.ifi.uio.no:8000/
Parts
Spindle motor
SPINDLE MOTOR ISA 750 (https://www.isel.com/en/spindle-motor-isa-750-manual-tool-exchange.html)
The spindle motor is rated for up to 28 000 rpm, or about 450 Hz.
Controller for spindle
SKA1200075 (https://www.galco.com/buy/Control-Techniques/SKA1200075)
The controller for the spindle works in Hz and not rpm. 1 Hz is equal to 60 rpm. The max is currently set to 380 Hz, to prevent damage to the motor.
På sikt:
- Erstatte SD kort med ringbuffer
- Vil vel gå over til MEGA eller DUE etterhvert
Resources
https://theiqworkshop.com/upgrading-my-cnc-capabilities-cncjs/