1. Hardware part
1. Use "Gerber_PCB_appcardV2.zip" to create the pcb board. You can also create the board directly.
The thickness of the board is 1.6mm, there are no other requirements, because the 3D shell is designed based on this
2. Purchase components
directly according to the schematic diagram or PCB diagram.
You need to pay attention to the height of the buzzer. The 3D shell has reserved 1.5mm, and the actual final
buzzer height cannot exceed 5.5mm.
In addition, esp32 wrapr is used, not wroom, and the two packages are different.
3. Other hardware materials
(1) screen
Plug-in model-without touch screen, st7789
If you need to develop a touch screen yourself, the circuit and program need to be modified.
(2)
Use 4 m2*10 or 8 m1*5 screws. If you are worried about slipping, try to buy m1 screws.
4. 3D printed shell
There are 4 files, but 3 types
appcard-Body is the bottom shell
appcard-Body001 is the cover
appcard-btn002 and appcard-btn003 correspond to buttons of different lengths. The front one has an extra 1mm after installation, and the back one has an extra 2mm.
Try to choose light curing as the 3D printing method, because those 1mm screw holes require high precision, and other printing methods may not be good enough.
5. Welding and assembly instructions.
You can watch the video on site b for welding and assembly.
Things you need to pay attention to when welding are
A. The plug-in pins need to be cut off to be level with the pcb
. B. The photoresistor needs to come out a little more, just bend it at the slot, and then Stretch out part
C, and move the four fixed pins of Typec as far out as possible, so that the clip inside the typec seat can easily catch the typec data line
D. The B and G that are next to each other on the pcb are for short circuit, and they do not need to be Solder the pins.
If you don't need a serial port among the 6 pin headers, you don't need to solder them. You only need to solder 4 (3V3, G, RX, TX). Both the pins and the header headers need to be bent,
otherwise the height will be too high and it will not be installed at all. The shell is on
6. For the 5v typec power supply, try to choose a low-current charger, 1a or 2a, and do not use one with too much current.
For more information, please refer to the PDF document in the attachment. The attachment limits the file size. The color screen projection assistant is too large and I put it on the network disk.
Extraction code: 9527
For high-definition videos, please check: B station video address
Welcome to like and collect
//My change description: V1.0 program
//Transplant the SD2 code to esp32, the pins need to be changed, the pins and resolution need to be changed, the main changes are ArduinolibrariesTFT_eSPIUser_Setup.h and the window size in the main program appcard.ino
//The bottom is empty Increase the number of fans of station b in the area, add the Chinese font used to display station b characters, add the icon of station b at the bottom
//increase NVS reading, the wifi username and password storage areas of esp32 and 8266 are different, 8266 does not need to be saved directly in the flash area Additional processing, esp32 saved in the NVS area needs to be manually called
//Modify the distribution mode, change it to web distribution, the city code and b station uid can be entered on the distribution page
//The city name font is incomplete, replace the full font
//Add automatic Brightness control
// Add boot animation, currently 3, other pictures need to be modified and compiled
// Reserve the alarm clock function, add code later
// Modify the serial port function, remove the city code setting (because it is already in the distribution network), Added common brightness settings (when automatic brightness is turned off), minimum brightness setting (when automatic brightness is turned on), English word carousel time setting (minutes)
//In case of power outage, press the button without releasing it, and then plug in TYPE -C data line is powered on. After powering on, wait about 1 second. There will be a prompt on the screen indicating which step to stay in. Release the button and you will enter the step. It will take effect after restarting.
//The key control functions are:
//1, Automatic brightness on and off
//2, network configuration mode
//3, startup animation off
//4, startup animation set to picture 1 (default)
//5, startup animation set to picture 2
//6, startup animation set to Picture 3
//7, the bottom animation is set to picture 1 (default)
//8, the bottom animation is set to picture 2
//9, the page selects 1 weather clock (default)
//10, the page selects 2 full-screen digital clock
//11 , page selection 3 disk clock
// 12, page selection 4 screen projection assistant
// 13, page selection 5 English vocabulary book
// 14, page selection 6 drinking water assistant
// 15, page selection 7 game flappy bird
// 16, Page Select 8 System Information
// 17, Page Select 9 About
// Add a full-screen digital clock interface, press the button to immediately synchronize ntp time
// Add a disc clock interface, press the button to immediately synchronize ntp time
// Add The screen projection function page requires the cooperation of the host computer
//Add English word book function, support carousel time setting, press the button to immediately change words and synchronize ntp time, the default is 7990 words.
//Add the drinking water assistant function, the default is 8 cups of water, press once to increase one time, prompt different contents and display progress, will not be lost after power failure, clear 0 and restart the count at 1:10 every night. After more than 24 times, it will be cleared after restarting.
//Add game flappy bird, key operation, high score saving record will not be lost after power failure
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet