Elecrow ESP32 WT32-SC01 Dev Board with 3.5" Multi-Touch Screen, Bluetooth & WiFi
Elecrow ESP32 WT32-SC01 Dev Board with 3.5" Multi-Touch Screen, Bluetooth & WiFi
The Elecrow ESP32 WT32-SC01 Dev Board is a comprehensive development board featuring a 3.5" multi-touch screen, Bluetooth, and WiFi capabilities, built around the powerful ESP32 microcontroller. This board offers a versatile platform for developers, makers, and IoT enthusiasts to create innovative projects, prototypes, and products.
| Wi-Fi | Supports 802.11 b/g/n Wi-Fi standard, enabling fast and reliable wireless connectivity. |
Features Bluetooth 4.2, allowing for seamless connections to other devices.
| Micro-SD Card Slot | Supports up to 64GB of external storage. |
| USB Type-C | Enables easy programming, debugging, and data transfer. |
| 3.5mm Audio Jack | Supports audio output. |
Built-in microphone for voice-based applications.
22 programmable GPIO pins for connecting external peripherals and modules.
| I2C, I2S, SPI, UART | Supports various serial communication protocols. |
Supports USB-C charging for Li-ion/Li-polymer batteries.
On-board voltage regulator ensures stable power supply to the board.
85mm x 55mm (3.34" x 2.17")
Four mounting holes for secure attachment to enclosures or projects.
| The Elecrow ESP32 WT32-SC01 Dev Board is designed for a wide range of applications, including |
| The Elecrow ESP32 WT32-SC01 Dev Board is supported by a range of software platforms, including |
Elecrow provides extensive documentation, including datasheets, user manuals, and example codes, to help developers get started with the ESP32 WT32-SC01 Dev Board. Additionally, a large community of developers and users contributes to the board's ecosystem, offering a wealth of information and resources.
Elecrow ESP32 WT32-SC01 Dev Board DocumentationOverviewThe Elecrow ESP32 WT32-SC01 Dev Board is a comprehensive IoT development board that features an ESP32 microcontroller, a 3.5" multi-touch screen, Bluetooth, and WiFi capabilities. This board is ideal for developing a wide range of IoT projects, from simple automation systems to complex multimedia applications.Hardware SpecificationsMicrocontroller: ESP32 Dual-Core 32-bit LX6 Microprocessor
Display: 3.5" Multi-Touch Capacitive Screen with 320x480 Resolution
Bluetooth: Bluetooth 4.2 with BLE support
WiFi: 2.4 GHz WiFi with 802.11 b/g/n support
Interfaces: USB, UART, SPI, I2C, I2S, SD card slot
Power Supply: 5V DC input, onboard 3.3V regulatorSoftware DevelopmentThe Elecrow ESP32 WT32-SC01 Dev Board supports various programming languages, including C, C++, MicroPython, and Lua. For this documentation, we will focus on MicroPython examples.Example 1: Basic WiFi Connectivity and Web ServerThis example demonstrates how to connect to a WiFi network and create a simple web server using MicroPython.```
import machine
import network
import socket# WiFi setup
wifi = network.WLAN(network.STA_IF)
wifi.active(True)
wifi.connect('your_wifi_ssid', 'your_wifi_password')# Wait for WiFi connection
while not wifi.isconnected():
passprint('Connected to WiFi')# Create a socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('', 80))
s.listen(5)print('Web server started on port 80')while True:
conn, addr = s.accept()
request = conn.recv(1024)
print('Request from', addr)
conn.send('HTTP/1.1 200 OK
Hello, World!')
conn.close()
```Example 2: Bluetooth Low Energy (BLE) AdvertisingThis example demonstrates how to use the Elecrow ESP32 WT32-SC01 Dev Board as a BLE peripheral device, advertising a simple service and characteristic.```
import ubluetooth# Initialize BLE
ble = ubluetooth.BLE()# Set device name and appearance
ble.config(device_name='Elecrow ESP32', appearance=0x0080)# Define a simple service and characteristic
service_uuid = ubluetooth.UUID('12345678-1234-1234-1234-123456789012')
char_uuid = ubluetooth.UUID('90123456-1234-1234-1234-123456789012')# Create a service and characteristic
service = ble.service(service_uuid)
char = service.characteristic(char_uuid, ubluetooth.ATTRIBUTE.WRITE)# Start advertising
ble.advertise()
print('Advertising started')while True:
# Handle BLE events
pass
```Example 3: Touch Screen and GraphicsThis example demonstrates how to use the 3.5" multi-touch screen to display graphics and handle touch events.```
import machine
import utouch# Initialize touchscreen
ts = utouch.TouchScreen()# Define a function to draw a rectangle
def draw_rect(x, y, w, h, color):
ts.set_pixel(x, y, color)
ts.set_pixel(x+w-1, y, color)
ts.set_pixel(x, y+h-1, color)
ts.set_pixel(x+w-1, y+h-1, color)
for i in range(w-2):
ts.set_pixel(x+i+1, y, color)
ts.set_pixel(x+i+1, y+h-1, color)
for i in range(h-2):
ts.set_pixel(x, y+i+1, color)
ts.set_pixel(x+w-1, y+i+1, color)# Draw a red rectangle
draw_rect(50, 50, 100, 100, 0xff0000)# Handle touch events
while True:
touch = ts.read_touch()
if touch:
print('Touch detected at ({}, {})'.format(touch.x, touch.y))
# Handle touch event based on touch coordinates
```These examples demonstrate the versatility of the Elecrow ESP32 WT32-SC01 Dev Board and its capabilities in WiFi connectivity, BLE advertising, and graphics rendering. With its rich set of features and MicroPython support, this board is an ideal choice for a wide range of IoT projects.