{"id":5580,"date":"2024-01-10T23:30:03","date_gmt":"2024-01-10T18:00:03","guid":{"rendered":"https:\/\/electrocredible.com\/?p=5580"},"modified":"2024-02-18T15:16:14","modified_gmt":"2024-02-18T09:46:14","slug":"raspberry-pi-pico-ldr-photoresistor-light-dark-sensor","status":"publish","type":"post","link":"https:\/\/electrocredible.com\/raspberry-pi-pico-ldr-photoresistor-light-dark-sensor\/","title":{"rendered":"Raspberry Pi Pico LDR(Photoresistor) Interfacing Guide – Light\/Dark Sensor"},"content":{"rendered":"\n

This tutorial will guide you to interface an LDR\/photoresistor with Raspberry Pi Pico W. LDR (Light Dependent Resistor) is an electronic sensor commonly used in electronic circuits for applications such as light-sensitive switches.<\/p>\n\n\n\n

MicroPython code is used here to read analog values from an LDR. Detailed steps are shown to control AC appliances based on light sensed by LDR.<\/p>\n\n\n\n

\n
\n

Table of Contents<\/p>\nToggle<\/span><\/path><\/svg><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n