how to use LDR as a sensor ( Light intensity sensor with arduino tutorial )

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

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

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

    This helped me alot
    Tks man

  • @MdShamim-cl5ig
    @MdShamim-cl5ig 3 года назад +1

    Can LDR be used for brightness control?

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

    The solution to the equation at 3:36 is incorrect. I can not be 0.9418V. Every time I input it into the calculator, it comes out at 4.999V. I am using (10000/(10000+0.617))*5 = 4.999V. If I use 10 and 0.617 instead of 10K, I still get 4.709V. Could you please explain how you calculated 0.9418V as the Vout?

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

    what does that mean, 50, 1000, and other. is that lux ? or what parameters?

  • @anthonyinabo2382
    @anthonyinabo2382 3 года назад

    just subscribed

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

    je veux tourner un moteur lorsque l'intensité lumineuse augment, comment je peut fixer la valeur du analogread pour faire ça

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

      you can control motor by pwm from analogread source and then map the value. For example : adc = analogRead(A0); pwm = map (adc, 0,1023,0,255); analogWrite(motor, pwm) ;

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

      @@miliohm
      thank you very much

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

      Bonsoir miliohm,
      Je veux commander un moteur 230V DC avec deux boutons: bouton pour le sens horaire et bouton pour le sens antihoraire et un troisième bouton pour stopMoteur.
      J'ai utilisé deux relais et les relier avec deux pin PWM comme deux OUTPUTS et j'ai mis les boutons comme des INPUTS dans trois pin digitales et j'ai fait un simple programme que je le connais bien, mais lors de la simulation dans proteus isis le moteur tourne de lui lui-même et il ne s'arrête pas de tourner, même je ne peux pas le contrôler avec les trois boutons que deja créer :/
      Prière de m'aider.
      Merci beaucoup d'avance.
      Cordialement.

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

      @@seifeddinebenmaallem1655 I need more details about this. Like the motor and other. You can send me an email to miliohmchannel@gmail.com

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

      @@miliohm thank you verry match
      i sent you an email and I would be grateful if you could help me.

  • @t-tech7797
    @t-tech7797 3 года назад

    can i change the weird value to like % like 10% or 53%?

    • @miliohm
      @miliohm  3 года назад

      You need the formula. Since the ADC is 0-1023. You can change to (ADC/1023)*100

    • @t-tech7797
      @t-tech7797 3 года назад

      @@miliohm thank you, i wanted to make a sensor to know when the sun goes up and down you helped me very much thanks

    • @miliohm
      @miliohm  3 года назад

      @@t-tech7797 yeah, you need to study about ADC or analog value of sensor to understand more 😀

  • @wisnuindrawan6496
    @wisnuindrawan6496 3 года назад

    First visitor 😁

  • @muhammadabiyyu5475
    @muhammadabiyyu5475 3 года назад

    just subscirbed too