SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By aawhitaker
#195129
i have a project that i am working on and i am looking for different suggestions on the components.
i am using a bareduino to run a RGB and a potentiometer to dim and to change to color.
also using a rechargeable battery and don't want to lose the setting when there is a loss of power
trying to make this small as possible!
User avatar
By phalanx
#195131
Any RGB LED and 10K or greater potentiometer will do. These are more physical design specific so you need to sort through various options to determine what you like best in your application. All your choices will work in a similar manner.

To make your settings persistent through a power loss, you need to store your current configuration in a non-volatile memory. The ATMEL microcontroller on your Arduino has some of this memory built into it and there are instructions in the Arduino reference manual that details how you access it.

-Bill