PWM and MEMORY


Closed Thread
Results 1 to 34 of 34

Thread: PWM and MEMORY

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,666


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    pwm out of pin 5 with a 1uf to ground and 4.7k resistor to the base of a NPN 3904 transistor, driving a P channel Fet
    for my 2 cents worth , the 1uf to ground probably just makes the fet switch slower and dissipate more energy . if the pwm freq is high enough and
    if the light is for humans then pwm flicker is invisible even at 50 Hz [can you see your mains freq ac lighting flicker ?]
    Warning I'm not a teacher

  2. #2
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    Quote Originally Posted by richard View Post
    for my 2 cents worth , the 1uf to ground probably just makes the fet switch slower and dissipate more energy . if the pwm freq is high enough and
    if the light is for humans then pwm flicker is invisible even at 50 Hz [can you see your mains freq ac lighting flicker ?]

    update - you were right - I had to remove the cap (base to ground on npn) altogether for the PWM to even work. I was using a .1uf - seems it was filtering off the signal. I didn't look too much into it as why with a scope - just removed it. The user manual puts comments in there like the pulse coming out of the PIC isn't really clean so I thought I'd clean it up. No need..
    My dad never liked you...

Similar Threads

  1. Replies: 1
    Last Post: - 4th March 2013, 21:57
  2. Replies: 11
    Last Post: - 17th August 2010, 16:45
  3. Memory use - how much do you use?
    By keymuu in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 10th June 2009, 22:39
  4. Replies: 4
    Last Post: - 2nd March 2007, 06:12
  5. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 18:38

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts