ESP32-CAM AI Thinker how to upload in Arduino, no adapter!

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • ESP32-CAM AI Thinker how to upload in the Arduino IDE without an adapter. We can replace this with the Arduino uno as the USB to TTL adapter
    ESP32 setup & intro: • Sparkfun ESP32 thing I...
    All my code will be available on my Patreon page:
    / 24395674
    www.patreon.com/asali
    Links:
    robotzero.one/esp32-cam-ardui...
    cordobo.com/2300-flash-esp826...
    github:
    github.com/espressif/arduino-...
    preferences link:
    dl.espressif.com/dl/package_e...
    Aliexpress ESP32-CAM:
    goo.gl/2DFBX7
    Seeed's ESP32-CAM:
    goo.gl/14Ra1y
    Credits:
    Music:
    Classique - Francis Preve
    Thumbnail & video icon's:
    Licensed by creativecommons.org/licenses/b...
    Arrow icon by www.flaticon.com/authors/lyolya

Комментарии • 168

  • @leonsiemon-wenzel9042
    @leonsiemon-wenzel9042 4 года назад +2

    For me it works fine. I love this tutorial and it really helps me out to get this board running, after 2 days of failure. Just thank you.

  • @gaurideshpande8858
    @gaurideshpande8858 4 года назад

    Thank you much! i had failure in using it with FTDI. Worked now!

  • @MachineFunda
    @MachineFunda 5 лет назад

    Nice video hope your channel will grew fast

  • @HarshitSingh-mg7zt
    @HarshitSingh-mg7zt 2 года назад

    worked like a charm man! Thanks!

  • @andrewkoval1916
    @andrewkoval1916 5 лет назад

    Another great video. Thanks! All worked perfectly.

    • @asali-channel
      @asali-channel  5 лет назад

      Happy to hear everything is working out perfectly for you! :)

  • @Telboy-fv8ke
    @Telboy-fv8ke 5 лет назад

    Great tutorial, worked first time. Thank you

  • @tektronix475
    @tektronix475 3 года назад +1

    it worked 4 me with arduino nano. thanks!

  • @DH-ls9qv
    @DH-ls9qv 4 года назад

    THANK YOU ASALI!!

  • @croydon21H
    @croydon21H 4 года назад +1

    would it be possible to elaborate on connections without a breadboard @1:27 . where is yellow rest going to? and what is the yellow [GPIO or D01 or whatever that is], where is the ground from Uno going [assuming ground on esp32], similarly black loop of esp32 ground

  • @mouneermahomed5288
    @mouneermahomed5288 5 лет назад +1

    Heyy! Can you explain me why we must connect the RX pin of the ESP to the RX of the arduino?

  • @marcoiacomino3253
    @marcoiacomino3253 4 года назад

    do I have to disconnect the GPI0 and press the reset button every time I want to use the camera and the esp32 or is it enough only the first time?

  • @gordonpayne8601
    @gordonpayne8601 4 года назад

    HI again:
    Today, I'm having no luck with any of the 3 ESP32Cams I have. I am able to upload the code and I did make all the edits to the sketch as you directed. However, I have to keep the Reset pin on the arduino grounded to the ESP32 all the time or else the ESP32 won't reboot.
    When it does reboot, it won't broadcast the IP address unless there is NO web browser attempting to view the webpage. I have to close any browser tabs and do a reboot.
    Then, the camera starts, shows it's target in the browser but then crashes and it won't come back.
    Any suggestions?
    Thank you for your help.

  • @ssaniljainn
    @ssaniljainn 4 года назад +1

    Hey, my code is getting uploaded, but when i press the reset button, this seems to come instead of the actual thing that is supposed to come. any clue, what is it about?
    ets Jun 8 2016 00:22:57
    rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
    waiting for download

  • @nomi3d
    @nomi3d 4 года назад

    Thanx sir

  • @TheOldKid
    @TheOldKid Год назад

    Any idea if this code will work with the esp32 s3 wroom?

  • @donstratton1401
    @donstratton1401 5 лет назад

    Good video! I have been dying to play with the new ESP camera boards, and this certainly helps! Video editing suggestion: the audio is WAAAAY too low, which you could fix in editing by using compression and normalization.

    • @asali-channel
      @asali-channel  5 лет назад

      Thank you and yes I have tried normalization but everytime I try it with my current mic, my voice gets all weird n stuff and only makes it worse for some reason :/

    • @donstratton1401
      @donstratton1401 5 лет назад

      You may need to compress your audio first, so that the difference between the loudest and quietest sound is smaller, and THEN run it through normalization, which *generally* only increases the entire audio track to the maximum volume it can before clipping, and it *generally* does this by scanning the audio track, finding the loudest point, and raising the gain until it is at maximum before clipping (which can be close to useless without properly squashed dynamic range).

    • @asali-channel
      @asali-channel  5 лет назад

      Thank you so much for your response, I will try my best to accomplish this next week when I start working on a new video!

  • @mohamadrofiq8854
    @mohamadrofiq8854 4 года назад

    Thanks bro....it's working....

    • @asali-channel
      @asali-channel  4 года назад

      Great to hear it worked out for you!

  • @afifahtrielestari2637
    @afifahtrielestari2637 2 года назад

    sir, if i turn on face detection and face recognition, serial print is "dl_matrix3du_alloc failed". may you help me please?

  • @altanigrum6448
    @altanigrum6448 Год назад

    Using an FTDI programmer. Board says ESP-32S (no mention of AIThinker).
    Tried what you did but it says:
    "A fatal error occurred: Failed to connect to ESP32: No serial data received."
    FTDI VCC -> 5V ESP (jumper of FTDI set to 5V)
    RX -> TX
    TX -> RX
    GND -> GND
    GPIO0 of ESP -> GND ESP
    Flash frequency, upload speed, partition all exactly same as yours.
    Held the reset button while 'Connecting....' was being displayed.
    Kindly help me out.

  • @herrh1809
    @herrh1809 4 года назад

    I cant get mine to work, in serial Monitor it loads the first part with flash boot etc etc, then seems to be in a loop, as if trying to connect, tx on my arduino is constantly flashing so i presume its trying something however seems to be taking forever. Help please
    also i dont have an AI Thinker, mine is a esp32s2, do i still leave it on the same setting?

  • @zafrinasham6680
    @zafrinasham6680 4 года назад +1

    When i uploaded code error showing:Board ewp32wrover ( platform esp32, package esp 32) is unknown
    Error compiling for board esp32 wrover module... Plss help me to do ths

  • @MrAliusman73
    @MrAliusman73 5 лет назад

    can it recognize deck of cards or different colorled shapes or different currency notes

  • @tazmahv
    @tazmahv 3 года назад

    Hello, first of all thanks for the video
    now sorry for my ignorance, but where do I get the bookstores from
    SOC / SOC.H
    SOC / RTC_CNTL_REG.H
    I'm new, I don't understand, thank you very much

  • @gordonpayne8601
    @gordonpayne8601 4 года назад

    Please disregard my previous post. All's good. 1. I replaced the Uno with a Nano and the reset issue is no longer happening. 2. I noticed that the Ipex antenna is the default antenna so I was getting no consistent connection to my router. I put another router right next to it and joined it and all's nice and solid and steady. Thank you again for your great video!

    • @asali-channel
      @asali-channel  4 года назад

      Great to hear things worked out for you!

    • @gordonpayne8601
      @gordonpayne8601 4 года назад

      @@asali-channel Just out of curiosity, do you know why it's not possible to get Serial Monitor messages from the ESP32 unless you have the RST pin on the ARDUINO connected to ground? If I disconnect the RST pin on the Arduino from GND once I've done the upload, disconnected IO0 and pressed RESET on the ESP32, the sketch runs correctly, but Serial Monitor messages do not appear. But if I connect RST back to GND on the Arduino I see the Serial Monitor messages. Thanks Asali

  • @markoolpsp
    @markoolpsp 3 года назад

    Please help, no matter what i do, windows or mac, I cannot find the ESP32 library under examples. It appears under "INCOMPATIBLE" and I cannot compile from there. Any advice? Thanks!

  • @riderrossman161
    @riderrossman161 4 года назад +6

    what if your board says "esp 32 s?"

  • @matthewlee546
    @matthewlee546 3 года назад

    I have the esp 32-s on the Arduino its says DEV module but when I verify code it says its to big would it be the chip

  • @ser7ser7i
    @ser7ser7i 3 года назад

    thank you

  • @teekokchuen542
    @teekokchuen542 4 года назад

    Hi, Asali thanks for your tutorial.
    I followed the steps from your video and success to get the ip address, but I couldn't reach the site. Why is that happening?

  • @abcorp7788
    @abcorp7788 5 лет назад

    it workss!!! thankyou so much..i wonder how to program esp 32 cam using 2 dc motor + Cam without adapter(making an RC car..camera)

    • @asali-channel
      @asali-channel  5 лет назад

      Perhaps you can check out this video, here I used an Arduino Uno but the schematic and code is pretty much the same: ruclips.net/video/cYAPK7xoISE/видео.html

  • @swapnilmathur15
    @swapnilmathur15 2 года назад

    Hello Sir, thank you for the amazing video. I don't have the esp32 AI thinker module. Instead it is "esp 32 s". Could you please guide me on how to upload the code to this module?

  • @stewartrodgers9710
    @stewartrodgers9710 3 года назад

    The dots keep goin across the serial monitor it downloads the top part of code then dots no url link can you help

  • @AbhinavMishraA-wc3ky
    @AbhinavMishraA-wc3ky 2 года назад +1

    Hello sir! I loved the way you explained! But I have a small error while compiling the sketch which is "collect2.exe" please help me out sir! It's really urgent!

  • @ManuS-xu7oh
    @ManuS-xu7oh 2 месяца назад

    The rx and tx is not blinking and I tried ttl adapter and facing same problem says A fatal error occurred: Failed to connect to ESP32: No serial data received.Please help me

  • @stephentete1211
    @stephentete1211 4 года назад

    I'm getting this error "Board esp32wrover (platform esp32, package esp32) is unknown"
    "Error compiling for board ESP32 Wrover Module"
    It's been days now, can I get an idea how to go about it
    Please

  • @spex357
    @spex357 3 года назад

    After pressing the reset button my two esp32's print out the info then a never ending line of dots starts instead of the wireless starting up.

  • @mschaffer2826
    @mschaffer2826 5 лет назад +1

    Thanks for the video. How do you connect to the camera when not on the same wifi network?

    • @asali-channel
      @asali-channel  5 лет назад

      Well it's being streamed to a web server so you can't connect to the camera without being connected to the same network but you could stream it to something else than the web server but unfortunately I'm not used to streaming data like this

  • @coolsyedify
    @coolsyedify 4 года назад

    Can i use nodemcu to program esp32 cam

  • @rizkiadisaputra5971
    @rizkiadisaputra5971 5 лет назад

    how to get JPG from esp camera and import that image to my server?

  • @mateusgandara5925
    @mateusgandara5925 5 лет назад +1

    Hey! Do you happen to know if I can replace the Arduino Uno with an ESP32 board?

  • @Wilson-qh4rh
    @Wilson-qh4rh 4 года назад

    I newd it for experiment

  • @iaor5842
    @iaor5842 4 года назад

    I'm getting this error : Camera init failed with error 0x20001 . What should I do ?? Also how can i control a sevo motor with face recognition .😟😣😥😌

  • @dskvr7147
    @dskvr7147 4 года назад

    SCCB_Write [05]=01 failed
    [E][camera.c:1054] camera_init(): Failed to set frame size
    [E][camera.c:1104] esp_camera_init(): Camera init failed with error 0x20002
    Now this error in the serial monitor

  • @gspowersolutions
    @gspowersolutions 5 лет назад

    Thanks for sharing your experience with us.

    • @asali-channel
      @asali-channel  5 лет назад

      You're welcome! If you have any tips for my videos then feel free to let me know!

  • @bling9g
    @bling9g 5 лет назад

    hi! thanks for the tutorial
    but i have an error
    exit status 1
    invalid conversion from 'const char*' to 'char*' [-fpermissive]
    what can i do?

    • @DoubleOBond
      @DoubleOBond 5 лет назад

      Don't save your file to another folder. Had this issue as well. Just modify the example code and upload directly.

  • @joelbenjaminj8432
    @joelbenjaminj8432 4 года назад

    hey i got an error like camera init failed with error with 0x20001

  • @giseric3249
    @giseric3249 3 года назад

    I ha ve a fatal error occurred failed to connect timed out waiting for packet header

  • @shaikhmohammadyusuf9018
    @shaikhmohammadyusuf9018 3 года назад

    I can't find Avr isp in programmer ! What should I do now ? I tried a lot, but I am getting that Avr isp.

    • @1udde1und
      @1udde1und 3 года назад

      Download arduino 1.8x

  • @roninfyc
    @roninfyc 3 года назад

    I'm facing this problem :
    [camera.c:1113]camera probe(): detected camera not supported.
    [camera.c:1379]esp_camera_init():camera probe failed with error 0x20004.
    Anybody can help ?

  • @technocrat9984
    @technocrat9984 3 года назад

    I can't find avr programer option

  • @slashnine
    @slashnine 5 лет назад

    where is your link to copy???????

  • @ransan9014
    @ransan9014 4 года назад

    When opening Browser I get ERR_CONNECTION_TIMED_OUT can anyone help me? Tried Chrome, Explorer, Edge and Safari. All else works as the video shows.

  • @tee-tech-old62
    @tee-tech-old62 5 лет назад +1

    Nice Chanel

  • @adityakanakamalla8979
    @adityakanakamalla8979 4 года назад

    I'm not getting up address in serial monitor ...I'm getting different language that is not readable

  • @jeevanh9005
    @jeevanh9005 4 года назад

    A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x5B)
    A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x5B)
    hello sir i am getting this error when i was uploading it using TTL converter please help me

  • @gordonpayne8601
    @gordonpayne8601 4 года назад

    Thank you SO MUCH for such a straightforward and clear tutorial. It worked the first time! Your wiring diagram was great and instructions were very clear. I'd ultimately like to build a robot with the ESP32 that I can drive remotely. So if you have any resources that show how to modify the HTML interface so I can send single character commands via button pushes to drive the robot, those resources/links would be appreciated. Thank you again for a great tutorial!

  • @DoubleOBond
    @DoubleOBond 5 лет назад

    Getting the following error:
    FindFirstFile C:\Users\******\AppData\Local\Temp\arduino_cache_881817: The system cannot find the file specified.
    Error compiling for board ESP32 Wrover Module.

    • @DoubleOBond
      @DoubleOBond 5 лет назад

      Restarting the IDE fixed the issue.

  • @prathameshyadav1882
    @prathameshyadav1882 3 года назад +2

    i can't see “AVR ISP” in my programmer option.

    • @berkokten1264
      @berkokten1264 3 года назад +1

      hi, same problem here, did you fix it?

    • @vibhorsrivastava5281
      @vibhorsrivastava5281 3 года назад

      @@berkokten1264 HI BOTH, I am facing he same problem . please help.

  • @udandobar
    @udandobar 4 года назад +4

    When i uploaded almost done but warning like "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    ." What's wrong with this??
    Please help, from Indonesia.

    • @FactsAndEntertainment
      @FactsAndEntertainment 4 года назад

      Getting the same error

    • @RakshithPrakash
      @RakshithPrakash 4 года назад

      wheni used it 6 months ago it had worked, now im getting same error

    • @EmilNicolaiePerhinschi
      @EmilNicolaiePerhinschi 4 года назад

      try a smaller baud rate instead of the default 921600 ... for me it worked only with 115200

    • @mipeliculas
      @mipeliculas 4 года назад

      With NO failure, every time I get that error, wiggling the wires to make sure they are all connected properly fixes it!!! Check your connections.

    • @Fiverearning220
      @Fiverearning220 2 года назад

      Any help how you solve this problem

  • @mipeliculas
    @mipeliculas 4 года назад

    Hi there, and thank you for educating us. I have been struggling with this same setup. My ESP32 seems to be rebranded board, which I bought (out of ignorance) from Amazon. It is exactly line the Thinker you showed in your video, except the word Thinker. So, I tried all the models listed in the sketch, and I still get the same message (see below). I made the changes you suggested, still not working. I changed WIFI.h to ArduinoWIFI.h and I added these two libraries.
    #include "soc/soc.h"
    #include "soc/rtc_cntl_reg.h"
    I still get this message:
    ets Jun 8 2016 00:22:57
    rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
    waiting for download
    ets Jun 8 2016 00:22:57
    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:2
    load:0x3fff0018,len:4
    load:0x3fff001c,len:1216
    ho 0 tail 12 room 4
    load:0x40078000,len:9720
    ho 0 tail 12 room 4
    load:0x40080400,len:6364
    entry 0x400806b8
    [E][camera.c:1049] camera_probe(): Detected camera not supported.
    [E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
    Your thoughts, please. Thank you, Mac

    • @tomsgrinbergs8020
      @tomsgrinbergs8020 4 года назад

      Have exactly the same error, did you manage to resolve it?

    • @mipeliculas
      @mipeliculas 4 года назад +1

      @@tomsgrinbergs8020 I did not find the error. I ordered a different module (AI Thinker) and it worked. In the meantime, I suspect a different pinout in the various ESP32 modules. I just returned them for refund.

  • @mr.mythoclast4451
    @mr.mythoclast4451 5 лет назад

    got it working now

    • @asali-channel
      @asali-channel  5 лет назад

      Great to hear, sorry for the late response!

    • @mr.mythoclast4451
      @mr.mythoclast4451 5 лет назад

      @@asali-channel thanks for your reply. What is the problem if i have a vertical green Bar in the picture?
      Do you know if it is soft or Hardware related?!

    • @asali-channel
      @asali-channel  5 лет назад

      @@mr.mythoclast4451 Never encountered this problem or heard of it either, is it only one vertical green bar or multiple across your picture?

    • @mr.mythoclast4451
      @mr.mythoclast4451 5 лет назад

      @@asali-channel it is always one Bar there and always on the same position

    • @asali-channel
      @asali-channel  5 лет назад

      Then I don't know... Otherwise it could've been your power supply but I'm not sure now

  • @AA7Productionz
    @AA7Productionz 3 года назад

    the programmer option is empty for me

  • @diegx299
    @diegx299 5 лет назад +1

    Is there a way to modify the server page?

    • @asali-channel
      @asali-channel  5 лет назад

      If you mean the HTML page then yes there is, I advise you check out this tutorial, good luck!
      ruclips.net/video/ZAQwjF4Twbk/видео.html

  • @maheshmurugan5527
    @maheshmurugan5527 3 года назад

    It doesn't showing me ip address to connect

  • @garrockwaters304
    @garrockwaters304 3 года назад

    IDE will not see either the cameras, the ttl or the UNO boards in Windows 10 or Raspberry OS. ! No available ports.

  • @opioasde
    @opioasde 4 года назад

    Guys please note you need to bring all the files from the eap32 cam folder in the Same folder else you will waste your time in solving the camera_pins.h missing issue for 6 hours.. available in github

  • @Obamjur
    @Obamjur 5 лет назад

    Hi Mr., first of all thank you for this video tutorial. Unfortunately I got this error running Arduino IDE on Linux Mint : Arduino: 1.8.9 (Linux), Placa:"ESP32 Wrover Module, Huge APP (3MB No OTA), QIO, 40MHz, 115200, None"
    Traceback (most recent call last):
    File "/home/oscar/.arduino15/packages/esp32/tools/esptool_py/2.6.0/esptool.py", line 35, in
    import serial.tools.list_ports as list_ports
    ImportError: No module named serial.tools.list_ports
    exit status 1
    Erro compilando para a placa ESP32 Wrover Module
    I have no idea what that means. If you can help me I'll appreciate, thanks!

  • @meigianwar3724
    @meigianwar3724 5 лет назад

    Do you have know error' ini serior monitor esp_camera problem failed with error' 0x20004

    • @petermulski3789
      @petermulski3789 4 года назад

      I have the same error, did you got any solution ?

  • @bigendertroll
    @bigendertroll 4 года назад +1

    the arduino ide cant kompile for esp wrover for me... pls help

    • @mattivirta
      @mattivirta 4 года назад

      same me not can compile, alltime error in apps httpd.cpp in file have text lot error. code has totally wrong write, idiot maybe has write this code. ewery row have error. different error if use board version 101 or 102 or 104.

  • @1udde1und
    @1udde1und 3 года назад

    If you cannot select programmer, download an older version of Arduino IDE. After 1.8x the programmer is only selectable when burning bootloader.

  • @mustaphanakbi3250
    @mustaphanakbi3250 5 лет назад +1

    my board d'ont wok for me until i change alimentation to 3.3V instead of 5V

    • @gagansharma28
      @gagansharma28 4 года назад

      Thanks it worked, Just use 3.3v instead of 5v from arduino uno board.

  • @Ahmad-jh7mk
    @Ahmad-jh7mk 5 лет назад

    [E][camera.c:1049] camera_probe(): Detected camera not supported.
    HELP!

    • @nopparuj
      @nopparuj 5 лет назад

      Make sure you select the correct camera module in the sketch. Most of them are Wrover.

  • @rafeyataullah7586
    @rafeyataullah7586 3 года назад

    it just gives me fatal error please help me

  • @jasrocha
    @jasrocha 5 лет назад +3

    The ESP32 requires a 3.3V power supply and 3.3V logic levels for communication. The GPIO pins are not 5V tolerant! If you want to interface the board with 5V (or higher) components, you’ll need to do some level shifting.

    • @asali-channel
      @asali-channel  5 лет назад +3

      Then please explain to me the power supply on the bottom of page two, second to last on this datasheet of the ESP32-CAM: goo.gl/bzoySC

    • @mattivirta
      @mattivirta 4 года назад

      esp32 have input 5Volt and 3,3volt both can use power to esp32 board. same power need be ftdi programmer too, 5volt normal used. ftdi to 5v pin to esp32.

    • @infinitepower6780
      @infinitepower6780 Год назад

      The AMS1117 is a power regulator. It's OK to use 5v as long as it's the pin labelled "5v"

  • @nimaamini9038
    @nimaamini9038 4 года назад

    Finally! the only tutorial that uploaded the code for me!!! I have an arduino Uno and a Wrover esp32cam. But the "only" problem is that it doesn't work yet :( I get this error in serial monitor:
    [E][camera.c:1049] camera_probe(): Detected camera not supported.
    [E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
    what's wrong now?

    • @sopyvengers4616
      @sopyvengers4616 4 года назад

      haii nima, can u sent here the full coding of this esp32 cam ?

    • @nimaamini9038
      @nimaamini9038 4 года назад

      @@sopyvengers4616 I don't realize if you're trying to help me with my problem, or just asking the code because you couldn't upload it yet.
      Anyways, I did whatever Asali said in the video and it worked. My problem was solved by uncommenting the Ai thinker model and commenting the Wrover model (mine is a Wrover, but I had to comment this model 🤷‍♂️)
      🔴🆕️ My new problem is that if the esp32cam gets disconnected it won't reconnect to the router/hotspot/network automatically and I have to reach the esp32cam and restart it buy hand. What if I want to fix it in some place high? Do I really need to restart it every time? Can't it just get reconnected to the network like any other normal device?

  • @onatsworld9911
    @onatsworld9911 5 лет назад +2

    hello, thank you very much for this guide. I came to the last point and am receving always the message "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header". What do I have to do? Thank you in advance

    • @asali-channel
      @asali-channel  5 лет назад

      Have you tried to lower the flash speed to 115200? Also when it fails try to unplug your Arduino uno and plug it back in (this helped me out alot)

    • @onatsworld9911
      @onatsworld9911 5 лет назад

      @@asali-channel yes I tried with 115200 as well but did not work. I also unplugged my arduino, changed my cable, checked connections etc. but still same... They say that thay found a way with boot button in old esp board. However in this board there is only reset button! I am blocked and don't know what to do

    • @asali-channel
      @asali-channel  5 лет назад

      Please check whether your RX & TX cables are wired up correctly, make sure you didn't switch them around, this may cause the upload to fail

    • @onatsworld9911
      @onatsworld9911 5 лет назад

      @@asali-channel u0t in esp goes to rx and u0r goes to tx. Io0 goes to Res. Are these correct? Thank you for your time...

    • @asali-channel
      @asali-channel  5 лет назад

      If I'm not mistaken you have to wire the Tx to u0t and Rx to u0r!

  • @sebatsituab3955
    @sebatsituab3955 4 года назад +3

    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

    • @ShoPro702
      @ShoPro702 4 года назад

      same. There is a article somewhere where they solved it with a capacitor

    • @zaqwsx28
      @zaqwsx28 4 года назад +1

      If you are using arduino or something else to flash swap TX and RX pins around. The labeling might be wrong. Also arduino TX and RX pins are 5V so you need to supply 3.3V to USB to TTL converter chip such as CH340G. I stole 3.3V from ESP32 regulator to ch340G chip because the fake arduino nano couldn't supply steady 3.3V. It worked and I didn't need any capacitor.

    • @sappybb
      @sappybb 4 года назад

      @@zaqwsx28 The TX RX in either the UNO board or the ESP32 is the other way around. It worked after I change them! thank you so much for the tip!!!!

    • @sky8831
      @sky8831 4 года назад

      @@zaqwsx28 thank you so much switching it worked perfectly!

  • @rafeyataullah7586
    @rafeyataullah7586 3 года назад

    Arduino: 1.8.13 (Mac OS X), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 40MHz, 921600, None"
    /Users/Rafeyyy/Documents/Arduino/CameraWebServer_esp32/CameraWebServer_esp32.ino: In function 'void setup()':
    CameraWebServer_esp32:90:28: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
    WiFi.begin(ssid, password);
    ^
    In file included from /Users/Rafeyyy/Documents/Arduino/CameraWebServer_esp32/CameraWebServer_esp32.ino:2:0:
    /Applications/Arduino.app/Contents/Java/libraries/WiFi/src/WiFi.h:79:9: note: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)'
    int begin(char* ssid, const char *passphrase);
    ^
    exit status 1
    invalid conversion from 'const char*' to 'char*' [-fpermissive]
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    please helpp

  • @MachineFunda
    @MachineFunda 5 лет назад +1

    Need your help im making a rover using esp32 cam which will be wirelessly connected to my cell phone and i need a idea to control it with my cellphone

    • @asali-channel
      @asali-channel  5 лет назад

      Well I advise you to use Bluetooth and create a small application that has 4 buttons to control your rover!

    • @MachineFunda
      @MachineFunda 5 лет назад

      Thanks ☺️

    • @asali-channel
      @asali-channel  5 лет назад +1

      You're welcome, if something is unclear then don't hesitate to ask for more information!

  • @vnmgaming9280
    @vnmgaming9280 5 лет назад +1

    when I upload my code I get an error
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header.

    • @rbessuges
      @rbessuges 5 лет назад

      Check upload speed, it has to be 115200

    • @DoubleOBond
      @DoubleOBond 5 лет назад

      @@rbessuges same issue, it's set as that.

    • @shashwatpatel1516
      @shashwatpatel1516 4 года назад

      @@DoubleOBond same issue....

    • @Pigirl
      @Pigirl 4 года назад

      any solution? im facing same problem

    • @lucianofmfm
      @lucianofmfm 4 года назад

      @@Pigirl No. Same problem

  • @sintegrysllc8293
    @sintegrysllc8293 3 года назад

    Here is another ESP32 Camera project - video surveillance robot: create.arduino.cc/projecthub/KDPA/esp32-cam-video-surveillance-robot-a22367

  • @yapmngoster5086
    @yapmngoster5086 4 года назад

    I'm having the following problem "⸮⸮⸮⸮⸮⸮N⸮⸮> B⸮Œ⸮a ⸮"
    how can i fix this

  • @dskvr7147
    @dskvr7147 4 года назад

    Arduino: 1.8.13 (Windows 10), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 40MHz, 115200, None"
    Sketch uses 2100679 bytes (66%) of program storage space. Maximum is 3145728 bytes.
    Global variables use 53552 bytes (16%) of dynamic memory, leaving 274128 bytes for local variables. Maximum is 327680 bytes.
    esptool.py v2.6
    Serial port COM3
    Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
    _
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    I got this error!!

  • @djaqeel2000
    @djaqeel2000 4 года назад

    When I connect the 5V (ESP32-CAM) to 5V (Arduino) the LED on Arduino turned off and IDE could not detect the device.
    When I connect the 3.3V (ESP32-CAM) to 3.3V (Arduino), the LED on Arduino turned on and IDE can detect the device.
    But when I try to upload, this message occur:
    Sketch uses 2100663 bytes (66%) of program storage space. Maximum is 3145728 bytes.
    Global variables use 53552 bytes (16%) of dynamic memory, leaving 274128 bytes for local variables. Maximum is 327680 bytes.
    esptool.py v2.6
    Serial port COM3
    Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
    _
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    Can you suggest any solution?

    • @asyrafafiff8930
      @asyrafafiff8930 4 года назад +1

      i got the same problem with him.
      please suggest some solution

    • @lenny2009
      @lenny2009 4 года назад

      @@asyrafafiff8930 I was having the same issue. I did the changes below and now it works.
      connect the D0 pin of the esp32 to ground
      connect the reset pin of the arduino to ground
      connect the grounds together
      connect the 5V pins together
      connect the RX pins together
      connect the TX pins together
      and keep the settings the same

  • @anirudhnandavar2137
    @anirudhnandavar2137 4 года назад

    I have this error:
    Arduino: 1.8.10 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"
    Sketch uses 2053867 bytes (156%) of program storage space. Maximum is 1310720 bytes.
    Global variables use 53488 bytes (16%) of dynamic memory, leaving 274192 bytes for local variables. Maximum is 327680 bytes.
    Sketch too big; see www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
    Error compiling for board ESP32 Dev Module.

    • @MikePapadopoulos13
      @MikePapadopoulos13 4 года назад

      In Arduino IDE change to the following; Tools -> Partion Scheme -> Huge APP (3MB no OTA)

  • @macinissa4133
    @macinissa4133 4 года назад

    Thank you for sharing! My set up if failing to connect. Here is the error message:Arduino: 1.8.11 (Windows 10), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 40MHz, 115200, None"Sketch uses 2100667 bytes (66%) of program storage space. Maximum is 3145728 bytes.
    Global variables use 53552 bytes (16%) of dynamic memory, leaving 274128 bytes for local variables. Maximum is 327680 bytes.
    esptool.py v2.6
    Serial port COM3
    Connecting........_____....._____....._____....._____....._____....._____....._____A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet headerThis report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.Please, adviseMac

  • @evansyomu2879
    @evansyomu2879 5 лет назад

    hey, am getting endless dots, no ip adderss, just ..........................................

    • @evansyomu2879
      @evansyomu2879 5 лет назад

      never mind it worked, i was supposed to create a wifi, then place the ssid of my wifi and password on the code, thanks anyway this was helpful

    • @asali-channel
      @asali-channel  5 лет назад

      Great to hear it worked out for you, you're welcome!

  • @jimwu8557
    @jimwu8557 4 года назад +1

    I get never-ending ....................... in the serial monitor

    • @asali-channel
      @asali-channel  4 года назад

      Try to disconnect your esp32-cam, plug it back in and open the serial monitor

  • @stas3329
    @stas3329 4 года назад

    Board says: "@⸮G⸮35⸮⸮⸮&"

    • @stas3329
      @stas3329 4 года назад

      @@abhinavaabh Thanks!

  • @AbhinavMishraA-wc3ky
    @AbhinavMishraA-wc3ky 2 года назад +1

    soc/rtc_cnt1_reg.h: No such file or directory

  • @dotoxicred6208
    @dotoxicred6208 2 года назад

    Great video! It was a good guide. But, when I upload the code it keeps showing this (see below)
    Arduino: 1.8.19 (Windows 10), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 40MHz, 115200, None"
    Sketch uses 2594790 bytes (82%) of program storage space. Maximum is 3145728 bytes.
    Global variables use 56256 bytes (17%) of dynamic memory, leaving 271424 bytes for local variables. Maximum is 327680 bytes.
    esptool.py v3.0-dev
    Serial port COM3
    Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
    _
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.