A self watering plant system using an ESP32 microcontrolle

A self watering plant system using an ESP32 microcontrolle

This project aims to create a self watering system using an ESP32 microcontroller, various hardware components, and a mobile device running a React Native Application. Users will be able to monitor soil moisture level, temperature, and humidity on their mobile device. The microcontroller will communicate with the mobile device using MQTT protocol through an AWS IoT MQTT Broker. All data will be store on an Amazon RDS database.

PlantESP

Introduction

This project aims to create a self watering system using an ESP32 microcontroller, various hardware components, and a mobile device running a React Native Application. Users will be able to monitor soil moisture level, temperature, and humidity on their mobile device. The microcontroller will communicate with the mobile device using MQTT protocol through an AWS IoT MQTT Broker. All data will be store on an Amazon RDS database.

Screenshot 1 Screenshot 2

Software Architecture

Screenshot 3

This project uses MQTT protocol to facilitate communication between the ESP32 and the MQTT broker running on AWS IoT Core. The ESP32 will send/receive commands and sensor data to the broker using the topics esp32/pub and esp32/sub. The AWS IoT Core will interpret the MQTT message and send the data to one of two AWS Lambda functions representing each topic. The Lambda functions will either send a MQTT message back to the ESP32 or will communicate with the GraphQL server. The GraphQL server will make requests to the AWS Relational Database Service (RDS) to store sensor data in a MySQL database.

Prerequistes

You will also need XCode to run the React Native application using React Native CLI

To run the React Native App after installing Homebrew using the instructions outlined in https://facebook.github.io/react-native/docs/getting-started

brew install yarn
brew install node
brew install watchman
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk8
npm install -g react-native-cli

Next, install the dependencies of the React Native App.

cd ReactApp && npm install

Then, install the iOS dependencies using CocoaPods.

cd ios && pod install

Run the Metro Bundler

npx react-native start

Then run the iOS Simulator

npx react-native run-ios

Part List

  • ESP32 microcontroller
  • DHT 11 or DHT 22 Temperature Sensor
  • 10k Ohm resistor
  • Capacitive Soil Moisture Sensor
  • 3-5V Submersible Water Pump
  • 3V Relay
  • External Power to the pump such as 2 AA batteries.
  • Jumper wires
  • Breadboard

Download Details:

Author: zdeluna

Source Code: https://github.com/zdeluna/PlantESP

react-native react mobile-apps

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

React Native Mobile App Development

Skenix is providing React Native Development Services with qualified React Native App Developers. Get the best React Native App Development Services.

How React Native Is Shaping Mobile App Development

Are you a mobile app developer looking for more efficient tools for your projects? Mobile app development is getting tougher and tougher as the market continues to grow. As a developer, you need to develop Apps which meet the demands of your users. To achieve this, adopt the right tools, like the React Native development framework.

Top React Native Mobile App Development Companies in USA

Looking for top React Native mobile app development company in USA for Startups & Enterprise? Find out the top list of React Native mobile app development company in USA.

Which is the best React Native app development company in New York?

Hire top react native app development company in New York to build and develop custom react native mobile apps for Android & iOS with the latest features.