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.pngThe 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.pdfConfigure 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.png6) 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