EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 5 6 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L Amplifier_Operational:LM358 U400 U 1 1 62527821 P 3350 3950 F 0 "U400" H 3350 4317 50 0000 C CNN F 1 "TSX922/OPA2350" H 3350 4226 50 0000 C CNN F 2 "Package_SO:SO-8_3.9x4.9mm_P1.27mm" H 3350 3950 50 0001 C CNN F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 3350 3950 50 0001 C CNN 1 3350 3950 1 0 0 1 $EndComp $Comp L Amplifier_Operational:LM358 U400 U 3 1 62528341 P 3350 3950 F 0 "U400" H 3308 3996 50 0000 L CNN F 1 "TSX922/OPA2350" H 3308 3905 50 0000 L CNN F 2 "Package_SO:SO-8_3.9x4.9mm_P1.27mm" H 3350 3950 50 0001 C CNN F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 3350 3950 50 0001 C CNN 3 3350 3950 1 0 0 -1 $EndComp $Comp L Device:R R400 U 1 1 6252AA40 P 2600 4050 F 0 "R400" V 2393 4050 50 0000 C CNN F 1 "47k" V 2484 4050 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" V 2530 4050 50 0001 C CNN F 3 "~" H 2600 4050 50 0001 C CNN 1 2600 4050 0 1 1 0 $EndComp Wire Wire Line 3050 4050 2850 4050 $Comp L Device:C C400 U 1 1 62530F17 P 2850 4300 F 0 "C400" H 2965 4346 50 0000 L CNN F 1 "10uF" H 2965 4255 50 0000 L CNN F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" H 2888 4150 50 0001 C CNN F 3 "~" H 2850 4300 50 0001 C CNN 1 2850 4300 1 0 0 -1 $EndComp Wire Wire Line 2850 4150 2850 4050 Connection ~ 2850 4050 Wire Wire Line 2850 4050 2750 4050 Wire Wire Line 2850 4450 2850 4500 $Comp L power:GND #PWR0141 U 1 1 6253577E P 2850 4550 F 0 "#PWR0141" H 2850 4300 50 0001 C CNN F 1 "GND" H 2855 4377 50 0000 C CNN F 2 "" H 2850 4550 50 0001 C CNN F 3 "" H 2850 4550 50 0001 C CNN 1 2850 4550 1 0 0 -1 $EndComp Wire Wire Line 2450 4050 2400 4050 Wire Wire Line 2850 4500 3250 4500 Wire Wire Line 3250 4500 3250 4250 Connection ~ 2850 4500 Wire Wire Line 2850 4500 2850 4550 $Comp L power:VBUS #PWR0142 U 1 1 62541FB6 P 3250 3550 F 0 "#PWR0142" H 3250 3400 50 0001 C CNN F 1 "VBUS" H 3265 3723 50 0000 C CNN F 2 "" H 3250 3550 50 0001 C CNN F 3 "" H 3250 3550 50 0001 C CNN 1 3250 3550 1 0 0 -1 $EndComp Wire Wire Line 3250 3650 3250 3550 Wire Wire Line 3050 3850 2950 3850 Wire Wire Line 2950 3850 2950 3300 Wire Wire Line 2950 3300 3750 3300 Wire Wire Line 3750 3300 3750 3950 Wire Wire Line 3750 3950 3650 3950 Connection ~ 3750 3950 Text GLabel 5300 2600 1 50 Input ~ 0 Vdcflt $Comp L Device:R R401 U 1 1 625474BB P 5300 2950 F 0 "R401" H 5370 2996 50 0000 L CNN F 1 "10k" H 5370 2905 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" V 5230 2950 50 0001 C CNN F 3 "~" H 5300 2950 50 0001 C CNN 1 5300 2950 1 0 0 -1 $EndComp $Comp L Device:R R402 U 1 1 62547F7D P 5300 3350 F 0 "R402" H 5370 3396 50 0000 L CNN F 1 "10k" H 5370 3305 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" V 5230 3350 50 0001 C CNN F 3 "~" H 5300 3350 50 0001 C CNN 1 5300 3350 1 0 0 -1 $EndComp $Comp L power:GND #PWR0143 U 1 1 6254865E P 5300 3550 F 0 "#PWR0143" H 5300 3300 50 0001 C CNN F 1 "GND" H 5305 3377 50 0000 C CNN F 2 "" H 5300 3550 50 0001 C CNN F 3 "" H 5300 3550 50 0001 C CNN 1 5300 3550 1 0 0 -1 $EndComp Wire Wire Line 5300 3550 5300 3500 Text GLabel 5450 3150 2 50 Input ~ 0 ADC0 Wire Wire Line 5450 3150 5300 3150 $Comp L misc-mcus:DS1803 U401 U 1 1 6255530A P 6650 4200 F 0 "U401" H 6650 4200 50 0000 C CNN F 1 "DS1803" H 6650 4750 50 0000 C CNN F 2 "Package_SO:TSSOP-14_4.4x5mm_P0.65mm" H 6850 3550 50 0001 C CNN F 3 "" H 6250 4100 50 0001 C CNN 1 6650 4200 1 0 0 -1 $EndComp Text GLabel 7150 4500 2 50 Input ~ 0 DPOT_LO Text GLabel 7150 4400 2 50 Input ~ 0 DPOT_W Text GLabel 7150 4300 2 50 Input ~ 0 DPOT_HI Wire Wire Line 7150 4300 7050 4300 Wire Wire Line 7050 4400 7150 4400 Wire Wire Line 7150 4500 7050 4500 $Comp L power:+3V3 #PWR0144 U 1 1 62571F0D P 4850 5050 F 0 "#PWR0144" H 4850 4900 50 0001 C CNN F 1 "+3V3" H 4865 5223 50 0000 C CNN F 2 "" H 4850 5050 50 0001 C CNN F 3 "" H 4850 5050 50 0001 C CNN 1 4850 5050 1 0 0 -1 $EndComp $Comp L power:GND #PWR0145 U 1 1 6257376C P 6650 4900 F 0 "#PWR0145" H 6650 4650 50 0001 C CNN F 1 "GND" H 6655 4727 50 0000 C CNN F 2 "" H 6650 4900 50 0001 C CNN F 3 "" H 6650 4900 50 0001 C CNN 1 6650 4900 1 0 0 -1 $EndComp Wire Wire Line 6650 4700 6650 4800 Wire Wire Line 6650 4800 6650 4900 Wire Wire Line 7050 3900 7200 3900 Wire Wire Line 7050 4100 7650 4100 Wire Wire Line 7650 4100 7650 4250 $Comp L power:GND #PWR0146 U 1 1 6257D4F0 P 7650 4250 F 0 "#PWR0146" H 7650 4000 50 0001 C CNN F 1 "GND" H 7655 4077 50 0000 C CNN F 2 "" H 7650 4250 50 0001 C CNN F 3 "" H 7650 4250 50 0001 C CNN 1 7650 4250 1 0 0 -1 $EndComp Text GLabel 8850 3900 2 50 Input ~ 0 Vdclo Wire Wire Line 7050 4000 7800 4000 Text GLabel 5650 3850 0 50 Input ~ 0 DPOT_CLK Text GLabel 5650 4150 0 50 Input ~ 0 DPOT_DAT Wire Wire Line 6150 4050 6250 4050 Wire Wire Line 4850 5050 4850 5200 $Comp L power:VBUS #PWR0147 U 1 1 6258CDD8 P 6650 3450 F 0 "#PWR0147" H 6650 3300 50 0001 C CNN F 1 "VBUS" H 6665 3623 50 0000 C CNN F 2 "" H 6650 3450 50 0001 C CNN F 3 "" H 6650 3450 50 0001 C CNN 1 6650 3450 1 0 0 -1 $EndComp Wire Wire Line 6650 3700 6650 3450 Wire Wire Line 6150 4800 6150 4500 Wire Wire Line 6150 4500 6250 4500 Wire Wire Line 6250 4400 6150 4400 Wire Wire Line 6150 4400 6150 4500 Connection ~ 6150 4500 Wire Wire Line 6250 4300 6150 4300 Wire Wire Line 6150 4300 6150 4400 Connection ~ 6150 4400 $Comp L Device:R R403 U 1 1 625A082E P 7800 4250 F 0 "R403" H 7870 4296 50 0000 L CNN F 1 "10k" H 7870 4205 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" V 7730 4250 50 0001 C CNN F 3 "~" H 7800 4250 50 0001 C CNN 1 7800 4250 1 0 0 -1 $EndComp $Comp L Device:R R404 U 1 1 625A0834 P 7800 4750 F 0 "R404" H 7870 4796 50 0000 L CNN F 1 "10k" H 7870 4705 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" V 7730 4750 50 0001 C CNN F 3 "~" H 7800 4750 50 0001 C CNN 1 7800 4750 1 0 0 -1 $EndComp $Comp L power:GND #PWR0148 U 1 1 625A083A P 7800 5050 F 0 "#PWR0148" H 7800 4800 50 0001 C CNN F 1 "GND" H 7805 4877 50 0000 C CNN F 2 "" H 7800 5050 50 0001 C CNN F 3 "" H 7800 5050 50 0001 C CNN 1 7800 5050 1 0 0 -1 $EndComp Wire Wire Line 7800 5050 7800 4900 Wire Wire Line 7800 4600 7800 4500 Wire Wire Line 7800 4100 7800 4000 Text GLabel 7950 4500 2 50 Input ~ 0 ADC1 Wire Wire Line 7950 4500 7800 4500 Connection ~ 7800 4500 Wire Wire Line 7800 4500 7800 4400 Connection ~ 7800 4000 Wire Wire Line 7800 4000 7950 4000 Text Notes 2650 3200 0 50 ~ 0 Use a (shitty) active RC filter to\nfilter out ripple (or PWM signal)\nfrom the unfiltered DCDC output $Comp L misc-mcus:Jumper_4 JP400 U 1 1 6267A25D P 4700 2750 F 0 "JP400" H 4600 3000 50 0000 L CNN F 1 "Jumper_4" V 4700 2600 50 0000 L CNN F 2 "chip-bo:Jumper4_PinHeader" H 4700 2750 50 0001 C CNN F 3 "~" H 4700 2750 50 0001 C CNN 1 4700 2750 1 0 0 -1 $EndComp Text GLabel 2250 2800 0 50 Input ~ 0 Vdcraw Wire Wire Line 7200 2750 7200 3900 Wire Wire Line 4900 2750 5300 2750 Wire Wire Line 3750 3950 4400 3950 Wire Wire Line 5300 2800 5300 2750 Connection ~ 5300 2750 Wire Wire Line 5300 2750 7200 2750 Wire Wire Line 5300 2750 5300 2600 Text Notes 1500 2650 0 50 ~ 0 Use filtered or raw DCDC output\ndepending on PSU used: use raw\nif using PSU4 (LDO), otherwise\nuse filtered. Wire Wire Line 4400 3950 4400 2900 Wire Wire Line 4400 2900 4500 2900 Wire Wire Line 2250 2800 2400 2800 Wire Wire Line 2400 4050 2400 2800 Connection ~ 2400 2800 Wire Wire Line 2400 2800 4500 2800 $Comp L power:+3V3 #PWR0108 U 1 1 62BDA8CE P 4150 2450 F 0 "#PWR0108" H 4150 2300 50 0001 C CNN F 1 "+3V3" H 4165 2623 50 0000 C CNN F 2 "" H 4150 2450 50 0001 C CNN F 3 "" H 4150 2450 50 0001 C CNN 1 4150 2450 1 0 0 -1 $EndComp $Comp L power:VBUS #PWR0109 U 1 1 62BDB43F P 4400 2450 F 0 "#PWR0109" H 4400 2300 50 0001 C CNN F 1 "VBUS" H 4415 2623 50 0000 C CNN F 2 "" H 4400 2450 50 0001 C CNN F 3 "" H 4400 2450 50 0001 C CNN 1 4400 2450 1 0 0 -1 $EndComp Wire Wire Line 4400 2600 4400 2450 Wire Wire Line 4400 2600 4500 2600 Wire Wire Line 4150 2700 4150 2450 Wire Wire Line 4150 2700 4500 2700 Connection ~ 6650 4800 Wire Wire Line 6150 4800 6650 4800 Connection ~ 5300 3150 Wire Wire Line 5300 3150 5300 3100 Wire Wire Line 5300 3150 5300 3200 $Comp L Device:R R405 U 1 1 61C66FCB P 4850 5800 F 0 "R405" V 4643 5800 50 0000 C CNN F 1 "100" V 4734 5800 50 0000 C CNN F 2 "Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder" V 4780 5800 50 0001 C CNN F 3 "~" H 4850 5800 50 0001 C CNN 1 4850 5800 0 1 1 0 $EndComp $Comp L Device:R R406 U 1 1 61C67CF4 P 4850 6100 F 0 "R406" V 4643 6100 50 0000 C CNN F 1 "100" V 4734 6100 50 0000 C CNN F 2 "Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder" V 4780 6100 50 0001 C CNN F 3 "~" H 4850 6100 50 0001 C CNN 1 4850 6100 0 1 1 0 $EndComp Wire Wire Line 5000 5800 5100 5800 Wire Wire Line 6150 3850 6150 3950 Wire Wire Line 6150 3950 6250 3950 Wire Wire Line 5000 6100 5050 6100 Wire Wire Line 6150 4150 6150 4050 Wire Wire Line 4700 5800 4650 5800 Wire Wire Line 4650 5800 4600 5800 $Comp L Device:R R407 U 1 1 61C7D223 P 4650 5450 F 0 "R407" H 4720 5496 50 0000 L CNN F 1 "1k" H 4720 5405 50 0000 L CNN F 2 "Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder" V 4580 5450 50 0001 C CNN F 3 "~" H 4650 5450 50 0001 C CNN 1 4650 5450 1 0 0 -1 $EndComp $Comp L Device:R R408 U 1 1 61C81FCC P 5050 5450 F 0 "R408" H 5120 5496 50 0000 L CNN F 1 "1k" H 5120 5405 50 0000 L CNN F 2 "Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder" V 4980 5450 50 0001 C CNN F 3 "~" H 5050 5450 50 0001 C CNN 1 5050 5450 1 0 0 -1 $EndComp Wire Wire Line 4650 5600 4650 5800 Connection ~ 4650 5800 Wire Wire Line 5050 5600 5050 6100 Connection ~ 5050 6100 Wire Wire Line 5050 6100 5100 6100 Wire Wire Line 5050 5300 5050 5200 Wire Wire Line 5050 5200 4850 5200 Connection ~ 4850 5200 Wire Wire Line 4650 5300 4650 5200 Wire Wire Line 4650 5200 4850 5200 Wire Wire Line 4600 6100 4700 6100 $Comp L Device:D_Zener D400 U 1 1 61CACB41 P 4650 6300 F 0 "D400" V 4604 6380 50 0000 L CNN F 1 "BZX84C3V6" V 4695 6380 50 0000 L CNN F 2 "Diode_SMD:D_SOT-23_ANK" H 4650 6300 50 0001 C CNN F 3 "https://www.farnell.com/datasheets/1911825.pdf" H 4650 6300 50 0001 C CNN 1 4650 6300 0 1 1 0 $EndComp Wire Wire Line 4650 6150 4650 5800 $Comp L Device:D_Zener D401 U 1 1 61CB1638 P 4900 6600 F 0 "D401" V 4854 6680 50 0000 L CNN F 1 "BZX84C3V6" V 4945 6680 50 0000 L CNN F 2 "Diode_SMD:D_SOT-23_ANK" H 4900 6600 50 0001 C CNN F 3 "https://www.farnell.com/datasheets/1911825.pdf" H 4900 6600 50 0001 C CNN 1 4900 6600 0 1 1 0 $EndComp Wire Wire Line 4900 6450 4900 6200 Wire Wire Line 4900 6200 5050 6200 Wire Wire Line 5050 6200 5050 6100 Wire Wire Line 4650 6450 4650 6850 Wire Wire Line 4900 6750 4900 6850 $Comp L power:GND #PWR0155 U 1 1 61CBB83C P 4800 7000 F 0 "#PWR0155" H 4800 6750 50 0001 C CNN F 1 "GND" H 4805 6827 50 0000 C CNN F 2 "" H 4800 7000 50 0001 C CNN F 3 "" H 4800 7000 50 0001 C CNN 1 4800 7000 1 0 0 -1 $EndComp Wire Wire Line 4650 6850 4800 6850 Wire Wire Line 4800 6850 4800 7000 Wire Wire Line 4900 6850 4800 6850 Connection ~ 4800 6850 NoConn ~ 4600 5800 NoConn ~ 4600 6100 NoConn ~ 5100 6100 NoConn ~ 5100 5800 Wire Wire Line 6150 3850 5650 3850 Wire Wire Line 5650 4150 6150 4150 $Comp L Amplifier_Operational:LM358 U400 U 2 1 61CFDCFB P 8250 3900 F 0 "U400" H 8250 3533 50 0000 C CNN F 1 "TSX922/OPA2350" H 8250 3624 50 0000 C CNN F 2 "Package_SO:SO-8_3.9x4.9mm_P1.27mm" H 8250 3900 50 0001 C CNN F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 8250 3900 50 0001 C CNN 2 8250 3900 1 0 0 1 $EndComp Wire Wire Line 8550 3900 8700 3900 Wire Wire Line 8700 3900 8700 3450 Wire Wire Line 8700 3450 7800 3450 Wire Wire Line 7800 3450 7800 3800 Wire Wire Line 7800 3800 7950 3800 Wire Wire Line 8700 3900 8850 3900 Connection ~ 8700 3900 Text Notes 5250 5900 0 50 ~ 0 I2C protection circuit\nprobably not needed $EndSCHEMATC