ESP32 Minimum Hardware

JohnKed
Posts: 13
Joined: Sat Jun 24, 2017 9:07 am

ESP32 Minimum Hardware

Postby JohnKed » Sat Jun 24, 2017 9:31 am

Hello to everyone!

I was starting to playing with the ESP32 and I have a hardware oriented question. The module I using is the ESP-WROOM-32.
What is the minimum hardware-peripheral components that I should use for this module?

For example with the ESP8266 the minimum hardware/peripheral components for best results looks like this:
http://esp8266.github.io/Arduino/versio ... serial.png

Have we got anything similar for the ESP32? For example and pull-up/pull-down resistor from a specific pin to vcc/ground?

f.h-f.s.
Posts: 214
Joined: Thu Dec 08, 2016 2:53 pm

Re: ESP32 Minimum Hardware

Postby f.h-f.s. » Sat Jun 24, 2017 6:40 pm

You can take a look at the devboard schematics viewtopic.php?t=344
olimex has public schematics https://github.com/OLIMEX/ESP32-EVB/blo ... _Rev_B.pdf

JohnKed
Posts: 13
Joined: Sat Jun 24, 2017 9:07 am

Re: ESP32 Minimum Hardware

Postby JohnKed » Sat Jun 24, 2017 8:38 pm

Thank you f.h-f.s. !
That was really helpful!!!

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: ESP32 Minimum Hardware

Postby loboris » Sat Jun 24, 2017 10:15 pm

Minimal hardware you need to use ESP32 module is USB to ttl UART adapter like this one
http://www.ebay.com/itm/6Pin-USB-2-0-to ... SwKIpWER5M
and two buttons to put the module into bootloader mode.
To avoid soldering the wires directly to the module, I would recomend minimal breakout board like this one
http://www.ebay.com/itm/ESP-32S-Support ... SwiDFYPVWe
And, of course, some 3.3V, min 500mA power supply.

Or, all on one board:
http://www.ebay.com/itm/Hot-ESP-32S-Blu ... SwB-1Y24vO

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

Re: ESP32 Minimum Hardware

Postby ESP_Sprite » Sun Jun 25, 2017 3:48 am

Specifically, be sure to use a 3.3V PSU that can actually deliver 3.3V @ 500mA or so. If the ESP32 crashes somewhere around the time WiFi is initialized, most likely your power supply isn't beefy enough.

JohnKed
Posts: 13
Joined: Sat Jun 24, 2017 9:07 am

Re: ESP32 Minimum Hardware

Postby JohnKed » Sun Jun 25, 2017 10:02 am

Thanks alot to everyone of you!

Another simple question! I want to connect an SD card to the ESP. I am using the Arduino core.
It seems that they are using those connections to connect the sd card: https://github.com/espressif/arduino-es ... braries/SD

But on the ESP Wroom 32 datasheet here: https://www.espressif.com/sites/default ... eet_en.pdf
they are specifying other pins for SD usage (shared with the local memory).
Which pins should I use for my project (using Arduino)?
Mainly I want to store and manipulate text files on the SD card, mp3 files and possible run ESP32 firmware code from there.

Any suggestions?

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: ESP32 Minimum Hardware

Postby loboris » Sun Jun 25, 2017 12:11 pm

If you want to use Arduino, follow the Arduino instructions.
It is not possible to run ESP32 firmware code from SD card.

JohnKed
Posts: 13
Joined: Sat Jun 24, 2017 9:07 am

Re: ESP32 Minimum Hardware

Postby JohnKed » Sun Jun 25, 2017 3:53 pm

loboris wrote:If you want to use Arduino, follow the Arduino instructions
Ok, I will! Thanks loboris!
loboris wrote:It is not possible to run ESP32 firmware code from SD card.
Can at least write a .hex file or .bin file or something to the SD card and flash the ESP32 from the SD card?

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: ESP32 Minimum Hardware

Postby loboris » Sun Jun 25, 2017 6:17 pm

JohnKed wrote:...Can at least write a .hex file or .bin file or something to the SD card and flash the ESP32 from the SD card?
It is possible, you could modify the OTA example to do that. But, I don't know if it is possible from Arduino...

User avatar
martinayotte
Posts: 141
Joined: Fri Nov 13, 2015 4:27 pm

Re: ESP32 Minimum Hardware

Postby martinayotte » Mon Jun 26, 2017 3:52 pm

Since the OTA is working in Arduino, it should be possible as @loboris said by modifying the OTA example and taking the bits from SD files.

Who is online

Users browsing this forum: Bing [Bot] and 57 guests