Main Site Documentation

Digital pin high or PWM at 100% duty cycles?


#1

On my Whirligig project I have a rather large propeller driving the boat forward. And if I go from motor OFF to motor ON directly I feel that it puts a lot of strain on my motor and drive train. So I have changed it to rev up from 0,10,20,30,40%… until we have full speed. Then I have a PWM pin at 100% duty cycle.

Is there any electrical like current wise considerations to consider when it comes to 100% PWM vs a regular pin high?


#2

I’m not sure if I know what you mean… Look in my RC car thread, there is some code that handles ramping.
Otherwise 100% duty cycle == HIGH


#3

To be honest Chris, Im not sure what Im mean myself :slight_smile:
But what Im wondering is, -are there any electrical difference between a pin set high or a pin set high by a 100% duty cycle.


#4

No. A HIGH pin is the same as one having a 100% duty cycle.

You have a scope, right?