Compare commits

..

3 Commits

Author SHA1 Message Date
Luca 2f4dc49c2a Connect button/led to MCU 2020-10-19 20:02:26 +02:00
Luca 3201e82df1 Replace step-down converter with LDO 2020-10-19 18:53:43 +02:00
Luca 3d2621ac67 Add current-limiting resistors to led 2020-10-19 18:35:47 +02:00
3 changed files with 169 additions and 167 deletions

View File

@ -26,10 +26,6 @@ https://www.st.com/resource/en/user_manual/dm00075710-stmtouch-driver-user-manua
https://www.st.com/resource/en/data_brief/32f0-touch-lib.pdf
### Richtek Tech RT8009-33GJ5
https://datasheet.lcsc.com/szlcsc/Richtek-Tech-RT8009-33GJ5_C16078.pdf
### MEIHUA MHPA1515RGBDT
https://datasheet.lcsc.com/szlcsc/1907221506_MEIHUA-MHPA1515RGBDT_C404281.pdf
@ -37,3 +33,7 @@ https://datasheet.lcsc.com/szlcsc/1907221506_MEIHUA-MHPA1515RGBDT_C404281.pdf
### ST AN4312
https://www.st.com/resource/en/application_note/dm00087990-design-with-surface-sensors-for-touch-sensing-applications-on-mcus-stmicroelectronics.pdf
### Torex Semicon XC6206P332MR
https://datasheet.lcsc.com/szlcsc/Torex-Semicon-XC6206P332MR_C5446.pdf

View File

@ -52,29 +52,6 @@ X ~ 2 0 -100 80 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_L
#
DEF Device_L L 0 40 N N 1 F N
F0 "L" -50 0 50 V V C CNN
F1 "Device_L" 75 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Choke_*
*Coil*
Inductor_*
L_*
$ENDFPLIST
DRAW
A 0 -75 25 -899 899 0 1 0 N 0 -100 0 -50
A 0 -25 25 -899 899 0 1 0 N 0 -50 0 0
A 0 25 25 -899 899 0 1 0 N 0 0 0 50
A 0 75 25 -899 899 0 1 0 N 0 50 0 100
X 1 1 0 150 50 D 50 50 1 1 P
X 2 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_LED_RABG
#
DEF Device_LED_RABG D 0 0 Y N 1 F N
@ -207,24 +184,22 @@ X VDDA 9 100 1500 100 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Regulator_Switching_PAM2305AAB330
# Regulator_Linear_XC6206PxxxMR
#
DEF Regulator_Switching_PAM2305AAB330 U 0 20 Y Y 1 F N
F0 "U" -300 250 50 H V L CNN
F1 "Regulator_Switching_PAM2305AAB330" -100 250 50 H V L CNN
F2 "Package_TO_SOT_SMD:TSOT-23-5" 50 -250 50 H I L CNN
F3 "" -250 -350 50 H I C CNN
ALIAS PAM2305AAB280 PAM2305AAB250 PAM2305AAB180 PAM2305AAB150 PAM2305AAB120 PAM2305AABADJ
DEF Regulator_Linear_XC6206PxxxMR U 0 10 Y Y 1 F N
F0 "U" -150 125 50 H V C CNN
F1 "Regulator_Linear_XC6206PxxxMR" 0 125 50 H V L CNN
F2 "Package_TO_SOT_SMD:SOT-23" 0 225 50 H I C CIN
F3 "" 0 0 50 H I C CNN
ALIAS APE8865N-15-HF-3 APE8865N-16-HF-3 APE8865N-17-HF-3 APE8865N-18-HF-3 APE8865N-19-HF-3 APE8865N-20-HF-3 APE8865N-21-HF-3 APE8865N-22-HF-3 APE8865N-23-HF-3 APE8865N-24-HF-3 APE8865N-25-HF-3 APE8865N-26-HF-3 APE8865N-27-HF-3 APE8865N-28-HF-3 APE8865N-29-HF-3 APE8865N-30-HF-3 APE8865N-31-HF-3 APE8865N-32-HF-3 APE8865N-33-HF-3 AP2127N-1.0 AP2127N-1.2 AP2127N-1.5 AP2127N-1.8 AP2127N-2.5 AP2127N-2.8 AP2127N-3.0 AP2127N-3.3 XC6206PxxxMR
$FPLIST
TSOT?23*
SOT?23*
$ENDFPLIST
DRAW
S -300 200 300 -200 0 1 10 f
X Vin 1 -400 100 100 R 50 50 1 1 W
X GND 2 0 -300 100 U 50 50 1 1 W
X EN 3 -400 -100 100 R 50 50 1 1 I
X FB 4 400 -100 100 L 50 50 1 1 I
X SW 5 400 100 100 L 50 50 1 1 O
S -200 75 200 -200 0 1 10 f
X GND 1 0 -300 100 U 50 50 1 1 W
X VO 2 300 0 100 L 50 50 1 1 w
X VI 3 -300 0 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#

