
Board nhiet
NguyenThanhHuy-debug/PCB-Liquid-Dispensing-Cabinet
PCB-Liquid-Dispensing-Cabinet — a software project built with modern tooling.

All file include and source in this: https://github.com/nguyentrungthao/STM32/tree/dev
DO AN DKTD is an open-source printed circuit board by PHAP0610, from the PHAP0610/ThaoRDBoard repository on GitHub. It is a 2-layer board of 96 × 97.3 mm with 164 parts on 150 nets, routed with 951 tracks and 383 vias.
It is built around the ESP-07, XL1509-3.3 and 74HC595, with the 24C32N, AMS1117 and MOC3020M among its other parts. Its parts include 56 resistors, 35 capacitors, 13 connectors, 11 ICs and 10 transistors. It belongs with the ESP8266 and STM32 boards of this library.
All file include and source in this: https://github.com/nguyentrungthao/STM32/tree/dev
| STM32 | 74595 |
|---|---|
| PA4 | SER |
| PA5 | OE |
| PA6 | RCLK |
| PA7 | SRCLK |
high 8-bit to select a 7-segment digit low 8-bit is code-7-segment code7segment is used in this board sequence:
/* this code only use for this version board */
const char code7seg[] = {0xD7, 0x14, 0xCD, 0x5D, 0x1E, 0x5B, 0xDB, 0x15, 0xDF, 0x5F};| STM32 | Rotary Encoder | description |
|---|---|---|
| PA8 | channel A | pull up |
| PA9 | channel B | pull up |
| PA10 | buttuon | pull up |
PA8 - PA9 is encoder mode of timer1
/* Enable TIM1 encoder mode */
/* USER CODE BEGIN 2 */
HAL_TIM_Encoder_Start_IT(&htim1, TIM_CHANNEL_ALL);
/* USER CODE END 2 */
/* Get encoder value */
encoderValue = __HAL_TIM_GetCounter(&htim1);| STM32 | Module | description |
|---|---|---|
| PB0 | AC Detec | pull up |
| PB1 | Triac |
PB0 should be an EXT pin
/* proccess when interrupt */
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){
if(GPIO_Pin == ACDET_Pin){
SETFLAG(FLAG_ACDET_TRIGGER, flag);
// control angle to set triac base on time which is calculated by PID
__HAL_TIM_SET_COUNTER(&htim4, (uint16_t)(triac.giaTriDieuKhien * 1000));
// __HAL_TIM_SET_COUNTER(&htim4, 9000);
}
}| Qty | Value | Footprint | References |
|---|---|---|---|
| 18 | 1k | IVS_FOOTPRINTS:R_0603 | R10, R11, R12, R13, R14, R15, R16, R17, R22, R24, R30, R31, R41, R44, R47, R48 +2 |
| 14 | 100nF | IVS_FOOTPRINTS:C_0603 | C2, C4, C9, C10, C11, C19, C21, C23, C26, C32, C33, C34, C35, C36 |
| 11 | 1uF | IVS_FOOTPRINTS:C_0603 | C1, C3, C15, C16, C17, C18, C22, C25, C29, C30, C31 |
| 10 | 4k7 | IVS_FOOTPRINTS:R_0603 | R1, R2, R3, R4, R5, R7, R8, R26, R27, R55 |
| 8 | NPN | IVS_FOOTPRINTS:SOT23-3 | Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8 |
| 7 | 2k | IVS_FOOTPRINTS:R_0603 | R18, R28, R29, R36, R37, R38, R39 |
| 7 | Led | IVS_FOOTPRINTS:LED_0603 | LE3, LE4, LE5, LE6, LE7, LE8, LE9 |
| 6 | 10k | IVS_FOOTPRINTS:R_0603 | R33, R34, R35, R43, R45, R46 |
| 3 | 10uF | IVS_FOOTPRINTS:C_0603 | C7, C14, C20 |
| 3 | SW_Push | IVS_FOOTPRINTS:SW_SPST_PTS810 | SW2, SW3, SW4 |
| 2 | 100R | IVS_FOOTPRINTS:R_0603 | R58, R59 |
| 2 | 10K | IVS_FOOTPRINTS:R_0603 | R61, R62 |
| 2 | 10nF | IVS_FOOTPRINTS:C_0603 | C5, C6 |
| 2 | 10uF | IVS_FOOTPRINTS:C_0805 | C24, C27 |
| 2 | 180k | IVS_FOOTPRINTS:R_0603 | R6, R9 |
| 2 | 1M | IVS_FOOTPRINTS:R_0603 | R40, R60 |
| 2 | 22pF | IVS_FOOTPRINTS:C_0603 | C12, C13 |
| 2 | 74HC595 | IVS_FOOTPRINTS:SOIC-16W_3.92x10.2mm | U2, U6 |
| 2 | Conn_01x02 | IVS_FOOTPRINTS:KF128-5.0-2P | J2, J5 |
| 2 | Conn_01x03_Pin | Connector_PinHeader_2.00mm:PinHeader_1x03_P2.00mm_Vertical | J11, J12 |
| 2 | Fuse | IVS_FOOTPRINTS:Fuse_1812_4532Metric | F2, F3 |
| 2 | LOGO | IVS_FOOTPRINTS:LoGo_IDF_2.5x2.5mm | G***, G*** |
| 2 | LOGO | IVS_FOOTPRINTS:LoGo_ST_2.5x1.5mm | G***, G*** |
| 2 | LOGO | IVS_FOOTPRINTS:LoGo_1412_10x8mm | G***, G*** |
| 2 | SS54 | IVS_FOOTPRINTS:D_SMA | D6, D8 |
| 1 | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J6 | |
| 1 | 100 | IVS_FOOTPRINTS:R_0603 | R42 |
| 1 | 12k | IVS_FOOTPRINTS:R_0603 | R32 |
| 1 | 1N4148 | IVS_FOOTPRINTS:D_SOD323 | D3 |
| 1 | 22k | IVS_FOOTPRINTS:R_0603 | R21 |
| 1 | 24C32N | IVS_FOOTPRINTS:SOIC-8_3.9x4.9mm_P1.27mm | U8 |
| 1 | 360 | IVS_FOOTPRINTS:R_0805 | R23 |
| 1 | 360 | IVS_FOOTPRINTS:R_0603 | R25 |
| 1 | 39 | IVS_FOOTPRINTS:R_0603 | R19 |
| 1 | 470 | IVS_FOOTPRINTS:R_0603 | R20 |
| 1 | 50nF | IVS_FOOTPRINTS:C_0603 | C8 |
| 1 | 5631AS | IVS_FOOTPRINTS:7Segment_4led_CC_38x19 | LE1 |
| 1 | 5631AS | IVS_FOOTPRINTS:7Segment_4led_Cathode_30x14mm | LE2 |
| 1 | 68uH 2A | IVS_FOOTPRINTS:L_10.4x10.4_H4.8 | L1 |
| 1 | AMS1117 | IVS_FOOTPRINTS:SOT233 | U1 |
| 1 | Ai-Thinker-Ra-02 | IVS_FOOTPRINTS:MODULE_RA-02_LORA | U9 |
| 1 | BAT54C | IVS_FOOTPRINTS:SOT23-3 | D4 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | CR1220 | IVS_FOOTPRINTS:BatteryHolder_CR1220 | BT1 |
| 1 | Conn_01x02_Pin | Connector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_Vertical | J13 |
| 1 | Conn_01x03 | IVS_FOOTPRINTS:Conn_XH-P2.54mm-3P | J4 |
| 1 | Conn_01x04 | IVS_FOOTPRINTS:Conn_XH-P2.54mm-4P | J3 |
| 1 | Conn_01x05_Male | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J7 |
| 1 | Conn_01x07 | IVS_FOOTPRINTS:Conn_XH-P2.54mm-7P | J1 |
| 1 | Crystal_GND24_Small | IVS_FOOTPRINTS:Crystal_3225_4P_3.2x2.6mm | Y1 |
| 1 | D_Schottky | IVS_FOOTPRINTS:D_SOD323 | D7 |
| 1 | ESP-07 | IVS_FOOTPRINTS:ESP8266-07__ESP32-C3-12F | U10 |
| 1 | Fuse | IVS_FOOTPRINTS:Fuseholder_Littelfuse_Nano2_154x | F1 |
| 1 | Jack-DC | IVS_FOOTPRINTS:BarrelJack_Wuerth_6941xx301002 | J10 |
| 1 | MB10F | IVS_FOOTPRINTS:Bridge_MB10F-13 | D1 |
| 1 | MOC3020M | IVS_FOOTPRINTS:DIL06-E | U4 |
| 1 | Micro_SD_Card_Det1 | IVS_FOOTPRINTS:MicroSD_Socket_9P | J8 |
| 1 | N_Mosfet | IVS_FOOTPRINTS:SOT23-3 | Q9 |
| 1 | PC817 | IVS_FOOTPRINTS:OPTO_SOT254P975X400-4N | U3 |
| 1 | P_Mosfet | IVS_FOOTPRINTS:SOT23-3 | Q10 |
| 1 | RTC_DS3231M | IVS_FOOTPRINTS:SOIC-16W_7.5x10.3mm_P1.27mm | IC1 |
| 1 | RotaryEncoder_Switch | IVS_FOOTPRINTS:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW1 |
| 1 | SMF05C | IVS_FOOTPRINTS:TSSOP-6 | D5 |
| 1 | STM32F103C8Tx | IVS_FOOTPRINTS:LQFP-48_7x7mm_P0.5mm | U7 |
| 1 | TRIAC | IVS_FOOTPRINTS:TO-220-3_Vertical | D2 |
| 1 | USB_C_Receptacle | IVS_FOOTPRINTS:USB_C_Receptacle_XKB_U262-16XN-4BVC11 | J9 |
| 1 | XL1509 | IVS_FOOTPRINTS:SOIC-8_3.9x4.9mm_P1.27mm | U5 |
The 159 most common of 164 parts.

