![]() ![]() I double checked the wiring and tried to write a little program in arduino ide to move the stepper motor without grbl (deleted grbl, wrote a little program wich manually set the intervals ecc), without changing the wiring, that worked. ![]() However when i try to move the x-axis under the control-panel in bcnc, nothing moves, on the screen the numbers change correctly and i get an ok in the logs, but the motor does not move a bit. I downloaded GRBL from Github and flashed it to the Arduino (i can run grbl-commands from the serial monitor inside the arduino ide, grbl is unlocked), connected everything and opened up bCNC, searched for the arduino on com-port, wich is shown correctly, and connected wich works fine (in the main screen "connected" shows up). 24V go to + and ground port of the driver, the 4 motor-wires are wired accordingly to the driver Pin 2 to PUL, Pin 5 to DIR, Pin 8 to ENA 5v from arduino to the three + Pins (ENA, DIR and PUL) Now, i connected one stepper-driver and stepper-motor as x-axis to the arduino. 24v Power Supply (wich powers the stepper motor(s) From the Arduino Uno to the MPU-6050 and to the L298N Motor Driver and finally from the L298N to the N20 DC motors. ![]() Elegoo Arduino Uno, on wich i flashed GRBL Step 1: Fritzing Diagram Fritzing Wiring Diagram: The attached Fritzing diagram shows the various connections from the batteries, via the two-pole switch, to the Arduino Uno. I've already searched and tried for a quite depressing amount of hours, but am not able to solve this problem: ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |