World’s smallest IoT project
IoT a.k.a. Internet of Things (IoT) was introduced in June 22, 2009 by Kevin Ashton. It is essentially a network of smart devices that can communicate with each other using the internet despite the devices/users being at remote locations.
It has been for long that IoT has revolutionized the field of electronics. Every day numerous projects are made utilizing IoT. We are showcasing the world’s smallest and simplest IoT project. It involves an IoT button with rechargeable battery (dimension of 4 x 2 x 1 cm).
Components required
- ESP8266 01 module
- 200 mAh LiPo battery
- TP4056 battery charging module
In order to program the ESP-01 module, you would need a USB to TTL converter module or your Arduino board to program the little Wi-Fi module. The connection using USB to TTL converter is shown below:
Drivers are to be installed for the USB to TTL converter.
Programming
- The deepSleep() function is used to ensure that the code consumes only 10 uA current.
- Once the message is published to the topic, the modules enter deep sleep mode to increase the battery life to 3 days.
- When the code is uploaded, the module requests API from a channel of IFTTT called MAKER
- We can perform the required task whenever the link is requested irrespective of the location.
- All the components including the battery, its charging module are soldered into their respective positions.
Below shown is the circuit
Please Note
- You don’t need to reprogram as the changes in the code are structured in such a manner
- Application of the button, Wi-Fi access point name and password can be easily changed
- Program it once and you are done forever
Applications
Below mentioned are some of the applications of the project:
- Amazon Dash Button
- Sending emergency SMS on any number
- Controlling Appliances
- Opening your garage door
- Playing music on your phone