Notifications
Clear all

Love the Drone workshop projects and the organization of the workshop! jealous!

27 Posts
5 Users
1 Likes
1,473 Views
(@ipujim)
Member
Joined: 2 years ago
Posts: 8
Topic starter  

I am determined to get my ESP-32 cam to take time lapse,   Have not been able to get the example code to verify or upper load to the board.   

I believe the code should verify without a board connected or designation of the type of board I am using.

I find my self addicted to  arduino and much of  my application is related to gardening.....like the time lapse camera I hope to watch "the grass grow" and the life of the worms,

 

My main project is capturing runoff water from the street to water my garden .  Arduino is in control  of the water pumping

IpuJim

 

 

 

 


   
ron bentley reacted
Quote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6659
 
Posted by: @ipujim

I am determined to get my ESP-32 cam to take time lapse,   Have not been able to get the example code to verify or upper load to the board.   

I believe the code should verify without a board connected or designation of the type of board I am using.

I find my self addicted to  arduino and much of  my application is related to gardening.....like the time lapse camera I hope to watch "the grass grow" and the life of the worms,

 

My main project is capturing runoff water from the street to water my garden .  Arduino is in control  of the water pumping

IpuJim

 

 

 

 

If all your boards and libraries are up to date the compile will fail. There is an error in the board libraries. You can believe all you want that it should compile, but that's not how it works. Each board is different and has it's own libraries of code so you need to tell the compiler what board to compile for.

The fix is to either use Ver 4 of the esp32cam web-server or go into board manager and reduce the esp32 to ver 1.0.6.

I am using the Ver 4 plus I have modified it per Bill's tutorial to use WiFi Manager, it's very simple.

Let me know your choice and I will give you guidance.

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 

@ipujim - Welcome to the forum.  I'm not exactly a plant friendly, but I'm certainly project game.  Here's a thread we recently had with several ideas about watering gardens.  It also has the usual suspects that are more gardeningly savvy.

https://forum.dronebotworkshop.com/show-tell/inqgarden-brown-thumbs-rule/

ESP32-CAM to watch grass grow... 🤣 might be interesting IF I can watch the time lapse version 🤣.  Besides, I have several of the rather old ESP32-CAM gathering dust and I will be needing them someday.  If someone (up to date) helps you out with recommended programmers, to various software install tutorials, I can glomb on to that also.  I'm sure there are plenty of Internet tutorials, but getting it from someone here (current like) sounds better to me.  

VBR,

Inq

P.S. - My ESP32-CAM don't have any version number but they have to be several years old at least.  I've read here where others (@Zander) recommends some "M" ??? version.  Mine certainly are those.

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


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

@inq The 'normal' ESP32-CAM board is a short (fewer pins) and double sided board with no USB input, FTDI only, so somebody made a little daughter board or I think they call it Mother Board hence the ESM32-CAM-MB

Here it is on amazon https://amz.run/5qJu "https://amz.run/5qJu"

Also, the sample web-server sketch is broken, there are 2 ways to 'fix' it, let me know if you need to know.

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@ipujim)
Member
Joined: 2 years ago
Posts: 8
Topic starter  

Thanks for the reply

Once you set the board designation to say "thinker" by un commenting the code line I would think the code should compile with out having the board plugged in .   The code should verify .....right? The code only get involved with the board when it is up loaded to the board and at that point the code needs to match what the board is.

 

Is my understanding correct?

 


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

@ipujim NO, that is not how it works. Selecting the board in Board Manager sets a path variable for library includes. The same function like say WiFi is implemented differently for different boards, so you need to specify the board.

Every time you open a sketch you need to select the board to compile for, it may be already the right one, a glance at the status region of the screen will tell you. 

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@ipujim)
Member
Joined: 2 years ago
Posts: 8
Topic starter  

@zander 

OK so how do I tell what board I have (identify the board) by looking at it?   I just used thinker after watching Bill's youtube video..

 

I really appreciate you help with this.  

ipuJim

 


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

@ipujim Yes, mostly by looking at it. I have only ever used and seen AI-THINKER but there are more. Usually the board name is on the WiFi module (the big silver thing) 

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
ron bentley
(@ronbentley1)
Member
Joined: 2 years ago
Posts: 385
 

@ipujim

Welcome to the forum, and as you can see already, lots of advice forthcoming!

Enjoy

Ron B

Ron Bentley
Creativity is an input to innovation and change is the output from innovation. Braden Kelley
A computer is a machine for constructing mappings from input to output. Michael Kirby
Through great input you get great output. RZA
Gauss is great but Euler rocks!!


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 
Posted by: @zander

@inq The 'normal' ESP32-CAM board is a short (fewer pins) and double sided board with no USB input, FTDI only, so somebody made a little daughter board or I think they call it Mother Board hence the ESM32-CAM-MB

Here it is on amazon > https://amz.run/5qJu < "https://amz.run/5qJu"

Also, the sample web-server sketch is broken, there are 2 ways to 'fix' it, let me know if you need to know.

Good deal!  So... there hasn't been a Rev 2.0?  The link you gave has only one review and it's not too promising.  Do you have one of these MB and recommend it?

VBR,

Inq

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 
Posted by: @ipujim

Thanks for the reply

Once you set the board designation to say "thinker" by un commenting the code line I would think the code should compile with out having the board plugged in .   The code should verify .....right? The code only get involved with the board when it is up loaded to the board and at that point the code needs to match what the board is.

 

Is my understanding correct?

 

I'm not sure why @zander says this board is different.  In general, your premise is correct.  Selecting an actual board in the Arduino IDE will allow you to compile a binary and confirm that you have all the libraries available on your machine.  Having a physical board connected is not necessary.  Otherwise, how would you do OTA upgrades.  😆 

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


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

@inq I have 10 of the MB's and about the same of the non MB's. If I could just order the MB part I would, but at the moment I have enough. Reviews are tricky, most people are happy and never review, a few get a bad unit and don't bother to get a refund/replacement and a very few get their kicks doing very bad reviews. Rev 2.0?

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@inq I didn't say the board had to be connected, just that the board has to be selected in the board manager, that is how the low level libraries are selected. 

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@ipujim)
Member
Joined: 2 years ago
Posts: 8
Topic starter  
image

 

It would seem to me that the example with AI tinker uncommented (and the others commented) could be verified without any connection to a board.   I think that my problem is with configuering  the IDE to run the example.    Once i get the example to "verify" i will cross my fingers and upload to my board which I will "guess" is a AI thinker ?????

This form is great and before finding it I was at wits end and doubting my self edification.  Thanks everyone and stay tuned for time  lapse of plants growing and worms reproducing.

ipuJim


   
ReplyQuote
(@ipujim)
Member
Joined: 2 years ago
Posts: 8
Topic starter  
image

 Here i a screen shot


   
ReplyQuote
Page 1 / 2