Posts

Showing posts from December, 2021

Interfacing Blynk with ESP32

Image
  MOHAMMAD SAIFIQUL AIMAN B MOHAMMAD ALI 192011145 R2427-MICROELECTRONIC ENGINEERING Blynk is a new platform that allows you to quickly and easily design interfaces for managing and monitoring your hardware projects from your iOS or Android device. After downloading the Blynk software and placing buttons, sliders, graphs, and other widgets on the screen, you may construct a project dashboard. Objectives : 1.     configure and interface Blynk with ESP32 2.     How to code and link the Blynk with Arduino IDE TASK 1  Source code :  /*************************************************************   This example shows how value can be pushed from Arduino to   the Blynk App.   NOTE:   BlynkTimer provides SimpleTimer functionality:     http://playground.arduino.cc/Code/SimpleTimer   App project setup:     Value Display widget attached to Virtual Pin V5  ***********************************************************...

MINI PROJECT - AUTOMATIC WATERING PLANT USING BLYNK

Image
  MOHAMMAD SAIFIQUL AIMAN BIN MOHAMMAD ALI 192011145 R2427-MICROELECTRONIC ENGINEERING Have you ever worried about your plant when you are away from them? afraid not as this project will make sure that your plant receives the necessary amount of water with a one-click of your phone. Here's a list of component that you need : ESP32 1CH Active H/L 5V OptoCoupler Relay Module Micro Submersible Water Pump 3v-5v Tube 4xAA Battery Holder C/W Cover 4xAA Battery Jumper Wire Source code : #define BLYNK_PRINT Serial #include <WiFi.h> #include <WiFiClient.h> #include <BlynkSimpleEsp32.h>   // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "YourAuthToken";   // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "YourNetworkName"; char pass[] = "YourPassword";   #define WATER_PUMP 27 boolean state = false;    void setup() {  // Debug console  Serial.begin(960...