Adaptive Lighting

We want to create a simple system which would regulate the intensity of interior lighting depending on the amount of sunlight coming in.

Public Chat
Similar projects worth following
Energy is being wasted around the World. With our project we are mainly focusing on the lighting used in building, airports, and virtually evey closed space where light must be on during daytime.
We believe that these infrastructures could reducing their energy consumption through regluting and adapting their interior lighting where the lighting would be reduced when there would be enough sunlight coming in, and increased when there wouldn't be enough to get to the optimum level of luminance.
  • 1 × Arduino "leonardo"
  • 1 × transistor TIP 120
  • 1 × 10 Kohm resistor
  • 1 × LED strip
  • 1 × Power Supply 12V 2A

  • Project Progress #5

    Lucas BROGLIO06/13/2018 at 14:06 0 comments

    Hi guys ! 

    One day left before the exhibition of our project and we are pleased to announce you that we succed ! 

    At the very beginning we wanted to create a device that changes the intensity of a light depending of the exterior light ! And that's what we got now.

    I will show you quickly the aspect of the project without his box and you'll see the box in few days.

    Here is the final montage that will be detailled very soon. You will be able to create an adaptive lightning thanks to our instructions.

    Here is the project working.

  • Project Progress #4

    benhamida.racime05/30/2018 at 19:24 0 comments

    Hello again! 

    we have finally made some noticeable progress in our project. After a lengthy discussion with our supervisor, he advised us to try and make a our concept work a single led, and guess what IT WORKS !

    it took us some time but we eventually were able to figure it out. the pictures above and bellow show the circuit we built and used.

    We also came up with the code which we will share soon on our next log. 

  • Project Progress #3

    Lucas BROGLIO05/24/2018 at 08:34 0 comments

    Here is the repost of the log from 17/05/2018 : 

    Today we figured out that for our project we would use PWM (Pulse With Modulation) to synthesize our continuous signal.

    In order to connect our LED strip to the Arduino we need to reproduce the following image.

  • Project Progress #2

    Rudy05/17/2018 at 09:18 0 comments

    Here is the repost of the log from 05/03/2018 : 

        Hi guys !

    The components we ordered finally arrived : 

    - a light sensor

    - a LED strip 

    - an arduino "Leonardo"

    - a 10 Kohm resistors

    - transistors 

    - a 12V 2A Power supply

    We also started making the arduino program conected to the light sensor. The program we have recognize the intensity of ambient light and tells us if it is :

    - Dark

    - Light

    - Luminous

    - More luminous

    - Very bright

    We now have to deal with a mean to connect the LED strip to the arduino and modify our code to change the intensity of led light according to ambient light.

     See you !

  • Project Progress #1

    Lucas BROGLIO04/29/2018 at 16:21 0 comments

    Hey guys !

    We will start our project in an experimental way.

    The theoretical part is very well advanced and we now know in which direction to start.

    This project is very interesting although complex but we are convinced that within 1 month we will be finished. 

    For now we are looking forward to receiving the components and getting to work.

    See you very soon !

View all 5 project logs

  • 1
    First step : Arduino part

    1st of all we decided to use a photoresistance in order to collect the ambiant light.

    Furthermore we are using a led strip of 12V so we needed to put a transistor.

    We followed the following scheme.

    We add at this scheme the photoresistance. 

    If you want to create the same thing as we did follow the cable management.

  • 2
    2nd step : Code

    int led = 9;           // the PWM pin the LED is attached to

    int brightness = 0;    // how bright the LED is
    int fadeAmount = 100000000;    // how many points to fade the LED by
    int photocellPin = 0; // the cell and 10K pulldown are connected to a0
    int photocellReading;

    // the setup routine runs once when you press reset:
    void setup() {
      // declare pin 9 to be an output:
      pinMode(led, OUTPUT);

    // the loop routine runs over and over again forever:
    void loop() {

      // set the brightness of pin 9:
      analogWrite(led, brightness);

      // change the brightness for next time through the loop:
      brightness = brightness + fadeAmount;

      // reverse the direction of the fading at the ends of the fade:
      if (brightness <= 0 || brightness >= 255) {
        fadeAmount = -fadeAmount;

            photocellReading = analogRead(photocellPin);
      Serial.print("Analog reading = ");
      Serial.print(photocellReading); // the raw analog reading
      // We'll have a few threshholds, qualitatively determined
      if (photocellReading < 200) {
        Serial.println(" - Dark");
        brightness = 255;
      } else if (photocellReading < 500) {
        Serial.println(" - Light");
        brightness = 100;
      } else if (photocellReading < 600 ) {
        Serial.println(" - Luminous");
        brightness = 50;

      }  else if (photocellReading < 700 ) {
        Serial.println(" - More luminous");
        brightness = 20;
      } else {
        Serial.println(" - Very bright");
        brightness = 0;

      Serial.print(brightness );
      // wait for 30 milliseconds to see the dimming effect

View all instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates