aerobotics

ESP32 pendant

 
Overview

 

2021/10/27 Add clock demo

 

The original author of the clock demo is the UP owner of Station B: Misaka

 

An ESP8266 version will be released specifically for the clock in the future, which will save costs and be very thin at the same time, so stay tuned.

 

 

*************************************************** *************************************************

 

 

2021/08/11 Updated schematic diagram

 

The component number on the schematic diagram is wrong, please do not refer to the component number (two schematic diagrams do not seem to be allowed to have the same number in the same project, so the number cannot be changed)

 

If you are not confident in your soldering skills, please use the ESP32 burning socket to burn before soldering!

 

*********************** Dividing line************************

 

It is best to download the BOM table from the attachment. There seems to be something wrong with the automatically generated one.

 

ESP32 drives GC9A01 circular screen to display pictures and automatically change according to the set time

The total cost is probably less than 60 yuan, so you can play it if your hands are itchy.

Create an img folder in the root directory of the SD card and use a tool to reduce the image to a resolution of 240x240

(The SD card needs to be formatted into FAT32 format, and the capacity should be less than 8G)

In order to save space (actually I am lazy) the USB to TTL conversion is not shown on the PCB, but the serial port is reserved.

Since this is my first time to draw a PCB, the wiring looks like shit. Please point out any shortcomings.

Note: The pin headers on the PCB all use 2.0mm spacing.

Communication group: 636426429

 

Can be used as a house badge or backpack pendant

 

This project is developed based on Arduino IDE

Use the Arduino_GFX library to drive the screen ( https://github.com/moononournation/Arduino_GFX )

Pictures and video code descriptions and BOM tables are open source at https://github.com/Myzhazha/ESP-32_GC9A01_JPG

Brother, you can change the code and use the AP mode that comes with ESP32 to upload pictures. My code is also a prostitute and will not be changed (dog head)

 

Use this project to play video https://github.com/Myzhazha/ESP-32_GC9A01_JPG/tree/main/Video_Demo 

(This Demo is modified from https://github.com/moononournation/RGB565_video )

 

 

The played video plays mjpeg picture frames and needs to be converted using FFmpeg.

FFmpeg download address https://ffmpeg.org

Instructions for use: Use editing software to modify the resolution of the video to 240x240, and export it to .mp4 format.
Download FFmpeg and hold down the shift key and right-click the mouse in the FFmpeg.exe directory - open the PowerShell window here.

Execute the following command to convert mp4 files to mjpeg format

./ffmpeg -i [你的mp4文件路径] -vf "fps=30,scale=-1:240:flags=lanczos,crop=240:in_h:(in_w-240)/2:0" -q:v 9 [输出路径]

for example:

./ffmpeg -i D:video1.mp4 -vf "fps=30,scale=-1:240:flags=lanczos,crop=240:in_h:(in_w-240)/2:0" -q:v 9 D:video240_30fps.mjpeg

After the conversion is completed, put the 240_30fps.mjpeg file into the root directory of the TF card.

 

 

PCB description:

The U1 button is the Boot button

The U2 button is the EN button

The TIAO jump cap is used to disconnect the power supply of the TF card when burning firmware via the serial port. Plug the jump cap in during normal use and unplug it when burning firmware.

 

Firmware burning instructions:

When burning

TTLRXD corresponds to T on PCB

TTLTXD corresponds to R on the PCB

TTL3.3V corresponds to 3 on the PCB

(Be sure to use 3.3v voltage, 5V voltage will damage the screen and ESP32 module)

TTLGND corresponds to G on the PCB

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-05 20:25:32

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号