Close

AVR weak pull-up and AL8805 analog CTRL

A project log for RPUlux

RPUlux - six constant current LED drivers with PWM from 328p

ronaldsutherlandronald.sutherland 03/28/2018 at 20:110 Comments

I was having problems with my SelfTest where I was only seeing about half the expected current from an AL8805.

An 8.45k Ohm pull-down was used to turn off the LED's during boot loading and when the AVR is in RESET. Form the AL8805 CTRL perspective the pull-down sums a divided amount from the AVR 5V through a 35k Ohm (weak pull-up mode) and from the 2.5V reference on AL8805 through 50k Ohm.

8k45PullDown

With a 3.74k Ohm pull-down and a weak pull-up from the AVR the switch mode converter runs with an analog setting in the range 50mA to 150mA (approximate).

3k74PullDown

When the AVR pin is in the push-pull mode and set HIGH the constant current converter provides the expected amount of current. The weak pull-up mode from the AVR set an analog voltage on the AL8805 CTRL pin that allows it to run at a reduced current without any audible switching noise (e.g. the 500Hz).

Discussions