Click here to Skip to main content
14,926,738 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Well that was satisfying... Pin
honey the codewitch4-Jan-21 11:30
mvahoney the codewitch4-Jan-21 11:30 
GeneralRe: Well that was satisfying... Pin
Randor 4-Jan-21 11:44
professional Randor 4-Jan-21 11:44 
GeneralRe: Well that was satisfying... Pin
honey the codewitch4-Jan-21 11:48
mvahoney the codewitch4-Jan-21 11:48 
GeneralAre hardware questions allowed here? Pin
CodeWraith3-Jan-21 11:35
MemberCodeWraith3-Jan-21 11:35 
GeneralRe: Are hardware questions allowed here? Pin
Mike Hankey3-Jan-21 13:31
professionalMike Hankey3-Jan-21 13:31 
GeneralRe: Are hardware questions allowed here? Pin
CodeWraith3-Jan-21 14:28
MemberCodeWraith3-Jan-21 14:28 
GeneralRe: Are hardware questions allowed here? Pin
enhzflep3-Jan-21 16:08
Memberenhzflep3-Jan-21 16:08 
GeneralRe: Are hardware questions allowed here? Pin
honey the codewitch3-Jan-21 17:14
mvahoney the codewitch3-Jan-21 17:14 
The ESP32s have 520kB of ram, some reserved, but expandable via SPI PSRAM.

They run at CPU clock of 160Mhz 240Mhz, but SPI clock locked to 40Mhz for the external, although it's possible to get a bit faster than that with 4-bit SD readers in SD MMC mode because the ESP32 is aware of them. SPI RAM also has special provisions to make it faster (80Mhz I think?) That's my biggest bottleneck there - SD and display over SPI. It makes me want to get out and push. JSON(C++) runs at about 74kBps on my little esp32. i *might* be able to speed it up with buffered reads, but it didn't help on by desktop so i took that feature out, so it's possible that you might get better results with fread() than fgetc() - my pc didn't (surprising, i know). Anyway, SPI i/o is not great, so it's a chip to avoid if you want to do say, full speed writes on microSD cards.

They're immensely connectable - bluetooth, wifi, OTA (though bluetooth libs and OTA are each huge so you often have to pick one), and ESP-NOW radio comms. You really have nothing you can't interface with.

The arduino framework is somewhat limiting though. Once I broke out of it and started using FreeRTOS and the espidf directly it opened some doors. multithreading and taking advantage of the second core for example. it's possible to do under the arduino framework but none of the libs are thread safe so why bother?

I think I want to move to the arm platform for my next IoT widgets.

I will probably always love these little chips though.
Real programmers use butterflies


modified 4-Jan-21 10:04am.

GeneralRe: Are hardware questions allowed here? Pin
enhzflep3-Jan-21 19:43
Memberenhzflep3-Jan-21 19:43 
GeneralRe: Are hardware questions allowed here? Pin
honey the codewitch3-Jan-21 19:49
mvahoney the codewitch3-Jan-21 19:49 
GeneralRe: Are hardware questions allowed here? Pin
enhzflep3-Jan-21 20:09
Memberenhzflep3-Jan-21 20:09 
GeneralRe: Are hardware questions allowed here? Pin
honey the codewitch3-Jan-21 21:04
mvahoney the codewitch3-Jan-21 21:04 
GeneralRe: Are hardware questions allowed here? Pin
enhzflep4-Jan-21 3:04
Memberenhzflep4-Jan-21 3:04 
GeneralRe: Are hardware questions allowed here? Pin
honey the codewitch4-Jan-21 3:08
mvahoney the codewitch4-Jan-21 3:08 
GeneralRe: Are hardware questions allowed here? Pin
enhzflep4-Jan-21 3:33
Memberenhzflep4-Jan-21 3:33 
GeneralRe: Are hardware questions allowed here? Pin
honey the codewitch4-Jan-21 3:39
mvahoney the codewitch4-Jan-21 3:39 
GeneralRe: Are hardware questions allowed here? Pin
enhzflep4-Jan-21 11:58
Memberenhzflep4-Jan-21 11:58 
GeneralRe: Are hardware questions allowed here? Pin
honey the codewitch4-Jan-21 12:02
mvahoney the codewitch4-Jan-21 12:02 
GeneralRe: Are hardware questions allowed here? Pin
Mike Hankey4-Jan-21 4:40
professionalMike Hankey4-Jan-21 4:40 
QuestionRe: Are hardware questions allowed here? Pin
CPallini3-Jan-21 20:14
mveCPallini3-Jan-21 20:14 
AnswerRe: Are hardware questions allowed here? Pin
CodeWraith3-Jan-21 22:13
MemberCodeWraith3-Jan-21 22:13 
GeneralRe: Are hardware questions allowed here? Pin
CPallini3-Jan-21 22:28
mveCPallini3-Jan-21 22:28 
GeneralRe: Are hardware questions allowed here? Pin
CodeWraith4-Jan-21 0:07
MemberCodeWraith4-Jan-21 0:07 
GeneralRe: Are hardware questions allowed here? Pin
enhzflep4-Jan-21 3:19
Memberenhzflep4-Jan-21 3:19 
GeneralBritain's largest supermarket offers to help aid Covid jab rollout by providing use of its distribution arm Pin
OriginalGriff3-Jan-21 11:30
mveOriginalGriff3-Jan-21 11:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.