広告 *[[Arduino]]などで動くCNCコントローラ [#raa39239] [[Grbl:https://github.com/grbl/grbl]]は[[Arduino]]またはAVRのAtmega328pで動くCNCコントローラ~ 今のところ3軸のみ **ハード [#pec08a35] -[[Arduino]] UnoなどのAtmega328マイコン -ステッピングモータードライバ --[[Arduino CNC Shield:http://blog.protoneer.co.nz/arduino-cnc-shield/]]など ---Amazonで売っている→&ad_manager(ArduinoCNC); **インストール [#g8ec754c] -[[Grblのページ:https://github.com/grbl/grbl]]の右上にある「Download ZIP」をクリックしてソースをダウンロード -Arduino IDEを起動 -スケッチ→ライブラリの使用→Add library->grbl-master(上でダウンロードしたものを展開したディレクトリ)→grblを選択 -ファイル→スケッチの例→grbl→grblUploadを開く --grblUploadの中身は #include <grbl.h> のみ -Arduino IDEからArduino Unoなどにインストール -インストール後シリアルを接続(v0.9の時115200bps)すると Grbl v0.Xx ['$' for help] と表示される **設定 [#j4b75117] 何パルスで1回転するかとか方向とかの設定 -[[Grblの設定@Hardware LOL:http://ruur.hatenadiary.com/entry/2016/01/02/040735]](原文は[[こちら:https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.9]]) **G-code送信プログラム [#k651b8d1] 実際にCNCを動かすにはPCから[[Grbl:https://github.com/grbl/grbl]]にコマンドを送る必要がある。~ -[[bCNC]] --Pythonベース -[[Universal-G-Code-Sender:https://github.com/winder/Universal-G-Code-Sender]] --Javaベース -[[grblControl:https://github.com/Denvi/grblControl]] --Qtベース -[[Grbl Controller:http://zapmaker.org/projects/grbl-controller-3-0/]] --Qtベース -[[Printrun:http://www.pronterface.com/]] --3Dプリンタ用 --Pythonベース。Debianに公式パッケージあり。 --GUIは「pronterface」 **link [#v7741c8a] -[[mini-CNC BLACK 1510のUSB化:http://www.geocities.jp/jun930/ele/mini-CNC-BLACK.html]] 広告 |