Skip to content

The Door is a Raspberry Pi based project mainly developed in python. The core function of this project is to control the access of my building front door. To do so, I've elaborated a Python server and a communication protocol interacting with a servo motor that allowed me to unlock my building front door.

Notifications You must be signed in to change notification settings

james08m/The-Door

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Door [PAUSED/FINISHED]

The Door is a Raspberry Pi based project mainly developed in Python.

The goal of this project was to control the access of my building front door from a simple client application on my phone. To do so, I have create a Python server where a client connect to and interact with a servo motor connected to a Raspberry PI that have the ability to push my building front door buzzer. The server jon have the hard task to coordinate every actions between clients and the motor. Basically, it is listening on my local network on a specific port and it waits for a any connection request from potential clients. When a connection is established, the server wait for commands from this client, check if those commands are as expected and if the client can perform the required action at this moment. If there is nothing wrong with the command received and the servo motor is not already in use, the server execute the task safely and wait for another command.

Another import task of the server is also to make sure the motor is always put back to idle position when a client quit or when an unexpected event is happening. This is an important part, because at the end it's my building front door that can be compromise here and I don't want to be responsible of any security breahes or simply bothering my whole neighborhood with the buzzer noise when we unlock the door.

The servo motor is a very important part in this project as it is controlling the access of my building front door by simply pressing or not pressing the little button on my wall originally made for this purpose. To control the motor I've created a Python class that does the job pretty well using the RPi.GPIO lib.

alt text

About

The Door is a Raspberry Pi based project mainly developed in python. The core function of this project is to control the access of my building front door. To do so, I've elaborated a Python server and a communication protocol interacting with a servo motor that allowed me to unlock my building front door.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages