M
M
Maly2022-02-04 11:06:14
Arduino
Maly, 2022-02-04 11:06:14

Why do not the 28byj-48 stepper motor drivers rotate on the plotter?

cnc plotter project on arduino. Components: 2 stepper motors 28byj-48 and servo motor sg-90. I do according to this scheme https://www.youtube.com/watch?v=k1vzT-T8LJA&t=342s . Arduino version 18.57.0. Grbl version: 0.9v as in the video. gcode created on inscape version 48.5. I send gcode to arduino using UGS of the latest versions.

The problem is the following: grbl is being flashed. And when sending a gcode image to Ugs, the stepper motor drivers don't work. Stepper motors are not broken drivers either. Perhaps the problem is due to the versions of grbl. But I tried to change grbl versions to others but it doesn't work either.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Vodakov, 2022-02-04
@WaterSmith

Only debugging will save you here. In front of you lies your board, in front of you is the code.
1. Maybe you mixed up the pins, in the code the signals are sent to some pins, but in fact the driver is connected to others. (check in the code, compare visually with what is on the board)
2. There may be a bad contact somewhere, stupidly something is not soldered. (check with a multimeter)
3. The pin on the arduino itself may have burned out. (check for example by connecting an LED)

K
kalapanga, 2022-02-04
@kalapanga

If you repeat exactly this project, to which you indicated the link, then from the links there I see that the author uses his own grbl assembly (MIGRBL), designed to work with a specific CNC shield. Do you really have the same equipment? Why then do you write about using some different versions of grbl, and not the author's assembly?
If you are doing something your own, then why was there a link to that video at all? In this case, in addition to the hardware reasons listed by Sergey Vodakov , possibly incorrectly configured software is also added. Did you set up something in this very grbl - what kind of drivers are used, where are they connected, etc.? Does the original grbl have a servo on the z axis at all?

L
lonelymyp, 2022-02-05
@lonelymyp

configure the GRBL outputs correctly so that they match where you connected the drivers. you can look at the config and connect the drivers where you need in a specific firmware

E
evgeniy_lm, 2022-02-05
@evgeniy_lm

All the above respondents did not write the main thing: initially 28byj-48 are UNIPOLAR!!! , and on your video they are BIPOLAR !!!! . Have you redone them ? You also need to use a primitive sketch to check the operation of engines and drivers and only then move on towards GRBL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question