ESP32-DevKitC32D

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

Re: ESP32-DevKitC32D

Postby ScriptBasic » Fri Mar 12, 2021 4:22 am

Is there an example program that would allow me to test the performance of my ESP32 controllers?

I would like to see how much faster (CPU & WIFI) my new board is over the ESP32-PICO.

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

Re: ESP32-DevKitC32D

Postby ScriptBasic » Fri Mar 12, 2021 5:39 am

That allowed Hello World to show 4MB. No complaints by the flasher so there must be 4MB on both ESP32 boards.

Would you know how much ram the ESP32-Pico offers compared to the new ESP32-DevKitC32D board?

ESP_Sprite
Posts: 9769
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-DevKitC32D

Postby ESP_Sprite » Sun Mar 14, 2021 1:51 am

Neither of those have PSRAM, so you only have the internal RAM available.

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

Re: ESP32-DevKitC32D

Postby ScriptBasic » Sun Mar 14, 2021 3:35 am

The RPi Pico specs. says the following. The ESP32 version claims about a megabyte of RAM memory. Where is this extra RAM coming from on the ESP32?

Dual-core Arm Cortex-M0+ @ 133MHz
264KB (remember kilobytes?) of on-chip RAM

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32-DevKitC32D

Postby WiFive » Sun Mar 14, 2021 4:00 am

Why are you comparing raspberry pi pico to esp32 pico? They have nothing in common.

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

Re: ESP32-DevKitC32D

Postby ScriptBasic » Sun Mar 14, 2021 4:44 am

For $6 more it's like night and and day. 8-)

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

Re: ESP32-DevKitC32D

Postby ScriptBasic » Wed Mar 17, 2021 6:35 pm

I found a solution for benchmarking my controllers.

Pystone_lowmem

ESP32-PICO-D4

>>> pystone_lowmem.main()
Pystone(1.2) time for 500 passes = 428ms
This machine benchmarks at 1168 pystones/second
>>>

ESP32-DEVKITC32D

>>> pystone_lowmem.main()
Pystone(1.2) time for 500 passes = 432ms
This machine benchmarks at 1157 pystones/second
>>>

RPi Pico

>>> exec(open('Pi_Pico_Pystone_lowmem.py').read())
Pystone(1.2) time for 500 passes = 460ms
This machine benchmarks at 1086 pystones/second
>>>

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

Re: ESP32-DevKitC32D

Postby ScriptBasic » Thu Mar 18, 2021 4:47 am

I have had no luck getting my DHT11 or DHT22 to work on my ESP32's using Micropython's DHT library.

Measure() always fails returning a ETIMEOUT.

Any advice getting this to work?

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

Re: ESP32-DevKitC32D

Postby ScriptBasic » Mon Mar 22, 2021 12:07 pm

Has anyone tried the DHT Micropyton library in the current release? No matter what pin I try I always get a ETIMEOUT on measure(). I tried both DHT11 and DHT22 sensors.

Who is online

Users browsing this forum: Google [Bot] and 85 guests