16F1827 voltage issue


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    According to my calc, to run LED's from 5V source you will need ~85 Ohm resisters in series for each led between the LED annode and the pic IO port to reduce the current down to 20mA each...
    Thats assuming the LED's have a drive voltage of 3.3V

    to work it out...
    5 - 3.3 = 1.7V diference

    now use V=IR re-aranged to R=V/I

    Where,
    V = voltage diference
    I = Current in amps (mA is 1/1000A or 0.001A)
    R = Resistance in ohms
    Last edited by comwarrior; - 27th January 2011 at 22:51.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    I have 6 LEDs. The LEDS represent 2 H-bridges with 2 direction controls and 1 PWM per bridge. The resistors were 70 ohms, I changed all resistors to 220. It still did the same reset condition. I reprogrammed the board a few times changing nothing but fuse settings and It seems to work now. I have no idea why....I just flipped them one way and then the other and downloaded it.

    Nick

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    An eye to the default value of the LVP bit ???

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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