Added: 4 years ago
From: ivanatora
Views: 1,397
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (3)

Sign In or Sign Up now to post a comment!
  • LDR is Light Dependent Resistor, no light = high resistance, with light low resistor. Depending on the position of the LDR baising, you can make LED turn brighter when it is darker, or vice versa.

  • Oh, yes, ofcourse :)

    We are using a photoresistor (which is a LDR as you described it). You can set up a LED voltage in that way - LDR in series to the LED, but our idea is using PWM to control the brightness :) Just practicing some of the PIC's features like ADC and PWM.

  • Oh, so that's why. :D Keep up the study, so will I. Haven't got the the PWM yet :(. Can you send me the code or any code you working write for PIC. I want to see how other people structured their code, whether in assembly or c++ and how to define, call subroutine, label etc... Thanks

  • What is your e-mail? I will send you sources, but have in mind they are written for SDCC (Small Device C Compiler) which syntax is kinda different from the most popular PIC C compilers.

  • can it be done with just a LDR sensor, a NPN, a few current limiting resistoor, and a LED, no?

  • What is LDR sensor and what is your general idea?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more