Notifications
Clear all

help with programming esp32cam board

8 Posts
2 Users
0 Reactions
74 Views
(@videogame95)
Member
Joined: 3 years ago
Posts: 64
Topic starter  

Hi all I've had esp32cam working on my network. I tried to use the programme on the Bill car camera ESP32cam

page.

I noticed there is one sketch only with both codes on Arduino IDE. But when I copy it into sketches, it has its password SSID. Codes are separate pages, how do put them on one page? do you need to change sidd and password as it should connect to the access point?

any help that you give me to get this working.

 


   
Quote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7283
 

@videogame95 I am not sure what you are asking, no links, no code.

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7283
 

@videogame95  I have rewritten some parts of your OP to show you how to increase your chances of getting some help.

Hi all I've had esp32cam working on my network <link here>. I tried to use the programme <link here>

I noticed there is one sketch only <link here> with both codes (code is NEVER plural) on Arduino IDE. 

But when I copy it into sketches, it has its password SSID. AND???

Code is in  are separate pages, how do put them on one page? Not at all sure what you mean. Other than copy one paste it into new, copy two paste it after one. But since you now have two setup's and two loop's, how can it work, will it even compile?

do you need to change sidd and password as it should connect to the access point? Of course

any help that you give me to get this working.

Try to use proper full english sentence structure and links or screen grabs of what you are referring to, we are not mind readers.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@videogame95)
Member
Joined: 3 years ago
Posts: 64
Topic starter  

@zander Hi I have my code in two sketch pages see the picture below.

sketch 1

if you look at Bill's code they are both in one sketch page'

image

 

 

From the link to the code to run motors and the camera drone bot forum do I load both codes to esp32camera

or only one code to the esp32cam?

what should I put into  "preferences".  HTTP://So I have the correct libraries to install?

To get this login to the online page do I have to change anything like SSID or Password?

I know I changed the test camera programme SSiD and password to mine, which worked.

Any help, please

This post was modified 4 days ago by videogame95

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7283
 

@videogame95 

You said 

Hi I have my code in two sketch pages see the picture below.omme

I can only see a bit of one sketch of yours, and it doesn't look anything like Bills. Bill has 2 files, an ino and a cpp in the sketch folder.

I don't understand what you are trying to say at

if you look at Bill's code they are both in one sketch page'

See first attached pic for what the IDE looks like when you open Bill's project. I also am attaching a pic of what the folders and files look like after downloading and unzipping.

Sorry, I am not sure what the following means, but I will do my best to answer under the following

From the link to the code to run motors and the camera drone bot forum do I load both codes to esp32camera

or only one code to the esp32cam?

The code bill provided in the zip file gets extracted as pictured below and when you open the .ino file the IDE looks as in pic 1 below. It is 2 source files, the main one is an ino or sketch file, the second is a supporting cpp (C++) file.

NOTHING needs to be modified in the source files, it will work as is.

You MUST read and UNDERSTAND the article at https://dronebotworkshop.com/esp32cam-robot-car/#Resources especially the parts about how to run the demo, and if you are adventurous modify it.

NOTE: IF you try to modify it, there are parts of the sketch that have been 'minified' do NOT edit those, read and follow Bill's instructions or it will fail.

I will guess that what you mean by "Preferences", is "Arduino IDE Preferences" (see the difference?)

You must have at least the following, but you may have additional board managers as well.

https://espressif.github.io/arduino-esp32/package_esp32_index.json

No need to change anything, you can use the SSID and passwords as is. Pic 3 is instructions to start the demo.

Pic 4 is what the UI looks like on your phone/tablet/pc.

Easy peasy, just download the zip, open in IDE, upload, go.

 

 

Screenshot 2024 06 09 at 12.48.34
Screenshot 2024 06 09 at 12.47.06
Screenshot 2024 06 09 at 13.04.03
Screenshot 2024 06 09 at 13.05.39

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7283
 

@videogame95 I just tried to compile the code and it fails on a few things. Basically some of the libraries are either missing or have had big changes so this sketch needs a lot of work to get it working now.

Given it is a library issue, please go to the library maintainer site and get help there.

One of the errors you will find is with ledc... that is part of the IDE so support will most likely be via the IDE github avenue. Good luck with that one.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@videogame95)
Member
Joined: 3 years ago
Posts: 64
Topic starter  

Thanks for that at least you understanding  what I was on about I'll look up what you said in the other page.

Thanks again for your help 


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7283
 

@videogame95 I think your sketch is partly impactred by the esp32 V3 library issue, so as an interim fix, set it back to the last 2.x version and don't let it update automatically.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote