6.13 Next Steps
It is easy to extend the detector beyond package delivery notification. Here are a few ideas that can be used to further develop the concept.
-
The current design is limited to one package delivery before it needs to be reset. Enhance the sketch and Python script to account for multiple package deliveries from multiple couriers. For instance, if a courier delivers a package that triggers a threshold event, set a new threshold value such that another delivery can be detected and verified before you retrieve the first package.
-
When the force sensitive resistor’s threshold is exceeded, capture a photo of the delivery in progress and send it as an attachment with the delivery email confirmation.
-
Enhance the database portion of the Python script to store the results of the package delivery query and write a web front end in Django to use as a package delivery history tool.
-
Place the force sensitive resistor under your front doormat and be alerted when a visitor comes calling before the doorbell rings. To remotely unlock the door for trusted individuals, combine with a webcam and an electric lock from Chapter 9, Android Door Lock.
-
If you frequently receive packages, employ message notification alternatives beyond email and Twitter. Write a package delivery notification service for Android or an iMessage-enabled delivery app for iOS that will natively alert you about package arrivals.
-
Shrink the delivery detector assembly with the same Arduino Nano/XBee configuration used in Chapter 5, Tweeting Bird Feeder. Swap out the force sensitive resistor with a PIR to notify you when a hand reaches into your mailbox.
-
Combine the detector with the guard dog from Chapter 4, Electric Guard Dog. Use the force sensitive resistor to notify the guard dog to power up and look for movement. Combine with a laser and range finder to accurately “paint the target” to greet visitors with a high-tech welcome.
Footnotes
[58] | |
[59] |
Sparkfun offers a square resistor that provides even greater surface area:http://www.sparkfun.com/products/9376. |
[60] | |
[61] |