avr based ambient light