Search found 8912 matches
- Fri Mar 22, 2024 2:12 am
- Forum: ESP-IDF
- Topic: Power Management: problems when combining GPIO wakeup with GPIO interrupt in light sleep mode
- Replies: 2
- Views: 160
Re: Power Management: problems when combining GPIO wakeup with GPIO interrupt in light sleep mode
Looks like the GPIO ISR keeps triggering for some reason, causing an interrupt timeout... Just to check: if you disable the automatic light sleep functions, does it still crash in this way? Also, can you try moving the gpio_config line to after the gpio_isr_handler_add one?
- Fri Mar 22, 2024 1:07 am
- Forum: Hardware
- Topic: Sparkfun MPRLS pressure sensor not responding to activation byte
- Replies: 3
- Views: 293
Re: Sparkfun MPRLS pressure sensor not responding to activation byte
Btw, one thing to note is that you're not zero-initializing your stack variables, especially your configuration structs. I don't think that is it in this case, but better do this:
to make sure any not-mentioned fields are zero-initialized.
Code: Select all
i2c_config_t conf={0};
- Thu Mar 21, 2024 8:40 am
- Forum: Hardware
- Topic: Sparkfun MPRLS pressure sensor not responding to activation byte
- Replies: 3
- Views: 293
Re: Sparkfun MPRLS pressure sensor not responding to activation byte
Not sure how much it matters, but you write 3x '0' after the start command. The datasheet I found only shows 2x '0'.
- Thu Mar 21, 2024 3:30 am
- Forum: ESP8266
- Topic: ESP Now - Wrong data in structure
- Replies: 3
- Views: 159
Re: ESP Now - Wrong data in structure
Maybe a data packing issue? You can try aligning it manually:
Code: Select all
typedef struct dht_message{
uint8_t id;
uint8_t dummy[3];
float temp;
float humi;
} dht_message;
- Thu Mar 21, 2024 3:22 am
- Forum: ESP32 Arduino
- Topic: Store number over 1 byte in EEPROM
- Replies: 2
- Views: 185
Re: Store number over 1 byte in EEPROM
Yeah, the EEPROM library emulates an actual EEPROM device which stores an array of bytes. If you want to store larger numbers, you'd need to split it into multiple bytes. A better option is to use the Preferences library, which is more flexible as it doesn't have to emulate a hardware device.
- Thu Mar 21, 2024 3:16 am
- Forum: ESP8266
- Topic: I NEED HELP with a ESP8266 board WITH AN OLED BUILT IN
- Replies: 1
- Views: 138
Re: I NEED HELP with a ESP8266 board WITH AN OLED BUILT IN
Moved to the ESP8266 subforum.
- Thu Mar 21, 2024 3:07 am
- Forum: General Discussion
- Topic: USB-C to USB-C not working, USB-C to USB-A working, have pulldowns
- Replies: 3
- Views: 503
Re: USB-C to USB-C not working, USB-C to USB-A working, have pulldowns
That is more or less a configuration I've used extensively and it works fine for me. Are you sure all the pins on the USB connector are properly soldered down? Does it work if you flip the cable connector?
Fwiw, this is my PCB layout:
Fwiw, this is my PCB layout:
- Tue Mar 19, 2024 1:25 pm
- Forum: General Discussion
- Topic: arduino to IDF newbie help managing mulitple apps inline
- Replies: 20
- Views: 1833
Re: arduino to IDF newbie help managing mulitple apps inline
I think the vTaskDelete(x) discussion is really interesting, but probably not for this thread. Suggest starting a new one if you guys want to discuss any pros/cons.
- Tue Mar 19, 2024 4:04 am
- Forum: ESP-IDF
- Topic: ADC values less than half of expected
- Replies: 2
- Views: 216
Re: ADC values less than half of expected
The ADC is not very linear in that region on our original ESP32; also the internal reference voltage varies a bit from chip to chip. Try to use the calibration driver , that should compensate for the reference voltage and partly for the nonlinearity, but you may be better off also changing the resis...
- Tue Mar 19, 2024 3:59 am
- Forum: Hardware
- Topic: ESP32-C3 power consumption when held in reset
- Replies: 6
- Views: 416
Re: ESP32-C3 power consumption when held in reset
The chip is entirely off when held in reset; the exact power use is in the datasheet but iirc should be below an uA. Are you sure you do not have something else leaking power, e.g. pullups/downs?