GitHub project: https://github.com/applenana
This PCB is the control board for the AP-AMS project. Key features:
1. The board uses an LM2596S to accept 35V-5V step-down to 5V, and an AMS1117 to step down 5V to 3.3V.
2. Three WS2812 (5050) circuits are connected in series to display the operating status.
3. A TC118S is used to control a single motor.
4. An ESP12F module is used as the main controller.
5. Three I/O channels are open: I/O 14 is pulled low via a 51k resistor, I/O 16 is pulled low via an internal pull-down resistor in the ESP12F, and the ADC can be optionally pulled low via a 51k resistor.
Note: Most components on the board have short-circuit protection, but the motor driver IC [TC118S] does not. Under normal use, this IC is stable and durable, but it will fail if short-circuited. Please ensure proper insulation of the motor!
BD0C70F21843AE6AD8123FEF8398C0CE.mp4
PDF_AP-AMS Control Board 3.0.zip
Altium_AP-AMS Control Board 3.0.zip
PADS_AP-AMS Control Board 3.0.zip
BOM_AP-AMS Control Board 3.0.xlsx
94138
Developing an ammeter based on a 51 microcontroller
This USB power meter, based on the STC8H1K17 main controller and sampling the INA180, can detect the main circuit voltage and current, D+ and D- voltages, display running time, real-time power, and power consumption statistics. It includes a button to clear running time and power consumption statistics. It also features a PD decoy function.
Summer is here, and electricity consumption is increasing as various appliances are used more frequently. This led to the creation of a power meter to calculate electricity usage. This project references https://oshwhub.com/l1009184289/usb-dian-y. The main
control
chip is an STC microcontroller, and the current sampling chip is a Texas Instruments INA180. This chip can detect the main circuit voltage and current, D+ and D- voltages, display running time, real-time power, and current flow statistics. It also includes a button to clear running time and power statistics, and a CH224K decoy chip that supports both type and type input. The circuit features a Type-C input and a button for configuring the CH224K spoofing voltage. The screen uses a 0.96-inch ST7735TFT (the spoofing program function is not yet written;
the schematic design description includes:
the first part is the power supply section and INA188 sampling circuit design;

the second part is the Type-C input and CH224K spoofing circuit design;

then the DC-DC circuit uses an ME3116 step-down chip

connected in series with a 10k resistor for voltage division and sampling;

finally, the main control and screen circuit

PCB design description includes
a two-layer board with color silkscreen printing


; software description;
physical demonstration description;








and precautions.
Reproduction is not recommended at this time.
A demonstration video is also available.)
WeChat_20240621125534.mp4
WeChat_20240621125530.mp4
WeChat_20240621125523.mp4
USB Power Meter Based on STC Microcontroller.zip
PDF_Ammeter Developed Based on 51 Microcontroller.zip
Altium_Ammeter Development Based on 51 Microcontroller.zip
PADS_Ammeter Development Based on 51 Microcontroller.zip
BOM_Development of an Ammeter Based on a 51 Microcontroller.xlsx
94139
electronic