Raspberry pi 3 tutorial #5: how to use LDR sensor Python Programming 'Beginners level'

preview_player
Показать описание
Download circuit and programming:

Subscribe to my New YouTube Channel, if you want to watch my videos in Hindi/Urdu

Tutorial #1: ssh network setup using putty

schematic and pcb designing:

Project Description:
*****************************
In today’s episode, you will learn how to use an LDR “light-dependent resistor to control an LED” light-emitting diode”. The LED will be turned on and turned off depending on the light intensity in the room. This project can also be used for day and night detection. The components that we will be needing for this tutorial are
1. Raspberry pi, the one I will be using is raspberry pi 3 b+, you can also use any other version of the raspberry pi.
2. 5v 2Amps adaptor or you can also use a power bank
3. An LED. The longer leg is the anode and the shorter leg is the cathode.
4. A 330 ohm resistor
5. Some male to female type jumper wires
6. LDR”light dependent resistor and finally
7. 10 uf capacitor, this leg is the positive and the leg on the line side is the gnd.

*****************************

Purchase links for Components with best prices.

Oled HDMI touch display for raspberry pi :

Raspberry Pi

Wireless Keyboard and Mouse for raspberry pi:

Night vision Camera for Raspberry Pi:

Power bank:

LDR "light dependent resistor":

Other Must-Have Tools and Components:
Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":

Top Arduino Sensors:

Super Starter kit for Beginners

Top Oscilloscopes

Variable Supply:

Digital Multimeter:

Top Soldering iron kits: "best"

Top Portable drill machines:

Jumper Wires:

3D printers:

CNC Machines:

Electronics Accessories:

Hardware Tools:

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for the support!
****************

Follow me on Facebook:

About the Electronic Clinic:
Electronic Clinic is the only channel on YouTube that covers all the engineering fields. Electronic Clinic helps the students and other professionals to learn electronics designing and programming. Electronic Clinic has tutorials on
electronics projects
wheelchair projects
robots
image processing
security systems
pcb designing
schematics designing
Solidworks projects
final year engineering projects and ideas
electronic door locks projects
automatic watering systems.
nodemcu esp8266 wifi module projects
computer desktop applications designing.
email systems.
and much more.
Рекомендации по теме
Комментарии
Автор

Thanks ! Video was perfect for what I was looking for

TheBradyBox
Автор

Can I know why 10uF is used, can we use other capacitor?

Can we use adc converter, is so, which adc is better.please let me know

HarishKumarC
Автор

Nice video sir. Can you pls make a tuitorial using ldr and a dc motor for my project " solar tarcker " i want to use ldr and a dc motor thank you sir

rennellliwanag
Автор

Can I have a bigger picture off the raspberry pie because I can't see where to put the wires or the led or the light sensor

soorionyt
Автор

GPIO.setup(ldr, GPIO.OUT)
GPIO.output(ldr, False)

time.sleep(delayt)

GPIO.setup(ldr, GPIO.IN)



why is it set as output and then as an input?

ItsYoBoiVasi
Автор

Small request sir I need interfacing between raspberry pi to speed sensor....means it detect speed of any object(ex.vehicle)...pls asap make it

rajendrakumar
Автор

I don't get people who sudo nano in home dir...

seasonedtoker
visit shbcf.ru