Hello and welcome to Edis Techlab.
Today's video is about the ESP32 families from the company Espressif.
There are three types and I would like to in detail with you today,
to get a better overview. At the end of this video
a small practical example. And after that I'm sure EVERYONE CAN DO IT!!!
The ESP32 is produced by the company Espressif. We can purchase the chip in three variants.
As SOC, which stands for system without chip and this is only the pure microprocessor.
The next option we have is to order a so-called module.
Here we have the advantage, that some basic components are already
components are already installed for us, such as the antenna, flash memory
or other components, this depends on the respective module.
Another big advantage of this module is that all the certifications
certifications for RF are already available. Last but not least, we have the dev kits.
Here we have it very simple. The pins are led out in a plug-in board-friendly manner.
We have partially fitted LEDs for a feedback, a USB socket and also a boot connector. and reset button are
normally found on developer kits. In addition to the old ESP32
the new series. We have the well-equipped
ESP32S, followed by the ESP32C and finally we have the ESP32H.
Sometime in 2024, a new ESP will appear.
This chip will be the new flagship, with a high
high performance and its name will be ESP32-P4. Now let's take a look at the individual series in
in detail and let's start with the S series. The ESP32-S2 has a single-core CPU with 32 bits.
It runs at a speed of 240 MHz and What should be noted here is that this chip can connect to
Wi-Fi, but not with Bluetooth. We have 43 GPIOs available,
but there is no flash memory installed. If the chip model R2
is specified on the chip, this means that 2 MB pseudo static RAM is installed.
The pseudo SRAM combines the advantages of SRAM, such as fast read access
and low latency, with a higher memory density,
similar to that of DRAM. The chip is equipped with 2.4 GHz Wi-Fi
and the USB OTG interface. The OTG stands for On-The-Go and
with this interface we can use the ESP32 as a USB flash drive, as
keyboard or mouse. 128 KB ROM and 320 KB SRAM are installed.
And with this chip we have the option of an external RAM or flash memory up to
a size of 1 GB. The second microcontroller is called
ESP32-S2 with the suffix F. This microcontroller also has
also has a flash memory. The letter H indicates the
maximum temperature, e.g. H stands for high up to 105 °C and
N for normal, which goes up to 85 °C. At the number 2 then 2 MB are installed and you
guessed it already, at 4 there are 4 MB. The remaining data is identical to the S2 and
so we won't go through it again. In the ESP32-S3 we have now installed a dual core
processor, again with a speed of 240 MHz.
This time we have Bluetooth 5 on board and two additional GPIOs, i.e. 45 in total.
There are models that have none, 4 or 8 MB flash memory.
We can choose between 2 and 8 MB of PSRAM. We again have 2.4 GHz Wi-Fi on board
on board and the USB OTG interface. And with this chip we have almost
twice as much ROM and SRAM. The S3-Pico is very similar to the S3, only
it has a fixed 8 MB Flash and it comes with less ROM and SRAM.
The big advantage of the Pico is that it contains everything that
peripheral components required, e.g. the crystal oscillator,
decoupling capacitors, SPI Flash, RF matching elements and all this
in a single housing. The models in the ESP32-C series are
all based on the RISC-V standard. This chip architecture is open source and
therefore there are no licence fees. The ESP32-C2 is also called ESP8684.
It has a 120 MHz single-core processor, Bluetooth on board and 14 GPIOs.
This sensor also has a temperature sensor, with which the
temperature can be measured by the ESP. The C3 chip, also known as ESP8685
has a GPIO more, but slightly
less ROM and SRAM. The ESP32-C3, which is available in two variants, one
with 16 GPIOs, the AZ and one with 22. If you have the AZ version, then
you also need an external SPI flash. The ESP32-C6 is available with 22 or
30 GPIOs. What's new here is that Wi-Fi 6 is installed
and the interfaces Thread, ZigBee and Metas for our home automation projects.
Before we start with a small practical example I would like to introduce you to the
last one from the H series. This chip supports all the protocols
we need for home automation, such as ZigBees, Thread and Matters,
but what's missing here is the Wi-Fi. We have 19 GPIOs available on this chip
and also the internal temperature sensor is installed again.
As you can see, there is already a whole of the ESP32 series and when creating this video the
video, the C-61 has already been announced. An overview of all
Espressif products can be found at on the product finder on the website and
if, for example, we are looking for a ZigBee IC then we can
we can select this here and get all ICs filtered for selection.
In this field we can select select the developer boards.
And here again we see all modules that Espressif offers that have introduced the
ZigBee standard. You can find the link to the website
below in the video description. If you want to go deeper into electronics
and home automation then I can recommend
this e-book. This book is constantly being
updated and you can download all future updates for free.
With your purchase you support Edis Techlab and I would like to thank you
thank you very much for this. And good news for all the English speaking folks.
This book is also available now in English.
Have fun! On GitHub we can see which ICs
supported by the Espressif Board Manager. Here we can see that in the current
version of the C6 and the H2 is not yet released in the stable version.
However, if you already have such a board, then we can upgrade the Board Manager
to version 3. But a warning right away, some functions have been
functions have been removed in the new version, which then
no longer and currently the status is still
status is still in the alpha version. The link to which functions
have been added or are no longer available
below in the video description. But I will show you here anyway,
how to install version 3, at least here just for a test.
On this website here we find the link of the JSON file, which we use in the Board
Manager in the Arduino IDE. In the Arduino IDE, we first go to the
the Board Manager tab and search for ESP32. We can see here that we have
have installed version 2.0.11. In the menu under Settings we then see
here under Additional Board Manager, where we see where we can copy the URL of the json file.
We confirm this with OK, OK again and Now we can see in the Board Manager that we have a new
new version, namely 3.0.0 and with click on Update to install
the new version is installed. In the first example we use
the ESP32-C3 Supermini. In the menu under Tool, then Board
we select the ESP32-C3-DEV module under ESP32. And then we check whether the board
is selected at the correct USB interface. And now we can upload the small
Blink sketch to our board. On the C3 Super Mini, the internal LED is attached to the
GBIO8, which we define here at Setup and
then switch we switch on the LED, wait one second,
switch it off and wait half a second until the whole cycle starts again from the beginning.
And the internal LED flashes our ESP32-C3.
Let's still do a second small example, this time
with the ESP32-C3 Mini from the company Lolin. In the Board Manager we search
here after the Lolin C3 Mini. Then we check once again whether the
USB port is selected correctly and then we can we can upload the sketch again.
What should be noted here is that the internal LED is connected to GPIO7.
I hope you enjoyed the video and if you like want to test an ESP32 now
then I can give you here this video about
the Arduino Nano ESP32. I hope you enjoy it.
If you like reading magazines, the new Elektor now has a special issue with a guest article from
Espressif, the manufacturer of the ESP32.