Go to advanced search

by pirx1988
Tue Jun 09, 2020 2:23 pm
Forum: Beginners
Topic: Light sensor connected to GPIO
Replies: 5
Views: 245

Light sensor connected to GPIO

Hi, I have created simple light dector. Schemea is below: https://i.ibb.co/2hRQVJj/light-detector.jpg Real circuit on breadboard: https://i.ibb.co/QN5RhvH/light-real-circut.jpg I have written code in python using GPIO library: import signal import sys import RPi.GPIO as GPIO import sqlite3 import da...

Go to advanced search