no these are what is being used
Arduino Stepper Motor Drive Coil Winder.pdf (2.3 MB)
To properly connect the MOSFETS, you should incorporate 220R gate resistors.
What controller are you using ?
What controller are you using ?
Did you turn on the internal pull-up resistors yet ?
i am using 22k gate resistors,the controller is the arduino uno,it feeds the gates with an led in series,why the concern about driving the motors when the buttons are the issue?.
As mentioned we look at the whole project here.
Explain where is the LED a bit better, in series with the 22k going to GND ?
Did you turn on the internal pull-up resistors yet in your code ?
@m3vuv ,
I've deleted your rude comment made to one of the people trying to help you. If you don't like the help you get from a particular person please thank them and politely tell them their help isn't what you are looking for.
Rude comments generally lead to bans from the forum, in this case for 1 day.
Thank you
Which buttons are unresponsive and when are they unresponsive?
The typical problem with not reading buttons when dealing with code like this is that the processor is idling while doing something else when the user expects the button to be read.
I looked for the code I want to try, and saw in #1
digitalWrite(SW0, 1); // pull up on
digitalWrite(SW1, 1); // pull up on
digitalWrite(SW2, 1);
digitalWrite(SW3, 1);
which I think means they are turnt on, and have been. From older or less informed code, I didn't see it until I saw it.
a7
Other reasons for buttons not being read is that they are't wired up correctly or something is damaged.
You can test your existing hardware with the InputPullupSerial builtin example:
after playing with this i think the way fowards is to test all the digital inputs,how can this be done with some led's a bench psu and some resistors,ie feed say3v to an led via a 1k resistor to ground via the pin pulled low,is there a sketch to do this or a way to do it using serial monitor?.
For testing you could co-opt this sketch by @paulpaulson, and test all your inputs against LED_BUILTIN using just a jumper-wire to ground:
You would need to change these 4 lines to cover the set of pins you want to test, (and you could re-use a single LED):
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.