Smart IoT Postbox with Arduino, ESP-01, and idIoTware Shield

1714
2

When you are waiting for a very important letter to come, it’s really bothersome to go and check the post box again and again. The problem gets worse when you are not at home and anxiously thinking if the letter arrived or not. Well, now IoT or Internet Of Things is your savior.

Following this project by CuriosityGym, you can make your own smart IoT post box that sends you an email as soon as a letter is dropped into it.

Requirements :

  1. Arduino UNO
  2. idIoTware shield
  3. USB cable (A to B)
  4. Esp 8266 – 01 programmed with ESP-link firmware
  5. One jumper
  6. One Postbox (You can make it yourself)
  7. External 9v 1A Power adapter
  8. Double sided sticky tape
  9. Arduino UNO code (Download it)

Description :

The concept is not complicated at all. The idIoTware Shield has a set of RGB LED and an LDR. The RGB LED always emits white light and it’s received by the LDR. As soon as a letter is dropped, there is an interruption in light. The change in light intensity is sensed by LDR and processed by Arduino. Finally, ESP 8266 connects to IFTTT network and sends an email to a saved email ID.

IdIoTware Shield For ArduinoUNO
idIoTware Shield For Arduino UNO

IFTTTIFTTT is a free web-based service that allows users to create chains of simple conditional statements, called “applets”, which are triggered based on changes to other web services such as Gmail, Facebook, Instagram, and Pinterest. IFTTT is an abbreviation of “If This Then That”.

This can be explained using a simple analogy: “If the battery is empty then charge it”.

Watch this video for more information on IFTTT.

Procedure :

Simply place the idIoTware shield on Arduino UNO and Connect the esp8266(01) module to the ESP-01 header on the top right, such that the antenna is facing outside (See the image given below). It’s important to connect a jumper to CH_PD pin on the shield.

Smart IoT Postbox using Arduino and IdIoTware Shield
Smart IoT Postbox using Arduino and IdIoTware Shield

To make an IFTTT applet, go to IFTTT.com and make an account. Then, you need to make an applet as “If Maker then Gmail“. So, select Maker by searching and add your Maker channel (in URL field). Now, search for Gmail and select it. Define whom to and what to mail. Finish your applet, and you are all set.

Finally, upload the code to Arduino UNO. Once the code is uploaded,  place the Arduino with double sided sticky tape inside the post box. Don’t forget to insulate the Arduino from metallic body of the postbox.

Testing :

Power the Arduino from a 9V adapter and connect it to a serial monitor. Now post a letter in the postbox and you will see the message “New Letter!!” in the serial monitor. When you check your email you will find a mail saying the same.

For a better understanding, watch the video:

About Rik

Myself Rik and I am founder of Riktronics. I study Electronics and Communication Engineering in IIE. My hobby is playing with electronics and making various projects, mainly about embedded systems. Love to do coding, and making tutorials about electronics/programming. Contact me in any need at abhra0897@gmail.com My blog : riktronics.wordpress.com

2 Response on “Smart IoT Postbox with Arduino, ESP-01, and idIoTware Shield

Leave a Reply