How to program esp32 cam using arduinodroid app How to program esp32-cam

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ส.ค. 2022
  • In this video I will show you How to program esp32 cam using arduinodroid app
    If you found this video helpful give a thumps up
    If any suggestions do let me know in the comments.
    In some cases, this might not be the best configuration (when you don't have a router nearby). But if you set the ESP32-CAM boards as an access point (hotspot), you can be connected using any device with Wi-Fi capabilities without the need to connect to your router.
    Circuit Diagram and Aditional boards Manager URLs
    drive.google.com/file/d/1BpCz...
    #ElectronicsTechRG
    #Arduino
    #Esp32cam
    #Esp32
    #Program
    #collegeofengineering
    For more info about us visit:-
    (हमारे बारे में अधिक जानकारी के लिए):-
    Facebook:- / electronicstechrg
    Instagram:- / electronicstechrg
    Channel:- / electronicstechrg
    GitHub:-github.com/Electronicstechrg
    Blog:-dardkiawaj.blogspot.com/?m=1
    Join us as we unravel the world of electronics step by step.
    Don't forget to like, comment, and subscribe for more educational content.
    thanks for watching...:)

ความคิดเห็น • 92

  • @ali.zafar-kilear_2M
    @ali.zafar-kilear_2M 3 วันที่ผ่านมา

    Sir aap konsa phone se program kar rhe ho me re Phone se program nhi ho rha he

  • @qadeer1685
    @qadeer1685 ปีที่แล้ว +1

    Good video

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +1

      Thank

    • @qadeer1685
      @qadeer1685 ปีที่แล้ว +1

      Arduino nano esp32 camera program
      Android software mobile

  • @debasismuduli5010
    @debasismuduli5010 8 หลายเดือนก่อน +1

    Does esp32cam require internet connection for live streaming?
    Or without internet too can it work?

    • @ElectronicsTechRG
      @ElectronicsTechRG  8 หลายเดือนก่อน +1

      Does ESP32-CAM need the internet for live streaming?
      No, it doesn't require the internet to stream video.
      It can work on a local network without internet.
      Can it work without internet?
      Yes, it can work without an internet connection for live streaming.
      You can view the stream on your local network without needing the internet.

    • @debasismuduli5010
      @debasismuduli5010 8 หลายเดือนก่อน

      @@ElectronicsTechRG can you make a video on how to turn ON Access point mode in esp32cam and use phone as client (programming also by using mobile)

  • @deepakdj1988
    @deepakdj1988 3 หลายเดือนก่อน +1

    Nice

    • @ElectronicsTechRG
      @ElectronicsTechRG  3 หลายเดือนก่อน +1

      "Thank you! / Glad you enjoyed it!"

  • @dipankar7368
    @dipankar7368 หลายเดือนก่อน +2

    Bhai mere esp32 module main main code upload Kiya, code upload vhi hogya per serial monitor per IP address nahi show raha 😢 aur usmain likha arahai 495 error please help...

    • @ElectronicsTechRG
      @ElectronicsTechRG  หลายเดือนก่อน +1

      Esp32 module mein IP address na dikhana aur 495 error ka hona usually network connectivity ya code mein kuch issue hone ki wajah se hota hai. Aap ye steps follow karke problem ko solve kar sakte hain:
      1. Serial Monitor Baud Rate:
      - Serial monitor ka baud rate sahi set kiya hai? Default baud rate usually 115200 hota hai, lekin aapke code ke hisab se check karein.
      2. Network Connectivity:
      - Kya esp32 module ko sahi se network se connect kiya gaya hai? Network credentials (SSID aur password) sahi hain?
      - Router ke settings mein koi firewall ya restrictions toh nahi hai jo esp32 ko block kar rahe hain?
      3. Code Errors:
      - Code mein koi syntax error ya logic error toh nahi hai? Ye check karne ke liye code ko carefully review karein aur debugging statements add karein.
      - IP address ko fetch karne wala code sahi tarah se likha gaya hai?
      4. Serial Monitor Output:
      - Serial monitor mein sahi COM port select kiya hai?
      - Serial monitor mein koi error message ya warning show ho rahi hai jo IP address fetch karne mein rukavat create kar rahi hai?

  • @saravanakrishna8231
    @saravanakrishna8231 ปีที่แล้ว +3

    In the final step, after hitting reset on esp32 cam module I am not getting anything on monitor in arduinodroid IDE

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +3

      ssid and password will be some mistake check spelling

    • @saravanakrishna8231
      @saravanakrishna8231 ปีที่แล้ว +1

      @@ElectronicsTechRG thanks for the reply. Yeah I have rechecked but still the same issue. My password contains ‘@‘ special character. Was that an issue?

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +1

      change your Hotspot / Wi-Fi

  • @Elshan_Mammadov_
    @Elshan_Mammadov_ 3 หลายเดือนก่อน +1

    Hello, how can I use this project with a button? For example, sending a photo to the telegram when the button is pressed.

    • @ElectronicsTechRG
      @ElectronicsTechRG  3 หลายเดือนก่อน +1

      To achieve this with an ESP32-CAM, you'll need to program it to capture a photo when the button is pressed and then send that photo to Telegram. Here's a general outline of how you can do it:
      Set up your ESP32-CAM: Make sure you have the necessary libraries installed for your ESP32-CAM, and ensure it can connect to your Wi-Fi network.
      Connect a button: Wire a button to one of the GPIO pins on your ESP32-CAM. When the button is pressed, it will change the state of the GPIO pin, which your code will detect.
      Capture a photo: Write code to capture a photo using the ESP32-CAM's camera module. This could involve using libraries like esp32-cam-telegram or similar.
      Telegram Bot: Set up a Telegram Bot and get the necessary API token.
      Send the photo to Telegram: Write code to send the captured photo to Telegram using the Telegram API. You'll need to use the API to upload the photo and send it as a message.
      Here's a basic example of what the code might look like:
      #include
      #include "esp_camera.h"
      #include
      #define BUTTON_PIN 13 // Change to the GPIO pin connected to your button
      #define CAMERA_MODEL_AI_THINKER // Use appropriate model for your ESP32-CAM
      const char* ssid = "YOUR_SSID";
      const char* password = "YOUR_PASSWORD";
      const char* botToken = "YOUR_BOT_TOKEN";
      WiFiClientSecure client;
      UniversalTelegramBot bot(botToken, client);
      void setup() {
      pinMode(BUTTON_PIN, INPUT);
      Serial.begin(115200);
      camera_init();
      connectToWiFi();
      }
      void loop() {
      if (digitalRead(BUTTON_PIN) == HIGH) {
      captureAndSendPhoto();
      delay(1000); // debounce delay
      }
      }
      void camera_init() {
      camera_config_t config;
      config.ledc_channel = LEDC_CHANNEL_0;
      // initialize the camera module
      esp_err_t err = esp_camera_init(&config);
      if (err != ESP_OK) {
      Serial.printf("Camera init failed with error 0x%x", err);
      return;
      }
      }
      void connectToWiFi() {
      Serial.println("Connecting to Wi-Fi...");
      WiFi.begin(ssid, password);
      while (WiFi.status() != WL_CONNECTED) {
      delay(1000);
      Serial.println("Connecting to WiFi...");
      }
      Serial.println("Connected to WiFi");
      }
      void captureAndSendPhoto() {
      camera_fb_t * fb = NULL;
      // Take a photo
      fb = esp_camera_fb_get();
      if (!fb) {
      Serial.println("Camera capture failed");
      return;
      }
      // Send the photo to Telegram
      String photoName = "/photo.jpg";
      if (bot.sendPhoto(CHAT_ID, fb, photoName, "Photo Caption") == false) {
      Serial.println("Failed to send photo");
      }
      esp_camera_fb_return(fb);
      }
      Remember to replace placeholders like YOUR_SSID, YOUR_PASSWORD, and YOUR_BOT_TOKEN with your actual values. Also, ensure you have the necessary libraries installed and configured properly. This is just a basic example, and you may need to adapt it to fit your specific requirements and hardware setup.

  • @ShubhamKumar-pj6es
    @ShubhamKumar-pj6es 4 หลายเดือนก่อน +2

    Code upload ho gaya par serial monitor open karke reset botton press karne par kuchh nahi dikha raha hai

    • @ElectronicsTechRG
      @ElectronicsTechRG  4 หลายเดือนก่อน +1

      Yeh situation kai reasons se ho sakta hai. Kuch possibilities include:
      1. Baud Rate Mismatch: Serial monitor aur ESP32CAM ke communication ke liye same baud rate set karna zaroori hai. Typically, 115200 baud rate use hota hai, lekin aapne code mein koi aur baud rate specify kiya hoga. Serial monitor ke baud rate ko bhi verify karein.
      2. Correct Port Chuna na: Tools > Port menu se sahi port choose karna important hai. Agar sahi port nahi select kiya gaya hai to communication nahi hogi.
      3. Serial.begin() Function: Code mein `Serial.begin()` function ke through sahi serial communication setup karna zaroori hai. Yeh ensure karein ki sahi port aur baud rate set kiya gaya hai.
      4. Board Settings: Tools menu mein sahi board (ESP32CAM) select kiya gaya hai ya nahi, yeh bhi confirm karein.
      5. Reset Issue: Kabhi-kabhi ESP32CAM ko reset karne par serial monitor mein output show nahi hota. Iske liye aap try kar sakte hain ki code ke starting mein kuch delay daal kar dekhein, taaki serial monitor ko sufficient time mile initialize hone ke liye.

  • @MahadevSing-bx9qs
    @MahadevSing-bx9qs ปีที่แล้ว +1

    Mera module pe camera faild dekha ta hai
    1st.ohi problem and 2nd bhi ohi problems kya karen hum Kon sa order koren

    • @ElectronicsTechRG
      @ElectronicsTechRG  11 หลายเดือนก่อน +1

      Could be network issue or loose connection

  • @sunitakujur6249
    @sunitakujur6249 11 หลายเดือนก่อน +3

    Ip address nhi aa rha or dot dot continue aa rha hai

    • @ElectronicsTechRG
      @ElectronicsTechRG  11 หลายเดือนก่อน +1

      It means your board is not able to connect to network, change some setting of network, check password and user id.

    • @dipankar7368
      @dipankar7368 หลายเดือนก่อน

      Yes Bhai mare sath bhi horaha hai main setting improve kiye per same problem hai 😢

  • @c.s.naveenelectroniclab5330
    @c.s.naveenelectroniclab5330 ปีที่แล้ว +2

    We should give hotspot password in second an I'd in first please tell

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +1

      Your ESP must be connected to Hotspot or Wifi network then only you will be able to watch the video live.

  • @can9977
    @can9977 5 หลายเดือนก่อน +2

    I need to show how conncet arduoino with mobile without usb cable.

    • @ElectronicsTechRG
      @ElectronicsTechRG  4 หลายเดือนก่อน +1

      To connect an Arduino to a mobile device without using a USB cable, you can utilize wireless communication methods like Bluetooth or Wi-Fi. For Bluetooth connectivity, you'll need a Bluetooth module compatible with your Arduino (e.g., HC-05 or HC-06) and an app on your mobile device to communicate with the Arduino over Bluetooth. For Wi-Fi, you can use modules like ESP8266 or ESP32, establishing communication over a local network and controlling the Arduino through a custom app or web interface on your mobile device.

    • @can9977
      @can9977 4 หลายเดือนก่อน +1

      @@ElectronicsTechRG Thanks.

    • @ElectronicsTechRG
      @ElectronicsTechRG  4 หลายเดือนก่อน +1

      You're welcome! If you have any more questions or need further assistance, feel free to ask. Happy coding!

  • @mryash3345
    @mryash3345 8 หลายเดือนก่อน +2

    After hitting the reset button no thing shi in my screen fake

    • @ElectronicsTechRG
      @ElectronicsTechRG  8 หลายเดือนก่อน +1

      If nothing appears on your screen after pressing the reset button, follow these simple steps:
      1. Check Power Supply: Ensure your device has proper power.
      2. Inspect Wiring: Verify all connections are secure.
      3. Look for Errors: Note any error messages or indicator lights.
      4. Review Code: Double-check your device's code and settings.
      5. Use Serial Monitor: If available, check for error messages.
      6. Reflash Firmware: Try reinstalling the firmware.
      7. Inspect Hardware: Look for physical damage or loose parts.
      8. Alternate Reset: Try a different reset method if available.
      9. Read Documentation: Consult the device's manual for help.
      10. Contact Support: If all else fails, contact the manufacturer for assistance.

  • @sk.nurulla7862
    @sk.nurulla7862 5 หลายเดือนก่อน +1

    Hi

    • @ElectronicsTechRG
      @ElectronicsTechRG  4 หลายเดือนก่อน +1

      Hello! How can I assist you today?

  • @azsayyed_uc07
    @azsayyed_uc07 ปีที่แล้ว +1

    esp32 cam me Arduino and wire connect hi rahegi kya

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +1

      You can supply separately from outside, no need to supply from arduino as well

  • @itzboyz3405
    @itzboyz3405 8 หลายเดือนก่อน +2

    in serial monitor its not showing ip address ,its showing continue pls help me

    • @ElectronicsTechRG
      @ElectronicsTechRG  8 หลายเดือนก่อน +1

      If your ESP32 or ESP8266 is displaying "Continue" instead of an IP address in the serial monitor, follow these simple steps to troubleshoot the issue:
      1. Check Your Wi-Fi Configuration:
      Ensure you've correctly provided your Wi-Fi network name (SSID) and password in your code.
      Confirm that your ESP device is within range of your Wi-Fi network.
      2. Verify Serial Baud Rate:
      Make sure the baud rate in your code matches the one set in your serial monitor. The common default is 115200.
      3. Review Your Code:
      Check that your code includes the necessary steps to connect to Wi-Fi and obtain an IP address.
      Ensure you wait for a successful Wi-Fi connection before trying to get the IP address.

    • @itzboyz3405
      @itzboyz3405 8 หลายเดือนก่อน +2

      bro i am trying to connect my esp cam with mobile hotspot will it work or i should buy a wifi router and i add ssid and password correct and code is uploaded but when i go for ip address in serial monitor its showing camera error

    • @ElectronicsTechRG
      @ElectronicsTechRG  8 หลายเดือนก่อน +2

      Try changing the Hotspot settings and check whether the camera is seated correct or not.

    • @itzboyz3405
      @itzboyz3405 8 หลายเดือนก่อน +1

      bro now its showing selected camera not supported 😢😢😢😢😢 and didnot showing any wifi network of esp32 cam when i try to connect esp32 cam

  • @c.s.naveenelectroniclab5330
    @c.s.naveenelectroniclab5330 ปีที่แล้ว +1

    We should on wifi or hotspot

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว

      Your ESP must be connected to Hotspot or Wifi network then only you will be able to watch the video live.

  • @TECHAB254
    @TECHAB254 ปีที่แล้ว +1

    Can I upload code with esp32 camera module

    • @ElectronicsTechRG
      @ElectronicsTechRG  11 หลายเดือนก่อน +1

      To upload code to the esp32 cam board, a separate communication device or communication model is required, which can be uploaded via arduino or ttl communication.

  • @nileshgodhanipatel2211
    @nileshgodhanipatel2211 5 หลายเดือนก่อน +1

    Bro agar me ftdi module se ise program karunga to ye work karega?

    • @ElectronicsTechRG
      @ElectronicsTechRG  5 หลายเดือนก่อน +1

      Haan, FTDI module ka istemal karke aap ESP32-CAM ko program kar sakte hain. ESP32-CAM ek microcontroller hai jo ki Arduino IDE mein program kiya ja sakta hai. FTDI module aksar USB to serial converter ke roop mein istemal hota hai jo ESP32-CAM ke saath communication ke liye upayogi hota hai. Iske saath hi, aapko ESP32-CAM ko program karne ke liye sahi pinout aur baud rate ka dhyaan rakhna hoga.

    • @nileshgodhanipatel2211
      @nileshgodhanipatel2211 5 หลายเดือนก่อน +1

      @@ElectronicsTechRG muje aapka number chahiye

    • @ElectronicsTechRG
      @ElectronicsTechRG  5 หลายเดือนก่อน +1

      Maaf kijiye, lekin mujhe apna number dene ka koi anumati nahi hai. Aap mujhse yahaan chat kar sakte hain aur main aapki madad karne ke liye yahaan hoon. Kya aapko kisi vishesh sawaal ya madad chahiye?

  • @ShubhamKumar-pj6es
    @ShubhamKumar-pj6es 5 หลายเดือนก่อน +1

    Kaun sa aap hai jiske help se coding karenge
    Naam bataiye

  • @karan12729
    @karan12729 ปีที่แล้ว +1

    Ssid kya ,hai,aur apna mobile dusre mobile se wifi connection karna hai kya,ip address show nahi hota hai,

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +1

      Mobile and esp32 cam both must be connected to the same network Hotspot or Wi-Fi

    • @John_Smile
      @John_Smile ปีที่แล้ว

      @@ElectronicsTechRG
      Not !
      I don't have a separate antenna.
      I have the ESP32 board, the one shown by you in the clip .
      But I don't have that blue Arduino board.
      I have a red one as if FTDI USB is also called, and another black board, in which the ESP32 board is inserted.
      I tried with both, but the program does not install. It gives me an error.

    • @karan12729
      @karan12729 ปีที่แล้ว

      @@ElectronicsTechRG ftdi monitor complete hone ke baad ,wapas back ho jata hai.

  • @kidscartoon_00007
    @kidscartoon_00007 ปีที่แล้ว +1

    without Arduino ide to connect Android phone programing how to possible

  • @sohan8583
    @sohan8583 6 หลายเดือนก่อน +1

    It's taking way too much time in serial moniter like about an hour but didn't give ip (am i doing something wrong bro)😅

    • @ElectronicsTechRG
      @ElectronicsTechRG  6 หลายเดือนก่อน +2

      1. Code or Configuration Issue: Check your code and configuration settings. Ensure that the ESP32 is configured to connect to the correct Wi-Fi network and the code isn't stuck in a loop or encountering errors preventing it from connecting properly.
      2. Power Supply: Insufficient power can cause issues with the ESP32-CAM's operation. Ensure you're providing enough power to the module, as it requires a stable power supply, especially during Wi-Fi connection attempts.
      3. Wi-Fi Network Issues: Sometimes, issues with the Wi-Fi network itself can cause the ESP32-CAM to struggle to connect. Try connecting the ESP32-CAM to a different Wi-Fi network or create a hotspot from your smartphone to test if it connects faster.
      4. Serial Baud Rate: Ensure that the baud rate in the serial monitor matches the baud rate specified in your code. Mismatched baud rates can cause communication issues.
      5. Resetting the Module: Try resetting the ESP32-CAM and attempt the connection process again.

    • @sohan8583
      @sohan8583 6 หลายเดือนก่อน +1

      @@ElectronicsTechRG thank you for your help 😇

    • @sohan8583
      @sohan8583 6 หลายเดือนก่อน +1

      Hey bro i did as you told but with a pc i got the ip the video was streaming but it stops after few seconds lik like 8-9
      Then I have to reset and regenerate the ip and same thing happens again and again I even had a 2gigs sd card on the module

    • @sohan8583
      @sohan8583 6 หลายเดือนก่อน +1

      And the video clarity was far worst the one you showed in this video I didn't get like that clarity or speed

    • @ElectronicsTechRG
      @ElectronicsTechRG  6 หลายเดือนก่อน +1

      Try making some changes in the settings, the video will become clear a little, the camera that comes with it is only of three to four megapixels.

  • @John_Smile
    @John_Smile ปีที่แล้ว +1

    I also tried to follow your steps, but it tells me that it doesn't see the "camera"!
    I entered Help.
    I powered the camera board with external voltage, from the phone charger, but it doesn't work either!
    I'm wodering why ?
    Where is the problem?
    Do you have any idea ?

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +1

      If you have a separate antenna, take it out and then upload the code

    • @John_Smile
      @John_Smile ปีที่แล้ว

      @@ElectronicsTechRG Not !
      I don't have a separate antenna.
      I have the ESP32 board, the one shown by you in the clip .
      But I don't have that blue Arduino board.
      I have a red one as if FTDI USB is also called, and another black board, in which the ESP32 board is inserted.
      I tried with both, but the program does not install. It gives me an error.

  • @vipsgmeing503
    @vipsgmeing503 ปีที่แล้ว +1

    The code is not compiling

  • @shiburock1892
    @shiburock1892 4 หลายเดือนก่อน +2

    Brother plz help me I have uploaded code successfully but on serial monitor it is not connecting with wifi showing error esr 1000,

    • @ElectronicsTechRG
      @ElectronicsTechRG  4 หลายเดือนก่อน +2

      The "esr 1000" error on the serial monitor often indicates an issue with the ESP8266/ESP32 WiFi module. Make sure you've correctly entered your WiFi credentials in the code. Additionally, check if your router supports the WiFi protocol (b/g/n) that your module is configured for. If the issue persists, consider reviewing the documentation or forums related to your specific ESP module for more troubleshooting tips.

    • @shiburock1892
      @shiburock1892 4 หลายเดือนก่อน +1

      @@ElectronicsTechRG thank you so much

    • @ElectronicsTechRG
      @ElectronicsTechRG  4 หลายเดือนก่อน +1

      you are welcome! If you have any questions or need assistance, don't hesitate to ask.

    • @shiburock1892
      @shiburock1892 4 หลายเดือนก่อน +1

      Yes again showing flash read error 1000 😔

    • @ElectronicsTechRG
      @ElectronicsTechRG  3 หลายเดือนก่อน +2

      The "Flash read error 1000" in ESP32Cam often indicates an issue with reading from the flash memory. It could be due to various reasons, such as corrupted firmware, improper wiring, or faulty hardware.
      Here are a few steps to troubleshoot:
      1. Check Wiring: Ensure that the connections between the ESP32Cam and other components are correct. Double-check power, ground, and data connections.
      2. Update Firmware: Make sure you have the latest firmware for your ESP32Cam. Sometimes, updating or re-flashing the firmware can resolve such issues.
      3. Power Supply: Ensure that the ESP32Cam is receiving a stable and sufficient power supply. Instability in power can lead to read errors.
      4. Replace Flash Memory: If the issue persists, it might be a hardware problem with the flash memory. Try using another ESP32Cam or replace the flash memory chip.
      5. Reformat Flash: If you have access to tools like esptool.py, try erasing and reformatting the flash memory.
      Remember to take precautions while handling hardware components and follow the manufacturer's guidelines for your ESP32Cam module.

  • @dabhichandresh6128
    @dabhichandresh6128 ปีที่แล้ว +2

    Sir 'SSID' konshi dalneki?

  • @AjitRandom
    @AjitRandom ปีที่แล้ว +1

    "Nice video👌
    Dost ...Agar channel ko fast grow karna hai to mene Kuch video banaye hai mere channel pe.. Hope aapko ko help mil jayegi wo video se"......

    • @ElectronicsTechRG
      @ElectronicsTechRG  ปีที่แล้ว +1

      Thanks

    • @ElectronicsTechRG
      @ElectronicsTechRG  หลายเดือนก่อน

      It's great that you're creating videos for your channel! Consistently creating engaging content is key to growing your channel. If you need any tips or advice on improving your videos or channel growth strategies, feel free to ask!