Arduino Project - Smart Street Lighting Project Using Arduino

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • This arduino project explain about smart street light system using IR sensors and LDR.
    Light Detecting Resistor is useful to detect light or darkness as its resistance is varying according to the light intensity. I have used IR sensor to detect the vehicle so that Light will be turn ON only if there is a night and vehicle is present at IR sensor.
    Please Share and Subscribe "Hiren Tailor" :
    bit.ly/3c7zcax
    Code and Interfacing Diagram:
    github.com/hir...
    Arduino Tutorial Playlist:
    • Arduino Projects and C...
    My Facebook Page: / hirentailorec
    #ArduinoProjects #SmartStreetlight #LDR

КОМЕНТАРІ • 187

  • @sudeepp8722
    @sudeepp8722 3 роки тому +4

    sir i want resistor values?

    • @ecit
      @ecit  3 роки тому +1

      220 ohm

    • @sudeepp8722
      @sudeepp8722 3 роки тому +1

      @@ecit sir near led 220 ohm resisitor but near ldr which resistor is used?

    • @ecit
      @ecit  3 роки тому +1

      @@sudeepp8722 you can use 1k ohm or any resistor between 1k ohm to 10 k ohm

    • @sudeepp8722
      @sudeepp8722 3 роки тому +1

      @@ecit Thank you so much sir.

    • @ecit
      @ecit  3 роки тому

      @@sudeepp8722 most welcome

  • @leela5983
    @leela5983 Рік тому +2

    *Sir can i know which software is used to run the code?*

    • @ecit
      @ecit  Рік тому +1

      Arduino IDE, you can watch first video of Arduino Project Playlist on my channel

    • @leela5983
      @leela5983 Рік тому +1

      @@ecit thanks for the response.

  • @hetaltailor3886
    @hetaltailor3886 4 роки тому +7

    Codeful and Helpful 😀

    • @ecit
      @ecit  4 роки тому +2

      Thanks 😄

  • @markrrrober
    @markrrrober 2 місяці тому +1

    v.helpful

    • @ecit
      @ecit  2 місяці тому

      @@markrrrober Thank you!

  • @gs3618
    @gs3618 3 роки тому +1

    Thank you for useful video sir 🎉

    • @ecit
      @ecit  3 роки тому

      Most welcome

  • @AbhishekKumar-k3l9v
    @AbhishekKumar-k3l9v 2 місяці тому +1

    What are the equipments required for this project?

    • @ecit
      @ecit  2 місяці тому +1

      @@AbhishekKumar-k3l9v Arduino Uno, IR sensor and detail circuit diagram link is mentioned in the description

  • @zuhaanabeel2445
    @zuhaanabeel2445 3 місяці тому +1

    sir , this video shows the hardware of smart street light and its connection with webapp ?

    • @ecit
      @ecit  3 місяці тому

      @@zuhaanabeel2445 this is not connected with web, if you want to do it use ESP32 and use Webserver with it

  • @dhivyadharshni1314
    @dhivyadharshni1314 4 місяці тому +1

    Sir is there any specific wires that we should use pls reply sir I have to submit this project

    • @ecit
      @ecit  3 місяці тому

      @@dhivyadharshni1314 There is no specific wire required because here only few mA of current is flowing through the wire.

    • @dhivyadharshni1314
      @dhivyadharshni1314 3 місяці тому +1

      Sir my IR sensors are starting with a on condition where the light is keep on glowing in the out pin as well what could be the problem? And also I am using 1k resistor for the ldr sir is it ok? I have the same IR sensors that u have shown in the circuit diagram sir still I didn’t get the output

    • @dhivyadharshni1314
      @dhivyadharshni1314 3 місяці тому +1

      Sir pls help me out I have to submit this project tomorrow pls sir even when my IR sensors both are working in on condition the led is not glowing

    • @ecit
      @ecit  3 місяці тому

      @@dhivyadharshni1314 you need to vary the resistance with LDR, adjust the value according to light intensity you want to set, log your data on serial port and see if you are getting correct data or not

    • @ecit
      @ecit  3 місяці тому

      @@dhivyadharshni1314 are you using same code which I have shared in description link?

  • @PritiMane-ov5pm
    @PritiMane-ov5pm 4 місяці тому +1

    Can we use only LDR sensors here?

    • @ecit
      @ecit  4 місяці тому

      @@PritiMane-ov5pm I have already used LDR for light detection

    • @PritiMane-ov5pm
      @PritiMane-ov5pm 4 місяці тому +1

      ​@@ecitSir I am doing the same project as I am a diploma student I want the circuit diagram for the project and I am taking reference from your video I just want to use LDR sensors and IR sensors what will be the circuit diagram for that is my question

    • @ecit
      @ecit  4 місяці тому

      @@PritiMane-ov5pm circuit diagram link is mentioned in the description alongwith the code

  • @RAKACHOUDHARY_16
    @RAKACHOUDHARY_16 Рік тому +1

    Sir, if we want to use a 9w led bulb then what is the change in circuit???

    • @ecit
      @ecit  Рік тому

      Go through this video ua-cam.com/video/F5zoG9IOZNE/v-deo.htmlsi=YYX9A6DQrCkJ9jN9
      You can merge two projects

  • @sachinshinde7159
    @sachinshinde7159 3 роки тому +2

    Can we make this project wireless? By using Bluetooth or WiFi to transmit signal from Arduino to the sensor?

    • @ecit
      @ecit  3 роки тому +1

      Yes you can, You may use ESP32 or ESP8266 to transmit data using WiFi or BLE.

    • @sachinshinde7159
      @sachinshinde7159 3 роки тому

      @@ecit thankyou so much, can you please share the code/ working module if you have any using Bluetooth/WiFi

    • @ecit
      @ecit  3 роки тому

      @@sachinshinde7159 It may take time, I will share the code after 2-3 weeks.

  • @ece36namanmittal25
    @ece36namanmittal25 Рік тому +1

    Very nice explanation sir! Thanks for this video. I want to ask that can we do this using raspberry pi?

    • @ecit
      @ecit  Рік тому +1

      Yes you can, you need to write python code for it.

    • @ece36namanmittal25
      @ece36namanmittal25 Рік тому +1

      Thanks for replying

  • @dhivyadharshni1314
    @dhivyadharshni1314 4 місяці тому

    Sir what is the software that you used for the circuit diagram bcs I need it as the same way pls explain

    • @ecit
      @ecit  4 місяці тому

      @@dhivyadharshni1314 you can use following link for circuit diagram design www.circuito.io/

  • @miggap
    @miggap 2 роки тому +1

    what is the type of the arduino? is this uno re3 or rev2 ? or what ? pls

    • @ecit
      @ecit  2 роки тому

      Rev3

    • @miggap
      @miggap 2 роки тому +1

      @@ecit thank you

  • @kushalkumaruppada1462
    @kushalkumaruppada1462 Рік тому

    Sir u have used three wires to connect ,instead of those we can use jumper wires

  • @sowjanyalakshmikolasani3204
    @sowjanyalakshmikolasani3204 2 роки тому +2

    Sir,can we use the same circuit diagram and code for Arduino nano?if not,please share the diagram and code sir.

  • @SriJahnaviChinthalapudi-wz8us
    @SriJahnaviChinthalapudi-wz8us Рік тому +1

    which port should be selected for compiling the code?

    • @ecit
      @ecit  Рік тому

      You need to select Arduino Uno port, you can find from device manager or by removing the USB connector and see which port has removed from the list

  • @adammuqrish7884
    @adammuqrish7884 Рік тому +1

    Hello sir the coding can use 5 sensor?

    • @ecit
      @ecit  Рік тому

      You need to modify the code for 5 sensors, you need to add additional pins in the code

  • @ravishetty9430
    @ravishetty9430 Рік тому +1

    Can you tell about backend and frontend

    • @ecit
      @ecit  Рік тому

      Frontend and backend of this project or in general?

  • @bikkysharma7253
    @bikkysharma7253 2 роки тому +1

    very helpful video sir ,can u please share the links from where to buy IR sensons ,ARDUINO,LED's,BOARDS 👏👏

    • @ecit
      @ecit  2 роки тому

      You can buy everything from Amazon or local electronics shop.

  • @rollndope5568
    @rollndope5568 2 роки тому +2

    Sir, In my case only one IR sensor is working. Can you help me out please?

    • @bjorn6300
      @bjorn6300 2 роки тому +1

      @ECIT Engineering, yes sir you should help him out

    • @ecit
      @ecit  2 роки тому +1

      First replace the IR sensor with working IR sensor, and make sure that both IR sensor are working.
      Check the pin number in code and board.
      Make sure wire is okay.

    • @rollndope5568
      @rollndope5568 2 роки тому

      I have other queries as well. Where can I contact you?

    • @ecit
      @ecit  2 роки тому

      @@rollndope5568 hirentailor.rf@gmail.com

  • @manojmanoj1013
    @manojmanoj1013 Рік тому +1

    Sir here my output is showing correctly in serial monitor but not correct output
    My problem is both the led are glowing when brightness is less than 100 , what is the problem sir when there is no object near sensor

    • @ecit
      @ecit  Рік тому

      You may need to adjust the brightness constant in code ( update LDR value)

  • @ramyadav4472
    @ramyadav4472 4 роки тому +1

    Superb

    • @ecit
      @ecit  4 роки тому

      Thanks 😊

  • @vikithayarlagadda8981
    @vikithayarlagadda8981 3 роки тому +1

    If by adding one more led and one more IR sensor does it works

    • @ecit
      @ecit  3 роки тому

      Yes it will work, but you need to change the code

    • @vikithayarlagadda8981
      @vikithayarlagadda8981 3 роки тому

      @@ecit By placing the connections in the code is it right sir

    • @ecit
      @ecit  3 роки тому

      @@vikithayarlagadda8981 yes, you need to connect remaining pins and then also add code for it.

    • @vikithayarlagadda8981
      @vikithayarlagadda8981 3 роки тому

      @@ecit thank you sir

    • @ecit
      @ecit  3 роки тому

      @@vikithayarlagadda8981 most welcome

  • @suchitkadam3566
    @suchitkadam3566 3 роки тому +2

    How much does it cost? If we add Solar panal and battery for storage?

    • @ecit
      @ecit  3 роки тому

      Around 1000 Rs.

    • @kingjb9990
      @kingjb9990 2 роки тому

      If in this case sir, if we add solar panel and battery, do we still need to include it in the code?

    • @vasanthv4233
      @vasanthv4233 Рік тому

      bro did you made this project?

  • @bhavanik188
    @bhavanik188 3 роки тому +3

    Sir ,can u pls make prototype(model) for this
    It will be useful for us

    • @ecit
      @ecit  3 роки тому +1

      What kind of prototype you want?

    • @bhavanik188
      @bhavanik188 3 роки тому

      We have to make automatic street lights project
      So,we have to make a mini street lights

    • @ecit
      @ecit  3 роки тому +1

      @@bhavanik188 that you can build by yourself

    • @bhavanik188
      @bhavanik188 3 роки тому

      Tq sir

    • @bhavanik188
      @bhavanik188 3 роки тому

      Sir,when we made our prototype
      IR sensor functionality was reversed
      Lights are always ON ,when we keep an object they were OFF

  • @mayankrajpootEE
    @mayankrajpootEE 2 роки тому +1

    sir dark ke condition mai jab light ON hoti hai using ir sensor
    phir jab ir sensor se object remove karte hai toh light off ho jati hai toh mai yeh poochna chahta hu ki jab light off hogi toh ussme delay kese layege matlab jab object remove karte hai toh light off karne mai delay kese layege

    • @mayankrajpootEE
      @mayankrajpootEE 2 роки тому +1

      code mai kya change karege plz btayege

    • @ecit
      @ecit  2 роки тому

      In code, on line number 41 and 48 there is delay(2000); instead of this you can increase the delay to 5000 ( 5 seconds ) or even higher value

  • @simonkioko9384
    @simonkioko9384 3 роки тому +2

    my LEDS are starting with the ON status...what could be the problem????

    • @ecit
      @ecit  3 роки тому +1

      Are you testing this in night or in dark environment? Give light on LDR.
      And verify your connection again.

    • @simonkioko9384
      @simonkioko9384 3 роки тому

      @@ecit yeah i tested during night..i will test during the day..thankyou @hiren

    • @ecit
      @ecit  3 роки тому

      @@simonkioko9384 most welcome and don't forget to subscribe this channel

  • @SriJahnaviChinthalapudi-wz8us
    @SriJahnaviChinthalapudi-wz8us Рік тому +1

    led is how many volts?

    • @ecit
      @ecit  Рік тому

      3.3V or 5V

  • @rajvardhanrc6241
    @rajvardhanrc6241 2 роки тому +1

    sir can we make it as, if the ldr value is less than 100 then the led will glow but in less and if the object is in front of ir sensor then the led will glow in high brightness for a specific delay

    • @ecit
      @ecit  2 роки тому

      Yes you can, use any pwm pin of Arduino and set threshold as 100 in code
      When ldr is below 100 write pwm value for brightness of led, if it is more than 100 then set high or 255 as pwm value for led pin

  • @akayt2608
    @akayt2608 Рік тому +2

    sir my Arduino uno 390 is not functioning in the app

    • @ecit
      @ecit  Рік тому +1

      Which error it shows? Can you share the link of your Arduino board?

    • @akayt2608
      @akayt2608 Рік тому +1

      @@ecit the code is compiling but showing error in saving to Arduino

    • @ecit
      @ecit  Рік тому

      @@akayt2608 may be you have not selected correct COM port for Arduino

    • @akayt2608
      @akayt2608 Рік тому

      @@ecit port's option was not available

    • @ecit
      @ecit  Рік тому

      @@akayt2608 you can verify about the driver, install FTDI drive support.arduino.cc/hc/en-us/articles/4411305694610-Install-or-update-FTDI-drivers

  • @mpumelelosibanda5981
    @mpumelelosibanda5981 Рік тому +1

    very helpful, however found a compilation Error on : "LDRValue not declared"

    • @ecit
      @ecit  Рік тому

      int LDRValue;
      Must be declared in your code.

  • @MandipSingh-un4jo
    @MandipSingh-un4jo Рік тому +1

    Sir I am trying to upload the code but the code was not uploading... I am trying several time but it was comipled but not upload

    • @ecit
      @ecit  Рік тому

      Which error it shows? Make sure that you have selected correct COM port and board before uploading the code

  • @harisbashir7287
    @harisbashir7287 2 роки тому +1

    sir can we make this without Arduino?

    • @ecit
      @ecit  2 роки тому +1

      Do you means without any microcontroller?
      You can use comparator IC and logic gates to implement this without Arduino or Microcontroller

    • @harisbashir7287
      @harisbashir7287 2 роки тому

      @@ecit i have all the components but i dont hava an Arduino Uno....can i make an direct circuit connecting LDR Led and IR sensor....so that in dark the ldr will pass the electricity to motion sensor..and motion sensor will only pass the electricity when it detects motion ...like this

    • @ecit
      @ecit  2 роки тому

      @@harisbashir7287 yes it is possible but in that is it work like,
      If there is darkness LED will not glow if LDR resistance is high enough,
      And If there is light on LDR, it will reduce the resistance and allows LED to glow, however LED will remain turn ON only during IR sensor remains High.

    • @harisbashir7287
      @harisbashir7287 2 роки тому

      @@ecit can u like share an circuit diagram plz 🙏

    • @ecit
      @ecit  2 роки тому

      @@harisbashir7287 I think this link will help you, www.engineersgarage.com/making-a-light-detector-using-ldr-circuit-diagram/
      Instead of +9V connect IR Sensor Output and make ground common

  • @bikkysharma7253
    @bikkysharma7253 2 роки тому

    and if is there any way to implement all these things without using these physical equipments then please tell sir how to do so.

    • @ecit
      @ecit  2 роки тому

      You can try proteus software

  • @sowmyakarra9413
    @sowmyakarra9413 3 роки тому +1

    Do they glow automatically at the night time??

    • @ecit
      @ecit  3 роки тому

      Yes, If there is a darkness near the LDR than LED will turn ON based on our threshold value.

  • @gs3618
    @gs3618 3 роки тому +1

    Sir how to keep the object near to IR sensor in tinkercad software

    • @ecit
      @ecit  3 роки тому

      I don't know, but I don't think that you need to put an object in software, only you need to change IR sensor value

  • @SriJahnaviChinthalapudi-wz8us
    @SriJahnaviChinthalapudi-wz8us Рік тому +1

    Only 1 blub is working sir, also I have to run code every time I put object

    • @ecit
      @ecit  Рік тому

      Verify your connections from circuit diagram, make sure the LEDs are in series

  • @SriJahnaviChinthalapudi-wz8us
    @SriJahnaviChinthalapudi-wz8us Рік тому +1

    where can we we find the inbuilt code?

    • @ecit
      @ecit  Рік тому

      I have provided the code link in description

  • @saimani7297
    @saimani7297 Рік тому

    int IR1 = 2;
    int IR2 = 3;
    int LED1 = 5;
    int LED2 = 6;
    int LDR = A3;
    void setup()
    {
    Serial.begin(9600);
    pinMode(LED1, OUTPUT);
    pinMode(LED2, OUTPUT);

    pinMode(IR1, INPUT);
    pinMode(IR2, INPUT);
    pinMode(LDR, INPUT);
    digitalWrite(LED1, LOW);
    digitalWrite(LED2, LOW);
    }
    void loop() {
    int LDRValue = analogRead(LDR);
    Serial.print("sensor = ");
    Serial.print(LDRValue);
    delay (500);
    if (LDRValue > 100)
    {
    digitalWrite(LED1, LOW);
    digitalWrite(LED2, LOW);
    Serial.println("It's Bright Outside; Lights status: OFF");
    }
    if ((LDRValue < 100) && (digitalRead(IR1) == HIGH))
    {
    digitalWrite(LED1, LOW);
    Serial.println("It's Dark Outside; LED1 Lights status: ON");
    }

    if ((LDRValue < 100) && (digitalRead(IR2) == HIGH))
    {
    digitalWrite(LED2, LOW);
    Serial.println("It's Dark Outside; LED2 Lights status: ON");
    }

    if ((LDRValue < 100) && (digitalRead(IR1) == LOW))
    {
    digitalWrite(LED1, HIGH);
    Serial.println("It's Dark Outside; LED1 Lights status: ON");
    }

    if ((LDRValue < 100) && (digitalRead(IR2) == LOW))
    {
    digitalWrite(LED2, HIGH);
    Serial.println("It's Dark Outside; LED2 Lights status: ON");
    }
    }
    this is correct code for this

    • @saimani7297
      @saimani7297 Рік тому

      Leave print statements , code is right , use this for that above circuit

  • @imagineimaginators518
    @imagineimaginators518 3 роки тому +1

    Sir reverse operation is taking place

    • @ecit
      @ecit  3 роки тому +1

      What exactly happening?

    • @imagineimaginators518
      @imagineimaginators518 3 роки тому

      @@ecit The lights are on at the beginning and when the obstacle is detected it turns off

    • @ecit
      @ecit  3 роки тому

      @@imagineimaginators518 okay, I will update the code on the github.
      You can check it after 5 hours.

    • @imagineimaginators518
      @imagineimaginators518 3 роки тому

      @@ecit Sir please tell me what changes should I make because I have to submit it today

    • @ecit
      @ecit  3 роки тому

      @@imagineimaginators518 okay, I will send you code here..

  • @AnilKumar-mh3hg
    @AnilKumar-mh3hg Рік тому +1

    can you send the base paper of the project

    • @ecit
      @ecit  Рік тому

      I don't have any base paper

  • @sankettukaramkhade2085
    @sankettukaramkhade2085 3 роки тому +1

    How to connect wifi module to the setup ?

    • @ecit
      @ecit  3 роки тому

      Which module do you want use? You may use ESP 8266 for this.

  • @somnathadhav1586
    @somnathadhav1586 3 роки тому

    Sir is it program run in tinkercad

  • @kingjb9990
    @kingjb9990 2 роки тому +1

    How to add Solar Panel and battery on it?

    • @ecit
      @ecit  2 роки тому

      Use solar panel to charge the battery and provide power supply to Arduino from the battery.
      You need higher voltage at solar panel (let say 12 v) than battery voltage (5V),
      You may also need charging IC or boost converter to charge the battery.
      I hope this information will help you to get on right path to achieve your goal.

    • @kingjb9990
      @kingjb9990 2 роки тому

      @@ecit where to attach the power in Vin?

    • @ecit
      @ecit  2 роки тому

      @@kingjb9990 yes, you can use Vin and GND

    • @kingjb9990
      @kingjb9990 2 роки тому

      @@ecit sir I have a problem, once the IR sensor detects motion, the lights will off, it works but it reversely operates. Also one thing, the lights lit up automatically and sequentially lits up even no motion detected.

    • @ecit
      @ecit  2 роки тому

      @@kingjb9990 which code have you used? Are simulating this or testing with real hardware?

  • @vasanthv4233
    @vasanthv4233 Рік тому +1

    sir can u help me with the project

    • @ecit
      @ecit  Рік тому

      Which problem are you facing?

    • @vasanthv4233
      @vasanthv4233 Рік тому +1

      sir which arduino uno model should i buy and what is the price?

    • @ecit
      @ecit  Рік тому

      @@vasanthv4233 you need to buy Arduino Uno R3 board. amzn.eu/d/4FqyEYH
      Or
      amzn.eu/d/5eejw8p

    • @vasanthv4233
      @vasanthv4233 Рік тому

      Sir I am going to make this project with 6 led lights and also I am going to use solar pannel and recharge the battery and can u suggest me which led light( in Volt) and which amount of rechargable battery should I buy?

    • @ecit
      @ecit  Рік тому

      @@vasanthv4233 ua-cam.com/video/NLgYfyAp_Rg/v-deo.htmlsi=_AiH1HsUEkAKfran
      This video will help you to calculate LED resistor, also make sure that you select correct watt of resistor. First go through this, prepare your own component list and I will verify it.

  • @shaikamrin6497
    @shaikamrin6497 Рік тому +1

    Please tell resistors values

    • @shaikamrin6497
      @shaikamrin6497 Рік тому

      Sir.

    • @ecit
      @ecit  Рік тому

      Resistor with LED is 220 ohm and with LDR you can use 1K to 5K resistor depending upon light intensity you want to set

    • @shaikamrin6497
      @shaikamrin6497 Рік тому

      With LED means near the LED

    • @ecit
      @ecit  Рік тому

      @@shaikamrin6497 yes resistor connected in series with LED

    • @shaikamrin6497
      @shaikamrin6497 Рік тому

      Sir code showing that no upload port provided

  • @adityachowdary7915
    @adityachowdary7915 2 роки тому

    Would you provide link for IR sensor

    • @ecit
      @ecit  2 роки тому

      I have used custom board, you can use buy any IR sensor.

  • @astikadda9748
    @astikadda9748 2 роки тому +1

    Sir g please help me to make this project

    • @ecit
      @ecit  2 роки тому

      You can ask me your questions here

  • @error17.o22
    @error17.o22 2 роки тому +1

    Sir my ir sensor is not detecting object but it the led on ir sensor is glowing how to overcome this. The theme of the code is during night times it starts glowing with 20% intensity when an object approaches due to that object and vehicle light due to this light will glow 100% intensity. I wrote the code as
    int led1=5;
    int potpin1=0;
    int val1=0;
    int led2;
    int potpin2=0;
    int val2=0;
    int ir1=A2;
    int ir2=A3;
    int ldr = A0;
    void setup()
    {
    pinMode(led1,OUTPUT);
    pinMode(led2,OUTPUT);
    pinMode(ir1,INPUT);
    pinMode(ir2,INPUT);
    pinMode(ldr,INPUT);
    Serial.begin(9600);
    }
    void loop()
    {
    int ldrValue=analogRead(ldr);
    Serial.print("Sernsor =");
    Serial.print(ldrValue);
    if(ldrValue

    • @ecit
      @ecit  2 роки тому

      mention led2 pin, you have not mentioned in the code

  • @SBINFORMATION_2023
    @SBINFORMATION_2023 3 роки тому

    it is not working

    • @ecit
      @ecit  3 роки тому

      What kind of issues are you facing?

  • @somnathadhav1586
    @somnathadhav1586 3 роки тому

    PLZZ tell mee

  • @sowjanyalakshmikolasani3204
    @sowjanyalakshmikolasani3204 2 роки тому +1

    Sir once please check mail sir

  • @kushalkumaruppada1462
    @kushalkumaruppada1462 Рік тому +1

    Sir u have used three wires to connect ,instead of those we can use jumper wires

    • @ecit
      @ecit  Рік тому

      Are you saying about IR sensor? My IR sensor have 3 pins, output, ground and Vcc. Do you want to say that you want to make common grounds and common Vcc? Then yes we can do that also.

    • @kushalkumaruppada1462
      @kushalkumaruppada1462 Рік тому

      After uploading the code in serial monitor it is showing sensor = 0

    • @kushalkumaruppada1462
      @kushalkumaruppada1462 Рік тому

      What should I do

    • @kushalkumaruppada1462
      @kushalkumaruppada1462 Рік тому

      Sir it's working successfully but after removing the object the light is in still on

    • @ecit
      @ecit  Рік тому

      @@kushalkumaruppada1462 you can change the threshold value in the code as per the LDR output