Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 52466

Pulse-width modulation, is varying the duty cycle of a rectangle wave, usually with a constant frequency.

0 votes
3 answers
2k views

Controlling a motor using a PWM

of the pins with no luck, im assuming its 500mA since its powered via USB I already have my code up and running, basically im using a potentiometer connected to my ADC to change the frequency from my PWM … found several diagrams showing a zener diode to protect the motor, but i lack the knowlege of why is that zener there, and then i found the use of NPN transistors, however that would mean im using the PWM
GoatZero's user avatar
  • 1,547
0 votes
2 answers
919 views

unexplained short circuit with PWM signal?

Something happened that i haven’t been able to explain , I wrote a program to output a PWM signal, this to activate a transistors base using a PWM which I could change the frequency using a potentiometer … , the program worked fine, and the circuit too, however something was happening, 1) When I lowered the frequency of my PWM the motor stopped spinning however a “buzz” could be heard from inside the …
GoatZero's user avatar
  • 1,547
1 vote
3 answers
5k views

Sin signal from PWM

Does it have something to do with the high frequency of the PWM? What could I do to increase the output AC voltage from 3V to 10V or 100V? …
GoatZero's user avatar
  • 1,547