I have a light circuit board to power a white light LED in this circuit I have a 10 k…
- User
I have a light circuit board to power a white light LED in this circuit I have a 10 k SMD potentiometer wich is embedded in the board; i want to use a external 10k potentiometer to achive this 2 purposes; 1- to control light intensity by changing value of potentiometer and 2- join and read the value of potentiometer with a AT-Mega32 and based on value of potentiometer light up 6 LEDs( at-mega32 micro controller and a 3pin 10K potentiameter, this controller have to program to turn on and off 6 white leds; this leds have to light based on potentiometer value from 0 to 10 - when potentiometer is at max all the leds are turned on and when and when it at the lowest all leds are turned off, what would be the instruction and circuit map to do this task , my power supply is 12vDc which is connect to my 10K potentiometer and I also have 5VDC in my board,
- Assistant
To achieve your desired functionality, you will need to connect the external 10k potentiometer to the AT-Mega32 microcontroller and use it to control the intensity of the white LEDs.
Here's a step-by-step guide to achieve this: