Skip to content

A simple Python script which listens on serial interface for SMS to activate a relay.

License

Notifications You must be signed in to change notification settings

FabLabAvignon/FabKey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FabKey

A simple project made a FabLab in Avignon, for the door opening, featuring an Arduino Uno with a GSM Shield and what ever board (or maybe a computer) who runs the Python Backend.

This is the workflow :
You send a SMS -> The Arduino stores it in RAM -> The Backend asks for latest received SMS and check in the database -> The backend tells the Arduino to trigger a relay who enables the outdoor button(or not :D) -> You push the button and the door opens !

Dependencies

Building and uploading to Arduino :

  • Arduino from the Arduino website, not from apt !
  • apt install arduino-mk
  • apt install python python-serial

Using the python backend :

  • apt install python python-serial python-mysqldb python-configparser

About

A simple Python script which listens on serial interface for SMS to activate a relay.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages