Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

pwm prototype

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,023
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 16, 2006

simple pwm circuit: a pic chip drives two LEDs via a simple transistor. the pulse width is about 5.7 milliseconds, so the LED brightness is updated about 175 times a second. the software is 40 assembly instructions, or 299 bytes of machine code.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (willsfca)

  • this one does 175 pulses per second, which works out to be 10,500 pulses per minute... but it's not for sale. just a little prototype.

  • it's a picf84! it's definitely designed with the RGB LEDs in mind. i'm just trying to decide on what sequence to use.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • .. Isn't this way easier to make with an AVR/Arduino?

    Take a breadboard, two resistors, two LEDs, some small bridgey cables, ??? (You know what to do, also attach the LEDs to the PWM enabled connectors), write a tiny piece code in Arduino's C/C++ mix in the Arduino IDE, click a button, bang.

    Anyways, this is cool, too. :)

  • Cool can you do that @ 10,000-40,000 flash per min and keep it under three volts and I would buy it.Seriously.

  • Cool. I can't see what kind of chip you're using, but I did something similar with a 16F84A. Try it with one of these three-element R/G/B LEDs. Modulate the red, green, and blue to get whatever color you want. 8-)

  • that's pretty cool, i was wondering how to do it...

  • Hey, that's kinda neat. Thanks willsfca. :-)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more