Skip to content

shashwatkathuria/Garage-StopLight-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Garage-StopLight-Project (Using Raspberry Pi Model 3B)


INSTRUCTIONS TO RUN THE PROGRAM


  python3 GarageStopLight.py

ALGORITHM


In this program, we turn on the appropriate light depending upon the distance obtained from the HC-SR04 Sensor. The echoed and triggered time are noted and then the distance is appropriately calculated.


CIRCUIT DIAGRAM (USING BCM MODE)


Circuit Diagram

Pins Naming Convention