Search found 391 matches

by mnfisher
Fri Aug 05, 2022 6:36 pm
Forum: General
Topic: ESP32 Cam Programming
Replies: 4
Views: 196

Re: ESP32 Cam Programming

Try setting baud to 230400 if not reliable at 460800.... Lot depends on the setup here.

I also tried 921600 (the FTDI chip 'should' cope) - but no joy. I'm running the esp32 on a 'marginal' power supply (I've noticed a few brownout errors) - which might affect things?

Martin
by mnfisher
Fri Aug 05, 2022 6:24 pm
Forum: General
Topic: ESP32 Cam Programming
Replies: 4
Views: 196

Re: ESP32 Cam Programming

Had some difficulties getting this to work 'reliably'.... So I upgraded to the latest (possibly) version of esptool. This is now an .exe file - and I'm wary of breaking my esp32 build environment. In (your esp-idf install directory) \components\esptool_py\esptool - rename esptool.py esptool.bak Add ...
by mnfisher
Thu Aug 04, 2022 9:46 am
Forum: General
Topic: ESP32 Cam Programming
Replies: 4
Views: 196

Re: ESP32 Cam Programming

Its https://www.arducam.com - i see there are now boards for it to plug into with usb support.

As mentioned - adding -z to the command line allowed me to program it - although needs me to hit reset and short in0 to gnd.

Martin
by mnfisher
Wed Aug 03, 2022 4:48 pm
Forum: General
Topic: ESP32 Cam Programming
Replies: 4
Views: 196

ESP32 Cam Programming

I was trying to get an ESP32Cam board working from within Flowcode - This is programmed VIA an FDTI converter. FC - itself 'seems' to offer the ESP32-Camera board - I went with this - but upload doesn't work as is. (Note you need TX->UDR and Rx to UDT, IO0 to Gnd - and need to press reset to init pr...
by mnfisher
Tue Aug 02, 2022 8:17 pm
Forum: General
Topic: input port bit slect using variable name
Replies: 2
Views: 78

Re: input port bit slect using variable name

An alternative technique... Read the entire port and then shift to get the required bit.. Have something like: Where .n is the variable holding the bit you want to read and .p is a variable as 'wide' as the port (so byte for 8 bits or long for esp32 (32 bits port)). .p = Input() // Read the whole po...
by mnfisher
Wed Jul 27, 2022 7:06 am
Forum: General
Topic: Type conversion not working? ESP32 Wroom
Replies: 25
Views: 680

Re: Type conversion not working? ESP32 Wroom

Here I stuff the values into a second TypeConversion - and display the result... Seems to work okay.. Type conv.fcfx Note - one source of problems is that some values don't have an 'exact' representation as a float - so 3.000 might be 2.9999999 or 3.0000001 (probably not 3.0 - just an example of wha...
by mnfisher
Wed Jul 27, 2022 6:42 am
Forum: General
Topic: Type conversion not working? ESP32 Wroom
Replies: 25
Views: 680

Re: Type conversion not working? ESP32 Wroom

Type conversion should work either way.

If you can post a sample/pm your code I'll take a look..

Martin
by mnfisher
Mon Jul 25, 2022 6:40 pm
Forum: General
Topic: What is make a local copy of the value used for?
Replies: 2
Views: 127

Re: What is make a local copy of the value used for?

Strings can be passed by reference or value - reference just passes the address and any changes made are passed back. Make a local copy does exactly that (so passed by value)- so any changes are kept local to the macro. Note that the box is 'checked' but not selectable for arrays but these are all p...
by mnfisher
Sun Jul 24, 2022 5:43 pm
Forum: General
Topic: Type conversion not working? ESP32 Wroom
Replies: 25
Views: 680

Re: Type conversion not working? ESP32 Wroom

You need to add '.0' after one or both of the numbers - so 24744.0/244.0 would do the trick..
by mnfisher
Sun Jul 24, 2022 1:54 pm
Forum: General
Topic: Type conversion not working? ESP32 Wroom
Replies: 25
Views: 680

Re: Type conversion not working? ESP32 Wroom

I used the UART instead of a LCD - for ease...
Type conv.fcfx
(19.81 KiB) Downloaded 13 times