Chipkit Uno and LDR warning example
This example is like a dark activated alarm using an LDR and a LED, in this case when the value read in drops below a certain level the LED will light. In the real world you could make a dark…
This example is like a dark activated alarm using an LDR and a LED, in this case when the value read in drops below a certain level the LED will light. In the real world you could make a dark…
This is a simple example which shows how to connect an LDR to a Chipkit UNO. In this example we are using Mpide and will be outputting the results via the serial monitor window A photoresistor or light-dependent resistor (LDR)…
In this example we keep the LCD shield connected to our Chipkit UNO and this time we will connect an LDR to A4, read the value in and display it on the LCD display I used an LDR breakout but…
In this example we will connect an LDR again but this time when the ADC value goes below a certain number we will switch an LED on, in real life this could be an alarm or a night light. The…
In this example we connect an LDR to ADC channel 2 which is PA 2. Once again you will get a value in theory between 0 and 1023. The more light that there is the higher the value. We will…
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More