NguyenThanhHuy-debug/PCB-Liquid-Dispensing-Cabinet
PCB-Liquid-Dispensing-Cabinet — a software project built with modern tooling.

meeTeam05/smart-air
Devices provision over BLE, publish telemetry/shadow over MQTT, and serve the app through a Cloudflare-fronted Fastify API. See Features below for the full breakdown.

Chethien1912/IoT-Environmental-Monitoring-System
ESP32-based IoT environmental monitoring project semester 2 2025-2026 HCMUTE


TDLOGY/HW_AC-DC-Flyback-5W-5V1A-Reference-Design
AC DC Flyback 5W 5V1A Reference Design

NguyenThanhHuy-debug/PCB_Real-Time-Power-Monitoring-System-Development-Light-Switch
PCBReal-Time-Power-Monitoring-System-Development-Light-Switch — a software project built with modern tooling.


It measures 96 × 97.3 mm and has 2 copper layers, 1.6 mm thick.
164 parts, built around the ESP-07, XL1509-3.3, 74HC595 and 24C32N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the PHAP0610/ThaoRDBoard repository on GitHub, at the commit this page was made from: the board is PCB/DO_AN_DKTD.kicad_pcb and its schematic PCB/DO_AN_DKTD.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask PHAP0610 before reusing the design.