You've got mail

Internet connected mailbox that sends an email when mail is put into the box.
In these modern times of instant messaging we still receive standard mail.
Wouldn't it be convenient to know when new mail has arrived?
At home, our mailbox is located at drive way about 10 meters away from the house.
It should be in range of the WIFI network and connect the ESP32
The mailbox has two lids:
The cover: an outer covering lid that shields the mailbox from rain.
The inner door: an inner lid that closes the box an has the mail slot.
The idea is to make a detection switch that triggers when the cover is opened.
and another switch that triggers when the inner door is opened.
When the mail is delivered the cover is opened and the mail is dropped through the slot.
The cover switch will trigger and this can start the sending of e.g. an email.
When the inner door is opened the seccond switch could reset the mailbox status.
Could log events to a server. Send message as tweet etc.
( have to get acquainted with the ESP32 first.)
First steps:
- Test wifi connection / range
- Test email sending
- Do breadboard test.
- Find weather proof switches and housing.
Wouldn't it be convenient to know when new mail has arrived?
At home, our mailbox is located at drive way about 10 meters away from the house.
It should be in range of the WIFI network and connect the ESP32
The mailbox has two lids:
The cover: an outer covering lid that shields the mailbox from rain.
The inner door: an inner lid that closes the box an has the mail slot.
The idea is to make a detection switch that triggers when the cover is opened.
and another switch that triggers when the inner door is opened.
When the mail is delivered the cover is opened and the mail is dropped through the slot.
The cover switch will trigger and this can start the sending of e.g. an email.
When the inner door is opened the seccond switch could reset the mailbox status.
Could log events to a server. Send message as tweet etc.
( have to get acquainted with the ESP32 first.)
First steps:
- Test wifi connection / range
- Test email sending
- Do breadboard test.
- Find weather proof switches and housing.
Updates van de auteur
Hijdienooitietsafmaakt 6 jaar geleden
http://www.abrandao.com/2018/04/arduino_esp32_battery_wifi_door_mailbox_sensor/
Hijdienooitietsafmaakt 7 jaar geleden
So looking at the schematics (esp32-pico-kit-v4_schematic.pdf) , there is a zero Ohm resitor (R21) between the PICO chip and Voltage regulator. Actually the resistor is too small to remove so simply made a cut in the board trace between the resistor and the LDO. See attached image.
soldered two jumper pins at both sides of the cut in the trace, in order to disconnect the pico from the regulator and connect it to a battery.
Had to add a capacitor to prevent instability. 10 - 100 uF.
Connected 2 AA 1.5V batteries (3V) to the new pin that goes to the PICO vdd33 and GND. Made some tests using deepsleep. It seems to work.
The lower battery limit should be when the burnout detection is triggered 2.5V?.
Still have to find out suitable settings and do more test.
Hijdienooitietsafmaakt 7 jaar geleden
- I am using the ESP32 PICO V4 Kit (Gracefully received for Elektor)
- First got it working with help of this link https://www.elektormagazine.nl/news/review-aan-de-slag-met-de-espressif-esp32-pico-kit
- Then looking further I tried:
arduino esp32 : https://github.com/espressif/arduino-esp32selected board ESP32Dev (pin out is different but it seems to work.)
- The Arduino examples for ESP32 Dev Module are very usefull:
used e.g. example WiFisScan to find my router and test the range(Near the mailbox there is sigal but it seems very low. -80..-70db )
Googled for esp32 and email and found this:
http://www.instructables.com/id/ESP8266-GMail-Sender/
After a few modifications got it working with ESP32 and Gmail.