logo elektroda
logo elektroda
X
logo elektroda

How to program the ESP32-CAM directly via the CP2102?

wosiekpl 3486 27
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18281222
    wosiekpl
    Level 21  
    Welcome

    This time I am asking for advice on how I can program the ESP32-CAM camera module. As you know , this module does not have any USB type connector and for programming you need to use a USB converter . I have one with a CP2102 chip. After connecting the converter to the computer , a red LED on the board lights up. In the manager the converter is detected as Silicon Labs CP210x USB to UART Bridge .

    In the preferences of the arduino program , where to look for new modules writes this page

    https://dl.espressif.com/dl/package_esp32_index.json

    Then, in the tools tab, I search for new cards and a window pops up showing the search process.
    After several seconds of searching, an error pops up saying that it is not possible to connect to the page:

    Error descargando http://downloads.arduino.cc/packages/package_index.json

    I do not understand why it searches on one page and shows the error on the other


    Yesterday, I browsed the internet all afternoon and night, but nothing could be found to detect the module.
    My windows is Windows 7 , could it be the reason why I get an error because I have the wrong JAVA version? Because it does not update

    Greetings
  • ADVERTISEMENT
  • #3 18281280
    wosiekpl
    Level 21  
    Hello

    And how can I check this ?
  • #5 18281341
    wosiekpl
    Level 21  
    Yes, I checked there and there was nothing. I deleted version 1.6 and installed the new one, the latest 1.8.10, and it shows esp32 espressif. So now it is OK

    Now I have to find out how to program the camera module

    So far thanks for your help, if I have more problems I will write again

    Greetings

    Added after 43 [minutes]:

    Unfortunately , I still have to ask for help.
    This is what is now popping up for me when monitoring the port


    How to program the ESP32-CAM directly via the CP2102? .


    How to program the ESP32-CAM directly via the CP2102? .
  • #6 18281519
    Anonymous
    Level 1  
  • #7 18281997
    wosiekpl
    Level 21  
    Hello
    I have it written down like this in the program, because I don't know much about programming I don't really understand what you mean, i.e. what to change
    How to program the ESP32-CAM directly via the CP2102?
  • #8 18282034
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #9 18282062
    wosiekpl
    Level 21  
    or so ?
    How to program the ESP32-CAM directly via the CP2102? .


    I should add that in the further part of the programme it is written as follows

    How to program the ESP32-CAM directly via the CP2102? .


    Still nothing

    How to program the ESP32-CAM directly via the CP2102?

    still can't see it
  • ADVERTISEMENT
  • #10 18282261
    Anonymous
    Level 1  
  • #11 18282315
    wosiekpl
    Level 21  
    How to program the ESP32-CAM directly via the CP2102? .

    I now have it written like this and while programming it pops up an error like this. Surely I have done something wrong

    Ps
    Please , write as if for a throng because I know nothing about programming and find it hard to understand anything even if it is simple
  • #12 18282386
    Anonymous
    Level 1  
  • #13 18282462
    wosiekpl
    Level 21  
    I have re-entered
    This is what it looks like after the complication

    How to program the ESP32-CAM directly via the CP2102? .


    And this is how it looks after uploading , something is wrong

    How to program the ESP32-CAM directly via the CP2102?
  • #14 18282491
    Anonymous
    Level 1  
  • #15 18282515
    wosiekpl
    Level 21  
    I use the programme in Spanish jeje
    And it says so

    Library not appropriate found in C user /Jose / Documents / Arduino / Libraries / Tools : folder ( or maybe file ) with header (.h) not found in C - user - documents - Arduino - libraries - tools

    If I understand correctly I am missing the library
  • #16 18282518
    Anonymous
    Level 1  
  • #17 18282527
    wosiekpl
    Level 21  
    How to program the ESP32-CAM directly via the CP2102? .

    This is what it looks like. At the moment I have a jumper on the ESP module for programming.
    Should I remove it ?
    In order for something to show up in the window I have to press reset on the module board.
  • #18 18282535
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #19 18282537
    wosiekpl
    Level 21  
    Ok , deleted but nothing shows up
    Should I press reset?
    Or should I disconnect and reconnect the module
  • #20 18282541
    Anonymous
    Level 1  
  • #21 18282553
    wosiekpl
    Level 21  
    No , I did the live. Now I have disconnected and reconnected

    How to program the ESP32-CAM directly via the CP2102?

    It seems to be better
    And to see what the camera sees I need to connect to the address indicated. I understand that I need to use a program with which I can preview?

    It works, I entered the address and it worked.

    Thank you, many thanks for your help
  • #22 18282555
    Anonymous
    Level 1  
  • #23 18282560
    wosiekpl
    Level 21  
    OK. Many thanks again. I'll play around with it a bit for now and see what it can be useful for
  • #24 18283120
    wosiekpl
    Level 21  
    Hello

    I am revisiting the topic , the camera works fine but only at home. It is connected to the router via Wifi and in the mobile phone I can watch what it sees but also only when the mobile is connected to the Wifi. I thought that outside the house I would be able to watch but it turns out not to be the case. It follows that I will have to do something else to be able to view the camera image outside the house. I want, for now in the form of tests (because neither the quality of the image nor the voice, does not allow much. It is known that for such money one cannot demand much) to control what is happening on the roof, i.e. control my shortwave antenna.

    Greetings
  • #26 18283155
    wosiekpl
    Level 21  
    Hello

    I have already ordered ( yesterday ) , This is it

    How to program the ESP32-CAM directly via the CP2102?

    And now I will take to reading what you have given me

    Thanks


    Ps

    As I wrote, the antenna is already ordered. I just had a quick look at the website you wrote about . I will do further tests at the end of the week. But it seems to me that the problem is not related to the antenna because the signal relay from the router is located 1,5 mtr from the camera.
    The router is in the living room and the camera in the room, in a straight line it will be about 6 mtr but between the camera and the router I have mounted a signal relay which amplifies the signal from the router
  • #27 18286851
    Anonymous
    Level 1  
  • #28 18286967
    wosiekpl
    Level 21  
    Yes , only that I have a router saved in the program with an EXE extension . The router in the living room has the name abc.123 and the relay has the name abc.123_EXE so I guess it can't connect.
    As I wrote earlier , at the end of the week when I have more time I will try to review the exact page you are writing to me about. In the meantime maybe a new antenna will arrive.
    Best regards

Topic summary

The discussion revolves around programming the ESP32-CAM camera module using a CP2102 USB to UART bridge. The user initially faced issues with the Arduino IDE not detecting the ESP32 board manager, which was resolved by updating to version 1.8.10. The user then encountered problems with programming the camera module, including errors related to library files and USB communication. Solutions provided included commenting out specific lines in the code to select the correct camera model and ensuring proper connections and settings in the Arduino IDE. The user successfully uploaded code and accessed the camera feed but later faced challenges with Wi-Fi connectivity outside the home. Recommendations included using an external antenna for better signal strength and ensuring the ESP32 connects to the correct Wi-Fi network.
Summary generated by the language model.
ADVERTISEMENT