| Parameter | Formula | Standard value example | |-----------|---------|------------------------| | ( R_\textset ) | 12.5 / I_LED | 620 Ω for 20 mA | | ( V_\textref ) | 1.25 × (1+R2/R1) | 5.0 V: R1=1.2k, R2=3.6k | | LED step voltage (n from 1 to 10) | ( V_\textRLO \times 10^(n-1)/10 ) (if RHI/RLO = 1:0 ratio) | Step 6: ×3.16 from step 1 | | Power (bar mode) | ( 10 \times V_\textLED \times I_\textLED ) | 10×2V×0.02A = 0.4W |
From Vref = 5V to RHI = 1.5V: Use voltage divider between pin 7 and ground, middle to pin 4. Choose Rtop = 10 kΩ, Rbottom = 4.285 kΩ (approx 4.3k). LM3915 Calculator
RLO = 0 V (ground). RHI = 5.0 V (to reference). But now the highest LED triggers at ( V_\textin \approx 5.0 ) V peak? That’s far above 1.414 V. So we must attenuate input. | Parameter | Formula | Standard value example
[ V_\textin,peak = \sqrt2 \times V_\textrms ] RHI = 5
Desired input at pin 5 for LED10 = 5.0 V (peak). Actual peak input = 1.414 V. Thus, we need gain , not attenuation. Instead, set RHI lower: Use a voltage divider from Vref to set RHI = 1.5 V (peak). Then:
[ V_\textth,n = V_\textRLO \times 10^(n-1)/10 \times \fracV_\textRHIV_\textRLO \times 10^9/10 ]