Hello guys,I have disassembled some old cd drives and have 3 motors.I dont know if they are stepper but when I use stepper.h library it can controll it.But now when I want to controll it over easydrive Im stuck how to connect them to easydrive.
So is there way to connect 2 wires dc motor to 4 wires easydrive ?
Thank you for your time
The Servo library outputs PWM from about 3 to 12% duty cycle, so you are putting 5V times 0.03 = 0.15 to 5V times 0.12 = 0.6V on the motor. You can connect the motor to EasyDriver terminals OUT1A & OUT1B but you probably need an external power supply with correct voltage and current capability.
EDIT: OOPS, doesn't look like Easy Driver supports DC motors?
I have used this code and motor was moving.Would DC motor move with this kind of code ?
I am a bit confused:
You say that you used the code and the motor was moving - ok: which motor? which driver?
then, if the motor was moving - why are you asking a sentence later if a DC motor moves with this kind of code?
-> So: what motor (how many wires) did you connect and drive with the stepper.h code? How did you wire it, did you use a driver (big easy?)
I think you throw a lot of very different things into one pot:
you told us, your motors have 2 wires - these are DC motors
a DC motor can't be seriously driven by a stepper driver
Easy driver is built for steppers only
you are asking for grbl firmware -> the L298 driver can drive two DC motors -> this is no stepper driver!
grbl is meant for controlling stepper motors (normally used as CNC controller) and expects G-Code as input to drive the motors
It would be more efficient if you would tell us exactly what your plan is and what you think you have already to start your project; otherwise it is a Q & A game.
You say that you used the code and the motor was moving - ok: which motor? which driver?
then, if the motor was moving - why are you asking a sentence later if a DC motor moves with this kind of code?
-> So: what motor (how many wires) did you connect and drive with the stepper.h code? How did you wire it, did you use a driver (big easy?)
So I have arduino uno,arduino pins 6,3 connected to H bridge(L293D).
Im asking cuz Im not sure that if motor move with this code is clear sign that motors are stepper.