LDR (LIGHT DEPENDENT RESISTOR) - Arduino tutorial #20

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 11

  • @nirlekaplay
    @nirlekaplay 4 года назад

    it works

  • @harshithramamurthy2820
    @harshithramamurthy2820 4 года назад

    Hello Creator,
    I loved your video quality and explanation.
    I have some doubts if you can answer, please.
    Why is the A0 connected at the junction of LDR and the resistor?
    Also, If I want to display the resistance of the LDR on the serial monitor, how do we do it?
    Looking forward to your reply.

    • @BasonTech
      @BasonTech  4 года назад +1

      Thanks! The connection is called a "pulldown resistor". I'll explain this in ruclips.net/video/5aR0cHKc-JA/видео.html 😃

    • @harshithramamurthy2820
      @harshithramamurthy2820 4 года назад

      @@BasonTech Thanks man!

  • @Brzndon
    @Brzndon Год назад

    Amazing video is it possible to show light intensity value on a LCD?

    • @BasonTech
      @BasonTech  Год назад +1

      Sure! Just combine this tutorial with my tutorial about the LCD screen and you should be able figure it out! 😃

  • @flightsimguy3897
    @flightsimguy3897 2 года назад

    Can I use a attiny for this?

    • @BasonTech
      @BasonTech  2 года назад

      Yeah that should probably work 😃

  • @enesbozcal2359
    @enesbozcal2359 8 месяцев назад

    How can I calibrate LDR?

    • @BasonTech
      @BasonTech  8 месяцев назад

      You can't. The way the LDR works is via the chemicals in the sensor. However you can create an offset or make your code work with another sensor value. Keep in mind that over time these sensors wear so you might need to adjust the code anyway (or use a potentiometer to set the correct threshold)