Hello, I try to use UNO and a motor driver to control a stepper motor. I assigned the digital 9 port to be the PUL+. When I measured the output of this port, it varied between 0V and 2.5V. Is this normal? Shouldn't it be 0 and 5V?
What value did You use in the analogWrite when measuring?
I did not use analogWrite, I used digitalWrite with HIGH as the parameter.
Do you mean that when you set the pin mode as OUTPUT and you write it as LOW it is 0V and then when you write it as HIGH it is 2.5V with nothing connected?
How are you measuring the voltage?
Did you set the pin to OUTPUT, with pinMode().
Leo..
Yes. Is that the reason? Don't see such effect in the documentation.
Yes, I set the pin mode as OUTPUT and when I wrote it as LOW, I got 0V and when it was set to HIGH, I got 2.5V. I measured the voltage between GND and Digital Port 9 while having the Arduino connected to a PC, nothing else.
Try the same with other pins.
Please post a link to the motor controller. Check wither the inputs are optocoupler inputs, and whether there is a built in current limiting resistor.
As mentioned, to isolate any interference, I only connected the Arduino to a PC, nothing else. I measured the voltage between GND and Digital Port 9. No motor controller was involved.
Please carefully answer all the questions posted above.
We do not know what you are doing, with what instruments and what code.
What you say does not make sense, unless the Arduino has already been mishandled and trashed.
Either your voltmeter is broke or your Uno is bad
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.