Author Topic: implementing PWM  (Read 740 times)

0 Members and 1 Guest are viewing this topic.

Offline HimanshuTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
implementing PWM
« on: January 27, 2012, 09:43:42 AM »
Hello,
           i want to know how to implement pulse width modulation(PWM) on a circuit, what additional components like resistance and capacitor are required.
also i want to know how to implement PWM on 8051 microcontroller.

Offline pterrus

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: implementing PWM
« Reply #1 on: January 27, 2012, 10:10:14 AM »
I'm thinking about using an LM555 timer IC as a PWM generator.  Hook it up in astable mode like this.  Full disclosure: I haven't actually tried it yet.  But it should work!

Online newInRobotics

  • Supreme Robot
  • *****
  • Posts: 977
  • Helpful? 46
  • N.I.R.
Re: implementing PWM
« Reply #2 on: January 27, 2012, 12:47:21 PM »
Circuit below will generate PWM with variable duty cycle. Change Cap or Pot value to get different frequency.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 226
  • Mind Reading: 0.0
Re: implementing PWM
« Reply #3 on: January 27, 2012, 02:26:18 PM »
Hi,

Change Cap or Pot value to get different frequency.
First it needs to be rearranged a bit ;)
As shown, it's possible (likely even) to short pin 7 to Vcc (Not Vdd, it's an analog device), which will kill the internal transistor driving this pin.


I have attached an example of a PWM circuit that works reliably and relates M/S ratio closely to pot-position.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2647 Views
Last post January 14, 2008, 10:14:55 AM
by benji
19 Replies
9486 Views
Last post September 30, 2008, 10:59:53 AM
by SciTech02
0 Replies
1087 Views
Last post February 06, 2009, 05:43:25 AM
by paulstreats
0 Replies
341 Views
Last post April 03, 2013, 01:09:51 AM
by hhnavid


Get Your Ad Here

data_list