Android Phone Controlled 2 Pomp Smart Plant Water System
by turkyilmazozkan in Circuits > Electronics
541 Views, 5 Favorites, 0 Comments
Android Phone Controlled 2 Pomp Smart Plant Water System
my wife love flowers , but when we are goint holiday our flowers died . we give some one to take care for flower , no body doesnt care our flower like us .
that is why i combine all my skills for this problem . i developed a multi pump system with node mcu , but i dont want this project only solve my problem . I want to desing end of product every users can use this device ,Every user can configure setting with mobile applications. The device must be work without human intervention , will take the weather into consideration .
Supplies
- 3D Printer ( I Use Ender 3 V2 ),
- Node Mcu
- LM2596HVS Step Down (You dont need if you use 5V Pomp )
- 5V 2 Channel Delay Module
- 2x 2 Color Led ( Red and Green )
- 6x6 Button
- 3x 2 in Power Connectör
- IC-257 Power Connector 2.1 mm
- 5 V Power
- 2x 6V Water pomp (if you have big garden , you can select 12V )
- pipes as you wish suit of pomp
- soldering machine
- board for combine all thinks
- slicone machine
- m3 screw and nut
- cables
- compas
Smart Pomp Module
The device at first time run , changed wifi mode as a wifi access point . my android application connect device wifi then add device to main screen.
my node mcu module control 2 channel delay module . ı use 2 color leds for show to user wifi connection status , and mqtt server connections status . if device have any connection error the leds show red light to user .
if user changed wifi password or moving new place , user can reset device . Reseted device can add to mobile application .
When the pump is first turned on, it operates in AP mode and broadcasts Wi-Fi. The device ip adress 192.168.4.1 . The mobile application connect device Wifi with username and password . Then user select wifi ssid and wifi password with the mobile application . The Device save settings as json file into Litle File System on device . The Device goint to restart. Then the device connect to internet . And user Can see own device as online in mobile application.
After this, the user can assign a scheduled task to the the device if he/she wishes, and it will work automatically at the required times and dates .
If you move or your Wi-Fi password changes, pressing the reset button on the device for 5 seconds will reset the settings.
you can find nodemcu codes here
Mobile Application
users can create their own accounts . They can add their own smart devices with the accounts they create . Users can start engines instantly or create scheduled tasks. It has not been tested yet, but it has been developed so that if it is raining in the location where the smart device is located, no irrigation will be performed. because it was summer it didn't rain.
What is FireBase Why we need ?
Firebase is a product of Google . firebase store our user account data , and device informations . firebase protect user data by encription . we can use as a free until 2 GB data . But our project doesnt use big data , it will enough for our application.
What is MQTT , Why we need ?
Mqtt is a protocol for IOT (internet of thinks ) devices . it is support realt time receiving and sending messages . in our project use free account on mqtt servis https://www.emqx.com . it is support 1000 connection as free . we can get sensor datas or we can trigger engines with mqtt protocol .
3D Parts
i created 3 parts with thinkercad . i write white pla flament.
End of Result
I hope you had fun reading it.I would be very happy if you learned something from this project. I learned a lot from this site, thank you to all the authors.