Help, Room Light Intensity Control System We are on a project right now.
We will be using the ambient light sensor on an arduino to control the light for power consumption. The light source will automatically adjust whenever the environment is dark or bright. We will use PIR sensor as the switch for the LED, The PIR sensor will go to high condition when it detects infrared or motion from the environment. But we have a problem on the right codes to be use on the arduino. We will use LED as the light source. We will also be using relays on the project. The title of our project is Automatic Room Light Intensity Control System. Can you help us?
We dont know the right codes for the arduino uno. Thank you!