Search found 599 matches

by mikemoy
Mon Mar 18, 2024 11:52 am
Forum: General Discussion
Topic: How to get the max speed out of ESP32 for hardware related tasks?
Replies: 3
Views: 514

Re: How to get the max speed out of ESP32 for hardware related tasks?

If you really want to toggle GPIO's faster you should look into
GPIO.out_w1ts, GPIO.out_w1tc, GPIO.out1_w1ts.val, GPIO.out1_w1tc.val
by mikemoy
Fri Mar 15, 2024 8:57 pm
Forum: Hardware
Topic: ESP32-S3-WROOM-1 Disconnects USB when entering boot mode
Replies: 1
Views: 461

Re: ESP32-S3-WROOM-1 Disconnects USB when entering boot mode

If memory serves, go into menuconfig and enable "Channel for console output". Program it using the TX / RX pins, and reboot it.
It should then be able to flash using USB.
by mikemoy
Fri Mar 08, 2024 10:48 pm
Forum: General Discussion
Topic: How to detect ESP restart from upgrade
Replies: 7
Views: 581

Re: How to detect ESP restart from upgrade

Yes I have thought of that, but I was looking for something non-user dependent (during testing you don't change versions all the time).
What about running a checksum on the flash, and comparing that value to the last value saved.
by mikemoy
Fri Mar 08, 2024 10:48 pm
Forum: General Discussion
Topic: How to detect ESP restart from upgrade
Replies: 7
Views: 581

Re: How to detect ESP restart from upgrade

Yes I have thought of that, but I was looking for something non-user dependent (during testing you don't change versions all the time).
What about running a checksum on the flash, and comparing that value to the last value saved.
by mikemoy
Fri Mar 08, 2024 10:47 pm
Forum: General Discussion
Topic: How to detect ESP restart from upgrade
Replies: 7
Views: 581

Re: How to detect ESP restart from upgrade

Yes I have thought of that, but I was looking for something non-user dependent (during testing you don't change versions all the time).
What about running a checksum on the flash, and comparing that value to the last value saved.
by mikemoy
Thu Mar 07, 2024 4:42 am
Forum: General Discussion
Topic: Adafruit library for MCP23017 is Not working when using new Arduino Nano ESP32 development board (Arduino IDE).
Replies: 4
Views: 347

Re: Adafruit library for MCP23017 is Not working when using new Arduino Nano ESP32 development board (Arduino IDE).

I hope ESP team will consider this issue seriously.
Just curious, why would ESP team try to fix something that Adafruit wrote?
by mikemoy
Tue Mar 05, 2024 11:07 am
Forum: ESP-IDF
Topic: esp32-s3 i2c failure in esp-idf 5.2
Replies: 4
Views: 443

Re: esp32-s3 i2c failure in esp-idf 5.2

Try using the setup for the examples folder. It's a bit different than what you have.

https://github.com/espressif/esp-idf/bl ... ple_main.c
by mikemoy
Fri Feb 16, 2024 7:00 pm
Forum: General Discussion
Topic: Production issues with ESP32
Replies: 1
Views: 379

Re: Production issues with ESP32

Did you follow the footprint recommended form the data sheet ?
by mikemoy
Fri Feb 16, 2024 3:55 pm
Forum: General Discussion
Topic: Can reversed polarity damage GPIO?
Replies: 1
Views: 322

Re: Can reversed polarity damage GPIO?

My question is if dealing with the reversed polarity could damage the GPIO pin or even the whole board. Basically Yes, If you look at the schematic for the board 5v goes through a 2k resistor to one end the led and the other goes to the the charge controller (pin 1). To be safe you could either A) ...
by mikemoy
Mon Feb 12, 2024 9:01 pm
Forum: Hardware
Topic: ESP32 - Battery powered on demand
Replies: 1
Views: 241

Re: ESP32 - Battery powered on demand

Just use a transistor or fet to power your PIR, and control it though a GPIO pin.