I have a small camera which has day and night mode. Sadly it's not automatic. To switch from one mode to another you need to change the resistance on one of the camera pins. 2.2K is day and 10K is the night mode.
It's very easy to control it using small buttons and two resitors, but I would like to make it switch automatically. I already have a sketch and hardware which senses is it dark in the room - that works fine.
But how to make the arduino to change the reistance? Is using a digital pot the only way or maybe someone has an idea how to use just resistors as all i need are just two states (2.2K and 10K).
All the help really appreciated...