View File

@ -449,108 +449,71 @@ Wire Wire Line
Wire Wire Line
4200 1900 4800 1900
$Comp
L Regulator_Switching:PAM2305AAB330 U?
U 1 1 5F8D63FD
P 2000 3000
F 0 "U?" H 2000 3367 50 0000 C CNN
F 1 "RT8009-33GJ5" H 2000 3276 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:TSOT-23-5" H 2050 2750 50 0001 L CNN
F 3 "https://www.richtek.com/assets/product_file/RT8009/DS8009-07.pdf" H 1750 2650 50 0001 C CNN
1 2000 3000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5F8E147F
P 2000 3350
F 0 "#PWR?" H 2000 3100 50 0001 C CNN
F 1 "GND" H 2005 3177 50 0000 C CNN
F 2 "" H 2000 3350 50 0001 C CNN
F 3 "" H 2000 3350 50 0001 C CNN
1 2000 3350
P 1550 3300
F 0 "#PWR?" H 1550 3050 50 0001 C CNN
F 1 "GND" H 1555 3127 50 0000 C CNN
F 2 "" H 1550 3300 50 0001 C CNN
F 3 "" H 1550 3300 50 0001 C CNN
1 1550 3300
1 0 0 -1
$EndComp
$Comp
L power:VBUS #PWR?
U 1 1 5F8DF4E5
P 1000 2850
F 0 "#PWR?" H 1000 2700 50 0001 C CNN
F 1 "VBUS" H 1015 3023 50 0000 C CNN
F 2 "" H 1000 2850 50 0001 C CNN
F 3 "" H 1000 2850 50 0001 C CNN
1 1000 2850
P 1000 2900
F 0 "#PWR?" H 1000 2750 50 0001 C CNN
F 1 "VBUS" H 1015 3073 50 0000 C CNN
F 2 "" H 1000 2900 50 0001 C CNN
F 3 "" H 1000 2900 50 0001 C CNN
1 1000 2900
1 0 0 -1
$EndComp
Wire Wire Line
2000 3300 2000 3350
$Comp
L Device:L L?
U 1 1 5F901304
P 2600 2900
F 0 "L?" V 2790 2900 50 0000 C CNN
F 1 "4u7" V 2699 2900 50 0000 C CNN
F 2 "" H 2600 2900 50 0001 C CNN
F 3 "~" H 2600 2900 50 0001 C CNN
1 2600 2900
0 -1 -1 0
$EndComp
$Comp
L power:+3V3 #PWR?
U 1 1 5F901CC6
P 2950 2850
F 0 "#PWR?" H 2950 2700 50 0001 C CNN
F 1 "+3V3" H 2965 3023 50 0000 C CNN
F 2 "" H 2950 2850 50 0001 C CNN
F 3 "" H 2950 2850 50 0001 C CNN
1 2950 2850
P 2100 2900
F 0 "#PWR?" H 2100 2750 50 0001 C CNN
F 1 "+3V3" H 2115 3073 50 0000 C CNN
F 2 "" H 2100 2900 50 0001 C CNN
F 3 "" H 2100 2900 50 0001 C CNN
1 2100 2900
1 0 0 -1
$EndComp
Wire Wire Line
2400 2900 2450 2900
$Comp
L Device:C_Small C?
U 1 1 5F9081DC
P 2950 3100
F 0 "C?" H 3042 3146 50 0000 L CNN
F 1 "10u" H 3042 3055 50 0000 L CNN
F 2 "" H 2950 3100 50 0001 C CNN
F 3 "~" H 2950 3100 50 0001 C CNN
1 2950 3100
P 2100 3100
F 0 "C?" H 2192 3146 50 0000 L CNN
F 1 "1u" H 2192 3055 50 0000 L CNN
F 2 "" H 2100 3100 50 0001 C CNN
F 3 "~" H 2100 3100 50 0001 C CNN
1 2100 3100
1 0 0 -1
$EndComp
Wire Wire Line
2400 3100 2800 3100
Wire Wire Line
2800 3100 2800 2900
$Comp
L power:GND #PWR?
U 1 1 5F919BC6
P 2950 3350
F 0 "#PWR?" H 2950 3100 50 0001 C CNN
F 1 "GND" H 2955 3177 50 0000 C CNN
F 2 "" H 2950 3350 50 0001 C CNN
F 3 "" H 2950 3350 50 0001 C CNN
1 2950 3350
P 2100 3300
F 0 "#PWR?" H 2100 3050 50 0001 C CNN
F 1 "GND" H 2105 3127 50 0000 C CNN
F 2 "" H 2100 3300 50 0001 C CNN
F 3 "" H 2100 3300 50 0001 C CNN
1 2100 3300
1 0 0 -1
$EndComp
Wire Wire Line
2750 2900 2800 2900
Connection ~ 2800 2900
Wire Wire Line
2800 2900 2950 2900
Wire Wire Line
2950 3000 2950 2900
Wire Wire Line
2950 3200 2950 3350
2100 3200 2100 3300
$Comp
L power:GND #PWR?
U 1 1 5F93233C
P 1000 3350
F 0 "#PWR?" H 1000 3100 50 0001 C CNN
F 1 "GND" H 1005 3177 50 0000 C CNN
F 2 "" H 1000 3350 50 0001 C CNN
F 3 "" H 1000 3350 50 0001 C CNN
1 1000 3350
P 1000 3300
F 0 "#PWR?" H 1000 3050 50 0001 C CNN
F 1 "GND" H 1005 3127 50 0000 C CNN
F 2 "" H 1000 3300 50 0001 C CNN
F 3 "" H 1000 3300 50 0001 C CNN
1 1000 3300
1 0 0 -1
$EndComp
$Comp
@ -558,80 +521,144 @@ L Device:C_Small C?
U 1 1 5F93753A
P 1000 3100
F 0 "C?" H 1092 3146 50 0000 L CNN
F 1 "4u7" H 1092 3055 50 0000 L CNN
F 1 "1u" H 1092 3055 50 0000 L CNN
F 2 "" H 1000 3100 50 0001 C CNN
F 3 "~" H 1000 3100 50 0001 C CNN
1 1000 3100
1 0 0 -1
$EndComp
Wire Wire Line
1000 3200 1000 3350
Wire Wire Line
1550 3100 1600 3100
Wire Wire Line
1000 2850 1000 2900
Wire Wire Line
1000 2900 1300 2900
Wire Wire Line
1350 3100 1300 3100
Wire Wire Line
1300 3100 1300 2900
Connection ~ 1300 2900
Wire Wire Line
1300 2900 1600 2900
1000 3200 1000 3300
$Comp
L Device:R_Small R?
U 1 1 5F8E1873
P 1450 3100
F 0 "R?" V 1254 3100 50 0000 C CNN
F 1 "10k" V 1345 3100 50 0000 C CNN
F 2 "" H 1450 3100 50 0001 C CNN
F 3 "~" H 1450 3100 50 0001 C CNN
1 1450 3100
0 -1 -1 0
U 1 1 5F9366E4
P 1300 4550
F 0 "R?" H 1359 4596 50 0000 L CNN
F 1 "1k" H 1359 4505 50 0000 L CNN
F 2 "" H 1300 4550 50 0001 C CNN
F 3 "~" H 1300 4550 50 0001 C CNN
1 1300 4550
1 0 0 -1
$EndComp
Wire Wire Line
2950 2850 2950 2900
Connection ~ 2950 2900
Wire Wire Line
1000 3000 1000 2900
Connection ~ 1000 2900
Text Label 1000 4000 0 50 ~ 0
LED_R
Text Label 1000 4200 0 50 ~ 0
LED_G
Text Label 1000 4400 0 50 ~ 0
LED_B
$Comp
L Device:LED_RABG D?
U 1 1 5F998A03
P 2000 4500
F 0 "D?" H 2000 4997 50 0000 C CNN
F 1 "MHPA1515RGBDT" H 2000 4906 50 0000 C CNN
F 2 "" H 2000 4450 50 0001 C CNN
F 3 "~" H 2000 4450 50 0001 C CNN
1 2000 4500
L Device:R_Small R?
U 1 1 5F935EFD
P 1500 4350
F 0 "R?" H 1559 4396 50 0000 L CNN
F 1 "1k" H 1559 4305 50 0000 L CNN
F 2 "" H 1500 4350 50 0001 C CNN
F 3 "~" H 1500 4350 50 0001 C CNN
1 1500 4350
1 0 0 -1
$EndComp
$Comp
L Device:R_Small R?
U 1 1 5F9354AF
P 1700 4150
F 0 "R?" H 1759 4196 50 0000 L CNN
F 1 "1k" H 1759 4105 50 0000 L CNN
F 2 "" H 1700 4150 50 0001 C CNN
F 3 "~" H 1700 4150 50 0001 C CNN
1 1700 4150
1 0 0 -1
$EndComp
$Comp
L power:+3V3 #PWR?
U 1 1 5F99F347
P 2250 4450
F 0 "#PWR?" H 2250 4300 50 0001 C CNN
F 1 "+3V3" H 2265 4623 50 0000 C CNN
P 2500 4450
F 0 "#PWR?" H 2500 4300 50 0001 C CNN
F 1 "+3V3" H 2515 4623 50 0000 C CNN
F 2 "" H 2500 4450 50 0001 C CNN
F 3 "" H 2500 4450 50 0001 C CNN
1 2500 4450
1 0 0 -1
$EndComp
$Comp
L Device:LED_RABG D?
U 1 1 5F998A03
P 2250 4500
F 0 "D?" H 2250 4997 50 0000 C CNN
F 1 "MHPA1515RGBDT" H 2250 4906 50 0000 C CNN
F 2 "" H 2250 4450 50 0001 C CNN
F 3 "" H 2250 4450 50 0001 C CNN
1 2250 4450
F 3 "~" H 2250 4450 50 0001 C CNN
1 2250 4500
1 0 0 -1
$EndComp
Wire Wire Line
2250 4450 2250 4500
1000 4000 1700 4000
Wire Wire Line
2250 4500 2200 4500
Text Label 1500 4300 0 50 ~ 0
LED_R
Text Label 1500 4500 0 50 ~ 0
LED_G
Text Label 1500 4700 0 50 ~ 0
1700 4000 1700 4050
Wire Wire Line
1700 4250 1700 4300
Wire Wire Line
1700 4300 2050 4300
Wire Wire Line
1000 4200 1500 4200
Wire Wire Line
1500 4200 1500 4250
Wire Wire Line
1500 4450 1500 4500
Wire Wire Line
1500 4500 2050 4500
Wire Wire Line
1000 4400 1300 4400
Wire Wire Line
1300 4400 1300 4450
Wire Wire Line
1300 4650 1300 4700
Wire Wire Line
1300 4700 2050 4700
Wire Wire Line
2450 4500 2500 4500
Wire Wire Line
2500 4500 2500 4450
$Comp
L Regulator_Linear:XC6206PxxxMR U?
U 1 1 5FA01775
P 1550 2950
F 0 "U?" H 1550 3192 50 0000 C CNN
F 1 "XC6206P332MR" H 1550 3101 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 1550 3175 50 0001 C CIN
F 3 "https://www.torexsemi.com/file/xc6206/XC6206.pdf" H 1550 2950 50 0001 C CNN
1 1550 2950
1 0 0 -1
$EndComp
Wire Wire Line
1550 3250 1550 3300
Wire Wire Line
1000 2900 1000 2950
Wire Wire Line
2100 2900 2100 2950
Wire Wire Line
1250 2950 1000 2950
Connection ~ 1000 2950
Wire Wire Line
1000 2950 1000 3000
Wire Wire Line
1850 2950 2100 2950
Connection ~ 2100 2950
Wire Wire Line
2100 2950 2100 3000
Text Label 6400 3100 2 50 ~ 0
BTN1
Text Label 6400 3000 2 50 ~ 0
LED_B
Text Label 6400 2900 2 50 ~ 0
LED_G
Text Label 6400 2800 2 50 ~ 0
LED_R
Wire Wire Line
1500 4300 1800 4300
6100 2800 6400 2800
Wire Wire Line
1500 4500 1800 4500
6100 2900 6400 2900
Wire Wire Line
1500 4700 1800 4700
6100 3000 6400 3000
Wire Wire Line
6100 3100 6400 3100
$EndSCHEMATC