tgit-tech / grbl-28byj-48 Goto Github PK
View Code? Open in Web Editor NEWGrbl ver 1.1f.20170131 with XYZ Unipolar Stepper Support (28byj-48)
License: Other
Grbl ver 1.1f.20170131 with XYZ Unipolar Stepper Support (28byj-48)
License: Other
Tried this version of firmware and found motor reverse direction setting isn't working at all.
But it's easy to make it work, Just add this line in stepper.c (after line "st.step_outbits = 0;"):
st.exec_block->direction_bits = st.exec_block->direction_bits ^ dir_port_invert_mask;
It also reasonable to comment these lines as they are not used:
...
DIRECTION_PORT = (DIRECTION_PORT & ~DIRECTION_MASK) | (st.dir_outbits & DIRECTION_MASK);
...
st.dir_outbits = st.exec_block->direction_bits ^ dir_port_invert_mask;
...
DIRECTION_PORT = (DIRECTION_PORT & ~DIRECTION_MASK) | dir_port_invert_mask;
I'm using Universal Gcode Sender. Making the Z axis inverted is causing very wrong things to happen. The Z axis goes down instead of up during prints sometimes. The Z axis altitude goes up instead of going down when you lower the Z axis, as if it wasn't inverted. It's messed up
Hi, when I try to upload do Uno I get a
avrdude: stk500_recv(): programmer is not responding
and it wont upload.
Tried other sketches and works just fine :(
Thanks
Need to adjust 'Enable' code to PORT 0000000's in order to shutdown power to the stepper motors when sitting idle.
I think this should be implemented where the 'grbl' setting ( $1 - Step idle delay, milliseconds ) is made as described here -
https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration
To see how the motors are controlled visit this projects code at https://github.com/tgit23/GRBL-28byj-48/blob/master/grbl/stepper.c
At line #400 where PORTD is assigned; It looks by glance that go_st_idle in this same file might be where the ports need to be 0000'ed.
do you have any pinout diagram for this grbl version?!
There's a "grbl" folder and a "grbl 0.8 with SpindleControl" folder, but nothing indicates which one is supposed to be used.
The X axis is working incorrectly, when moving slow, loses steps, and some times stop moving.
On this case, designing a circle, and the result final is not a circle...
Everithing is loose, changed motor and controller and same thing, so I think it's the firmware of the arduino.
Using:
Firmware: https://github.com/TGit-Tech/GRBL-28b...
Gcode generator: http://jscut.org/jscut.html
I uploaded a vídeo to youtube: https://youtu.be/Zw0NLsuF52A
And attached a zip with the gcode for the circle used on the vídeo
SOLVED: I found out that the pins to the arduino were swaped... i followed a diagram on the internet and it is wrong.
Manuel.
Please help me
Step Z VIBRATING
Step Y Normal
Step X Normal
I'am Using Arduino Uno give me new schematic for arduino uno Step z part🙏🙏🙏
I have a small cnc plotter running with 3 5v motors and uln2003 drivers it possible to replace the z axis motor with an SG90 servo?
pls update the readme with following pins indications: "A0, A1, A2, A3 for the Y-Axis(IN4->IN1)"
instead of "pins A0, A1, A2, A3 for the Y-Axis(IN1->IN4)"
I am looking for a way to output the current x,y,z coordinates to a txt file at several spots in a g-code file. This will be on a CNC 3018 pro driven from Candle V1.1.7
I believe that the Mach 3 cnc allows this to happen, so can that support be ported over?
Is the Laser Mode operational in this grbl version?
Good afternoon
Is it possible change the pin from Z to Y? I'd like to use your GRBL, but my pcb are X 2,3,4,5 ad Y6,7,8,9
Carlo
Hey, first off let me just say thanks for releasing a modern verison of grbl that works with unipolar servos.
I'm building an ink plotter and everything mostly works except for one thing.. I'm using a 9g servo (S51 in this case) for testing of raising and lowering the ink dispenser however the servo commands seem to have no effect.
I tried some modifications myself and couldn't make it work and I was wondering if you had any suggestions on how I can make this happen? Thanks.
Does this version support limit switches for X, Y and Z and if so, which pins can be used ?
Many thanks.
hy ... im costycnc , first that i modified grbl from bipolar to unipolar! you give me happy if insert a credit to costycnc.. because your code contain many modifications and variable that i created first .... you can find on github.com/costycnc .... also i modified grbl1.1h see here https://github.com/costycnc/costycnc-costycnc-grbl-1.1-unipolar
for demonstrate that is my first code you can see costyx,costyy variable .... and costyz create by you perhaps without know from where come costy variable .... im happy that my little work is updated by big programmers like you .... but i thing also that is correct that nominated me ! Finally is your decision and i respect your decission is good or not! ... Regards!
#GRBL 28byj-48
Hi I'm new here, a question about this When I use this grbl it works fine but I don't have a scl output . the scl disappears . . I work with arduino uno v3 . The scl works if you use the grbl with servo . Not with the 3 steppers.
May I ask how you can make the scl work with the 3 steppers?
This is a modified fork from ruizivo/GRBL-28byj-48-Servo. This modification implements all 3-axises XYZ to a 28BYJ-48 stepper motor.
The motors (28byj-48) are connected to a controller card (Arduino UNO) that uses the chip ULN2003. This board is connected to pins A0, A1, A2, A3 for the Y-Axis(IN4->IN1), 2, 3,4,5 Digital pins to the X-Axis(IN4->IN1), and 8,9,12,13 to the Z-Axis(IN4->IN1).
Hello,
When I use this, my X turns both ways but my Y and Z turn only one way and vibrates the other way.
How do I fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.