Search found 5158 matches

by ESP_Sprite
Wed Sep 22, 2021 12:04 pm
Forum: ESP32 Arduino
Topic: is websocket better or setInterval http request better?
Replies: 3
Views: 163

Re: is websocket better or setInterval http request better?

I'd use websckets as a communication mechanism then; that should also allow you to push the images at whatever speed the sensor can generate them.
by ESP_Sprite
Wed Sep 22, 2021 12:54 am
Forum: ESP32 Arduino
Topic: is websocket better or setInterval http request better?
Replies: 3
Views: 163

Re: is websocket better or setInterval http request better?

What's your use case? Do you simply want to have a browser open looking at the webpage, or do you have further automation in mind? Any other things? Generally, sending the status continuously is a bit wasteful... you can't really do anything else if you use Javascript to refresh a page, but if you u...
by ESP_Sprite
Wed Sep 22, 2021 12:51 am
Forum: ESP-IDF
Topic: ESP32 Cloud Based OTA Firmware Updates - Not Local Server Based
Replies: 1
Views: 104

Re: ESP32 Cloud Based OTA Firmware Updates - Not Local Server Based

Have you looked at the examples that come with esp-idf? While it doesn't tell you how to set up the server side of things, it should be instructive on the client side.
by ESP_Sprite
Wed Sep 22, 2021 12:40 am
Forum: General Discussion
Topic: Confused over IO_MUX_PIN_CTRL
Replies: 3
Views: 151

Re: Confused over IO_MUX_PIN_CTRL

I think the intention here is to allow for a MCLK. Some i2S codecs need this, and it's usually a pretty high clock, like 256*BCLK. Agree that it's really unclear from the TRM; I'll create an issue to clarify this.
by ESP_Sprite
Tue Sep 21, 2021 4:18 am
Forum: General Discussion
Topic: Will a full Zigbee 3.0 stack be supplied by espressif for the ESP32-H2?
Replies: 6
Views: 516

Re: Will a full Zigbee 3.0 stack be supplied by espressif for the ESP32-H2?

I got some answers. We'll be using the OpenThread stack for Thread support, as stated before, and we will have a Zigbee 3 stack as well. Not sure if I can name which one, but it will be similar to Zigbee stacks you see on competing chips.
by ESP_Sprite
Fri Sep 17, 2021 4:23 am
Forum: ESP-IDF
Topic: 1162-mmu-set-00010000-pos-00010000-esp32-boot-loop
Replies: 5
Views: 453

Re: 1162-mmu-set-00010000-pos-00010000-esp32-boot-loop

In theory, you could damage your flash by writing it too often... Most flash chips are good for 10,000-100,000 cycles. Writing to it every minute (without wear leveling, same location, erasing the sector first) would give you a life time of about a week, worst case scenario. So the question is: how ...
by ESP_Sprite
Thu Sep 16, 2021 6:42 am
Forum: ESP32 Arduino
Topic: ESP32 script hanging on 'adc.readADC_SingleEnded'
Replies: 2
Views: 592

Re: ESP32 script hanging on 'adc.readADC_SingleEnded'

This can be caused by not having "PullUp" resistors SCL and SDA. From 3K to 5K on each pin to +3.3 should work. I know that the ESP32 has internal PullUps, but I don't think they are active on clock and data. The exact problem actually is that the internal ESP32 pullups aren't really suitable for I...
by ESP_Sprite
Thu Sep 16, 2021 6:36 am
Forum: Hardware
Topic: Does ESP32-C3 support external RAM?
Replies: 2
Views: 333

Re: Does ESP32-C3 support external RAM?

Not in the same way the ESP32 does, that is, it can't integrate it in the memory map to use transparently in the same way as internal RAM. Obviously, external RAM still is a SPI device, so you can use a SPI channel to manually shuttle data from/to an external RAM chip. I can imagine that's not what ...
by ESP_Sprite
Thu Sep 16, 2021 1:21 am
Forum: Hardware
Topic: ESP32-C3 GPIO18-19 for i2c
Replies: 1
Views: 292

Re: ESP32-C3 GPIO18-19 for i2c

Yes; if you do not want USB you can use these in the same fashion as other GPIOs.
by ESP_Sprite
Thu Sep 16, 2021 1:17 am
Forum: ESP32 Arduino
Topic: custom new/delete
Replies: 2
Views: 308

Re: custom new/delete

Not sure if that's it, but size_t* ret = (size_t*)malloc(size + sizeof(size_t*)); I assume you want to add an extra size_t at the beginning of the allocated struct? In that case, your sizeof is wrong, it should be size_t* ret = (size_t*)malloc(size + sizeof(size_t)); (Also, entirely offtopic, I'm su...

Go to advanced search