There is only one 5v port on the info Bryce and a 3.3 v next to it
Ok I made this since thethere is one 5v port I hope that this doesn’t blow it up
2 female to one male connector
Don’t know what logic is and there is no pin saying logic bryce
You’re right, it is 5V and 3.3V. It shouldn’t matter for the DRV8825 as it’s tolerant for both. But for good practice, probably best to hook up 5V to one of the pins, and then use a jumper between the two pins on your board. That splice you’ve made should work too.
This is where you connect ground. GND-LOGIC infers GND, the board uses it as a voltage reference for logic. All the best with the project, the tutorials I linked earlier are designed to be quite clear to follow, all of the instructions to put this together should appear there. Please let us know how it goes and we’ll see what else we can do to help, but all of the required information should be at that website.
Still not working
I don’t have 12 volts to connect but I have 9 volts and I don’t understand what you mean bythhe same as the motor ect
Explain this more clear please…
Finally connect the 12V and your motor to the same side as GND-LOGIC to the matching pins
I only have 9volt (it has to still work because the Arduino ran it)
As seen in the image above, connect the 9V power supply’s Vout and GND to the top two pins on the same side (as viewed above, both on the left-hand side) as the first GND we discussed.
Yay, it’s making noise but not spinning mate
It’s likely because the voltage is too low. For that kind of motor you would need 12V rather than 9V.
The Arduino 5 volt ran it fine
I think the cables could be the wrong way around?
Possibly, you’ll need to experiment with it a little to get that set up. Just be careful not to accidentally fry the board by drawing too much current from it. The wiring diagram from earlier should be correct.
What order do they go in ?
Like… A1, A2, B1 ect
What is it that you are trying to demonstrate by running it from the Arduino? You won’t be able to drive anything with it (if it runs at all), there is risk of frying the Arduino, and it won’t help with the problem of getting the motor and the DRV8255 to work from the Arduino. It seems that you would be better off going over the setup from the tutorial and figuring why it won’t work.
If you want to run it direct off the Arduino the connection will depend on the software - the sketch should have the pin information as part of the comments, and will likely use the same labeling as the DRV8255 - A1, A2, B1 and B2. What sketch are you using?
I’ve given up for the day but the wierd thing is…
If I plug directly into Arduino…
A pin 8
B pin 9
A- pin 10
B- pin 11
Even without a 5v inputs or groud, it works perfectly
I am only trying to achieve to spin a piece of pla plastic for 30 seconds
And it’s seems to be ok but, I trust you that some point it will burn out the Arduino.
I presume you are supplying 5v to the Arduino. The motor only needs the four wires to drive it - no separate 5v supply is required for the motor. What sketch are you using?
If you mean that there is no 5v supply at all then there is definitely some magic happening.
The motor coils are 30ohms. At 5v that is more than 150mA. The Arduino GPIO pins are rated for 40mA. That needs to be a very small piece of plastic, and 5s would be a lot better than 30.
If you only want to spin a bit of plastic what the hell is a stepper for. What’s wrong with a small brushed hobby motor, a transistor or mosfet, a diode (to connect across the motor) and a resistor ( foe base or gate). If you want the motor to run slower hit it with a PWM signal. A lot simpler methinks.
I’m off the computer now but I can remember tech top boy on YouTube saying…
Wire it up like this…
Pins 8,9,10,11 …
This works 100% fine just plugging those wiring into a Uno
I’ll send you the sketch Tommorow
Of course I’m using the stepper library
But… I would love to get this working as I did with the module we have been talking about, with a 9 volt wattage but the wiring I can’t work out…
If anyone wants $20 and will walk me over it via phone I’ll do it…
Let’s talk tomorrow
If you know all about it what are you asking. I personally think you should take notice of what Bryce and Jeff are saying. You have been given a detailed wiring diagram utilising your driver but you keep on going back to using the Arduino directly. I don’t think Bryce and Jeff could get much simpler.
But if you are intent on frying and destroying your Arduino then go for it.
I would love to get the module working more than you can imagine…
But the easy fix was the Arduino connected directly.
Is it safe to run for 30 seconds with a miniture stepper motor carrying a load equivalent to a matchbox?
Someone give me there phone number and walk me through it and I’ll throw some crypto or cash your way…
I can’t be a master of all trades…
Forgive me for seeming stupid…
To me the easy fix would be to forget about the stepper and use a small brushed motor.
NO. Not directly driven by Arduino. Damage to most electronic components can be cumulative. That is, if you punish them they may take a while to fail but fail they will. Sometimes in circumstances that have no relationship to the original punishment. These causes can be very difficult to analyse., In my working world it was all well and good locating a faulty component but when it came to finding out what caused the failure that was quite often another question entirely. BUT, when the faulty equipment was manufactured by the company I worked for this had to be done to make sure of no repetitions.
No one can. But also consider you can’t do any sort of course in electrics or electronics remotely in one day. Spend a bit of time to get a feel for what you are trying to do. Do a bit of research and try to get to know something about what you are going to do this job with. Try to get a feel for and some knowledge about some of the basics. Very basics are Volts, Current (amps), resistance (ohms) and the product of volts and amps Power (watts). If you can do some of this I think it will be much easier for you to understand what Bryce, Jeff and others are trying to tell you. Please listen to them and take note.
Almost impossible to do remotely. One would ned to actually see what you are doing and be on hand to offer advice or corrections. Others may try but I for one would be very reluctant to attempt this. I have had success by phone in the past BUT I had a pretty good knowledge of the equipment at fault and the bloke on the other end of the line was usually the one who designed it in the first place. Then you had a chance.