RC India
Welcome Guest, please login or register.
 
Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: November 13, 2014, 04:21:26 PM »
pline
Plane Lover
Forum Veteran

****

Reputation Power: 4 
pline has no influence.
Offline Offline

City: Calcutta
State: West Bengal
RC Skills: Beginner
Posts: 251
Join Date: Feb, 2011

Built in Brass




Hello,
has anyone tried building 3-axis stepper motor controller with an Arduino Uno rev3 board ?
thinking of building one for a small home made milling machine, any suggestions and inputs would be of immense help.
Regards
Nilanjan Paul
Logged

 

Read
« Reply #1 on: December 02, 2015, 05:50:16 PM »
tymkr
Plane Lover
Active Member
**

Reputation Power: 1 
tymkr has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 2
Join Date: Dec, 2015



Yes. I have. Where are you at it ? What help do you need ?

Regards,
tymkr
Logged
 

Read
« Reply #2 on: December 04, 2015, 04:53:25 PM »
pline
Plane Lover
Forum Veteran

****

Reputation Power: 4 
pline has no influence.
Offline Offline

City: Calcutta
State: West Bengal
RC Skills: Beginner
Posts: 251
Join Date: Feb, 2011

Built in Brass



Hello I have got the uno, 3 stepper motors (NEMA17 7.2v 560ma) and 3 easy drivers from sparkfun.
now am not sure what sware to use. Have read grbl documentation on github, but still not very sure.

I have earlier constructed a 3-axis mill using Mach3 on a parallel port BOB, but never anything using the serial ports. Want to use win7 for the uno 3-axis project any help would be of immense help.
Regards
Nilanjan paul
Logged

 

Read
« Reply #3 on: December 04, 2015, 11:16:08 PM »
lastRites
Lover of all RC
Plane Lover
Forum Hero

*****

Reputation Power: 10 
lastRites has no influence.
Offline Offline

City: Kolkata
State: West Bengal
RC Skills: Beginner
Posts: 753
Join Date: Nov, 2011



Your best bet would be look at youTube videos. There are a lot of ways you can talk to the arduino to operate the cnc. I suggest you google "Arduino Grbl"
Logged

It is the pervading law of all things organic and inorganic,
Of all things physical and metaphysical,
Of all things human and all things super-human,
Of all true manifestations of the head,
Of the heart, of the soul,
That the life is recognizable in its expression,
That form ever follows function. This is the law.
 

Read
« Reply #4 on: April 28, 2016, 12:50:29 PM »
tymkr
Plane Lover
Active Member
**

Reputation Power: 1 
tymkr has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 2
Join Date: Dec, 2015



Hey Nilanjan ! I saw your mail quite late. I don't know whether you still wish to know, but here it is:

1) Use this reference for Arduino UNO : http://i2.wp.com/blog.protoneer.co.nz/wp-content/uploads/2013/01/Grbl_Pin_Layout.png

The above are the default pinouts for grbl. You can also change in the library but right now its recommended to use the default.

2) Download grbl library and copy it in the library of Arduino's folder.

3) Simply upload the following program :

#include<grbl.h>

p.s. no need to put void setup() and void loop()

4) Your Arduino is grbl ready now after successful uploading.

 Now the hardware connections. These connections are the most basic ones you need to know to get your CNC running.

5) Connect your stepper motors to each easydriver board. Connect the grounds of each driver and arduino together. Also give basic power connections to the easydrivers. https://cdn.sparkfun.com/datasheets/Robotics/EasyDriver_v45.pdf
Configure each easydriver independently for SLEEP, MS1, MS2, ENABLE, RESET, PFD.

The only connections from the easyDriver to the Arduino will be the GND, DIR & STEP signals for each axis and connect them to arduino pins :  2,3,4,5,6,7.  If needed, connect the ENABLE of all three drivers with pin8 of arduino or externally enable the easydrivers.
ref > http://i2.wp.com/blog.protoneer.co.nz/wp-content/uploads/2013/01/Grbl_Pin_Layout.png

6) Use a gcode sender such as this one : http://zapmaker.org/projects/grbl-controller-3-0/

Try to connect with Arduino. If done correctly, the motors should move when you press the arrow keys. You might have to send feed rate before. Set it at your required value by sending F(feedrate) in mm/min that is :
F100 for 100 mm/min or F200 for 200mm/min. This also decides the speeds at which your axes will be moving.

Regards,
tymkr
Logged
 

Read
« Reply #5 on: June 26, 2017, 01:33:49 AM »
Power_user_EX
Plane Lover
Active Member

**

Reputation Power: 2 
Power_user_EX has no influence.
Offline Offline

City: Navi Mumbai
State: Maharashtra
RC Skills: Intermediate
Posts: 99
Join Date: May, 2012



You will need to edit the grbl configuration before flashing (Steps per mm, Max feeds, etc.., baud). Though most settings can be overridden via console. I am using Universal Gcode sender. Its pretty basic compared to MACH3 but does the job.
Logged
 

Pages: [1]   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
arduino applications
Chatter Zone
arvind_aero 2 4337 Last post January 26, 2012, 08:54:50 AM
by arvind_aero
What arduino's co-founder says about it (TED)
Chatter Zone
hyd_quads 1 2484 Last post July 02, 2012, 09:07:51 PM
by anwar
30 Arduino Projects Evil Genius:- Great book to start Arduino Projects
Multirotors
rcpilotacro 5 8952 Last post July 05, 2012, 10:23:44 AM
by xxkrishxx
Multirotor with arduino Uno
Multirotors
mavquad 9 3835 Last post April 24, 2014, 02:24:58 PM
by Swapnil
Arduino Yun - New - For sale
For Sale
santhosh-r 4 2744 Last post November 29, 2014, 04:26:42 PM
by santhosh-r