Skip to content

MaESP ESP32 OLED

Introduction

MaESP ESP32 OLED can work on many platforms, such as Arduino/GCC, and Python. by using WiFi/Bluetooth to achieve the IoT project. As a basic controller, ESP32 has very rich learning materials. This development board is a great idea to learn how to develop the Internet of Things for the beginner.

Model:MAKT32

MaESP_ESP32.jpg

Features

  • Wi-Fi Protocols: 802.11b/g/n(802.11n up to 150Mbps),A-MPDU and A-MSDU aggregation and 0.4us guard interval support
  • Wi-Fi Frequency range: 2.402GHz - 2.483Ghz Bluetooth Protocols: Bluetooth v4.2 BR/EDR and BLE specification
  • Bluetooth Radio: NZIF receiver with-97 dBm sensitivity, Class-1/class-2 and class-3 transmitter, AFH
  • Bluetooth Audio: CVSD and SBC
  • CPU: Two low-power Xtensa® 32-bit LX6, ESP32-D0WDQ6
  • CPU clock frequency: 80MHz to 240MHz
  • Module interface: SD card,UART,SPI,SDIO,I2C,LED PWM,Motor PWM,I2S,IR,pulse,GPIO,capacitive touch sensor,ADC,DAC
  • On-chip sensor: Hall sensor
  • On-chip Internal RAM: 520KB
  • Integrated crystal: 40MHz crystal
  • Integrated SPI flash: 4MB
  • ESP32 Module: ESP32 WROOM(NO PSRAM), ESP32 WROVER (8MB PSRAM)
  • Power supply: 5V, integrate 5V-to-3.3V LDO
  • Operating current: Average 80 mA Minimum current delivered by power supply: 500 mA
  • OLED: 1.3inch SSD1306/SSD1315
  • Recommended operation temperature range: --40℃ ~ +85℃
  • Board size: 70*32.6mm
  • Moisture sensitivity level(MSL): Level 3
  • Screen: SSD1306

Usage

Github:MaESP ESP32 OLED

Projects in Thonny

Ultrasonic Ranging

Note: MaESP ESP32 OLED can be developed using micropython, provided the corresponding firmware is required. You can download the micropython firmware for esp32 from the official website and burn it.

Sensor Connection

We use the HC-SR04 Module at:

https://www.makerfabs.com/hc-sr04-ultrasonic-range-measurement-module.html

800pxMakePython_ESP32_4.jfif

Connect the simple sensor to ESP32 boards as follows:

HC-SR04 Pins MaESP ESP32 Pins
VCC 5V
Trig IO13
Echo IO12
GND GND

Connect MaESP ESP32 OLED to your computer through a USB cable.

How to use the Thonny

1.1Installing Thonny

1.2Connection

Connect MaESP ESP32 OLED to your computer through an USB cable, follow the steps:

  • Tools > Option>>interperter

Choose the interpreter and port:

MaESP_ESP32thonny option com.jpg

  • Go to View > Files

MaESP_ESP32thonny file.jpg

  • Go to the path where you downloaded the file, upload the code in MicroPython device

MaESP_ESP32thonny upload.jpg

  • Click the hc_sr04.py, and Press the Connect button to establish serial communication with your board.

MaESP_ESP32thonny button.jpg

Show:

MaESP_ESP32thonny running.jpg

700pxMakePython_ESP32_7.jfif

Projects in Arduino

MaESP ESP32 OLED also can develop in Arduino IDE, based on C/C++. You should add the ESP32 SDK in Arduino, and use the Corresponding development firmware

Web Server Control LED

1.Connect LED

Connect the long LED pin to the end of the 330R resistor, the other end of the resistance is connected to 3.3v, the short pin of the LED lamp is connected to the IO27/IO26 of ESP32. As follows:

MaESP_ESP32led.jpg

2.Connect WiFi

  • Open the GitHub. Click to download the MaESP ESP32 Arduino control in the example file.

  • Open the file and modify the 'SSID' and 'PASSWORD' to local WIFI and password:

SSID = "Makerfabs"     #Modify here with SSID
PASSWORD = "20160704"  #Modify here with PWD
  • Select and set the parameter in the Tools menu, as the picture:

MaESP ESP32 LED control upload .jpg

  • After verifying and unloading the code, the new client build-up, copy the IP address.

serial monitor.JPG

  • Open the browser and enter the IP address. You can see the page as follows.

client.JPG

  • Users can now turn the led on and off by clicking on/off.

red turn on page.JPG

red turn on.jpg

NTP Demo

NTP(Network time protocol), which is a protocol used to synchronize computer time. It allows a computer to synchronize its servers or clock sources (such as quartz clocks, GPS, etc.). This demo can display the real-time time on the screen.

  • Open the GitHub. Click to download the example file of MaESP ESP32 Arduino OLED.

  • Open the file and modify the 'SSID' and 'PASSWORD' to local WIF and password:

maeso esp32 NTP TIME CONFIG.JPG

  • Verify and upload the sketch., show the demo as follows.

MaESP ESP32 NTP time display.jpg

FAQ

You can list your question here or contact techsupport@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.

Resource