
Project Introduction (Physical Image ): Main
Control Chip: ESP12F;
Main Application Scenarios: Remote Check-in
Function Introduction:
The ESP12F connects to the Tencent Cloud IoT platform via Wi-Fi and can be remotely controlled via the Tencent Lianlian WeChat mini-program.
The control board can individually control up to 8 click heads, which can be controlled by eight buttons on the mini-program to click the screen once.
It features screen brightness detection using a photoresistor attached to the phone screen.
It also has a timed phone charging function. Soldering Notes:
The control board was provided free of charge by JLCPCB.
The BOM (Bill of Materials) is provided in the attached table.
The 16-pin Type-C female connector does not need to be soldered. When using a 5V2A charger via a Type-C cable, I found the phone charging speed to be particularly slow; when using a 5V2A DC power supply via H1, the charging speed was not as slow.
The three 4148 diodes on the back do not need to be soldered .
The AO4805 and related circuit components do not need to be soldered.
The H4 connector is the phone's charging interface and is also used to power on and off the phone to turn on the screen.
The click heads
were purchased as finished products from Taobao. Searching for "clicker" will lead you to a purchase package with the main unit shown in the image below.
You buy a package containing as many click heads as you need to click on the screen. All click heads share a single click signal.
For details on the click heads, please search for the patent "CN216772390U - An Electronic Slider and System," which contains detailed circuit diagrams and instructions.

The click head looks like the image below, with a Micro USB plug and a clip to attach to the screen.

Tencent Lianlian Mini Program Interface:

Tencent Cloud IoT Development Platform
User Guide Reference: In the link below, when importing the object model, use the josn file in the attachment. Ignore the network configuration steps.
Step-by-step tutorial – ESP32 MQTT connection to Tencent Cloud IoT Platform and OTA firmware upgrade - ThingsKit
ESP32: Creating IoT devices in Tencent Cloud IoT console (using Tencent Lianlian to control ESP32) _eso32cam Tencent Cloud IoT - CSDN Blog
ESP12F program:
See the attached ino file.
Notes:
Replace WIFI_SSID and WIFI_PASSWORD in lines 9 and 10 with your own Wi-Fi username and password.
Replace DeviceName and ProduceId in lines 12 and 13 with the device name and product ID set in the IoT platform.
Replace MQTT_USERNAME and MQTT_PASSWORD in lines 14 and 15 with the username and password used for device connection in the IoT platform.