The System is designed to improve the delivery efficiency by helping people to receive the parcel when he/she is not at home.
You will need the following stuffs to assemble, also you can find GPIO definitions in Emailbox .py, then you can search for the datasheet of L293D to wire them up!
- Raspberry Pi 3
- Electromagnetic * 2
- L293D ic chip
- 9v battery
- Box(you can find the layout at the directory " /Layout ")
- Go to directory " /API/Config.py " , then change the following two variables
#Gmail Account for Sending System Email
#You need to set up account id and password
GMAIL_ACCOUNT = None
GMAIL_PASSWORD = None
- Go to directory " /API/CreateDatabase.py ", find the function " AddSystemData ", then follow the instruction below to add your own data.
#Add Your Own Data
cursor.execute("INSERT INTO CLIENTS VALUES(NULL, 'Floor', 'First Name', 'Last Name', 'test@gmail.com')")
- Install it
python setup.py install
- Give it a shot!
python -m Emailbox