Tags: ESP32, WIFI, Development, Kit, Board, bluetooth, ble, wroom

ESP32 WROOM Module

  • 29.00 AED
    • Ex Tax:29.00 AED
    • Product Code: ESP32
    • Availability: In Stock
    The ESP32 is a System on Chip (SoC) designed by Espressifs systems that can be used to add both Wi-Fi and Bluetooth functionality to projects. It is ideal for the development of mobile devices, IoT applications and wearable electronics due to its wireless capabilities and smart power management amon..

    The ESP32 is a System on Chip (SoC) designed by Espressifs systems that can be used to add both Wi-Fi and Bluetooth functionality to projects. It is ideal for the development of mobile devices, IoT applications and wearable electronics due to its wireless capabilities and smart power management among other features. Since the ESP32 SoC comes in the form of a surface mount chip or module, it is not easy to use for prototyping in its barebones state. That is why it is advisable to use an ESP32 breakout board when developing your projects.

    To access all the features on the ESP32, one must have access to all its pins. The ESP32 breakout boards make this possible by providing a breadboard-friendly pin configuration that developers can use to easily interface the ESP32 with other devices and components. In addition to this, the breakout boards provide all additional circuitry that the ESP32 needs to function. All these things expedite the prototype development process, reducing the cost and time it takes to build a project using the ESP32 SoC.

    Robust Design

    ESP32 is capable of functioning reliably in industrial environments, with an operating temperature ranging from –40°C to +125°C. Powered by advanced calibration circuitries, ESP32 can dynamically remove external circuit imperfections and adapt to changes in external conditions.

     
    Ultra-Low Power Consumption

    Engineered for mobile devices, wearable electronics and IoT



    applications, ESP32 achieves ultra-low power consumption with a combination of several types of proprietary software. ESP32 also includes state-of-the-art features, such as fine-grained clock gating, various power modes and dynamic power scaling.

    High Level of Integration

    ESP32 is highly-integrated with in-built antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules. ESP32 adds priceless functionality and versatility to your applications with minimal Printed Circuit Board (PCB) requirements.

     
    Hybrid Wi-Fi & Bluetooth Chip

    ESP32 can perform as a complete standalone system or as a slave device to a host MCU, reducing communication stack overhead on the main application processor. ESP32 can interface with other systems to provide Wi-Fi and Bluetooth functionality through its SPI / SDIO or I2C / UART interfaces.


    ESP-WROOM-32: Uploading a program with Arduino IDE

    The objective of this post is to explain how to upload an Arduino program to the WROOM module.


    Introduction

    The objective of this post is to explain how to upload an Arduino program to the WROOM module

    We will cover in more detail the hardware configuration needed to upload a program to the module. 

    Please note that this is an ESP32 module suitable for integration in electronic designs and not a development board for testing/development. Thus, the pin spacing is very small and it requires some special manual soldering skills to be able to use it. Naturally, this kind of spacing is adequate for non-manual soldering procedures.


    The hardware

    In order to be able to upload programs to this module, we need a Serial-USB converter, so we can communicate with it. I’ve used the one shown here, which allows us to change between 3.3V and 5V operating voltage.

    Important: The ESP32 is a 3.3V device and the WROOM module doesn’t do any voltage level conversion. So, the Serial-USB converter to be used must operate at 3.3V. Otherwise, the ESP32 may get damaged.

    One thing that we need to take in consideration is that in order to be able to program the ESP32, the GPIO0 must be kept low [1]. Also, for the device to work, the EN pin (chip enable pin) must be connected to VCC, since it operates in an active-high configuration [2].

    So, taking the previous points in consideration, figure 1 shows the minimal configuration needed to be able to program the ESP-WROOM-32 module. The other pins of the devices are not shown for simplicity. Also note that I’m assuming that the Serial-USB converter power is being supplied by the USB connection, which is the typical use case.

    ESP-WROOM-32 Programming circuit

    Figure 1 – Minimum hardware configuration needed to program the ESP-WROOM-32.

    Please take in consideration that for the sake of simplicity I’m not following the best practices here, such as including power supply bypass capacitors and other important aspects needed to keep the device working with the best reliability. So please don’t use this hardware configuration in a final design, since it is only suitable for a quick interaction with the module.

    Although in the figure we have the IO0 connected to GND, this configuration is only adequate for uploading the program. After that, you need to disconnect it from GND, so the program uploaded runs.


    The code

    The code for this tutorial will be very simple and consists in a simple “Hello World” message being printed periodically to the serial port. So, we start by opening a serial connection in the setup function, with a baud rate of 115200. You can check more on initiating a serial connection here.

    Next, on the main loop function, we will print a simple “Hello World” message. To do so we can call the println method on the Serial object. After that, we do a short delay by calling the Arduino delay function, which receives as input the number of milliseconds to wait.

    Check below the full source code for this simple program.

    1
    2
    3
    4
    5
    6
    7
    8
    void setup() {
      Serial.begin(115200);
    }
     
    void loop() {
      Serial.println("Hello from ESP-WROOM-32");
      delay(1000);
    }


    The Arduino IDE configuration

    In order to be able to upload the code to the Arduino, we need to select a suitable uploading configuration in the Tools menu.

    figure 2.

    ESP-WROOM-32 Programming configuration.png

    Figure 2 – ESP32 FireBeetle board selection in Arduino IDE.

    After selecting this board and selecting the correct COM port assigned to the Serial-USB converter, just hit the upload button. The code should now be compiled and uploaded. After a correct upload, you should get an output similar to figure 3 on the IDE console.

    ESP32 Upload correct message

    Figure 3 – Message after a successful upload.

    After this, power off the module, disconnect the IO0 pin from GND and power the device on again. Then, open the serial monitor of the Arduino IDE. You should get an output similar to figure 4, where our defined “Hello World” message is being printed each second.

    Hello World ESP32-WROOM-32.png

    There are no reviews for this product.

    Write a review

    Please login or register to review

    FREE RETURNS

    *for faulty items and in-store drop off for unused items. T&C applies.

    Customer Support

    We really care about you and your order as much as you do. Please contact us without hesitation.

    INTERNATIONAL SHIPPING

    We can ship your order internationally. Please contact us first before proceeding with your order.

    Fast Delivery

    You want your item next day? No problem! We advise contacting us ASAP to insure smooth delivery experience