I am trying to move a stepper moter using an arduino uno wit GRBL v0.9 flashed onto it. The issue the board isn't outputting signals even though it seems to be receiving commands (tx/rx flashing like a small rave). If anyone knows what's going wrong your help would be greatly appreciated.
It also might be worth mentioning baud rate is 115200
What do you get when you open the Serial Monitor?
To make sure that GRBL firmware was loaded to the Arduino, you should see a Grbl welcome message like:
Grbl v0.Xx ['$' for help].
If not, GRBL was not flashed into Arduino memory.
Yes it is reporting that. Sometimes when i go in one direction on z axis(the only one im using) pin 7 goes on and doesn't go off unless i tell it to go the other way. Pin 4 never responds to going in the other direction.
Pins 2-4 are step pins. They pulse to tell the stepper to move.
Pins 5-7 are direction pins. The direction pins will only change when you change directions.
Try a $X command to clear any locks.
I am almost wondering if the version i have is bugged does anyone have a download they know works?
I got my version HERE
Reading your reply #3, my impression is that you have not fully understood the GRBL controller and its commands.
As @nathancamp said you tried to chnage direction via a pin which is only functioning as 'pulse generator'.
Can you tell us,
- what operating system do you use?
- what controller software do you use and how is your setup for the serial monitor?
- and can you post the complete answer which appears when you key in "$"
Now for whatever reason the pulse pin seems to be outputting. The direction pin goes on when it goes in one direction and off in the other. The schematics for what im doing is at this link http://www.instructables.com/id/Chimera-60-DLP-resin-3d-printer/
for your questions 1. I use windows 8 2. I use the Grbl controller software
3.$0=10 (step pulse, usec)
$1=255 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=5 (dir port invert mask:00000101)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.050 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=0 (homing cycle, bool)
$23=0 (homing dir invert mask:00000000)
$24=25.000 (homing feed, mm/min)
$25=250.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$100=40.000 (x, step/mm)
$101=40.000 (y, step/mm)
$102=320.000 (z, step/mm)
$110=5000.000 (x max rate, mm/min)
$111=5000.000 (y max rate, mm/min)
$112=500.000 (z max rate, mm/min)
$120=250.000 (x accel, mm/sec^2)
$121=250.000 (y accel, mm/sec^2)
$122=50.000 (z accel, mm/sec^2)
$130=290.000 (x max travel, mm)
$131=290.000 (y max travel, mm)
$132=100.000 (z max travel, mm)
I apologize for my incompetence if that's not what you were asking this is my first time with Arduino as a whole.
I apologize for my incompetence if that's not what you were asking this is my first time with Arduino as a whole.
Don't worry, that was exactly what I was asking for.
So, have you got steppers connected or do you just monitor the output of the Arduino pins right now?
The dir pin reaction is like it should be as a motor driver, e.g. A4988 or DRV8825, is expecting either a HIGH or a LOW which then determines the direction the stepper moves.
What are your next steps? Do you need more help or are you getting along on your own now?
So I ripped a stepper motor out of an old cd drive. It seems to be getting constant power regardless do you have a shield you can suggest? Im using an easydriver currently and im not sure if that or the software is the issue now. So when it travels one direction the direction pin is constantly on and if it goes inthe other direction its constantly off. Is that how it is supposed to work?