I have a at-mega32 micro controller and a 3pin 10K potentiameter, this controller have…
- User
I have a at-mega32 micro controller and a 3pin 10K potentiameter, this controller have to program to turn on and off 6 white led 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 I want to connect to my 10K potentiometer and I also have 5VDC in my board,
- Assistant
To accomplish this task, you will need to connect the 10K potentiometer to the analog input pin of the Atmega32 microcontroller. Here's the circuit map:
- Connect the middle terminal (wiper terminal) of the potentiometer to the Analog Input Pin (let's say A0) of the Atmega32.
- 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