The US Postal Service delivers mail, etc., to your mailbox every week from Monday through Saturday. Amazon packages may be delivered to your mailbox on Sundays. That means up to seven days a week, you may be receiving mail and/or packages to your mailbox. In some cases, mail delivery is incredibly consistent, so you always know when it should arrive. However, in a lot of cases, delivery time varies. You could check multiple times per day, or only check late in the evening, or, instead, you could set up a way to notify you when something has been delivered to your mailbox!
This guide will show you how to use the Feather ESP32 V2, CircuitPython, WiFi, and Adafruit IO to build a notifier that tells you when your mailbox has been opened. Once everything is set up, and the Feather is installed in your mailbox, you'll receive an email each time the door is opened!
Parts List
The following is required to build this project.
The Feather ESP32 V2 with the antenna connector will let you connect from further away.
A reed switch detect when the mailbox door has been opened so the Feather can notify you.
A normally closed-capable magnetic reed switch. Reed switches are available as normally closed (NC), normally open (NO), or both. Normally closed is required for this project. The guide build uses a switch that does both, but only the NC connection is used.
Here is an example available on Amazon. Magnetic reed switches are available from many sources, so feel free to order from wherever you prefer. Simply make sure you check the specs before purchasing to ensure you are getting a NC-capable switch.
A battery is required, the larger the better. The following battery is ideal, but if it's unavailable, you can downsize to 6600mAh or 4400mAh if needed.
An antenna is also required. Here are three options to fit various needs.
If you would prefer a larger antenna, you can purchase the adapter, and one of the antennae shown below. You do not need both antennae.
To make it easier to remove the hardware from the mailbox, this project uses Command Small Picture Hanging Strips, which are adhesive hook and loop fasteners used to mount things.
If permanent adhesive is used, it will make swapping or charging the battery, and updating CircuitPython on the Feather, much more difficult. Therefore, some way to remove things more easily is suggested. These strips are one option.
Optional
For measuring the current draw of the project, for example during deep sleep, a Nordic PPK2 is a lifesaver. This project has taken low power into account, but if you wish to verify your own build or another design, this is the instrument to have.
Text editor powered by tinymce.