diff --git a/kicad/.gitignore b/kicad/.gitignore new file mode 100644 index 0000000..b8bd110 --- /dev/null +++ b/kicad/.gitignore @@ -0,0 +1,10 @@ +*.bak +*.bck +*.sch-bak +*.kicad_pcb-bak +*.net +*.out +fp-info-cache +*.pdf +*.plt +*bom* diff --git a/kicad/aux.sch b/kicad/aux.sch new file mode 100644 index 0000000..a567b6d --- /dev/null +++ b/kicad/aux.sch @@ -0,0 +1,128 @@ +EESchema Schematic File Version 4 +EELAYER 30 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 6 7 +Title "Leddie" +Date "2021-03-06" +Rev "01" +Comp "Markus Koch - notsyncing.net" +Comment1 "Licensed under CC BY-SA 3.0" +Comment2 "https://l.notsyncing.net/leddie" +Comment3 "" +Comment4 "LED + Routing" +$EndDescr +$Sheet +S 4050 1650 550 200 +U 6052A1F5 +F0 "led_substring_aux" 47 +F1 "led_substring.sch" 47 +F2 "DOUT" O R 4600 1750 47 +F3 "DIN" I L 4050 1750 47 +$EndSheet +$Comp +L Connector:USB_C_Plug_USB2.0 P? +U 1 1 6055A7C7 +P 1350 1650 +AR Path="/60435139/6055A7C7" Ref="P?" Part="1" +AR Path="/60528580/6055A7C7" Ref="P?" Part="1" +F 0 "P?" H 1457 2517 50 0000 C CNN +F 1 "USB_C_Plug_USB2.0" H 1457 2426 50 0000 C CNN +F 2 "" H 1500 1650 50 0001 C CNN +F 3 "https://www.usb.org/sites/default/files/documents/usb_type-c.zip" H 1500 1650 50 0001 C CNN + 1 1350 1650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1950 1050 2050 1050 +Wire Wire Line + 2050 1050 2050 950 +$Comp +L power:VBUS #PWR? +U 1 1 6055A7CF +P 2050 950 +AR Path="/60435139/6055A7CF" Ref="#PWR?" Part="1" +AR Path="/60528580/6055A7CF" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 2050 800 50 0001 C CNN +F 1 "VBUS" H 2065 1123 50 0000 C CNN +F 2 "" H 2050 950 50 0001 C CNN +F 3 "" H 2050 950 50 0001 C CNN + 1 2050 950 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 6055A7D5 +P 1200 2750 +AR Path="/60435139/6055A7D5" Ref="#PWR?" Part="1" +AR Path="/60528580/6055A7D5" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 1200 2500 50 0001 C CNN +F 1 "GND" H 1205 2577 50 0000 C CNN +F 2 "" H 1200 2750 50 0001 C CNN +F 3 "" H 1200 2750 50 0001 C CNN + 1 1200 2750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1200 2750 1200 2650 +Wire Wire Line + 1200 2650 1350 2650 +Wire Wire Line + 1350 2650 1350 2550 +Wire Wire Line + 1200 2650 1050 2650 +Wire Wire Line + 1050 2650 1050 2550 +Connection ~ 1200 2650 +Text HLabel 2050 1750 2 47 BiDi ~ 0 +USB_DP +Text HLabel 2050 1550 2 47 BiDi ~ 0 +USB_DM +NoConn ~ 1950 1250 +NoConn ~ 1950 1350 +Wire Wire Line + 2050 1750 1950 1750 +Wire Wire Line + 1950 1550 2050 1550 +Text Notes 9100 6900 0 50 ~ 0 +This sheet will be used for four PCBs\nwith different component population. +$Comp +L Switch:SW_Push SW? +U 1 1 60564FBD +P 1200 3600 +F 0 "SW?" H 1200 3885 50 0000 C CNN +F 1 "SW_Push" H 1200 3794 50 0000 C CNN +F 2 "" H 1200 3800 50 0001 C CNN +F 3 "~" H 1200 3800 50 0001 C CNN + 1 1200 3600 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1000 3600 900 3600 +Wire Wire Line + 900 3600 900 3700 +$Comp +L power:GND #PWR? +U 1 1 6056685D +P 900 3700 +F 0 "#PWR?" H 900 3450 50 0001 C CNN +F 1 "GND" H 905 3527 50 0000 C CNN +F 2 "" H 900 3700 50 0001 C CNN +F 3 "" H 900 3700 50 0001 C CNN + 1 900 3700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1400 3600 1500 3600 +Text HLabel 1500 3600 2 50 Input ~ 0 +~BTN +Wire Wire Line + 4050 1750 3950 1750 +Wire Wire Line + 4600 1750 4700 1750 +Text HLabel 3950 1750 0 50 Input ~ 0 +LED_DIN +Text HLabel 4700 1750 2 50 Output ~ 0 +LED_DOUT +$EndSCHEMATC diff --git a/kicad/digital.sch b/kicad/digital.sch new file mode 100644 index 0000000..a5e0412 --- /dev/null +++ b/kicad/digital.sch @@ -0,0 +1,760 @@ +EESchema Schematic File Version 4 +EELAYER 30 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 4 7 +Title "Leddie" +Date "2021-03-06" +Rev "01" +Comp "Markus Koch - notsyncing.net" +Comment1 "Licensed under CC BY-SA 3.0" +Comment2 "https://l.notsyncing.net/leddie" +Comment3 "" +Comment4 "Digital Logic" +$EndDescr +$Comp +L MCU_Microchip_ATmega:ATmega328-AU U? +U 1 1 6069D7A4 +P 4700 3300 +F 0 "U?" H 5150 1850 50 0000 C CNN +F 1 "ATmega328-AU" H 4350 1850 50 0000 C CNN +F 2 "Package_QFP:TQFP-32_7x7mm_P0.8mm" H 4700 3300 50 0001 C CIN +F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf" H 4700 3300 50 0001 C CNN + 1 4700 3300 + -1 0 0 -1 +$EndComp +Wire Wire Line + 4700 4800 4700 4900 +$Comp +L power:GND #PWR? +U 1 1 60798FE0 +P 4700 4900 +F 0 "#PWR?" H 4700 4650 50 0001 C CNN +F 1 "GND" H 4705 4727 50 0000 C CNN +F 2 "" H 4700 4900 50 0001 C CNN +F 3 "" H 4700 4900 50 0001 C CNN + 1 4700 4900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4600 1800 4600 1700 +Wire Wire Line + 4600 1700 4650 1700 +Wire Wire Line + 4700 1700 4700 1800 +Wire Wire Line + 4650 1700 4650 1600 +Connection ~ 4650 1700 +Wire Wire Line + 4650 1700 4700 1700 +$Comp +L Device:C C? +U 1 1 6079B78B +P 5600 2350 +F 0 "C?" H 5715 2396 50 0000 L CNN +F 1 "100n" H 5715 2305 50 0000 L CNN +F 2 "" H 5638 2200 50 0001 C CNN +F 3 "~" H 5600 2350 50 0001 C CNN + 1 5600 2350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5600 2200 5600 2100 +Wire Wire Line + 5600 2100 5300 2100 +Wire Wire Line + 5600 2500 5600 2600 +$Comp +L power:GND #PWR? +U 1 1 6079C882 +P 5600 2600 +F 0 "#PWR?" H 5600 2350 50 0001 C CNN +F 1 "GND" H 5605 2427 50 0000 C CNN +F 2 "" H 5600 2600 50 0001 C CNN +F 3 "" H 5600 2600 50 0001 C CNN + 1 5600 2600 + 1 0 0 -1 +$EndComp +$Comp +L Connector:TestPoint TP? +U 1 1 607A0E99 +P 3500 2400 +F 0 "TP?" V 3550 2400 50 0000 C CNN +F 1 "MOSI" V 3500 2800 50 0000 R CNN +F 2 "" H 3700 2400 50 0001 C CNN +F 3 "~" H 3700 2400 50 0001 C CNN + 1 3500 2400 + 0 -1 -1 0 +$EndComp +$Comp +L Connector:TestPoint TP? +U 1 1 607A684C +P 3500 2500 +F 0 "TP?" V 3550 2500 50 0000 C CNN +F 1 "MISO" V 3500 2900 50 0000 R CNN +F 2 "" H 3700 2500 50 0001 C CNN +F 3 "~" H 3700 2500 50 0001 C CNN + 1 3500 2500 + 0 -1 -1 0 +$EndComp +$Comp +L Connector:TestPoint TP? +U 1 1 607A6F06 +P 3500 2600 +F 0 "TP?" V 3550 2600 50 0000 C CNN +F 1 "SCK" V 3500 2950 50 0000 R CNN +F 2 "" H 3700 2600 50 0001 C CNN +F 3 "~" H 3700 2600 50 0001 C CNN + 1 3500 2600 + 0 -1 -1 0 +$EndComp +$Comp +L Connector:TestPoint TP? +U 1 1 607A7C9B +P 3500 2700 +F 0 "TP?" V 3550 2700 50 0000 C CNN +F 1 "RST" V 3500 3050 50 0000 R CNN +F 2 "" H 3700 2700 50 0001 C CNN +F 3 "~" H 3700 2700 50 0001 C CNN + 1 3500 2700 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 3500 2400 4100 2400 +Wire Wire Line + 3500 2500 4100 2500 +Wire Wire Line + 3500 2600 4100 2600 +Wire Wire Line + 4100 3600 3400 3600 +Text Label 3400 3600 0 47 ~ 0 +~RESET +Wire Wire Line + 3500 2700 3850 2700 +Text Label 3850 2700 2 47 ~ 0 +~RESET +Wire Wire Line + 4100 4000 3750 4000 +Text HLabel 1250 3900 0 47 BiDi ~ 0 +USB_DP +Text HLabel 1250 3800 0 47 BiDi ~ 0 +USB_DM +Wire Wire Line + 3750 4200 4100 4200 +Text Notes 4100 4000 2 47 ~ 0 +INT0: +Text Notes 4100 4100 2 47 ~ 0 +INT1: +Wire Wire Line + 4100 4100 3750 4100 +$Comp +L Device:C C? +U 1 1 607C26AA +P 5050 1350 +F 0 "C?" H 5165 1396 50 0000 L CNN +F 1 "100n" H 5165 1305 50 0000 L CNN +F 2 "" H 5088 1200 50 0001 C CNN +F 3 "~" H 5050 1350 50 0001 C CNN + 1 5050 1350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5050 1050 5050 1200 +Wire Wire Line + 5050 1500 5050 1650 +$Comp +L power:GND #PWR? +U 1 1 607C3EC3 +P 5050 1650 +F 0 "#PWR?" H 5050 1400 50 0001 C CNN +F 1 "GND" H 5055 1477 50 0000 C CNN +F 2 "" H 5050 1650 50 0001 C CNN +F 3 "" H 5050 1650 50 0001 C CNN + 1 5050 1650 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 607CD9FE +P 750 1550 +F 0 "R?" H 820 1596 50 0000 L CNN +F 1 "1k" H 820 1505 50 0000 L CNN +F 2 "" V 680 1550 50 0001 C CNN +F 3 "~" H 750 1550 50 0001 C CNN + 1 750 1550 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 607CDD97 +P 750 1950 +F 0 "R?" H 820 1996 50 0000 L CNN +F 1 "1k" H 820 1905 50 0000 L CNN +F 2 "" V 680 1950 50 0001 C CNN +F 3 "~" H 750 1950 50 0001 C CNN + 1 750 1950 + 1 0 0 -1 +$EndComp +Wire Wire Line + 750 2100 750 2200 +Wire Wire Line + 750 1800 750 1750 +Connection ~ 750 1750 +Wire Wire Line + 750 1750 750 1700 +Text Label 1350 2200 2 47 ~ 0 +~BATT_SENSE_EN +Wire Wire Line + 750 2200 1350 2200 +Wire Wire Line + 750 1750 1350 1750 +Text Label 1350 1750 2 47 ~ 0 +BATT_SENSE +Text Label 3400 3000 0 47 ~ 0 +BATT_SENSE +Wire Wire Line + 3400 3000 4100 3000 +Text Label 3400 3100 0 47 ~ 0 +~BATT_SENSE_EN +Wire Wire Line + 3400 3100 4100 3100 +Text Notes 4100 3000 2 47 ~ 0 +ADC0: +Text HLabel 3900 2200 0 50 Input ~ 0 +~CHG_ACTIVE +Text HLabel 3800 2100 0 50 Output ~ 0 +~VLED_EN +Wire Wire Line + 3800 2100 4100 2100 +Wire Wire Line + 4100 2200 3900 2200 +NoConn ~ 5300 2300 +NoConn ~ 5300 2400 +$Comp +L Connector:TestPoint TP? +U 1 1 6046398C +P 3500 3800 +F 0 "TP?" V 3550 3800 50 0000 C CNN +F 1 "RX" V 3500 4100 50 0000 R CNN +F 2 "" H 3700 3800 50 0001 C CNN +F 3 "~" H 3700 3800 50 0001 C CNN + 1 3500 3800 + 0 -1 -1 0 +$EndComp +$Comp +L Connector:TestPoint TP? +U 1 1 60463A7A +P 3500 3900 +F 0 "TP?" V 3550 3900 50 0000 C CNN +F 1 "TX" V 3500 4200 50 0000 R CNN +F 2 "" H 3700 3900 50 0001 C CNN +F 3 "~" H 3700 3900 50 0001 C CNN + 1 3500 3900 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 3500 3800 4100 3800 +Wire Wire Line + 3500 3900 4100 3900 +Text Notes 4400 3400 0 47 ~ 0 +Set pull-up +$Comp +L Sensor_Motion:MMA8653FCR1 U? +U 1 1 60475A27 +P 9650 2900 +F 0 "U?" H 9800 3250 50 0000 L CNN +F 1 "MMA8653FCR1" H 9700 2550 50 0000 L CNN +F 2 "Package_DFN_QFN:DFN-10_2x2mm_P0.4mm" H 9700 2450 50 0001 L CNN +F 3 "http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8653FC.pdf" H 9450 2850 50 0001 C CNN + 1 9650 2900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9650 2500 9650 2400 +Wire Wire Line + 9650 2400 9700 2400 +Wire Wire Line + 9750 2400 9750 2500 +Wire Wire Line + 9700 2400 9700 2300 +Connection ~ 9700 2400 +Wire Wire Line + 9700 2400 9750 2400 +Wire Wire Line + 9450 3300 9450 3400 +Wire Wire Line + 9450 3400 9550 3400 +Wire Wire Line + 9650 3400 9650 3300 +Wire Wire Line + 9550 3300 9550 3400 +Connection ~ 9550 3400 +Wire Wire Line + 9550 3400 9650 3400 +Wire Wire Line + 9550 3400 9550 3500 +$Comp +L power:GND #PWR? +U 1 1 6047BC6A +P 9550 3500 +F 0 "#PWR?" H 9550 3250 50 0001 C CNN +F 1 "GND" H 9555 3327 50 0000 C CNN +F 2 "" H 9550 3500 50 0001 C CNN +F 3 "" H 9550 3500 50 0001 C CNN + 1 9550 3500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4100 3500 3400 3500 +Text Label 3400 3500 0 50 ~ 0 +AXL_SCL +Text Label 3400 3400 0 50 ~ 0 +AXL_SDA +Wire Wire Line + 3400 3400 4100 3400 +Text Notes 4100 3400 2 47 ~ 0 +SDA: +Text Notes 4100 3500 2 47 ~ 0 +SCL: +Text Label 8850 2700 0 50 ~ 0 +AXL_SDA +Text Label 8850 2800 0 50 ~ 0 +AXL_SCL +Wire Wire Line + 8850 2800 9250 2800 +Wire Wire Line + 9250 2700 8850 2700 +Wire Wire Line + 9000 2900 9250 2900 +Wire Wire Line + 10050 2900 10400 2900 +Text Label 10400 2900 2 50 ~ 0 +AXL_INT1 +Wire Wire Line + 10050 3000 10400 3000 +Text Label 10400 3000 2 50 ~ 0 +AXL_INT2 +Wire Wire Line + 4100 3300 4000 3300 +Text Label 3400 3300 0 50 ~ 0 +AXL_EN +Text Label 7400 3400 0 50 ~ 0 +AXL_SDA +Text Label 7400 3500 0 50 ~ 0 +AXL_SCL +$Comp +L Device:R R? +U 1 1 604C8E82 +P 7850 3150 +F 0 "R?" H 7920 3196 50 0000 L CNN +F 1 "4k7" H 7920 3105 50 0000 L CNN +F 2 "" V 7780 3150 50 0001 C CNN +F 3 "~" H 7850 3150 50 0001 C CNN + 1 7850 3150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7850 3300 7850 3400 +Wire Wire Line + 7400 3400 7850 3400 +$Comp +L Device:R R? +U 1 1 604CA988 +P 8150 3150 +F 0 "R?" H 8220 3196 50 0000 L CNN +F 1 "4k7" H 8220 3105 50 0000 L CNN +F 2 "" V 8080 3150 50 0001 C CNN +F 3 "~" H 8150 3150 50 0001 C CNN + 1 8150 3150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8150 3300 8150 3500 +Wire Wire Line + 7400 3500 8150 3500 +Wire Wire Line + 7850 3000 7850 2900 +Wire Wire Line + 7850 2900 8000 2900 +Wire Wire Line + 8150 2900 8150 3000 +Wire Wire Line + 8000 2900 8000 2800 +Connection ~ 8000 2900 +Wire Wire Line + 8000 2900 8150 2900 +Text Label 3400 4500 0 50 ~ 0 +AXL_INT2 +Wire Wire Line + 3400 4500 4100 4500 +Text Notes 4100 4500 2 47 ~ 0 +PCINT23: +Text HLabel 3750 4100 0 47 Input ~ 0 +~BTN +$Comp +L leddie_parts:VCPU #PWR? +U 1 1 60539910 +P 5050 1050 +F 0 "#PWR?" H 5050 900 50 0001 C CNN +F 1 "VCPU" H 5065 1223 50 0000 C CNN +F 2 "" H 5050 1050 50 0001 C CNN +F 3 "" H 5050 1050 50 0001 C CNN + 1 5050 1050 + 1 0 0 -1 +$EndComp +$Comp +L leddie_parts:VCPU #PWR? +U 1 1 6053A3CD +P 4650 1600 +F 0 "#PWR?" H 4650 1450 50 0001 C CNN +F 1 "VCPU" H 4665 1773 50 0000 C CNN +F 2 "" H 4650 1600 50 0001 C CNN +F 3 "" H 4650 1600 50 0001 C CNN + 1 4650 1600 + 1 0 0 -1 +$EndComp +$Comp +L leddie_parts:VAUX #PWR? +U 1 1 6053C0CB +P 9700 2300 +F 0 "#PWR?" H 9700 2150 50 0001 C CNN +F 1 "VAUX" H 9715 2473 50 0000 C CNN +F 2 "" H 9700 2300 50 0001 C CNN +F 3 "" H 9700 2300 50 0001 C CNN + 1 9700 2300 + 1 0 0 -1 +$EndComp +$Comp +L leddie_parts:VAUX #PWR? +U 1 1 6053C668 +P 8550 2300 +F 0 "#PWR?" H 8550 2150 50 0001 C CNN +F 1 "VAUX" H 8565 2473 50 0000 C CNN +F 2 "" H 8550 2300 50 0001 C CNN +F 3 "" H 8550 2300 50 0001 C CNN + 1 8550 2300 + 1 0 0 -1 +$EndComp +$Comp +L leddie_parts:VAUX #PWR? +U 1 1 6053CC44 +P 8000 2300 +F 0 "#PWR?" H 8000 2150 50 0001 C CNN +F 1 "VAUX" H 8015 2473 50 0000 C CNN +F 2 "" H 8000 2300 50 0001 C CNN +F 3 "" H 8000 2300 50 0001 C CNN + 1 8000 2300 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8000 2300 8000 2400 +Text Label 7650 2400 0 50 ~ 0 +AXL_EN +$Comp +L leddie_parts:VAUX #PWR? +U 1 1 605448F4 +P 8000 2800 +F 0 "#PWR?" H 8000 2650 50 0001 C CNN +F 1 "VAUX" H 8015 2973 50 0000 C CNN +F 2 "" H 8000 2800 50 0001 C CNN +F 3 "" H 8000 2800 50 0001 C CNN + 1 8000 2800 + 1 0 0 -1 +$EndComp +$Comp +L Device:Q_NPN_BCE Q? +U 1 1 6055E5C0 +P 1850 6700 +F 0 "Q?" H 2041 6746 50 0000 L CNN +F 1 "Q_NPN_BCE" H 2041 6655 50 0000 L CNN +F 2 "" H 2050 6800 50 0001 C CNN +F 3 "~" H 1850 6700 50 0001 C CNN + 1 1850 6700 + 1 0 0 -1 +$EndComp +$Sheet +S 2300 6300 550 200 +U 606A056C +F0 "led_substring_digital" 47 +F1 "led_substring.sch" 47 +F2 "DOUT" O R 2850 6400 47 +F3 "DIN" I L 2300 6400 47 +$EndSheet +$Comp +L Device:R R? +U 1 1 605638B8 +P 1950 6150 +F 0 "R?" H 2020 6196 50 0000 L CNN +F 1 "10k" H 2020 6105 50 0000 L CNN +F 2 "" V 1880 6150 50 0001 C CNN +F 3 "~" H 1950 6150 50 0001 C CNN + 1 1950 6150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1950 6300 1950 6400 +Wire Wire Line + 1950 6000 1950 5850 +$Comp +L leddie_parts:VLED #PWR? +U 1 1 6056719F +P 1950 5850 +F 0 "#PWR?" H 1950 5700 50 0001 C CNN +F 1 "VLED" H 1965 6023 50 0000 C CNN +F 2 "" H 1950 5850 50 0001 C CNN +F 3 "" H 1950 5850 50 0001 C CNN + 1 1950 5850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1950 6400 2300 6400 +Connection ~ 1950 6400 +Wire Wire Line + 1950 6400 1950 6500 +Wire Wire Line + 1950 6900 1950 7000 +$Comp +L power:GND #PWR? +U 1 1 60571E56 +P 1950 7000 +F 0 "#PWR?" H 1950 6750 50 0001 C CNN +F 1 "GND" H 1955 6827 50 0000 C CNN +F 2 "" H 1950 7000 50 0001 C CNN +F 3 "" H 1950 7000 50 0001 C CNN + 1 1950 7000 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 6057230C +P 1400 6700 +F 0 "R?" V 1193 6700 50 0000 C CNN +F 1 "10k" V 1284 6700 50 0000 C CNN +F 2 "" V 1330 6700 50 0001 C CNN +F 3 "~" H 1400 6700 50 0001 C CNN + 1 1400 6700 + 0 1 1 0 +$EndComp +Wire Wire Line + 1550 6700 1650 6700 +Wire Wire Line + 1250 6700 900 6700 +Text Label 900 6700 0 50 ~ 0 +LED_DIN +Text Label 3400 4300 0 50 ~ 0 +LED_DIN +Wire Wire Line + 3400 4300 4100 4300 +Connection ~ 8000 2400 +Wire Wire Line + 8000 2400 7650 2400 +$Comp +L power:PWR_FLAG #FLG? +U 1 1 605CF94F +P 8000 2400 +F 0 "#FLG?" H 8000 2475 50 0001 C CNN +F 1 "PWR_FLAG" H 8000 2573 50 0001 C CNN +F 2 "" H 8000 2400 50 0001 C CNN +F 3 "~" H 8000 2400 50 0001 C CNN + 1 8000 2400 + 0 1 1 0 +$EndComp +Wire Wire Line + 750 1300 750 1400 +$Comp +L power:+BATT #PWR? +U 1 1 606073F1 +P 750 900 +F 0 "#PWR?" H 750 750 50 0001 C CNN +F 1 "+BATT" H 765 1073 50 0000 C CNN +F 2 "" H 750 900 50 0001 C CNN +F 3 "" H 750 900 50 0001 C CNN + 1 750 900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 750 900 750 1000 +$Comp +L Device:D_Zener D? +U 1 1 606163B6 +P 750 1150 +F 0 "D?" V 704 1230 50 0000 L CNN +F 1 "2.4" V 795 1230 50 0000 L CNN +F 2 "" H 750 1150 50 0001 C CNN +F 3 "~" H 750 1150 50 0001 C CNN + 1 750 1150 + 0 1 1 0 +$EndComp +Text Notes 950 1600 0 50 ~ 0 +300uA bias\n@3V +Text Notes 800 2350 0 47 ~ 0 +Drive to High-Z\nin stand-by. +Text Notes 950 1250 0 50 ~ 0 +MMSZ4681T1G\n(min 50uA bias) +NoConn ~ 4100 2700 +NoConn ~ 4100 2800 +Text Notes 4100 2600 2 47 ~ 0 +SCK: +Text Notes 4100 2500 2 47 ~ 0 +MISO: +Text Notes 4100 2400 2 47 ~ 0 +MOSI: +$Comp +L power:GND #PWR? +U 1 1 6049EA0B +P 8550 3500 +F 0 "#PWR?" H 8550 3250 50 0001 C CNN +F 1 "GND" H 8555 3327 50 0000 C CNN +F 2 "" H 8550 3500 50 0001 C CNN +F 3 "" H 8550 3500 50 0001 C CNN + 1 8550 3500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8550 3300 8550 3500 +Wire Wire Line + 8550 2300 8550 3000 +$Comp +L Device:C C? +U 1 1 60495F5D +P 8550 3150 +F 0 "C?" H 8665 3196 50 0000 L CNN +F 1 "100n" H 8665 3105 50 0000 L CNN +F 2 "" H 8588 3000 50 0001 C CNN +F 3 "~" H 8550 3150 50 0001 C CNN + 1 8550 3150 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 60494AD9 +P 9000 3500 +F 0 "#PWR?" H 9000 3250 50 0001 C CNN +F 1 "GND" H 9005 3327 50 0000 C CNN +F 2 "" H 9000 3500 50 0001 C CNN +F 3 "" H 9000 3500 50 0001 C CNN + 1 9000 3500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9000 3300 9000 3500 +Wire Wire Line + 9000 3000 9000 2900 +$Comp +L Device:C C? +U 1 1 604922A2 +P 9000 3150 +F 0 "C?" H 9115 3196 50 0000 L CNN +F 1 "100n" H 9115 3105 50 0000 L CNN +F 2 "" H 9038 3000 50 0001 C CNN +F 3 "~" H 9000 3150 50 0001 C CNN + 1 9000 3150 + 1 0 0 -1 +$EndComp +Connection ~ 1400 3800 +Wire Wire Line + 1400 3800 1550 3800 +Wire Wire Line + 1400 3650 1400 3800 +$Comp +L Device:R R? +U 1 1 606F6585 +P 1400 3500 +AR Path="/60699B96/606F6585" Ref="R?" Part="1" +AR Path="/60435139/606F6585" Ref="R?" Part="1" +F 0 "R?" H 1330 3454 50 0000 R CNN +F 1 "1k5" H 1330 3545 50 0000 R CNN +F 2 "" V 1330 3500 50 0001 C CNN +F 3 "~" H 1400 3500 50 0001 C CNN + 1 1400 3500 + -1 0 0 1 +$EndComp +Wire Wire Line + 1400 3350 1400 3200 +$Comp +L Device:R R? +U 1 1 606F658C +P 1700 3800 +F 0 "R?" V 1600 3800 50 0000 C CNN +F 1 "68" V 1700 3800 50 0000 C CNN +F 2 "" V 1630 3800 50 0001 C CNN +F 3 "~" H 1700 3800 50 0001 C CNN + 1 1700 3800 + 0 1 1 0 +$EndComp +Wire Wire Line + 1250 3800 1400 3800 +$Comp +L Device:R R? +U 1 1 606F6593 +P 1700 3900 +F 0 "R?" V 1600 3900 50 0000 C CNN +F 1 "68" V 1700 3900 50 0000 C CNN +F 2 "" V 1630 3900 50 0001 C CNN +F 3 "~" H 1700 3900 50 0001 C CNN + 1 1700 3900 + 0 1 -1 0 +$EndComp +Wire Wire Line + 1250 3900 1550 3900 +$Comp +L leddie_parts:VCPU #PWR? +U 1 1 60739CA3 +P 1400 3200 +F 0 "#PWR?" H 1400 3050 50 0001 C CNN +F 1 "VCPU" H 1415 3373 50 0000 C CNN +F 2 "" H 1400 3200 50 0001 C CNN +F 3 "" H 1400 3200 50 0001 C CNN + 1 1400 3200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1850 3800 2250 3800 +Text Label 2250 3800 2 50 ~ 0 +MCU_DM +Text Label 2250 3900 2 50 ~ 0 +MCU_DP +Wire Wire Line + 2250 3900 1850 3900 +Text Label 3750 4200 2 50 ~ 0 +MCU_DM +Text Label 3750 4000 2 50 ~ 0 +MCU_DP +Text Notes 4400 4100 0 47 ~ 0 +Set pull-up +Wire Wire Line + 2850 6400 2950 6400 +Text HLabel 2950 6400 2 50 Output ~ 0 +LED_DOUT +Text Notes 8500 2000 0 79 ~ 0 +Accelerometer +Text Notes 2250 6050 0 79 ~ 0 +LED level\nshifter +Text Notes 1700 3400 0 79 ~ 0 +USB +Text Notes 950 950 0 79 ~ 0 +Battery\nmonitoring +Text Notes 4550 1250 0 79 ~ 0 +CPU +Wire Wire Line + 4100 3200 4000 3200 +Wire Wire Line + 4000 3200 4000 3300 +Connection ~ 4000 3300 +Wire Wire Line + 4000 3300 3400 3300 +NoConn ~ 4100 2300 +Text Label 3400 4400 0 50 ~ 0 +AXL_INT1 +Wire Wire Line + 3400 4400 4100 4400 +Text Notes 4100 4400 2 47 ~ 0 +PCINT22: +Text Notes 4100 3900 2 47 ~ 0 +TX: +Text Notes 4100 3800 2 47 ~ 0 +RX: +Text Notes 3850 3600 0 50 ~ 0 +RESET: +$EndSCHEMATC diff --git a/kicad/led_substring.sch b/kicad/led_substring.sch new file mode 100644 index 0000000..ea5c4fe --- /dev/null +++ b/kicad/led_substring.sch @@ -0,0 +1,620 @@ +EESchema Schematic File Version 4 +EELAYER 30 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 3 7 +Title "Leddie" +Date "2021-03-06" +Rev "01" +Comp "Markus Koch - notsyncing.net" +Comment1 "Licensed under CC BY-SA 3.0" +Comment2 "https://l.notsyncing.net/leddie" +Comment3 "" +Comment4 "LED substring for one side" +$EndDescr +$Comp +L LED:SK6805 D? +U 1 1 6058F359 +P 4900 2150 +AR Path="/60435139/6058E11E/6058F359" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/6058F359" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/6058F359" Ref="D?" Part="1" +F 0 "D?" H 4950 2400 50 0000 L CNN +F 1 "SK6805" H 4950 1900 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 4950 1850 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 5000 1775 50 0001 L TNN + 1 4900 2150 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 6058FC95 +P 4300 2150 +AR Path="/60435139/6058E11E/6058FC95" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/6058FC95" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/6058FC95" Ref="C?" Part="1" +F 0 "C?" H 4350 2250 50 0000 L CNN +F 1 "100n" H 4350 2050 50 0000 L CNN +F 2 "" H 4338 2000 50 0001 C CNN +F 3 "~" H 4300 2150 50 0001 C CNN + 1 4300 2150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4300 2000 4300 1750 +Wire Wire Line + 4300 1750 4900 1750 +Wire Wire Line + 4900 1750 4900 1850 +Wire Wire Line + 4900 2450 4900 2550 +Wire Wire Line + 4900 2550 4300 2550 +Wire Wire Line + 4300 2550 4300 2300 +$Comp +L LED:SK6805 D? +U 1 1 6059476D +P 6250 2150 +AR Path="/60435139/6058E11E/6059476D" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/6059476D" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/6059476D" Ref="D?" Part="1" +F 0 "D?" H 6300 2400 50 0000 L CNN +F 1 "SK6805" H 6300 1900 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 6300 1850 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 6350 1775 50 0001 L TNN + 1 6250 2150 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605947C1 +P 5650 2150 +AR Path="/60435139/6058E11E/605947C1" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/605947C1" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/605947C1" Ref="C?" Part="1" +F 0 "C?" H 5700 2250 50 0000 L CNN +F 1 "100n" H 5700 2050 50 0000 L CNN +F 2 "" H 5688 2000 50 0001 C CNN +F 3 "~" H 5650 2150 50 0001 C CNN + 1 5650 2150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 2000 5650 1750 +Wire Wire Line + 6250 1750 6250 1850 +Wire Wire Line + 6250 2450 6250 2550 +Wire Wire Line + 6250 2550 5650 2550 +Wire Wire Line + 5650 2550 5650 2300 +Wire Wire Line + 4900 1750 5650 1750 +Connection ~ 4900 1750 +Connection ~ 5650 1750 +Wire Wire Line + 5650 2550 4900 2550 +Connection ~ 5650 2550 +Connection ~ 4900 2550 +Wire Wire Line + 5950 2150 5850 2150 +Wire Wire Line + 5850 2150 5850 1950 +Wire Wire Line + 5300 1950 5300 2150 +Wire Wire Line + 5300 2150 5200 2150 +$Comp +L LED:SK6805 D? +U 1 1 6059DA5A +P 7600 2150 +AR Path="/60435139/6058E11E/6059DA5A" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/6059DA5A" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/6059DA5A" Ref="D?" Part="1" +F 0 "D?" H 7650 2400 50 0000 L CNN +F 1 "SK6805" H 7650 1900 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 7650 1850 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 7700 1775 50 0001 L TNN + 1 7600 2150 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 6059DAEA +P 7000 2150 +AR Path="/60435139/6058E11E/6059DAEA" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/6059DAEA" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/6059DAEA" Ref="C?" Part="1" +F 0 "C?" H 7050 2250 50 0000 L CNN +F 1 "100n" H 7050 2050 50 0000 L CNN +F 2 "" H 7038 2000 50 0001 C CNN +F 3 "~" H 7000 2150 50 0001 C CNN + 1 7000 2150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7000 2000 7000 1750 +Wire Wire Line + 7000 1750 7600 1750 +Wire Wire Line + 7600 1750 7600 1850 +Wire Wire Line + 7600 2450 7600 2550 +Wire Wire Line + 7600 2550 7000 2550 +Wire Wire Line + 7000 2550 7000 2300 +Wire Wire Line + 6250 1750 7000 1750 +Connection ~ 7000 1750 +Wire Wire Line + 7000 2550 6250 2550 +Connection ~ 7000 2550 +Wire Wire Line + 7300 2150 7200 2150 +Wire Wire Line + 7200 2150 7200 1950 +Wire Wire Line + 7200 1950 6650 1950 +Wire Wire Line + 6650 1950 6650 2150 +Wire Wire Line + 6650 2150 6550 2150 +Connection ~ 6250 1750 +Connection ~ 6250 2550 +Wire Wire Line + 4600 2150 4500 2150 +Wire Wire Line + 4500 2150 4500 1950 +Wire Wire Line + 4500 1950 4150 1950 +Wire Wire Line + 4150 1950 4150 2150 +Wire Wire Line + 4150 2150 4050 2150 +Wire Wire Line + 5850 1950 5300 1950 +Wire Wire Line + 7900 2150 8000 2150 +$Comp +L LED:SK6805 D? +U 1 1 605BAFB0 +P 4900 3650 +AR Path="/60435139/6058E11E/605BAFB0" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/605BAFB0" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/605BAFB0" Ref="D?" Part="1" +F 0 "D?" H 4950 3900 50 0000 L CNN +F 1 "SK6805" H 4950 3400 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 4950 3350 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 5000 3275 50 0001 L TNN + 1 4900 3650 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605BB05C +P 4300 3650 +AR Path="/60435139/6058E11E/605BB05C" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/605BB05C" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/605BB05C" Ref="C?" Part="1" +F 0 "C?" H 4350 3750 50 0000 L CNN +F 1 "100n" H 4350 3550 50 0000 L CNN +F 2 "" H 4338 3500 50 0001 C CNN +F 3 "~" H 4300 3650 50 0001 C CNN + 1 4300 3650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4300 3500 4300 3250 +Wire Wire Line + 4300 3250 4900 3250 +Wire Wire Line + 4900 3250 4900 3350 +Wire Wire Line + 4900 3950 4900 4050 +Wire Wire Line + 4900 4050 4300 4050 +Wire Wire Line + 4300 4050 4300 3800 +$Comp +L LED:SK6805 D? +U 1 1 605BB06C +P 6250 3650 +AR Path="/60435139/6058E11E/605BB06C" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/605BB06C" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/605BB06C" Ref="D?" Part="1" +F 0 "D?" H 6300 3900 50 0000 L CNN +F 1 "SK6805" H 6300 3400 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 6300 3350 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 6350 3275 50 0001 L TNN + 1 6250 3650 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605BB076 +P 5650 3650 +AR Path="/60435139/6058E11E/605BB076" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/605BB076" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/605BB076" Ref="C?" Part="1" +F 0 "C?" H 5700 3750 50 0000 L CNN +F 1 "100n" H 5700 3550 50 0000 L CNN +F 2 "" H 5688 3500 50 0001 C CNN +F 3 "~" H 5650 3650 50 0001 C CNN + 1 5650 3650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 3500 5650 3250 +Wire Wire Line + 5650 3250 6250 3250 +Wire Wire Line + 6250 3250 6250 3350 +Wire Wire Line + 6250 3950 6250 4050 +Wire Wire Line + 6250 4050 5650 4050 +Wire Wire Line + 5650 4050 5650 3800 +Wire Wire Line + 4900 3250 5650 3250 +Connection ~ 4900 3250 +Connection ~ 5650 3250 +Wire Wire Line + 5650 4050 4900 4050 +Connection ~ 5650 4050 +Connection ~ 4900 4050 +Wire Wire Line + 5950 3650 5850 3650 +Wire Wire Line + 5850 3650 5850 3450 +Wire Wire Line + 5300 3450 5300 3650 +Wire Wire Line + 5300 3650 5200 3650 +$Comp +L LED:SK6805 D? +U 1 1 605BB090 +P 7600 3650 +AR Path="/60435139/6058E11E/605BB090" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/605BB090" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/605BB090" Ref="D?" Part="1" +F 0 "D?" H 7650 3900 50 0000 L CNN +F 1 "SK6805" H 7650 3400 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 7650 3350 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 7700 3275 50 0001 L TNN + 1 7600 3650 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605BB09A +P 7000 3650 +AR Path="/60435139/6058E11E/605BB09A" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/605BB09A" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/605BB09A" Ref="C?" Part="1" +F 0 "C?" H 7050 3750 50 0000 L CNN +F 1 "100n" H 7050 3550 50 0000 L CNN +F 2 "" H 7038 3500 50 0001 C CNN +F 3 "~" H 7000 3650 50 0001 C CNN + 1 7000 3650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7000 3500 7000 3250 +Wire Wire Line + 7000 3250 7600 3250 +Wire Wire Line + 7600 3250 7600 3350 +Wire Wire Line + 7600 3950 7600 4050 +Wire Wire Line + 7600 4050 7000 4050 +Wire Wire Line + 7000 4050 7000 3800 +Wire Wire Line + 6250 3250 7000 3250 +Connection ~ 7000 3250 +Wire Wire Line + 7000 4050 6250 4050 +Connection ~ 7000 4050 +Wire Wire Line + 7300 3650 7200 3650 +Wire Wire Line + 7200 3650 7200 3450 +Wire Wire Line + 7200 3450 6650 3450 +Wire Wire Line + 6650 3450 6650 3650 +Wire Wire Line + 6650 3650 6550 3650 +Connection ~ 6250 3250 +Connection ~ 6250 4050 +Wire Wire Line + 4600 3650 4500 3650 +Wire Wire Line + 4500 3650 4500 3450 +Wire Wire Line + 5850 3450 5300 3450 +Wire Wire Line + 4050 3450 4500 3450 +Wire Wire Line + 7900 3650 8000 3650 +Wire Wire Line + 8000 3650 8000 4300 +$Comp +L LED:SK6805 D? +U 1 1 605D0D05 +P 4900 5000 +AR Path="/60435139/6058E11E/605D0D05" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/605D0D05" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/605D0D05" Ref="D?" Part="1" +F 0 "D?" H 4950 5250 50 0000 L CNN +F 1 "SK6805" H 4950 4750 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 4950 4700 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 5000 4625 50 0001 L TNN + 1 4900 5000 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605D0E65 +P 4300 5000 +AR Path="/60435139/6058E11E/605D0E65" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/605D0E65" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/605D0E65" Ref="C?" Part="1" +F 0 "C?" H 4350 5100 50 0000 L CNN +F 1 "100n" H 4350 4900 50 0000 L CNN +F 2 "" H 4338 4850 50 0001 C CNN +F 3 "~" H 4300 5000 50 0001 C CNN + 1 4300 5000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4300 4850 4300 4600 +Wire Wire Line + 4300 4600 4900 4600 +Wire Wire Line + 4900 4600 4900 4700 +Wire Wire Line + 4900 5300 4900 5400 +Wire Wire Line + 4900 5400 4300 5400 +Wire Wire Line + 4300 5400 4300 5150 +$Comp +L LED:SK6805 D? +U 1 1 605D0E75 +P 6250 5000 +AR Path="/60435139/6058E11E/605D0E75" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/605D0E75" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/605D0E75" Ref="D?" Part="1" +F 0 "D?" H 6300 5250 50 0000 L CNN +F 1 "SK6805" H 6300 4750 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 6300 4700 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 6350 4625 50 0001 L TNN + 1 6250 5000 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605D0E7F +P 5650 5000 +AR Path="/60435139/6058E11E/605D0E7F" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/605D0E7F" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/605D0E7F" Ref="C?" Part="1" +F 0 "C?" H 5700 5100 50 0000 L CNN +F 1 "100n" H 5700 4900 50 0000 L CNN +F 2 "" H 5688 4850 50 0001 C CNN +F 3 "~" H 5650 5000 50 0001 C CNN + 1 5650 5000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 4850 5650 4600 +Wire Wire Line + 5650 4600 6250 4600 +Wire Wire Line + 6250 4600 6250 4700 +Wire Wire Line + 6250 5300 6250 5400 +Wire Wire Line + 6250 5400 5650 5400 +Wire Wire Line + 5650 5400 5650 5150 +Wire Wire Line + 4900 4600 5650 4600 +Connection ~ 4900 4600 +Connection ~ 5650 4600 +Wire Wire Line + 5650 5400 4900 5400 +Connection ~ 5650 5400 +Connection ~ 4900 5400 +Wire Wire Line + 5950 5000 5850 5000 +Wire Wire Line + 5850 5000 5850 4800 +Wire Wire Line + 5300 4800 5300 5000 +Wire Wire Line + 5300 5000 5200 5000 +$Comp +L LED:SK6805 D? +U 1 1 605D0E99 +P 7600 5000 +AR Path="/60435139/6058E11E/605D0E99" Ref="D?" Part="1" +AR Path="/60699B96/606A056C/605D0E99" Ref="D?" Part="1" +AR Path="/60528580/6052A1F5/605D0E99" Ref="D?" Part="1" +F 0 "D?" H 7650 5250 50 0000 L CNN +F 1 "SK6805" H 7650 4750 50 0000 L CNN +F 2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" H 7650 4700 50 0001 L TNN +F 3 "https://cdn-shop.adafruit.com/product-files/3484/3484_Datasheet.pdf" H 7700 4625 50 0001 L TNN + 1 7600 5000 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605D0EA3 +P 7000 5000 +AR Path="/60435139/6058E11E/605D0EA3" Ref="C?" Part="1" +AR Path="/60699B96/606A056C/605D0EA3" Ref="C?" Part="1" +AR Path="/60528580/6052A1F5/605D0EA3" Ref="C?" Part="1" +F 0 "C?" H 7050 5100 50 0000 L CNN +F 1 "100n" H 7050 4900 50 0000 L CNN +F 2 "" H 7038 4850 50 0001 C CNN +F 3 "~" H 7000 5000 50 0001 C CNN + 1 7000 5000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7000 4850 7000 4600 +Wire Wire Line + 7000 4600 7600 4600 +Wire Wire Line + 7600 4600 7600 4700 +Wire Wire Line + 7600 5300 7600 5400 +Wire Wire Line + 7600 5400 7000 5400 +Wire Wire Line + 7000 5400 7000 5150 +Wire Wire Line + 6250 4600 7000 4600 +Connection ~ 7000 4600 +Wire Wire Line + 7000 5400 6250 5400 +Connection ~ 7000 5400 +Wire Wire Line + 7300 5000 7200 5000 +Wire Wire Line + 7200 5000 7200 4800 +Wire Wire Line + 7200 4800 6650 4800 +Wire Wire Line + 6650 4800 6650 5000 +Wire Wire Line + 6650 5000 6550 5000 +Connection ~ 6250 4600 +Connection ~ 6250 5400 +Wire Wire Line + 4600 5000 4500 5000 +Wire Wire Line + 4500 5000 4500 4800 +Wire Wire Line + 5850 4800 5300 4800 +Wire Wire Line + 4050 4800 4500 4800 +Text HLabel 8000 5000 2 47 Output ~ 0 +DOUT +Wire Wire Line + 8000 5000 7900 5000 +Text HLabel 4050 2150 0 47 Input ~ 0 +DIN +$Comp +L leddie_parts:VLED #PWR? +U 1 1 606050E2 +P 6250 1650 +AR Path="/60435139/6058E11E/606050E2" Ref="#PWR?" Part="1" +AR Path="/60699B96/606A056C/606050E2" Ref="#PWR?" Part="1" +AR Path="/60528580/6052A1F5/606050E2" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6250 1500 50 0001 C CNN +F 1 "VLED" H 6265 1823 50 0000 C CNN +F 2 "" H 6250 1650 50 0001 C CNN +F 3 "" H 6250 1650 50 0001 C CNN + 1 6250 1650 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 60610CB3 +P 6250 2650 +AR Path="/60435139/6058E11E/60610CB3" Ref="#PWR?" Part="1" +AR Path="/60699B96/606A056C/60610CB3" Ref="#PWR?" Part="1" +AR Path="/60528580/6052A1F5/60610CB3" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6250 2400 50 0001 C CNN +F 1 "GND" H 6255 2477 50 0000 C CNN +F 2 "" H 6250 2650 50 0001 C CNN +F 3 "" H 6250 2650 50 0001 C CNN + 1 6250 2650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 1750 6250 1750 +Wire Wire Line + 6250 1650 6250 1750 +$Comp +L power:GND #PWR? +U 1 1 6061ECD0 +P 6250 4050 +AR Path="/60435139/6058E11E/6061ECD0" Ref="#PWR?" Part="1" +AR Path="/60699B96/606A056C/6061ECD0" Ref="#PWR?" Part="1" +AR Path="/60528580/6052A1F5/6061ECD0" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6250 3800 50 0001 C CNN +F 1 "GND" H 6255 3877 50 0000 C CNN +F 2 "" H 6250 4050 50 0001 C CNN +F 3 "" H 6250 4050 50 0001 C CNN + 1 6250 4050 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 60620DF3 +P 6250 5400 +AR Path="/60435139/6058E11E/60620DF3" Ref="#PWR?" Part="1" +AR Path="/60699B96/606A056C/60620DF3" Ref="#PWR?" Part="1" +AR Path="/60528580/6052A1F5/60620DF3" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6250 5150 50 0001 C CNN +F 1 "GND" H 6255 5227 50 0000 C CNN +F 2 "" H 6250 5400 50 0001 C CNN +F 3 "" H 6250 5400 50 0001 C CNN + 1 6250 5400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6250 2650 6250 2550 +$Comp +L leddie_parts:VLED #PWR? +U 1 1 6063952B +P 6250 3100 +AR Path="/60435139/6058E11E/6063952B" Ref="#PWR?" Part="1" +AR Path="/60699B96/606A056C/6063952B" Ref="#PWR?" Part="1" +AR Path="/60528580/6052A1F5/6063952B" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6250 2950 50 0001 C CNN +F 1 "VLED" H 6265 3273 50 0000 C CNN +F 2 "" H 6250 3100 50 0001 C CNN +F 3 "" H 6250 3100 50 0001 C CNN + 1 6250 3100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6250 3100 6250 3250 +$Comp +L leddie_parts:VLED #PWR? +U 1 1 60650D61 +P 6250 4500 +AR Path="/60435139/6058E11E/60650D61" Ref="#PWR?" Part="1" +AR Path="/60699B96/606A056C/60650D61" Ref="#PWR?" Part="1" +AR Path="/60528580/6052A1F5/60650D61" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6250 4350 50 0001 C CNN +F 1 "VLED" H 6265 4673 50 0000 C CNN +F 2 "" H 6250 4500 50 0001 C CNN +F 3 "" H 6250 4500 50 0001 C CNN + 1 6250 4500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6250 4500 6250 4600 +Wire Wire Line + 8000 2900 4050 2900 +Wire Wire Line + 8000 2150 8000 2900 +Wire Wire Line + 4050 2900 4050 3450 +Wire Wire Line + 4050 4300 4050 4800 +Wire Wire Line + 4050 4300 8000 4300 +$EndSCHEMATC diff --git a/kicad/leddie-cache.lib b/kicad/leddie-cache.lib new file mode 100644 index 0000000..3106fe0 --- /dev/null +++ b/kicad/leddie-cache.lib @@ -0,0 +1,539 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# Battery_Management_MCP73831-2-OT +# +DEF Battery_Management_MCP73831-2-OT U 0 40 Y Y 1 F N +F0 "U" -300 250 50 H V L CNN +F1 "Battery_Management_MCP73831-2-OT" 50 250 50 H V L CNN +F2 "Package_TO_SOT_SMD:SOT-23-5" 50 -250 50 H I L CIN +F3 "" -150 -50 50 H I C CNN +ALIAS MCP73832-5-OT MCP73832-4-OT MCP73832-3-OT MCP73831-2-OT MCP73831-5-OT MCP73831-4-OT MCP73831-3-OT +$FPLIST + SOT?23* +$ENDFPLIST +DRAW +S -300 200 300 -200 0 1 10 f +X STAT 1 400 -100 100 L 50 50 1 1 O +X VSS 2 0 -300 100 U 50 50 1 1 W +X VBAT 3 400 100 100 L 50 50 1 1 w +X VDD 4 0 300 100 D 50 50 1 1 W +X PROG 5 -400 -100 100 R 50 50 1 1 I +ENDDRAW +ENDDEF +# +# Connector_Conn_01x02_Male +# +DEF Connector_Conn_01x02_Male J 0 40 Y N 1 F N +F0 "J" 0 100 50 H V C CNN +F1 "Connector_Conn_01x02_Male" 0 -200 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S 34 -95 0 -105 1 1 6 F +S 34 5 0 -5 1 1 6 F +P 2 1 1 6 50 -100 34 -100 N +P 2 1 1 6 50 0 34 0 N +X Pin_1 1 200 0 150 L 50 50 1 1 P +X Pin_2 2 200 -100 150 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_TestPoint +# +DEF Connector_TestPoint TP 0 30 N N 1 F N +F0 "TP" 0 270 50 H V C CNN +F1 "Connector_TestPoint" 0 200 50 H V C CNN +F2 "" 200 0 50 H I C CNN +F3 "" 200 0 50 H I C CNN +$FPLIST + Pin* + Test* +$ENDFPLIST +DRAW +C 0 130 30 0 1 0 N +X 1 1 0 0 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_USB_C_Plug_USB2.0 +# +DEF Connector_USB_C_Plug_USB2.0 P 0 40 Y Y 1 F N +F0 "P" -400 750 50 H V L CNN +F1 "Connector_USB_C_Plug_USB2.0" 500 750 50 H V R CNN +F2 "" 150 0 50 H I C CNN +F3 "" 150 0 50 H I C CNN +$FPLIST + USB*C*Plug* +$ENDFPLIST +DRAW +A -275 -150 75 -1799 -1 0 1 20 N -350 -150 -200 -150 +A -275 -150 25 -1799 -1 0 1 10 N -300 -150 -250 -150 +A -275 -150 25 -1799 -1 0 1 10 F -300 -150 -250 -150 +A -275 150 25 1 1799 0 1 10 F -250 150 -300 150 +A -275 150 25 1 1799 0 1 10 N -250 150 -300 150 +A -275 150 75 1 1799 0 1 20 N -200 150 -350 150 +C -100 45 25 0 1 10 F +C 0 -230 50 0 1 0 F +S -10 -700 10 -660 0 0 0 N +S 400 -90 360 -110 0 0 0 N +S 400 110 360 90 0 0 0 N +S 400 310 360 290 0 0 0 N +S 400 410 360 390 0 0 0 N +S 400 610 360 590 0 0 0 N +S -400 700 400 -700 0 1 10 f +S -300 -150 -250 150 0 1 10 F +S 75 70 125 120 0 1 10 F +P 2 0 1 20 -350 -150 -350 150 N +P 2 0 1 20 -200 150 -200 -150 N +P 2 0 1 20 0 -230 0 170 N +P 3 0 1 20 0 -130 -100 -30 -100 20 N +P 3 0 1 20 0 -80 100 20 100 70 N +P 4 0 1 10 -50 170 0 270 50 170 -50 170 F +X GND A1 0 -900 200 U 50 50 1 1 P +X GND A12 0 -900 200 U 50 50 1 1 P N +X VBUS A4 600 600 200 L 50 50 1 1 P +X CC A5 600 400 200 L 50 50 1 1 B +X D+ A6 600 -100 200 L 50 50 1 1 B +X D- A7 600 100 200 L 50 50 1 1 B +X VBUS A9 600 600 200 L 50 50 1 1 P N +X GND B1 0 -900 200 U 50 50 1 1 P N +X GND B12 0 -900 200 U 50 50 1 1 P N +X VBUS B4 600 600 200 L 50 50 1 1 P N +X VCONN B5 600 300 200 L 50 50 1 1 B +X VBUS B9 600 600 200 L 50 50 1 1 P N +X SHIELD S1 -300 -900 200 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_C +# +DEF Device_C C 0 10 N Y 1 F N +F0 "C" 25 100 50 H V L CNN +F1 "Device_C" 25 -100 50 H V L CNN +F2 "" 38 -150 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 50 50 1 1 P +X ~ 2 0 -150 110 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_D_Schottky +# +DEF Device_D_Schottky D 0 40 N N 1 F N +F0 "D" 0 100 50 H V C CNN +F1 "Device_D_Schottky" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + TO-???* + *_Diode_* + *SingleDiode* + D_* +$ENDFPLIST +DRAW +P 2 0 1 0 50 0 -50 0 N +P 4 0 1 10 50 50 50 -50 -50 0 50 50 N +P 6 0 1 10 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 N +X K 1 -150 0 100 R 50 50 1 1 P +X A 2 150 0 100 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_D_Zener +# +DEF Device_D_Zener D 0 40 N N 1 F N +F0 "D" 0 100 50 H V C CNN +F1 "Device_D_Zener" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + TO-???* + *_Diode_* + *SingleDiode* + D_* +$ENDFPLIST +DRAW +P 2 0 1 0 50 0 -50 0 N +P 3 0 1 10 -50 -50 -50 50 -30 50 N +P 4 0 1 10 50 -50 50 50 -50 0 50 -50 N +X K 1 -150 0 100 R 50 50 1 1 P +X A 2 150 0 100 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_Fuse +# +DEF Device_Fuse F 0 0 N Y 1 F N +F0 "F" 80 0 50 V V C CNN +F1 "Device_Fuse" -75 0 50 V V C CNN +F2 "" -70 0 50 V I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + *Fuse* +$ENDFPLIST +DRAW +S -30 -100 30 100 0 1 10 N +P 2 0 1 0 0 100 0 -100 N +X ~ 1 0 150 50 D 50 50 1 1 P +X ~ 2 0 -150 50 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_Q_NPN_BCE +# +DEF Device_Q_NPN_BCE Q 0 0 Y N 1 F N +F0 "Q" 200 50 50 H V L CNN +F1 "Device_Q_NPN_BCE" 200 -50 50 H V L CNN +F2 "" 200 100 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X B 1 -200 0 225 R 50 50 1 1 I +X C 2 100 200 100 D 50 50 1 1 P +X E 3 100 -200 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_Q_PMOS_GSD +# +DEF Device_Q_PMOS_GSD Q 0 0 Y N 1 F N +F0 "Q" 200 50 50 H V L CNN +F1 "Device_Q_PMOS_GSD" 200 -50 50 H V L CNN +F2 "" 200 100 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +C 65 0 110 0 1 10 N +C 100 -70 10 0 1 0 F +C 100 70 10 0 1 0 F +P 2 0 1 0 10 0 -100 0 N +P 2 0 1 10 10 75 10 -75 N +P 2 0 1 10 30 -50 30 -90 N +P 2 0 1 10 30 20 30 -20 N +P 2 0 1 10 30 90 30 50 N +P 2 0 1 0 100 100 100 70 N +P 3 0 1 0 100 -100 100 0 30 0 N +P 4 0 1 0 30 70 130 70 130 -70 30 -70 N +P 4 0 1 0 90 0 50 15 50 -15 90 0 F +P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N +P 4 0 1 0 130 -15 115 10 145 10 130 -15 N +X G 1 -200 0 100 R 50 50 1 1 I +X S 2 100 -200 100 U 50 50 1 1 P +X D 3 100 200 100 D 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_R +# +DEF Device_R R 0 0 N Y 1 F N +F0 "R" 80 0 50 V V C CNN +F1 "Device_R" 0 0 50 V V C CNN +F2 "" -70 0 50 V I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + R_* +$ENDFPLIST +DRAW +S -40 -100 40 100 0 1 10 N +X ~ 1 0 150 50 D 50 50 1 1 P +X ~ 2 0 -150 50 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# LED_SK6805 +# +DEF LED_SK6805 D 0 10 Y Y 1 F N +F0 "D" 200 225 50 H V R BNN +F1 "LED_SK6805" 50 -225 50 H V L TNN +F2 "LED_SMD:LED_SK6805_PLCC4_2.4x2.7mm_P1.3mm" 50 -300 50 H I L TNN +F3 "" 100 -375 50 H I L TNN +$FPLIST + LED*SK6805*PLCC*2.4x2.7mm*P1.3mm* +$ENDFPLIST +DRAW +T 0 90 -165 30 0 0 0 RGB Normal 0 C C +S 200 200 -200 -200 0 1 10 f +P 2 0 1 0 50 -140 70 -140 N +P 2 0 1 0 50 -100 70 -100 N +P 2 0 1 0 185 -140 105 -140 N +P 3 0 1 0 90 -100 50 -140 50 -120 N +P 3 0 1 0 90 -60 50 -100 50 -80 N +P 3 0 1 0 145 -40 145 -140 145 -160 N +P 4 0 1 0 185 -60 105 -60 145 -140 185 -60 N +X DOUT 1 300 0 100 L 50 50 1 1 O +X VSS 2 0 -300 100 U 50 50 1 1 W +X DIN 3 -300 0 100 R 50 50 1 1 I +X VDD 4 0 300 100 D 50 50 1 1 W +ENDDRAW +ENDDEF +# +# MCU_Microchip_ATmega_ATmega328-AU +# +DEF MCU_Microchip_ATmega_ATmega328-AU U 0 20 Y Y 1 F N +F0 "U" -500 1450 50 H V L BNN +F1 "MCU_Microchip_ATmega_ATmega328-AU" 100 -1450 50 H V L TNN +F2 "Package_QFP:TQFP-32_7x7mm_P0.8mm" 0 0 50 H I C CIN +F3 "" 0 0 50 H I C CNN +ALIAS ATmega48P-20AU ATmega48A-AU ATmega48PA-AU ATmega88PV-10AU ATmega88P-20AU ATmega88A-AU ATmega88PA-AU ATmega168PV-10AU ATmega168P-20AU ATmega168A-AU ATmega168PA-AU ATmega328-AU ATmega328P-AU +$FPLIST + TQFP*7x7mm*P0.8mm* +$ENDFPLIST +DRAW +S -500 -1400 500 1400 0 1 10 f +X PD3 1 600 -800 100 L 50 50 1 1 B +X PD6 10 600 -1100 100 L 50 50 1 1 B +X PD7 11 600 -1200 100 L 50 50 1 1 B +X PB0 12 600 1200 100 L 50 50 1 1 B +X PB1 13 600 1100 100 L 50 50 1 1 B +X PB2 14 600 1000 100 L 50 50 1 1 B +X PB3 15 600 900 100 L 50 50 1 1 B +X PB4 16 600 800 100 L 50 50 1 1 B +X PB5 17 600 700 100 L 50 50 1 1 B +X AVCC 18 100 1500 100 D 50 50 1 1 W +X ADC6 19 -600 1000 100 R 50 50 1 1 I +X PD4 2 600 -900 100 L 50 50 1 1 B +X AREF 20 -600 1200 100 R 50 50 1 1 P +X GND 21 0 -1500 100 U 50 50 1 1 P N +X ADC7 22 -600 900 100 R 50 50 1 1 I +X PC0 23 600 300 100 L 50 50 1 1 B +X PC1 24 600 200 100 L 50 50 1 1 B +X PC2 25 600 100 100 L 50 50 1 1 B +X PC3 26 600 0 100 L 50 50 1 1 B +X PC4 27 600 -100 100 L 50 50 1 1 B +X PC5 28 600 -200 100 L 50 50 1 1 B +X ~RESET~/PC6 29 600 -300 100 L 50 50 1 1 B +X GND 3 0 -1500 100 U 50 50 1 1 W +X PD0 30 600 -500 100 L 50 50 1 1 B +X PD1 31 600 -600 100 L 50 50 1 1 B +X PD2 32 600 -700 100 L 50 50 1 1 B +X VCC 4 0 1500 100 D 50 50 1 1 W +X GND 5 0 -1500 100 U 50 50 1 1 P N +X VCC 6 0 1500 100 D 50 50 1 1 P N +X XTAL1/PB6 7 600 600 100 L 50 50 1 1 B +X XTAL2/PB7 8 600 500 100 L 50 50 1 1 B +X PD5 9 600 -1000 100 L 50 50 1 1 B +ENDDRAW +ENDDEF +# +# Regulator_Linear_TPS71533__SC70 +# +DEF Regulator_Linear_TPS71533__SC70 U 0 10 Y Y 1 F N +F0 "U" -150 125 50 H V C CNN +F1 "Regulator_Linear_TPS71533__SC70" 0 125 50 H V L CNN +F2 "Package_TO_SOT_SMD:SOT-353_SC-70-5" 0 225 50 H I C CNN +F3 "" -300 800 50 H I C CNN +ALIAS TPS71519__SC70 TPS71523__SC70 TPS71525__SC70 TPS71530__SC70 TPS71533__SC70 TPS715345__SC70 TPS71550__SC70 +$FPLIST + *SC?70* +$ENDFPLIST +DRAW +S -200 75 200 -200 0 1 10 f +X NC 1 200 -100 100 L 50 50 1 1 N N +X GND 2 0 -300 100 U 50 50 1 1 W +X NC 3 -200 -100 100 R 50 50 1 1 N N +X IN 4 -300 0 100 R 50 50 1 1 W +X OUT 5 300 0 100 L 50 50 1 1 w +ENDDRAW +ENDDEF +# +# Regulator_Switching_TPS61040DBV +# +DEF Regulator_Switching_TPS61040DBV U 0 20 Y Y 1 F N +F0 "U" -200 250 50 H V L CNN +F1 "Regulator_Switching_TPS61040DBV" 0 250 50 H V L CNN +F2 "Package_TO_SOT_SMD:SOT-23-5" 100 -250 50 H I L CIN +F3 "" -200 300 50 H I C CNN +ALIAS TPS61041DBV TPS61040DDC TPS61040DBV +$FPLIST + SOT?23* +$ENDFPLIST +DRAW +S -200 200 200 -200 0 1 10 f +X SW 1 300 100 100 L 50 50 1 1 w +X GND 2 0 -300 100 U 50 50 1 1 W +X FB 3 300 0 100 L 50 50 1 1 I +X EN 4 -300 0 100 R 50 50 1 1 I +X VIN 5 -300 100 100 R 50 50 1 1 W +ENDDRAW +ENDDEF +# +# Sensor_Motion_MMA8653FCR1 +# +DEF Sensor_Motion_MMA8653FCR1 U 0 20 Y Y 1 F N +F0 "U" -300 350 50 H V L CNN +F1 "Sensor_Motion_MMA8653FCR1" 50 -350 50 H V L CNN +F2 "Package_DFN_QFN:DFN-10_2x2mm_P0.4mm" 50 -450 50 H I L CNN +F3 "" -200 -50 50 H I C CNN +$FPLIST + DFN*2x2mm*P0.4mm* +$ENDFPLIST +DRAW +S -300 300 300 -300 0 1 10 f +X Vdd 1 0 400 100 D 50 50 1 1 W +X SDA 10 -400 200 100 R 50 50 1 1 I +X SCL 2 -400 100 100 R 50 50 1 1 I +X INT1 3 400 0 100 L 50 50 1 1 O +X BYP 4 -400 0 100 R 50 50 1 1 I +X INT2 5 400 -100 100 L 50 50 1 1 O +X GND 6 -200 -400 100 U 50 50 1 1 W +X GND 7 0 -400 100 U 50 50 1 1 W +X Vddio 8 100 400 100 D 50 50 1 1 W +X GND 9 -100 -400 100 U 50 50 1 1 W +ENDDRAW +ENDDEF +# +# Switch_SW_Push +# +DEF Switch_SW_Push SW 0 40 N N 1 F N +F0 "SW" 50 100 50 H V L CNN +F1 "Switch_SW_Push" 0 -60 50 H V C CNN +F2 "" 0 200 50 H I C CNN +F3 "" 0 200 50 H I C CNN +DRAW +C -80 0 20 0 1 0 N +C 80 0 20 0 1 0 N +P 2 0 1 0 0 50 0 120 N +P 2 0 1 0 100 50 -100 50 N +X 1 1 -200 0 100 R 50 50 0 1 P +X 2 2 200 0 100 L 50 50 0 1 P +ENDDRAW +ENDDEF +# +# leddie_parts_VAUX +# +DEF leddie_parts_VAUX #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "leddie_parts_VAUX" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VAUX 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# leddie_parts_VCPU +# +DEF leddie_parts_VCPU #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "leddie_parts_VCPU" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VCPU 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# leddie_parts_VLED +# +DEF leddie_parts_VLED #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "leddie_parts_VLED" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VLED 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_+BATT +# +DEF power_+BATT #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_+BATT" 0 140 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X +BATT 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_GND +# +DEF power_GND #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -250 50 H I C CNN +F1 "power_GND" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N +X GND 1 0 0 0 D 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_PWR_FLAG +# +DEF power_PWR_FLAG #FLG 0 0 N N 1 F P +F0 "#FLG" 0 75 50 H I C CNN +F1 "power_PWR_FLAG" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N +X pwr 1 0 0 0 U 50 50 0 0 w +ENDDRAW +ENDDEF +# +# power_VBUS +# +DEF power_VBUS #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_VBUS" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VBUS 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +#End Library diff --git a/kicad/leddie.pro b/kicad/leddie.pro new file mode 100644 index 0000000..f9c1954 --- /dev/null +++ b/kicad/leddie.pro @@ -0,0 +1,43 @@ +update=Sat 06 Mar 2021 09:44:16 PM CET +version=1 +last_client=kicad +[general] +version=1 +RootSch= +BoardNm= +[pcbnew] +version=1 +LastNetListRead= +UseCmpFile=1 +PadDrill=0.600000000000 +PadDrillOvalY=0.600000000000 +PadSizeH=1.500000000000 +PadSizeV=1.500000000000 +PcbTextSizeV=1.500000000000 +PcbTextSizeH=1.500000000000 +PcbTextThickness=0.300000000000 +ModuleTextSizeV=1.000000000000 +ModuleTextSizeH=1.000000000000 +ModuleTextSizeThickness=0.150000000000 +SolderMaskClearance=0.000000000000 +SolderMaskMinWidth=0.000000000000 +DrawSegmentWidth=0.200000000000 +BoardOutlineThickness=0.100000000000 +ModuleOutlineThickness=0.150000000000 +[cvpcb] +version=1 +NetIExt=net +[eeschema] +version=1 +LibDir= +[eeschema/libraries] +[schematic_editor] +version=1 +PageLayoutDescrFile= +PlotDirectoryName= +SubpartIdSeparator=0 +SubpartFirstId=65 +NetFmtName= +SpiceAjustPassiveValues=0 +LabSize=50 +ERC_TestSimilarLabels=1 diff --git a/kicad/leddie.sch b/kicad/leddie.sch new file mode 100644 index 0000000..9295805 --- /dev/null +++ b/kicad/leddie.sch @@ -0,0 +1,116 @@ +EESchema Schematic File Version 4 +EELAYER 30 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 7 +Title "Leddie" +Date "2021-03-06" +Rev "01" +Comp "Markus Koch - notsyncing.net" +Comment1 "Licensed under CC BY-SA 3.0" +Comment2 "https://l.notsyncing.net/leddie" +Comment3 "" +Comment4 "PCB Overview" +$EndDescr +$Sheet +S 700 700 1400 1350 +U 60435139 +F0 "power" 50 +F1 "power.sch" 50 +$EndSheet +$Sheet +S 2300 700 1400 1350 +U 60699B96 +F0 "digital" 47 +F1 "digital.sch" 47 +$EndSheet +$Sheet +S 3900 700 1400 1350 +U 60528580 +F0 "aux" 50 +F1 "aux.sch" 50 +$EndSheet +Text Notes 4250 1450 0 50 ~ 0 +This block will be\nbuilt four times. +Wire Notes Line + 2250 2750 2250 3550 +Wire Notes Line + 2250 3550 3050 3550 +Wire Notes Line + 3050 2750 2250 2750 +Wire Notes Line + 3050 3550 3500 3300 +Wire Notes Line + 3500 3300 3500 2500 +Wire Notes Line + 3500 2500 3050 2750 +Wire Notes Line + 2700 2500 2250 2750 +Wire Notes Line + 3500 2500 2700 2500 +Wire Notes Line + 2700 2500 2700 3300 +Wire Notes Line + 2700 3300 3500 3300 +Wire Notes Line + 2250 3550 2700 3300 +Text Notes 2900 3450 0 50 Italic 0 +power +Text Notes 2800 2650 0 50 Italic 0 +digital +Wire Notes Line + 3550 2900 3700 2900 +Wire Notes Line + 3550 2900 3600 2850 +Wire Notes Line + 3550 2900 3600 2950 +Text Notes 3700 2900 0 50 ~ 0 +4x aux +Wire Notes Line + 2600 3550 2600 3450 +Wire Notes Line + 2600 3450 2700 3400 +Wire Notes Line + 2750 3450 2850 3400 +Wire Notes Line + 2750 3450 2750 3550 +Wire Notes Line + 2750 3450 2600 3450 +Wire Notes Line + 2750 3550 2850 3500 +Wire Notes Line + 2850 3400 2850 3500 +Wire Notes Line + 2700 3400 2850 3400 +Text Notes 2600 3550 0 39 ~ 0 +USB +Wire Notes Line + 2900 3350 2900 3250 +Wire Notes Line + 2900 3250 3000 3200 +Wire Notes Line + 3050 3250 3150 3200 +Wire Notes Line + 3050 3250 2900 3250 +Wire Notes Line + 3050 3350 3150 3300 +Text Notes 2900 3350 0 28 ~ 0 +Button +Wire Notes Line + 2900 3350 3050 3350 +Wire Notes Line + 3000 3200 3150 3200 +Wire Notes Line + 3050 2750 3050 3550 +Wire Notes Line + 3150 3200 3150 3300 +Wire Notes Line + 2650 3600 2650 3750 +Wire Notes Line + 2650 3600 2600 3650 +Wire Notes Line + 2650 3600 2700 3650 +Text Notes 2250 3950 0 50 ~ 0 +Holes for USB + button\nare on the bottom. +$EndSCHEMATC diff --git a/kicad/leddie_parts.dcm b/kicad/leddie_parts.dcm new file mode 100644 index 0000000..bc58f8f --- /dev/null +++ b/kicad/leddie_parts.dcm @@ -0,0 +1,18 @@ +EESchema-DOCLIB Version 2.0 +# +$CMP VAUX +D Power symbol creates a global label with name "VSTBY" +K power-flag +$ENDCMP +# +$CMP VCPU +D Power symbol creates a global label with name "VSTBY" +K power-flag +$ENDCMP +# +$CMP VLED +D Power symbol creates a global label with name "VLED" +K power-flag +$ENDCMP +# +#End Doc Library diff --git a/kicad/leddie_parts.lib b/kicad/leddie_parts.lib new file mode 100644 index 0000000..831150f --- /dev/null +++ b/kicad/leddie_parts.lib @@ -0,0 +1,49 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# VAUX +# +DEF VAUX #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "VAUX" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VAUX 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# VCPU +# +DEF VCPU #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "VCPU" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VCPU 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# VLED +# +DEF VLED #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "VLED" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VLED 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +#End Library diff --git a/kicad/power.sch b/kicad/power.sch new file mode 100644 index 0000000..fc1d69e --- /dev/null +++ b/kicad/power.sch @@ -0,0 +1,657 @@ +EESchema Schematic File Version 4 +EELAYER 30 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 2 7 +Title "Leddie" +Date "2021-03-06" +Rev "01" +Comp "Markus Koch - notsyncing.net" +Comment1 "Licensed under CC BY-SA 3.0" +Comment2 "https://l.notsyncing.net/leddie" +Comment3 "" +Comment4 "Power supply and battery management" +$EndDescr +$Comp +L Battery_Management:MCP73831-2-OT U? +U 1 1 604354DC +P 4350 1850 +F 0 "U?" H 4450 2100 50 0000 C CNN +F 1 "MCP73832-2" H 4700 1600 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23-5" H 4400 1600 50 0001 L CIN +F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf" H 4200 1800 50 0001 C CNN + 1 4350 1850 + 1 0 0 -1 +$EndComp +$Comp +L Connector:Conn_01x02_Male J? +U 1 1 60435FAB +P 6500 1950 +F 0 "J?" H 6472 1924 50 0000 R CNN +F 1 "Battery" H 6472 1833 50 0000 R CNN +F 2 "" H 6500 1950 50 0001 C CNN +F 3 "~" H 6500 1950 50 0001 C CNN + 1 6500 1950 + -1 0 0 -1 +$EndComp +Wire Wire Line + 5900 1950 5800 1950 +Wire Wire Line + 5500 1750 5800 1750 +Wire Wire Line + 5800 1750 5800 1950 +Connection ~ 5500 1750 +$Comp +L Device:R R? +U 1 1 6043E48C +P 3850 2200 +F 0 "R?" H 3920 2246 50 0000 L CNN +F 1 "4k7" H 3920 2155 50 0000 L CNN +F 2 "" V 3780 2200 50 0001 C CNN +F 3 "~" H 3850 2200 50 0001 C CNN + 1 3850 2200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3850 2050 3850 1950 +Wire Wire Line + 3850 1950 3950 1950 +Wire Wire Line + 4350 2150 4350 2450 +Wire Wire Line + 4350 2450 3850 2450 +Wire Wire Line + 3850 2450 3850 2350 +Wire Wire Line + 4350 2550 4350 2450 +Connection ~ 4350 2450 +$Comp +L power:GND #PWR? +U 1 1 6043F855 +P 4350 2550 +F 0 "#PWR?" H 4350 2300 50 0001 C CNN +F 1 "GND" H 4355 2377 50 0000 C CNN +F 2 "" H 4350 2550 50 0001 C CNN +F 3 "" H 4350 2550 50 0001 C CNN + 1 4350 2550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4350 1550 4350 1450 +$Comp +L power:VBUS #PWR? +U 1 1 6044110F +P 4350 1450 +F 0 "#PWR?" H 4350 1300 50 0001 C CNN +F 1 "VBUS" H 4365 1623 50 0000 C CNN +F 2 "" H 4350 1450 50 0001 C CNN +F 3 "" H 4350 1450 50 0001 C CNN + 1 4350 1450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4750 1750 5500 1750 +$Comp +L power:GND #PWR? +U 1 1 60445B69 +P 5800 2550 +F 0 "#PWR?" H 5800 2300 50 0001 C CNN +F 1 "GND" H 5805 2377 50 0000 C CNN +F 2 "" H 5800 2550 50 0001 C CNN +F 3 "" H 5800 2550 50 0001 C CNN + 1 5800 2550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5800 2050 5800 2550 +$Comp +L power:+BATT #PWR? +U 1 1 60447DA9 +P 5800 1450 +F 0 "#PWR?" H 5800 1300 50 0001 C CNN +F 1 "+BATT" H 5815 1623 50 0000 C CNN +F 2 "" H 5800 1450 50 0001 C CNN +F 3 "" H 5800 1450 50 0001 C CNN + 1 5800 1450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5800 1450 5800 1750 +Connection ~ 5800 1750 +$Comp +L power:GND #PWR? +U 1 1 60445842 +P 5500 2550 +F 0 "#PWR?" H 5500 2300 50 0001 C CNN +F 1 "GND" H 5505 2377 50 0000 C CNN +F 2 "" H 5500 2550 50 0001 C CNN +F 3 "" H 5500 2550 50 0001 C CNN + 1 5500 2550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5500 2150 5500 2550 +Wire Wire Line + 5500 1750 5500 1850 +$Comp +L Device:C C? +U 1 1 6043944C +P 5500 2000 +F 0 "C?" H 5615 2046 50 0000 L CNN +F 1 "4u7" H 5615 1955 50 0000 L CNN +F 2 "" H 5538 1850 50 0001 C CNN +F 3 "~" H 5500 2000 50 0001 C CNN + 1 5500 2000 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 6045293C +P 3500 2000 +F 0 "C?" H 3615 2046 50 0000 L CNN +F 1 "4u7" H 3615 1955 50 0000 L CNN +F 2 "" H 3538 1850 50 0001 C CNN +F 3 "~" H 3500 2000 50 0001 C CNN + 1 3500 2000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3500 2150 3500 2550 +$Comp +L power:GND #PWR? +U 1 1 6045341B +P 3500 2550 +F 0 "#PWR?" H 3500 2300 50 0001 C CNN +F 1 "GND" H 3505 2377 50 0000 C CNN +F 2 "" H 3500 2550 50 0001 C CNN +F 3 "" H 3500 2550 50 0001 C CNN + 1 3500 2550 + 1 0 0 -1 +$EndComp +$Comp +L power:VBUS #PWR? +U 1 1 60455054 +P 3500 1450 +F 0 "#PWR?" H 3500 1300 50 0001 C CNN +F 1 "VBUS" H 3515 1623 50 0000 C CNN +F 2 "" H 3500 1450 50 0001 C CNN +F 3 "" H 3500 1450 50 0001 C CNN + 1 3500 1450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3500 1450 3500 1850 +Text Notes 4550 1500 0 79 ~ 0 +Battery Charger +$Comp +L Device:Fuse F? +U 1 1 6045FD58 +P 6050 1950 +F 0 "F?" V 5853 1950 50 0000 C CNN +F 1 "2.5A" V 5944 1950 50 0000 C CNN +F 2 "" V 5980 1950 50 0001 C CNN +F 3 "~" H 6050 1950 50 0001 C CNN + 1 6050 1950 + 0 1 1 0 +$EndComp +Wire Wire Line + 6300 1950 6200 1950 +Wire Wire Line + 5800 2050 6300 2050 +$Comp +L Regulator_Switching:TPS61040DBV U? +U 1 1 60465C0F +P 9150 1600 +F 0 "U?" H 8950 1350 50 0000 C CNN +F 1 "LM2735" H 9350 1350 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23-5" H 9250 1350 50 0001 L CIN +F 3 "https://www.ti.com/lit/ds/symlink/lm2735.pdf" H 8950 1900 50 0001 C CNN + 1 9150 1600 + 1 0 0 -1 +$EndComp +$Comp +L Device:L L? +U 1 1 60467AC9 +P 9150 1300 +F 0 "L?" V 9340 1300 50 0000 C CNN +F 1 "33u" V 9249 1300 50 0000 C CNN +F 2 "" H 9150 1300 50 0001 C CNN +F 3 "~" H 9150 1300 50 0001 C CNN + 1 9150 1300 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 9300 1300 9550 1300 +Wire Wire Line + 9550 1300 9550 1500 +Wire Wire Line + 9550 1500 9450 1500 +Wire Wire Line + 8850 1500 8750 1500 +Wire Wire Line + 8750 1500 8750 1300 +Wire Wire Line + 8750 1300 9000 1300 +$Comp +L Device:D_Schottky D? +U 1 1 6046955A +P 9800 1500 +F 0 "D?" H 9800 1375 50 0000 C CNN +F 1 "D_Schottky" H 9800 1374 50 0001 C CNN +F 2 "" H 9800 1500 50 0001 C CNN +F 3 "~" H 9800 1500 50 0001 C CNN + 1 9800 1500 + -1 0 0 1 +$EndComp +Wire Wire Line + 9650 1500 9550 1500 +Connection ~ 9550 1500 +$Comp +L Device:R R? +U 1 1 6046A01E +P 10050 1750 +F 0 "R?" H 10120 1796 50 0000 L CNN +F 1 "26k" H 10120 1705 50 0000 L CNN +F 2 "" V 9980 1750 50 0001 C CNN +F 3 "~" H 10050 1750 50 0001 C CNN + 1 10050 1750 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 6046A4BC +P 10050 2250 +F 0 "R?" H 10120 2296 50 0000 L CNN +F 1 "10k" H 10120 2205 50 0000 L CNN +F 2 "" V 9980 2250 50 0001 C CNN +F 3 "~" H 10050 2250 50 0001 C CNN + 1 10050 2250 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10050 2400 10050 2500 +$Comp +L power:GND #PWR? +U 1 1 6046AF94 +P 10050 2500 +F 0 "#PWR?" H 10050 2250 50 0001 C CNN +F 1 "GND" H 10055 2327 50 0000 C CNN +F 2 "" H 10050 2500 50 0001 C CNN +F 3 "" H 10050 2500 50 0001 C CNN + 1 10050 2500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10050 2100 10050 2000 +Wire Wire Line + 10050 2000 9800 2000 +Wire Wire Line + 9800 2000 9800 1600 +Wire Wire Line + 9800 1600 9450 1600 +Connection ~ 10050 2000 +Wire Wire Line + 10050 2000 10050 1900 +Wire Wire Line + 9950 1500 10050 1500 +Wire Wire Line + 10050 1500 10050 1600 +$Comp +L Device:C C? +U 1 1 60470922 +P 10400 1750 +F 0 "C?" H 10515 1796 50 0000 L CNN +F 1 "330p" H 10515 1705 50 0000 L CNN +F 2 "" H 10438 1600 50 0001 C CNN +F 3 "~" H 10400 1750 50 0001 C CNN + 1 10400 1750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10400 1600 10400 1500 +Wire Wire Line + 10400 1500 10050 1500 +Connection ~ 10050 1500 +Wire Wire Line + 10400 1900 10400 2000 +Wire Wire Line + 10400 2000 10050 2000 +$Comp +L Device:C C? +U 1 1 6047212E +P 10850 1750 +F 0 "C?" H 10965 1796 50 0000 L CNN +F 1 "4u7" H 10965 1705 50 0000 L CNN +F 2 "" H 10888 1600 50 0001 C CNN +F 3 "~" H 10850 1750 50 0001 C CNN + 1 10850 1750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10850 1600 10850 1500 +Wire Wire Line + 10850 1500 10400 1500 +Connection ~ 10400 1500 +Wire Wire Line + 10850 1900 10850 2500 +$Comp +L power:GND #PWR? +U 1 1 60473C75 +P 10850 2500 +F 0 "#PWR?" H 10850 2250 50 0001 C CNN +F 1 "GND" H 10855 2327 50 0000 C CNN +F 2 "" H 10850 2500 50 0001 C CNN +F 3 "" H 10850 2500 50 0001 C CNN + 1 10850 2500 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 6047460D +P 9150 2500 +F 0 "#PWR?" H 9150 2250 50 0001 C CNN +F 1 "GND" H 9155 2327 50 0000 C CNN +F 2 "" H 9150 2500 50 0001 C CNN +F 3 "" H 9150 2500 50 0001 C CNN + 1 9150 2500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9150 2500 9150 1900 +$Comp +L Device:C C? +U 1 1 6047AD39 +P 8500 1750 +F 0 "C?" H 8615 1796 50 0000 L CNN +F 1 "4u7" H 8615 1705 50 0000 L CNN +F 2 "" H 8538 1600 50 0001 C CNN +F 3 "~" H 8500 1750 50 0001 C CNN + 1 8500 1750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8500 1600 8500 1500 +Connection ~ 8750 1500 +Wire Wire Line + 8500 1900 8500 2500 +$Comp +L power:GND #PWR? +U 1 1 6047DC73 +P 8500 2500 +F 0 "#PWR?" H 8500 2250 50 0001 C CNN +F 1 "GND" H 8505 2327 50 0000 C CNN +F 2 "" H 8500 2500 50 0001 C CNN +F 3 "" H 8500 2500 50 0001 C CNN + 1 8500 2500 + 1 0 0 -1 +$EndComp +Connection ~ 8500 1500 +Wire Wire Line + 7550 1500 7250 1500 +Wire Wire Line + 7250 1500 7250 1400 +$Comp +L power:+BATT #PWR? +U 1 1 604966CF +P 7250 1400 +F 0 "#PWR?" H 7250 1250 50 0001 C CNN +F 1 "+BATT" H 7265 1573 50 0000 C CNN +F 2 "" H 7250 1400 50 0001 C CNN +F 3 "" H 7250 1400 50 0001 C CNN + 1 7250 1400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7750 1800 7750 1900 +Wire Wire Line + 10850 1400 10850 1500 +Connection ~ 10850 1500 +$Comp +L Device:R R? +U 1 1 604F2B02 +P 7500 1900 +F 0 "R?" V 7293 1900 50 0000 C CNN +F 1 "10k" V 7384 1900 50 0000 C CNN +F 2 "" V 7430 1900 50 0001 C CNN +F 3 "~" H 7500 1900 50 0001 C CNN + 1 7500 1900 + 0 1 1 0 +$EndComp +Wire Wire Line + 7650 1900 7750 1900 +Wire Wire Line + 7350 1900 7250 1900 +Wire Wire Line + 7250 1900 7250 1500 +Connection ~ 7250 1500 +Text Notes 8850 950 0 79 ~ 0 +LED Supply +$Comp +L Device:Q_PMOS_GSD Q? +U 1 1 6050E25F +P 7750 1600 +F 0 "Q?" V 8092 1600 50 0000 C CNN +F 1 "NTR4171P" V 8001 1600 50 0000 C CNN +F 2 "" H 7950 1700 50 0001 C CNN +F 3 "~" H 7750 1600 50 0001 C CNN + 1 7750 1600 + 0 1 -1 0 +$EndComp +Wire Wire Line + 8750 1600 8850 1600 +$Comp +L Device:D_Schottky D? +U 1 1 60539B27 +P 10050 1250 +F 0 "D?" V 10050 1170 50 0000 R CNN +F 1 "D_Schottky" V 10005 1170 50 0001 R CNN +F 2 "" H 10050 1250 50 0001 C CNN +F 3 "~" H 10050 1250 50 0001 C CNN + 1 10050 1250 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 10050 1400 10050 1500 +Wire Wire Line + 10050 1100 10050 1000 +$Comp +L power:VBUS #PWR? +U 1 1 605497D1 +P 10050 1000 +F 0 "#PWR?" H 10050 850 50 0001 C CNN +F 1 "VBUS" H 10065 1173 50 0000 C CNN +F 2 "" H 10050 1000 50 0001 C CNN +F 3 "" H 10050 1000 50 0001 C CNN + 1 10050 1000 + 1 0 0 -1 +$EndComp +Text Notes 10650 1500 0 50 ~ 0 +4.5V +$Comp +L leddie_parts:VLED #PWR? +U 1 1 6057AAF4 +P 10850 1400 +F 0 "#PWR?" H 10850 1250 50 0001 C CNN +F 1 "VLED" H 10865 1573 50 0000 C CNN +F 2 "" H 10850 1400 50 0001 C CNN +F 3 "" H 10850 1400 50 0001 C CNN + 1 10850 1400 + 1 0 0 -1 +$EndComp +Text Notes 4400 2250 0 50 ~ 0 +charge current: 250mA +$Sheet +S 4250 4300 550 200 +U 6058E11E +F0 "led_substring_power" 47 +F1 "led_substring.sch" 47 +F2 "DOUT" O R 4800 4400 47 +F3 "DIN" I L 4250 4400 47 +$EndSheet +Text Notes 9200 2200 0 47 ~ 0 +For layout hints, see\nTPS6104x datasheet +Text HLabel 7650 2050 0 50 Input ~ 0 +~VLED_EN +Wire Wire Line + 7750 1900 7750 2050 +Wire Wire Line + 7750 2050 7650 2050 +Connection ~ 7750 1900 +Text HLabel 4850 1950 2 50 Output ~ 0 +~CHG_ACTIVE +Wire Wire Line + 4850 1950 4750 1950 +$Comp +L Regulator_Linear:TPS71533__SC70 U? +U 1 1 605A11F4 +P 1850 1850 +AR Path="/60699B96/605A11F4" Ref="U?" Part="1" +AR Path="/60435139/605A11F4" Ref="U?" Part="1" +F 0 "U?" H 1850 2092 50 0000 C CNN +F 1 "TPS71533__SC70" H 1850 2001 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-353_SC-70-5" H 1850 2075 50 0001 C CNN +F 3 "http://www.ti.com/lit/ds/symlink/tps715.pdf" H 1550 2650 50 0001 C CNN + 1 1850 1850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2150 1850 2250 1850 +Wire Wire Line + 2250 1850 2250 1750 +Wire Wire Line + 1850 2150 1850 2350 +$Comp +L power:GND #PWR? +U 1 1 605A11FD +P 1850 2350 +AR Path="/60699B96/605A11FD" Ref="#PWR?" Part="1" +AR Path="/60435139/605A11FD" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 1850 2100 50 0001 C CNN +F 1 "GND" H 1855 2177 50 0000 C CNN +F 2 "" H 1850 2350 50 0001 C CNN +F 3 "" H 1850 2350 50 0001 C CNN + 1 1850 2350 + 1 0 0 -1 +$EndComp +$Comp +L power:+BATT #PWR? +U 1 1 605A1203 +P 1450 1750 +AR Path="/60699B96/605A1203" Ref="#PWR?" Part="1" +AR Path="/60435139/605A1203" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 1450 1600 50 0001 C CNN +F 1 "+BATT" H 1465 1923 50 0000 C CNN +F 2 "" H 1450 1750 50 0001 C CNN +F 3 "" H 1450 1750 50 0001 C CNN + 1 1450 1750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1550 1850 1450 1850 +Wire Wire Line + 1450 1850 1450 1750 +$Comp +L leddie_parts:VCPU #PWR? +U 1 1 605A120B +P 2250 1750 +AR Path="/60699B96/605A120B" Ref="#PWR?" Part="1" +AR Path="/60435139/605A120B" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 2250 1600 50 0001 C CNN +F 1 "VCPU" H 2265 1923 50 0000 C CNN +F 2 "" H 2250 1750 50 0001 C CNN +F 3 "" H 2250 1750 50 0001 C CNN + 1 2250 1750 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C? +U 1 1 605A1211 +P 2250 2100 +AR Path="/60699B96/605A1211" Ref="C?" Part="1" +AR Path="/60435139/605A1211" Ref="C?" Part="1" +F 0 "C?" H 2365 2146 50 0000 L CNN +F 1 "470n" H 2365 2055 50 0000 L CNN +F 2 "" H 2288 1950 50 0001 C CNN +F 3 "~" H 2250 2100 50 0001 C CNN + 1 2250 2100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2250 1950 2250 1850 +Connection ~ 2250 1850 +Wire Wire Line + 2250 2250 2250 2350 +$Comp +L power:GND #PWR? +U 1 1 605A121A +P 2250 2350 +AR Path="/60699B96/605A121A" Ref="#PWR?" Part="1" +AR Path="/60435139/605A121A" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 2250 2100 50 0001 C CNN +F 1 "GND" H 2255 2177 50 0000 C CNN +F 2 "" H 2250 2350 50 0001 C CNN +F 3 "" H 2250 2350 50 0001 C CNN + 1 2250 2350 + 1 0 0 -1 +$EndComp +Text Notes 1550 1450 0 79 ~ 0 +Always-on\nCPU Supply +Text Notes 7800 4800 0 50 ~ 0 +Always on:\n +BATT: 3.0 - 4.2 V, 2.5 A, unregulated from battery cell\n VCPU: 3.0 - 3.3 V, 50 mA, unregulated, clipped at 3.3V\nCPU controlled:\n VAUX: VCPU - 0.7V, 10 mA, unregulated\n VLED: 5V, 2.1 A, regulated\nWhen plugged in:\n VBUS: 5V, 500 mA, regulated\n\nNote: Current values are maximum design current.\nNote: VLED shall not draw more than 400 mA.\nNote: Stand-by current should be around 5uA.\nNote: VAUX is generated on the "digital" sheet. +Text Notes 1050 2300 0 50 ~ 0 +Needs to support\ndropout mode with\na max drop of 0.3V! +Wire Wire Line + 8500 1500 8750 1500 +Wire Wire Line + 8750 1600 8750 1500 +$Comp +L Device:C C? +U 1 1 606AE047 +P 8100 1750 +F 0 "C?" H 8215 1796 50 0000 L CNN +F 1 "4u7" H 8215 1705 50 0000 L CNN +F 2 "" H 8138 1600 50 0001 C CNN +F 3 "~" H 8100 1750 50 0001 C CNN + 1 8100 1750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8100 1900 8100 2500 +$Comp +L power:GND #PWR? +U 1 1 606AE258 +P 8100 2500 +F 0 "#PWR?" H 8100 2250 50 0001 C CNN +F 1 "GND" H 8105 2327 50 0000 C CNN +F 2 "" H 8100 2500 50 0001 C CNN +F 3 "" H 8100 2500 50 0001 C CNN + 1 8100 2500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8100 1600 8100 1500 +Wire Wire Line + 8100 1500 8500 1500 +Wire Wire Line + 7950 1500 8100 1500 +Connection ~ 8100 1500 +Text Notes 8300 3750 0 79 ~ 0 +Power supply overview +Wire Notes Line + 7750 3600 10150 3600 +Wire Notes Line + 10150 3600 10150 4850 +Wire Notes Line + 10150 4850 7750 4850 +Wire Notes Line + 7750 4850 7750 3600 +Text HLabel 4150 4400 0 50 Input ~ 0 +LED_DIN +Wire Wire Line + 4150 4400 4250 4400 +Text HLabel 4900 4400 2 50 Output ~ 0 +LED_DOUT +Wire Wire Line + 4900 4400 4800 4400 +$EndSCHEMATC diff --git a/kicad/sym-lib-table b/kicad/sym-lib-table new file mode 100644 index 0000000..710f2ef --- /dev/null +++ b/kicad/sym-lib-table @@ -0,0 +1,3 @@ +(sym_lib_table + (lib (name leddie_parts)(type Legacy)(uri ${KIPRJMOD}/leddie_parts.lib)(options "")(descr "")) +)