Go Down

### Topic: [SOLVED] Calculate IREF value for WS2803 (Read 1 time)previous topic - next topic

#### Riva

##### Jun 17, 2012, 06:04 pmLast Edit: Jun 19, 2012, 03:42 pm by Riva Reason: 1
I'm messing around with some WS2802 LED driver chips but the datasheet is pretty poor and I can see no sensible reference to how one calculates the IREF resistor value. I have used a 10K for now and it's running cool enough but I would prefer to calculate the correct value.
Don't PM me for help as I will ignore it.

#### johnwasser

#1
##### Jun 18, 2012, 02:18 pm
The datasheet shows Amps = 1.25 / Ohms * 22.  Some simple algebra gets:

Amps / 22 = 1.25 / Ohms

22 / Amps = Ohms / 1.25

(22 / Amps) * 1.25 = Ohms

For example: 20 mA -> (22 / 0.020) * 1.25 = 1375 Ohms
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

#### Riva

#2
##### Jun 18, 2012, 04:39 pm
Thanks John,

I looked again at the datasheet and found the formula. First time I had just done a search for IREF not expecting the datasheet to be calling it REXT. More haste less speed.
Don't PM me for help as I will ignore it.

#### johnwasser

#3
##### Jun 18, 2012, 10:36 pm

I looked again at the datasheet and found the formula. First time I had just done a search for IREF not expecting the datasheet to be calling it REXT. More haste less speed.

That bugged me, too.  I had to look twice to see if there was ANOTHER pin called REXT.  Don't know why they call the pin IREF and the resistor REXT without anything to tie them together.  And on the datasheet I found the reference to the voltage coming out of the IREF pin being 1.25V was on the next page and something I had to read a few times.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

Go Up