EasyManua.ls Logo

Freenove ESP32-S3 User Manual

Default Icon
142 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #108 background image
Any concerns? support@freenove.com
Chapter 7 Camera Web Server
106
www.freenove.com
ESP32-S3 connects to the router and prints a successful connection prompt. If it has not been successfully
connected, press the reset key on the ESP32-S3 WROOM.
89
90
91
92
93
94
95
96
97
WiFi.begin(ssid, password);
WiFi.setSleep(false);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Open the video streams server function of the camera and print its IP address via serial port.
99
100
101
102
103
startCameraServer();
Serial.print("Camera Ready! Use 'http://");
Serial.print(WiFi.localIP());
Serial.println("' to connect");
Configure the display image information of the camera.
The set_vflip() function sets whether the image is flipped 180°, with 0 for no flip and 1 for flip 180°.
The set_brightness() function sets the brightness of the image, with values ranging from -2 to 2.
The set_saturation() function sets the color saturation of the image, with values ranging from -2 to 2.
36
37
38
39
sensor_t * s = esp_camera_sensor_get();
s->set_vflip(s, 1); //flip it back
s->set_brightness(s, 1); //up the blightness just a bit
s->set_saturation(s, -1); //lower the saturation
Modify the resolution and sharpness of the images captured by the camera. The sharpness ranges from 10 to
63, and the smaller the number, the sharper the picture. The larger the number, the blurrier the picture. Please
refer to the table below.
config.frame_size = FRAMESIZE_VGA;
config.jpeg_quality = 10;
Reference
Image resolution
Sharpness
Image resolution
Sharpness
FRAMESIZE_96X96
96x96
FRAMESIZE_HVGA
480x320
FRAMESIZE_QQVGA
160x120
FRAMESIZE_VGA
640x480
FRAMESIZE_QCIF
176x144
FRAMESIZE_SVGA
800x600
FRAMESIZE_HQVGA
240x176
FRAMESIZE_XGA
1024x768
FRAMESIZE_240X240
240x240
FRAMESIZE_HD
1280x720
FRAMESIZE_QVGA
320x240
FRAMESIZE_SXGA
1280x1024
FRAMESIZE_CIF
400x296
FRAMESIZE_UXGA
1600x1200
Question and Answer IconNeed help?

Do you have a question about the Freenove ESP32-S3 and is the answer not in the manual?

Freenove ESP32-S3 Specifications

General IconGeneral
BrandFreenove
ModelESP32-S3
CategoryControl Unit
LanguageEnglish

Summary

Important Information

Getting Started

Instructions for initial setup and reading the 'Start Here.pdf' document.

Get Support and Offer Input

Information on obtaining technical support and providing feedback to Freenove.

Safety and Precautions

Essential safety guidelines and warnings for using the product.

About Freenove

Copyright

Preface

ESP32-S3 WROOM Overview

Introduction to the ESP32-S3 microcontroller unit and its features.

CH343 Driver Installation

Guide to installing the CH343 driver for Windows and macOS.

Programming Software Setup

Instructions for installing and setting up the Arduino IDE for programming.

Environment Configuration

Steps to configure the Arduino IDE for ESP32-S3 board support.

Notes for GPIO

Details on strapping pins and their configurations for ESP32-S3.

Chapter 1 LED

Project 1.1 Blink

A project demonstrating how to control an LED to blink using ESP32-S3.

Chapter 2 Serial Communication

Project 2.1 Serial Print

Sending data from ESP32-S3 to a computer via serial communication.

Project 2.2 Serial Read and Write

Receiving data from a computer and sending it to ESP32-S3 via serial.

Chapter 3 Bluetooth

Project 3.1 BLE Data Passthrough

Demonstrates data transmission using Bluetooth Low Energy between ESP32-S3 and mobile phones.

Chapter 4 Read and Write the SDcard

Project 4.1 SDMMC Test

Using ESP32-S3 to read and write data to an SD card via SDMMC interface.

Format SD Card

Guide for formatting an SD card on Windows and macOS systems.

Chapter 5 WiFi Working Modes

Project 5.1 Station Mode

Configuring ESP32-S3 to connect to a WiFi router as a client.

Project 5.2 AP Mode

Setting up ESP32-S3 to act as a WiFi Access Point (hotspot).

Project 5.3 AP+Station Mode

Enabling ESP32-S3 to operate as both a WiFi client and Access Point simultaneously.

Chapter 6 TCP/IP

Project 6.1 As Client

Using ESP32-S3 as a TCP client to connect to a server on the same LAN.

Project 6.2 As Server

Using ESP32-S3 as a TCP server to accept client connections.

Chapter 7 Camera Web Server

Project 7.1 Camera Web Server

Accessing ESP32-S3 camera stream via a web browser.

Project 7.2 Video Web Server

Viewing real-time video data from ESP32-S3 camera via web pages.

Project 7.3 Camera and SDcard

Capturing photos with ESP32-S3 camera and saving them to an SD card.

Chapter 8 Camera Tcp Server

Project 8.1 Camera Tcp Server

Displaying ESP32-S3 camera video data on a mobile phone.

What's next?

End of the Tutorial

Concluding remarks and contact information for further assistance.