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

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 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.

  • @MachineFunda
    @MachineFunda 5 ปีที่แล้ว

    Nice video hope your channel will grew fast

  • @gaurideshpande8858
    @gaurideshpande8858 3 ปีที่แล้ว

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

  • @Telboy-fv8ke
    @Telboy-fv8ke 5 ปีที่แล้ว

    Great tutorial, worked first time. Thank you

    • @asali-channel
      @asali-channel  5 ปีที่แล้ว

      Thank you and great to hear!

  • @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! :)

  • @HarshitSingh-mg7zt
    @HarshitSingh-mg7zt 2 ปีที่แล้ว

    worked like a charm man! Thanks!

  • @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 4 ปีที่แล้ว +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?

  • @mohamadrofiq8854
    @mohamadrofiq8854 4 ปีที่แล้ว

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

    • @asali-channel
      @asali-channel  4 ปีที่แล้ว

      Great to hear it worked out for you!

  • @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

  • @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.

  • @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

  • @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!

  • @nomi3d
    @nomi3d 4 ปีที่แล้ว

    Thanx sir

  • @MrAliusman73
    @MrAliusman73 4 ปีที่แล้ว

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

  • @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?

  • @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!

  • @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?

  • @ser7ser7i
    @ser7ser7i 3 ปีที่แล้ว

    thank you

  • @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

  • @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

  • @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

  • @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

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

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

  • @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.

  • @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?

  • @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

  • @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

  • @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?

  • @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: th-cam.com/video/cYAPK7xoISE/w-d-xo.html

  • @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.

  • @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!

  • @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 หลายเดือนก่อน

    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

  • @Wilson-qh4rh
    @Wilson-qh4rh 4 ปีที่แล้ว

    I newd it for experiment

  • @riderrossman161
    @riderrossman161 4 ปีที่แล้ว +6

    what if your board says "esp 32 s?"

  • @tee-tech-old62
    @tee-tech-old62 5 ปีที่แล้ว +1

    Nice Chanel

  • @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 .😟😣😥😌

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

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

  • @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

  • @rizkiadisaputra5971
    @rizkiadisaputra5971 5 ปีที่แล้ว

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

  • @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 4 ปีที่แล้ว

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

  • @coolsyedify
    @coolsyedify 4 ปีที่แล้ว

    Can i use nodemcu to program esp32 cam

  • @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

  • @joelbenjaminj8432
    @joelbenjaminj8432 4 ปีที่แล้ว

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

  • @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

  • @adityakanakamalla8979
    @adityakanakamalla8979 4 ปีที่แล้ว

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

  • @giseric3249
    @giseric3249 3 ปีที่แล้ว

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

  • @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.

  • @technocrat9984
    @technocrat9984 3 ปีที่แล้ว

    I can't find avr programer option

  • @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!

  • @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.

  • @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 ?

  • @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

  • @DoubleOBond
    @DoubleOBond 4 ปีที่แล้ว

    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 4 ปีที่แล้ว

      Restarting the IDE fixed the issue.

  • @meigianwar3724
    @meigianwar3724 4 ปีที่แล้ว

    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 ?

  • @AA7Productionz
    @AA7Productionz 3 ปีที่แล้ว

    the programmer option is empty for me

  • @opioasde
    @opioasde 3 ปีที่แล้ว

    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

  • @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.

  • @Obamjur
    @Obamjur 4 ปีที่แล้ว

    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!

  • @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.

  • @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.

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

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

    • @mattivirta
      @mattivirta 3 ปีที่แล้ว

      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.

  • @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!
      th-cam.com/video/ZAQwjF4Twbk/w-d-xo.html

  • @maheshmurugan5527
    @maheshmurugan5527 3 ปีที่แล้ว

    It doesn't showing me ip address to connect

  • @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.

  • @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?

  • @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.

  • @rafeyataullah7586
    @rafeyataullah7586 3 ปีที่แล้ว

    it just gives me fatal error please help me

  • @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!

  • @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 3 ปีที่แล้ว

      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"

  • @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

  • @vnmgaming9280
    @vnmgaming9280 4 ปีที่แล้ว +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 4 ปีที่แล้ว

      Check upload speed, it has to be 115200

    • @DoubleOBond
      @DoubleOBond 4 ปีที่แล้ว

      @@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

  • @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!

  • @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!!

  • @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

  • @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 3 ปีที่แล้ว

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

  • @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

    • @vikramjeetpaul
      @vikramjeetpaul 4 ปีที่แล้ว

      change the baude rate

    • @yieks.h5926
      @yieks.h5926 4 ปีที่แล้ว

      @@vikramjeetpaul How to change it?

  • @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

  • @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!

  • @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)

  • @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 3 ปีที่แล้ว

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

    • @stas3329
      @stas3329 3 ปีที่แล้ว

      @@abhinavaabh Thanks!

  • @AbhinavMishraA-wc3ky
    @AbhinavMishraA-wc3ky 2 ปีที่แล้ว +1

    soc/rtc_cnt1_reg.h: No such file or directory

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

    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.