From f647ea2efa5ee10656f415deefc4ab94c867cdcc Mon Sep 17 00:00:00 2001 From: nek0 Date: Thu, 7 Nov 2019 05:57:59 +0100 Subject: [PATCH] hook up external DAC --- fauxie-cache.lib | 51 +++++++ fauxie.sch | 374 +++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 366 insertions(+), 59 deletions(-) diff --git a/fauxie-cache.lib b/fauxie-cache.lib index 304ca9f..d116c80 100644 --- a/fauxie-cache.lib +++ b/fauxie-cache.lib @@ -1,6 +1,42 @@ EESchema-LIBRARY Version 2.4 #encoding utf-8 # +# Audio_PCM5102 +# +DEF Audio_PCM5102 U 0 20 Y Y 1 F N +F0 "U" -400 550 50 H V L CNN +F1 "Audio_PCM5102" 150 550 50 H V L CNN +F2 "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" -50 750 50 H I C CNN +F3 "" -50 750 50 H I C CNN +ALIAS PCM5101 PCM5102 +$FPLIST + TSSOP*4.4x6.5mm*P0.65mm* +$ENDFPLIST +DRAW +S -400 500 400 -600 0 1 10 f +X CPVDD 1 -100 600 100 D 50 50 1 1 P +X DEMP 10 -500 -200 100 R 50 50 1 1 I +X FLT 11 -500 -100 100 R 50 50 1 1 I +X SCK 12 -500 100 100 R 50 50 1 1 I +X BCK 13 -500 200 100 R 50 50 1 1 I +X DIN 14 -500 300 100 R 50 50 1 1 I +X LRCK 15 -500 400 100 R 50 50 1 1 I +X FMT 16 -500 -400 100 R 50 50 1 1 I +X XSMT 17 -500 -300 100 R 50 50 1 1 I +X LDOO 18 500 -400 100 L 50 50 1 1 P +X DGND 19 0 -700 100 U 50 50 1 1 W +X CAPP 2 500 100 100 L 50 50 1 1 P +X DVDD 20 0 600 100 D 50 50 1 1 W +X CPGND 3 -100 -700 100 U 50 50 1 1 W +X CAPM 4 500 -200 100 L 50 50 1 1 P +X VNEG 5 500 -500 100 L 50 50 1 1 P +X OUTL 6 500 400 100 L 50 50 1 1 O +X OUTR 7 500 300 100 L 50 50 1 1 O +X AVDD 8 100 600 100 D 50 50 1 1 W +X AGND 9 100 -700 100 U 50 50 1 1 W +ENDDRAW +ENDDEF +# # Connector_Barrel_Jack_Switch # DEF Connector_Barrel_Jack_Switch J 0 20 Y N 1 F N @@ -109,6 +145,21 @@ X ~ 2 0 -150 50 U 50 50 1 1 P ENDDRAW ENDDEF # +# Device_Speaker +# +DEF Device_Speaker LS 0 0 Y N 1 F N +F0 "LS" 50 225 50 H V R CNN +F1 "Device_Speaker" 50 150 50 H V R CNN +F2 "" 0 -200 50 H I C CNN +F3 "" -10 -50 50 H I C CNN +DRAW +S -100 50 40 -150 0 0 10 N +P 4 0 0 10 40 50 140 150 140 -250 40 -150 N +X 1 1 -200 0 100 R 50 50 1 1 I +X 2 2 -200 -100 100 R 50 50 1 1 I +ENDDRAW +ENDDEF +# # ESP32-footprints-Shem-Lib_ESP32-WROOM # DEF ESP32-footprints-Shem-Lib_ESP32-WROOM U 0 40 Y Y 1 F N diff --git a/fauxie.sch b/fauxie.sch index 8da8d73..70c18e9 100644 --- a/fauxie.sch +++ b/fauxie.sch @@ -173,43 +173,43 @@ Wire Wire Line $Comp L Connector:Conn_01x05_Male J? U 1 1 5DC3B538 -P 9600 2250 -F 0 "J?" H 9572 2274 50 0000 R CNN -F 1 "Conn_01x05_Male" H 9572 2183 50 0000 R CNN -F 2 "" H 9600 2250 50 0001 C CNN -F 3 "~" H 9600 2250 50 0001 C CNN - 1 9600 2250 +P 10500 2150 +F 0 "J?" H 10472 2174 50 0000 R CNN +F 1 "Conn_01x05_Male" H 10472 2083 50 0000 R CNN +F 2 "" H 10500 2150 50 0001 C CNN +F 3 "~" H 10500 2150 50 0001 C CNN + 1 10500 2150 -1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 5DC4458E -P 9250 2050 -F 0 "#PWR?" H 9250 1800 50 0001 C CNN -F 1 "GND" V 9255 1922 50 0000 R CNN -F 2 "" H 9250 2050 50 0001 C CNN -F 3 "" H 9250 2050 50 0001 C CNN - 1 9250 2050 +P 10150 1950 +F 0 "#PWR?" H 10150 1700 50 0001 C CNN +F 1 "GND" V 10155 1822 50 0000 R CNN +F 2 "" H 10150 1950 50 0001 C CNN +F 3 "" H 10150 1950 50 0001 C CNN + 1 10150 1950 0 1 1 0 $EndComp Wire Wire Line - 9250 2050 9400 2050 -Text Label 9100 2150 2 50 ~ 0 + 10150 1950 10300 1950 +Text Label 10000 2050 2 50 ~ 0 RTS Wire Wire Line - 9100 2150 9400 2150 -Text Label 9100 2250 2 50 ~ 0 + 10000 2050 10300 2050 +Text Label 10000 2150 2 50 ~ 0 RX -Text Label 9100 2350 2 50 ~ 0 +Text Label 10000 2250 2 50 ~ 0 TX -Text Label 9100 2450 2 50 ~ 0 +Text Label 10000 2350 2 50 ~ 0 DTR Wire Wire Line - 9100 2250 9400 2250 + 10000 2150 10300 2150 Wire Wire Line - 9400 2350 9100 2350 + 10300 2250 10000 2250 Wire Wire Line - 9100 2450 9400 2450 + 10000 2350 10300 2350 Text Label 6700 2300 0 50 ~ 0 TX Text Label 6700 2400 0 50 ~ 0 @@ -351,74 +351,74 @@ Wire Wire Line $Comp L Timer_RTC:DS3231M U? U 1 1 5DC2811A -P 8700 4000 -F 0 "U?" H 8700 3511 50 0000 C CNN -F 1 "DS3231M" H 8700 3420 50 0000 C CNN -F 2 "Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm" H 8700 3400 50 0001 C CNN -F 3 "http://datasheets.maximintegrated.com/en/ds/DS3231.pdf" H 8970 4050 50 0001 C CNN - 1 8700 4000 +P 7800 2600 +F 0 "U?" H 7800 2111 50 0000 C CNN +F 1 "DS3231M" H 7800 2020 50 0000 C CNN +F 2 "Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm" H 7800 2000 50 0001 C CNN +F 3 "http://datasheets.maximintegrated.com/en/ds/DS3231.pdf" H 8070 2650 50 0001 C CNN + 1 7800 2600 1 0 0 -1 $EndComp $Comp L Device:Battery_Cell BT? U 1 1 5DC29E69 -P 8900 3300 -F 0 "BT?" V 8645 3350 50 0000 C CNN -F 1 "Battery_Cell" V 8736 3350 50 0000 C CNN -F 2 "" V 8900 3360 50 0001 C CNN -F 3 "~" V 8900 3360 50 0001 C CNN - 1 8900 3300 +P 8000 1900 +F 0 "BT?" V 7745 1950 50 0000 C CNN +F 1 "Battery_Cell" V 7836 1950 50 0000 C CNN +F 2 "" V 8000 1960 50 0001 C CNN +F 3 "~" V 8000 1960 50 0001 C CNN + 1 8000 1900 0 -1 1 0 $EndComp Wire Wire Line - 8700 3300 8700 3600 + 7800 1900 7800 2200 $Comp L power:GND #PWR? U 1 1 5DC2D24C -P 9200 4400 -F 0 "#PWR?" H 9200 4150 50 0001 C CNN -F 1 "GND" V 9205 4272 50 0000 R CNN -F 2 "" H 9200 4400 50 0001 C CNN -F 3 "" H 9200 4400 50 0001 C CNN - 1 9200 4400 +P 8300 3000 +F 0 "#PWR?" H 8300 2750 50 0001 C CNN +F 1 "GND" V 8305 2872 50 0000 R CNN +F 2 "" H 8300 3000 50 0001 C CNN +F 3 "" H 8300 3000 50 0001 C CNN + 1 8300 3000 0 -1 -1 0 $EndComp Wire Wire Line - 9200 4400 8700 4400 + 8300 3000 7800 3000 $Comp L power:GND #PWR? U 1 1 5DC2E243 -P 9100 3300 -F 0 "#PWR?" H 9100 3050 50 0001 C CNN -F 1 "GND" V 9105 3172 50 0000 R CNN -F 2 "" H 9100 3300 50 0001 C CNN -F 3 "" H 9100 3300 50 0001 C CNN - 1 9100 3300 +P 8200 1900 +F 0 "#PWR?" H 8200 1650 50 0001 C CNN +F 1 "GND" V 8205 1772 50 0000 R CNN +F 2 "" H 8200 1900 50 0001 C CNN +F 3 "" H 8200 1900 50 0001 C CNN + 1 8200 1900 0 -1 -1 0 $EndComp Wire Wire Line - 9100 3300 9000 3300 + 8200 1900 8100 1900 $Comp L power:+3V3 #PWR? U 1 1 5DC2F335 -P 8600 3300 -F 0 "#PWR?" H 8600 3150 50 0001 C CNN -F 1 "+3V3" V 8615 3428 50 0000 L CNN -F 2 "" H 8600 3300 50 0001 C CNN -F 3 "" H 8600 3300 50 0001 C CNN - 1 8600 3300 +P 7700 1900 +F 0 "#PWR?" H 7700 1750 50 0001 C CNN +F 1 "+3V3" V 7715 2028 50 0000 L CNN +F 2 "" H 7700 1900 50 0001 C CNN +F 3 "" H 7700 1900 50 0001 C CNN + 1 7700 1900 0 -1 -1 0 $EndComp Wire Wire Line - 8600 3300 8600 3600 -Text Label 8100 3800 2 50 ~ 0 + 7700 1900 7700 2200 +Text Label 7200 2400 2 50 ~ 0 SCL -Text Label 8100 3900 2 50 ~ 0 +Text Label 7200 2500 2 50 ~ 0 SDA Wire Wire Line - 8100 3900 8200 3900 + 7200 2500 7300 2500 Wire Wire Line - 8200 3800 8100 3800 + 7300 2400 7200 2400 Text Label 6700 2200 0 50 ~ 0 SCL Wire Wire Line @@ -531,4 +531,260 @@ Wire Wire Line 10250 1400 10250 1500 Wire Wire Line 9750 1400 9750 1500 +$Comp +L Audio:PCM5102 U? +U 1 1 5DC52822 +P 8850 4950 +F 0 "U?" H 8850 5731 50 0000 C CNN +F 1 "PCM5102" H 8850 5640 50 0000 C CNN +F 2 "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" H 8800 5700 50 0001 C CNN +F 3 "http://www.ti.com/lit/ds/symlink/pcm5102.pdf" H 8800 5700 50 0001 C CNN + 1 8850 4950 + 1 0 0 -1 +$EndComp +$Comp +L power:+3V3 #PWR? +U 1 1 5DC5B639 +P 9450 4150 +F 0 "#PWR?" H 9450 4000 50 0001 C CNN +F 1 "+3V3" V 9465 4278 50 0000 L CNN +F 2 "" H 9450 4150 50 0001 C CNN +F 3 "" H 9450 4150 50 0001 C CNN + 1 9450 4150 + 0 1 1 0 +$EndComp +Wire Wire Line + 8950 4350 8950 4150 +Wire Wire Line + 8950 4150 9450 4150 +$Comp +L power:+3V3 #PWR? +U 1 1 5DC601DD +P 8200 5250 +F 0 "#PWR?" H 8200 5100 50 0001 C CNN +F 1 "+3V3" V 8215 5378 50 0000 L CNN +F 2 "" H 8200 5250 50 0001 C CNN +F 3 "" H 8200 5250 50 0001 C CNN + 1 8200 5250 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 8200 5250 8350 5250 +Wire Wire Line + 8850 4350 8850 4150 +Wire Wire Line + 8850 4150 8950 4150 +Connection ~ 8950 4150 +Wire Wire Line + 8750 4350 8750 4150 +Wire Wire Line + 8750 4150 8850 4150 +Connection ~ 8850 4150 +$Comp +L power:GND #PWR? +U 1 1 5DC64123 +P 9450 5800 +F 0 "#PWR?" H 9450 5550 50 0001 C CNN +F 1 "GND" V 9455 5672 50 0000 R CNN +F 2 "" H 9450 5800 50 0001 C CNN +F 3 "" H 9450 5800 50 0001 C CNN + 1 9450 5800 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 9450 5800 8950 5800 +Wire Wire Line + 8950 5800 8950 5650 +Wire Wire Line + 8850 5650 8850 5800 +Wire Wire Line + 8850 5800 8950 5800 +Connection ~ 8950 5800 +Wire Wire Line + 8750 5650 8750 5800 +Wire Wire Line + 8750 5800 8850 5800 +Connection ~ 8850 5800 +$Comp +L power:GND #PWR? +U 1 1 5DC68758 +P 8200 5050 +F 0 "#PWR?" H 8200 4800 50 0001 C CNN +F 1 "GND" V 8205 4922 50 0000 R CNN +F 2 "" H 8200 5050 50 0001 C CNN +F 3 "" H 8200 5050 50 0001 C CNN + 1 8200 5050 + 0 1 1 0 +$EndComp +Wire Wire Line + 8200 5050 8350 5050 +Wire Wire Line + 8350 5150 8200 5150 +Wire Wire Line + 8200 5150 8200 5050 +Connection ~ 8200 5050 +$Comp +L power:GND #PWR? +U 1 1 5DC6BC1C +P 8200 5350 +F 0 "#PWR?" H 8200 5100 50 0001 C CNN +F 1 "GND" V 8205 5222 50 0000 R CNN +F 2 "" H 8200 5350 50 0001 C CNN +F 3 "" H 8200 5350 50 0001 C CNN + 1 8200 5350 + 0 1 1 0 +$EndComp +Wire Wire Line + 8200 5350 8350 5350 +Wire Wire Line + 8350 4850 8200 4850 +Wire Wire Line + 8200 4850 8200 5050 +Text Label 4650 3050 2 50 ~ 0 +LRCK +Wire Wire Line + 4650 3050 4750 3050 +Text Label 4650 3150 2 50 ~ 0 +BCLK +Wire Wire Line + 4650 3150 4750 3150 +Text Label 8200 4750 2 50 ~ 0 +BCLK +Wire Wire Line + 8200 4750 8350 4750 +Text Label 8200 4550 2 50 ~ 0 +LRCK +Wire Wire Line + 8200 4550 8350 4550 +Wire Wire Line + 8200 4650 8350 4650 +Text Label 6700 3200 0 50 ~ 0 +I2SD +Text Label 8200 4650 2 50 ~ 0 +I2SD +Wire Wire Line + 6700 3200 6600 3200 +$Comp +L Device:Speaker LS? +U 1 1 5DCA0C56 +P 10300 4350 +F 0 "LS?" H 10470 4346 50 0000 L CNN +F 1 "Speaker" H 10470 4255 50 0000 L CNN +F 2 "" H 10300 4150 50 0001 C CNN +F 3 "~" H 10290 4300 50 0001 C CNN + 1 10300 4350 + 1 0 0 -1 +$EndComp +$Comp +L Device:Speaker LS? +U 1 1 5DCA1CEC +P 10300 4850 +F 0 "LS?" H 10470 4846 50 0000 L CNN +F 1 "Speaker" H 10470 4755 50 0000 L CNN +F 2 "" H 10300 4650 50 0001 C CNN +F 3 "~" H 10290 4800 50 0001 C CNN + 1 10300 4850 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 5DCA2377 +P 9500 5000 +F 0 "C?" H 9615 5046 50 0000 L CNN +F 1 "2.2u" H 9615 4955 50 0000 L CNN +F 2 "" H 9538 4850 50 0001 C CNN +F 3 "~" H 9500 5000 50 0001 C CNN + 1 9500 5000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9350 4850 9500 4850 +Wire Wire Line + 9500 5150 9350 5150 +$Comp +L Device:C C? +U 1 1 5DCA89C8 +P 9650 5350 +F 0 "C?" V 9398 5350 50 0000 C CNN +F 1 "100n" V 9489 5350 50 0000 C CNN +F 2 "" H 9688 5200 50 0001 C CNN +F 3 "~" H 9650 5350 50 0001 C CNN + 1 9650 5350 + 0 1 1 0 +$EndComp +Wire Wire Line + 9350 5350 9500 5350 +$Comp +L power:GND #PWR? +U 1 1 5DCAB21C +P 9900 5350 +F 0 "#PWR?" H 9900 5100 50 0001 C CNN +F 1 "GND" V 9905 5222 50 0000 R CNN +F 2 "" H 9900 5350 50 0001 C CNN +F 3 "" H 9900 5350 50 0001 C CNN + 1 9900 5350 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 9900 5350 9800 5350 +$Comp +L Device:C C? +U 1 1 5DCAD956 +P 8850 3900 +F 0 "C?" H 8965 3946 50 0000 L CNN +F 1 "100n" H 8965 3855 50 0000 L CNN +F 2 "" H 8888 3750 50 0001 C CNN +F 3 "~" H 8850 3900 50 0001 C CNN + 1 8850 3900 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5DCADEFD +P 8850 3650 +F 0 "#PWR?" H 8850 3400 50 0001 C CNN +F 1 "GND" H 8855 3477 50 0000 C CNN +F 2 "" H 8850 3650 50 0001 C CNN +F 3 "" H 8850 3650 50 0001 C CNN + 1 8850 3650 + -1 0 0 1 +$EndComp +Wire Wire Line + 8850 3650 8850 3750 +Wire Wire Line + 8850 4050 8850 4150 +$Comp +L power:GND #PWR? +U 1 1 5DCB2BA1 +P 10000 4450 +F 0 "#PWR?" H 10000 4200 50 0001 C CNN +F 1 "GND" V 10005 4322 50 0000 R CNN +F 2 "" H 10000 4450 50 0001 C CNN +F 3 "" H 10000 4450 50 0001 C CNN + 1 10000 4450 + 0 1 1 0 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5DCB4946 +P 10000 4950 +F 0 "#PWR?" H 10000 4700 50 0001 C CNN +F 1 "GND" V 10005 4822 50 0000 R CNN +F 2 "" H 10000 4950 50 0001 C CNN +F 3 "" H 10000 4950 50 0001 C CNN + 1 10000 4950 + 0 1 1 0 +$EndComp +Wire Wire Line + 9350 4550 9350 4350 +Wire Wire Line + 9350 4350 10100 4350 +Wire Wire Line + 9350 4650 10100 4650 +Wire Wire Line + 10100 4650 10100 4850 +Wire Wire Line + 10100 4950 10000 4950 +Wire Wire Line + 10100 4450 10000 4450 $EndSCHEMATC