From 9994a66a3e46534c1a12d6136ae5b894ca4f2cf5 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Fri, 17 Nov 2017 23:00:50 +0000 Subject: hw1: schematic "finished" ? have I committed enough files for others to even open this? --- hw1/README | 8 + hw1/hw1.bak | 703 --------------------------------------- hw1/hw1.kicad_pcb | 960 +++++++++++++++++++++++++++++++++++++++++++++++------- hw1/hw1.net | 520 +++++++++++++++++------------ hw1/hw1.pdf | Bin 116714 -> 141937 bytes hw1/hw1.pro | 13 +- hw1/hw1.sch | 606 +++++++++++++++++++++++----------- 7 files changed, 1587 insertions(+), 1223 deletions(-) create mode 100644 hw1/README delete mode 100644 hw1/hw1.bak diff --git a/hw1/README b/hw1/README new file mode 100644 index 0000000..6a5ac53 --- /dev/null +++ b/hw1/README @@ -0,0 +1,8 @@ +This is a board designed to receive nucleo64 (and maybe 32) boards +to be test TARGETS. The stm32l1 on _this_ board is reprogrammed via +one of the debug connectors, with appropriate software to be +master/slave/etc to correspond with the DUT. All (most) communication +lines between the two boards are tapped to a 10 pin connector matching +cheap FX2based logic analysers, allowing automatic tests to be written +that use sigrok to check that the signals on the wire match expectations. + diff --git a/hw1/hw1.bak b/hw1/hw1.bak deleted file mode 100644 index 8ec4d85..0000000 --- a/hw1/hw1.bak +++ /dev/null @@ -1,703 +0,0 @@ -EESchema Schematic File Version 2 -LIBS:hw1-rescue -LIBS:power -LIBS:device -LIBS:transistors -LIBS:conn -LIBS:linear -LIBS:regul -LIBS:74xx -LIBS:cmos4000 -LIBS:adc-dac -LIBS:memory -LIBS:xilinx -LIBS:microcontrollers -LIBS:dsp -LIBS:microchip -LIBS:analog_switches -LIBS:motorola -LIBS:texas -LIBS:intel -LIBS:audio -LIBS:interface -LIBS:digital-audio -LIBS:philips -LIBS:display -LIBS:cypress -LIBS:siliconi -LIBS:opto -LIBS:atmel -LIBS:contrib -LIBS:valves -LIBS:stm32 -LIBS:hw1-cache -EELAYER 25 0 -EELAYER END -$Descr A4 11693 8268 -encoding utf-8 -Sheet 1 1 -Title "" -Date "lun. 30 mars 2015" -Rev "" -Comp "" -Comment1 "" -Comment2 "" -Comment3 "" -Comment4 "" -$EndDescr -Text Label 8950 1450 1 60 ~ 0 -Vin -Text Label 9300 1450 1 60 ~ 0 -IOREF -Text Label 8900 2500 0 60 ~ 0 -DAC1 -Text Label 8900 2600 0 60 ~ 0 -DAC2 -Text Label 8900 2700 0 60 ~ 0 -A2 -Text Label 8900 2800 0 60 ~ 0 -A3 -Text Label 8900 2900 0 60 ~ 0 -I2C_SDA -Text Label 10550 3000 0 60 ~ 0 -UART_RX -Text Label 10550 2800 0 60 ~ 0 -2 -Text Label 10550 2900 0 60 ~ 0 -UART_TX -Text Label 10550 2700 0 60 ~ 0 -3(**) -Text Label 10550 2600 0 60 ~ 0 -4 -Text Label 10550 2500 0 60 ~ 0 -5(**) -Text Label 10550 2400 0 60 ~ 0 -6(**) -Text Label 10550 2300 0 60 ~ 0 -7 -Text Label 10550 2100 0 60 ~ 0 -8 -Text Label 10550 2000 0 60 ~ 0 -9(**) -Text Label 10550 1900 0 60 ~ 0 -SPI_CS -Text Label 10550 1800 0 60 ~ 0 -SPI_MOSI -Text Label 10550 1700 0 60 ~ 0 -SPI_MISO -Text Label 10550 1600 0 60 ~ 0 -SPI_SCK -Text Label 10550 1400 0 60 ~ 0 -AREF -NoConn ~ 9400 1600 -Text Label 10550 1300 0 60 ~ 0 -I2C_SDA -Text Label 10550 1200 0 60 ~ 0 -I2C_SCL -Text Notes 10850 1000 0 60 ~ 0 -Holes -Text Notes 8550 750 0 60 ~ 0 -Arduino UNOr3 pins\nAs used on Nucleo64 boards\n -$Comp -L CONN_01X08 P1 -U 1 1 56D70129 -P 9600 1950 -F 0 "P1" H 9600 2400 50 0000 C CNN -F 1 "Power" V 9700 1950 50 0000 C CNN -F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" H 9600 1950 50 0001 C CNN -F 3 "" H 9600 1950 50 0000 C CNN - 1 9600 1950 - 1 0 0 -1 -$EndComp -Text Label 8650 1800 0 60 ~ 0 -Reset -$Comp -L +3.3V #PWR01 -U 1 1 56D70538 -P 9150 1450 -F 0 "#PWR01" H 9150 1300 50 0001 C CNN -F 1 "+3.3V" H 9150 1590 30 0000 C CNN -F 2 "" H 9150 1450 50 0000 C CNN -F 3 "" H 9150 1450 50 0000 C CNN - 1 9150 1450 - 1 0 0 -1 -$EndComp -$Comp -L +5V #PWR02 -U 1 1 56D707BB -P 9050 1450 -F 0 "#PWR02" H 9050 1300 50 0001 C CNN -F 1 "+5V" H 9050 1590 30 0000 C CNN -F 2 "" H 9050 1450 50 0000 C CNN -F 3 "" H 9050 1450 50 0000 C CNN - 1 9050 1450 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR03 -U 1 1 56D70CC2 -P 9300 3150 -F 0 "#PWR03" H 9300 2900 50 0001 C CNN -F 1 "GND" H 9300 3000 50 0000 C CNN -F 2 "" H 9300 3150 50 0000 C CNN -F 3 "" H 9300 3150 50 0000 C CNN - 1 9300 3150 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR04 -U 1 1 56D70CFF -P 10300 3150 -F 0 "#PWR04" H 10300 2900 50 0001 C CNN -F 1 "GND" H 10300 3000 50 0000 C CNN -F 2 "" H 10300 3150 50 0000 C CNN -F 3 "" H 10300 3150 50 0000 C CNN - 1 10300 3150 - 1 0 0 -1 -$EndComp -$Comp -L CONN_01X06 P2 -U 1 1 56D70DD8 -P 9600 2750 -F 0 "P2" H 9600 3100 50 0000 C CNN -F 1 "Analog" V 9700 2750 50 0000 C CNN -F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x06" H 9600 2750 50 0001 C CNN -F 3 "" H 9600 2750 50 0000 C CNN - 1 9600 2750 - 1 0 0 -1 -$EndComp -$Comp -L CONN_01X01 P5 -U 1 1 56D71177 -P 10800 650 -F 0 "P5" V 10900 650 50 0000 C CNN -F 1 "CONN_01X01" V 10900 650 50 0001 C CNN -F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10800 650 50 0001 C CNN -F 3 "" H 10800 650 50 0000 C CNN - 1 10800 650 - 0 -1 -1 0 -$EndComp -$Comp -L CONN_01X01 P6 -U 1 1 56D71274 -P 10900 650 -F 0 "P6" V 11000 650 50 0000 C CNN -F 1 "CONN_01X01" V 11000 650 50 0001 C CNN -F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10900 650 50 0001 C CNN -F 3 "" H 10900 650 50 0000 C CNN - 1 10900 650 - 0 -1 -1 0 -$EndComp -$Comp -L CONN_01X01 P7 -U 1 1 56D712A8 -P 11000 650 -F 0 "P7" V 11100 650 50 0000 C CNN -F 1 "CONN_01X01" V 11100 650 50 0001 C CNN -F 2 "Socket_Arduino_Uno:Arduino_1pin" H 11000 650 50 0001 C CNN -F 3 "" H 11000 650 50 0000 C CNN - 1 11000 650 - 0 -1 -1 0 -$EndComp -$Comp -L CONN_01X01 P8 -U 1 1 56D712DB -P 11100 650 -F 0 "P8" V 11200 650 50 0000 C CNN -F 1 "CONN_01X01" V 11200 650 50 0001 C CNN -F 2 "Socket_Arduino_Uno:Arduino_1pin" H 11100 650 50 0001 C CNN -F 3 "" H 11100 650 50 0000 C CNN - 1 11100 650 - 0 -1 -1 0 -$EndComp -NoConn ~ 10800 850 -NoConn ~ 10900 850 -NoConn ~ 11000 850 -NoConn ~ 11100 850 -$Comp -L CONN_01X08 P4 -U 1 1 56D7164F -P 10000 2650 -F 0 "P4" H 10000 3100 50 0000 C CNN -F 1 "Digital" V 10100 2650 50 0000 C CNN -F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" H 10000 2650 50 0001 C CNN -F 3 "" H 10000 2650 50 0000 C CNN - 1 10000 2650 - -1 0 0 -1 -$EndComp -$Comp -L CONN_01X10 P3 -U 1 1 56D721E0 -P 10000 1650 -F 0 "P3" H 10000 2200 50 0000 C CNN -F 1 "Digital" V 10100 1650 50 0000 C CNN -F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x10" H 10000 1650 50 0001 C CNN -F 3 "" H 10000 1650 50 0000 C CNN - 1 10000 1650 - -1 0 0 -1 -$EndComp -Text Notes 9700 1600 0 60 ~ 0 -1 -$Comp -L STM32L151C6TxA U1 -U 1 1 58CEFE92 -P 4550 4350 -F 0 "U1" H 1050 6075 50 0000 L BNN -F 1 "STM32L151C6TxA" H 8050 6075 50 0000 R BNN -F 2 "LQFP48" H 8050 6025 50 0000 R TNN -F 3 "" H 4550 4350 50 0000 C CNN - 1 4550 4350 - 1 0 0 -1 -$EndComp -$Comp -L CONN_02X05 P9 -U 1 1 58CF048F -P 1150 1250 -F 0 "P9" H 1150 1550 50 0000 C CNN -F 1 "FX2LA" H 1150 950 50 0000 C CNN -F 2 "Connectors:IDC_Header_Straight_10pins" H 1150 50 50 0001 C CNN -F 3 "" H 1150 50 50 0000 C CNN - 1 1150 1250 - 1 0 0 -1 -$EndComp -$Comp -L +3V3 #PWR05 -U 1 1 58CF063D -P 4500 2350 -F 0 "#PWR05" H 4500 2200 50 0001 C CNN -F 1 "+3V3" H 4500 2490 50 0000 C CNN -F 2 "" H 4500 2350 50 0000 C CNN -F 3 "" H 4500 2350 50 0000 C CNN - 1 4500 2350 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR06 -U 1 1 58CF077D -P 4450 6300 -F 0 "#PWR06" H 4450 6050 50 0001 C CNN -F 1 "GND" H 4450 6150 50 0000 C CNN -F 2 "" H 4450 6300 50 0000 C CNN -F 3 "" H 4450 6300 50 0000 C CNN - 1 4450 6300 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR07 -U 1 1 58CF0E5B -P 1500 1550 -F 0 "#PWR07" H 1500 1300 50 0001 C CNN -F 1 "GND" H 1500 1400 50 0000 C CNN -F 2 "" H 1500 1550 50 0000 C CNN -F 3 "" H 1500 1550 50 0000 C CNN - 1 1500 1550 - 1 0 0 -1 -$EndComp -$Comp -L USB_OTG-RESCUE-hw1 P10 -U 1 1 58CF10AD -P 3650 1250 -F 0 "P10" H 3975 1125 50 0000 C CNN -F 1 "CONTROL" H 3650 1450 50 0000 C CNN -F 2 "Connectors:USB_Micro-B" V 3600 1150 50 0001 C CNN -F 3 "" V 3600 1150 50 0000 C CNN - 1 3650 1250 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR08 -U 1 1 58CF1156 -P 3850 1650 -F 0 "#PWR08" H 3850 1400 50 0001 C CNN -F 1 "GND" H 3850 1500 50 0000 C CNN -F 2 "" H 3850 1650 50 0000 C CNN -F 3 "" H 3850 1650 50 0000 C CNN - 1 3850 1650 - 1 0 0 -1 -$EndComp -Text Label 8300 5350 0 60 ~ 0 -USB_DM -Text Label 8300 5450 0 60 ~ 0 -USB_DP -Text Label 3550 1900 1 60 ~ 0 -USB_DM -Text Label 3650 1900 1 60 ~ 0 -USB_DP -Text Label 8450 4650 0 60 ~ 0 -DAC1 -Text Label 8450 4750 0 60 ~ 0 -DAC2 -Text Label 550 5050 0 60 ~ 0 -I2C_SCL -Text Label 550 5150 0 60 ~ 0 -I2C_SDA -Text Notes 3850 750 0 60 ~ 0 -TBD: debug via via 6pin/10x1.27/20x2.54? (leaning toward 6pin _and_ 10x127 smd) -Text Label 8900 3000 0 60 ~ 0 -I2C_SCL -Text Notes 8500 3000 0 60 ~ 0 -A5 (SCL) -Text Notes 8500 2900 0 60 ~ 0 -A4 (SDA) -Text Notes 8500 2500 0 60 ~ 0 -A0 -Text Notes 8500 2600 0 60 ~ 0 -A1 -Text Notes 10950 1300 0 60 ~ 0 -A5 (SCL)\nA4 (SDA) -Text Notes 11150 1900 0 60 ~ 0 -13(SCK)\n12(MISO)\n11(**/MOSI)\n10(**/SS) -Text Notes 11100 3000 0 60 ~ 0 -TX\nRX -Wire Notes Line - 8525 825 9925 825 -Wire Notes Line - 9925 825 9925 475 -Wire Wire Line - 9300 1450 9300 1700 -Wire Wire Line - 9300 1700 9400 1700 -Wire Wire Line - 9400 1900 9150 1900 -Wire Wire Line - 9400 2000 9050 2000 -Wire Wire Line - 9400 2300 8950 2300 -Wire Wire Line - 9400 2100 9300 2100 -Wire Wire Line - 9400 2200 9300 2200 -Connection ~ 9300 2200 -Wire Wire Line - 8950 2300 8950 1450 -Wire Wire Line - 9050 2000 9050 1450 -Wire Wire Line - 9150 1900 9150 1450 -Wire Wire Line - 9400 2500 8900 2500 -Wire Wire Line - 9400 2600 8900 2600 -Wire Wire Line - 9400 2700 8900 2700 -Wire Wire Line - 9400 2800 8900 2800 -Wire Wire Line - 9400 2900 8900 2900 -Wire Wire Line - 9400 3000 8900 3000 -Wire Wire Line - 10200 2100 10550 2100 -Wire Wire Line - 10200 2000 10550 2000 -Wire Wire Line - 10200 1900 10550 1900 -Wire Wire Line - 10200 1800 10550 1800 -Wire Wire Line - 10200 1700 10550 1700 -Wire Wire Line - 10200 1600 10550 1600 -Wire Wire Line - 10200 1400 10550 1400 -Wire Wire Line - 10200 1300 10550 1300 -Wire Wire Line - 10200 1200 10550 1200 -Wire Wire Line - 10200 3000 10550 3000 -Wire Wire Line - 10200 2900 10550 2900 -Wire Wire Line - 10200 2800 10550 2800 -Wire Wire Line - 10200 2700 10550 2700 -Wire Wire Line - 10200 2600 10550 2600 -Wire Wire Line - 10200 2500 10550 2500 -Wire Wire Line - 10200 2400 10550 2400 -Wire Wire Line - 10200 2300 10550 2300 -Wire Wire Line - 10200 1500 10300 1500 -Wire Wire Line - 10300 1500 10300 3150 -Wire Wire Line - 9300 2100 9300 3150 -Wire Notes Line - 8500 500 8500 3450 -Wire Notes Line - 8500 3450 11200 3450 -Wire Wire Line - 9400 1800 8650 1800 -Wire Notes Line - 11200 1000 10700 1000 -Wire Notes Line - 10700 1000 10700 500 -Wire Wire Line - 4500 2450 4500 2350 -Wire Wire Line - 4350 2450 4650 2450 -Wire Wire Line - 4350 2450 4350 2550 -Wire Wire Line - 4450 2550 4450 2450 -Connection ~ 4450 2450 -Wire Wire Line - 4550 2450 4550 2550 -Connection ~ 4500 2450 -Wire Wire Line - 4650 2450 4650 2550 -Connection ~ 4550 2450 -Wire Wire Line - 4350 6150 4350 6250 -Wire Wire Line - 4350 6250 4650 6250 -Wire Wire Line - 4450 6150 4450 6300 -Connection ~ 4450 6250 -Wire Wire Line - 4550 6250 4550 6150 -Wire Wire Line - 4650 6250 4650 6150 -Connection ~ 4550 6250 -Wire Wire Line - 1400 1450 1500 1450 -Wire Wire Line - 1500 1450 1500 1550 -Wire Wire Line - 3850 1550 3850 1650 -Wire Wire Line - 8150 5350 8450 5350 -Wire Wire Line - 8150 5450 8450 5450 -Wire Wire Line - 3550 1550 3550 1900 -Wire Wire Line - 3650 1550 3650 1900 -Wire Wire Line - 8150 4650 8700 4650 -Wire Wire Line - 8150 4750 8700 4750 -Wire Wire Line - 550 5150 950 5150 -Wire Wire Line - 950 5050 550 5050 -Wire Wire Line - 1400 1050 2000 1050 -Wire Wire Line - 1400 1150 2000 1150 -Wire Wire Line - 1400 1250 2000 1250 -Wire Wire Line - 1400 1350 2000 1350 -Wire Wire Line - 900 1050 500 1050 -Wire Wire Line - 900 1150 500 1150 -Wire Wire Line - 900 1250 500 1250 -Wire Wire Line - 900 1350 500 1350 -Text Label 500 1050 0 60 ~ 0 -I2C_SCL -Text Label 1500 1050 0 60 ~ 0 -I2C_SDA -Text Label 500 1150 0 60 ~ 0 -SPI_SCK -Text Label 500 1250 0 60 ~ 0 -SPI_MOSI -Text Label 1500 1150 0 60 ~ 0 -SPI_MISO -Text Label 1500 1250 0 60 ~ 0 -SPI_CS -Text Label 500 1350 0 60 ~ 0 -UART_RX -Text Label 1500 1350 0 60 ~ 0 -UART_TX -Text Notes 450 2100 0 60 Italic 0 -NOTE: this can be freely routed to do whatever's possible!\nPotentially:\nJumpers to select what you're connecting here?\n(but non-ideal) -$Comp -L C C2 -U 1 1 58CF43FF -P 1500 7000 -F 0 "C2" H 1525 7100 50 0000 L CNN -F 1 "100n" H 1525 6900 50 0000 L CNN -F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1538 6850 50 0000 C CNN -F 3 "" H 1500 7000 50 0000 C CNN - 1 1500 7000 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR09 -U 1 1 58CF46A1 -P 2050 7350 -F 0 "#PWR09" H 2050 7100 50 0001 C CNN -F 1 "GND" H 2050 7200 50 0000 C CNN -F 2 "" H 2050 7350 50 0000 C CNN -F 3 "" H 2050 7350 50 0000 C CNN - 1 2050 7350 - 1 0 0 -1 -$EndComp -$Comp -L +3V3 #PWR010 -U 1 1 58CF46D6 -P 2050 6650 -F 0 "#PWR010" H 2050 6500 50 0001 C CNN -F 1 "+3V3" H 2050 6790 50 0000 C CNN -F 2 "" H 2050 6650 50 0000 C CNN -F 3 "" H 2050 6650 50 0000 C CNN - 1 2050 6650 - 1 0 0 -1 -$EndComp -Wire Wire Line - 2050 6850 2050 6650 -Wire Wire Line - 1500 6850 2600 6850 -Connection ~ 1850 6850 -Connection ~ 2050 6850 -Connection ~ 2250 6850 -Wire Wire Line - 1500 7150 2600 7150 -Connection ~ 2250 7150 -Connection ~ 1850 7150 -Wire Wire Line - 2050 7350 2050 7150 -Connection ~ 2050 7150 -$Comp -L C C1 -U 1 1 58CF4B65 -P 600 3100 -F 0 "C1" H 625 3200 50 0000 L CNN -F 1 "100n" H 625 3000 50 0000 L CNN -F 2 "Capacitors_SMD:C_0603_HandSoldering" H 638 2950 50 0000 C CNN -F 3 "" H 600 3100 50 0000 C CNN - 1 600 3100 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR011 -U 1 1 58CF4BEA -P 600 3350 -F 0 "#PWR011" H 600 3100 50 0001 C CNN -F 1 "GND" H 600 3200 50 0000 C CNN -F 2 "" H 600 3350 50 0000 C CNN -F 3 "" H 600 3350 50 0000 C CNN - 1 600 3350 - 1 0 0 -1 -$EndComp -Wire Wire Line - 950 2950 600 2950 -Wire Wire Line - 600 3250 600 3350 -NoConn ~ 950 4250 -NoConn ~ 950 4350 -NoConn ~ 950 4050 -NoConn ~ 950 3950 -NoConn ~ 950 3850 -NoConn ~ 950 4650 -Wire Wire Line - 950 4550 550 4550 -Text Label 550 4550 0 60 Italic 0 -SWO -Wire Wire Line - 8150 5550 8450 5550 -Wire Wire Line - 8150 5650 8450 5650 -Text Label 8300 5550 0 60 Italic 0 -SWDIO -Text Label 8300 5650 0 60 Italic 0 -SWCLK -Text Label 650 2950 0 60 Italic 0 -NRST -$Comp -L PWR_FLAG #FLG012 -U 1 1 58CF5CCA -P 3650 7100 -F 0 "#FLG012" H 3650 7195 50 0001 C CNN -F 1 "PWR_FLAG" H 3650 7280 50 0000 C CNN -F 2 "" H 3650 7100 50 0000 C CNN -F 3 "" H 3650 7100 50 0000 C CNN - 1 3650 7100 - -1 0 0 1 -$EndComp -$Comp -L PWR_FLAG #FLG013 -U 1 1 58CF5E41 -P 4100 7000 -F 0 "#FLG013" H 4100 7095 50 0001 C CNN -F 1 "PWR_FLAG" H 4100 7180 50 0000 C CNN -F 2 "" H 4100 7000 50 0000 C CNN -F 3 "" H 4100 7000 50 0000 C CNN - 1 4100 7000 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR014 -U 1 1 58CF5E8B -P 4100 7100 -F 0 "#PWR014" H 4100 6850 50 0001 C CNN -F 1 "GND" H 4100 6950 50 0000 C CNN -F 2 "" H 4100 7100 50 0000 C CNN -F 3 "" H 4100 7100 50 0000 C CNN - 1 4100 7100 - 1 0 0 -1 -$EndComp -$Comp -L +3V3 #PWR015 -U 1 1 58CF5ED5 -P 3650 7000 -F 0 "#PWR015" H 3650 6850 50 0001 C CNN -F 1 "+3V3" H 3650 7140 50 0000 C CNN -F 2 "" H 3650 7000 50 0000 C CNN -F 3 "" H 3650 7000 50 0000 C CNN - 1 3650 7000 - 1 0 0 -1 -$EndComp -Wire Wire Line - 3650 7000 3650 7100 -Wire Wire Line - 4100 7000 4100 7100 -Text Notes 4600 7150 0 60 Italic 12 -TODO: VBUS to 3v3 plz! -Text Notes 5200 1500 0 60 Italic 12 -ONLY GROUND BETWEEN BOARDS\nBoth will be powered by their own USB.\n(We're not interested in bootloading the target....\nyet...?) -$Comp -L C C3 -U 1 1 58CF69A9 -P 1850 7000 -F 0 "C3" H 1875 7100 50 0000 L CNN -F 1 "100n" H 1875 6900 50 0000 L CNN -F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1888 6850 50 0000 C CNN -F 3 "" H 1850 7000 50 0000 C CNN - 1 1850 7000 - 1 0 0 -1 -$EndComp -$Comp -L C C4 -U 1 1 58CF69F1 -P 2250 7000 -F 0 "C4" H 2275 7100 50 0000 L CNN -F 1 "100n" H 2275 6900 50 0000 L CNN -F 2 "Capacitors_SMD:C_0603_HandSoldering" H 2288 6850 50 0000 C CNN -F 3 "" H 2250 7000 50 0000 C CNN - 1 2250 7000 - 1 0 0 -1 -$EndComp -$Comp -L C C5 -U 1 1 58CF6A3A -P 2600 7000 -F 0 "C5" H 2625 7100 50 0000 L CNN -F 1 "100n" H 2625 6900 50 0000 L CNN -F 2 "Capacitors_SMD:C_0603_HandSoldering" H 2638 6850 50 0000 C CNN -F 3 "" H 2600 7000 50 0000 C CNN - 1 2600 7000 - 1 0 0 -1 -$EndComp -NoConn ~ 900 1450 -Text Notes 650 1450 0 60 ~ 0 -CLK -$EndSCHEMATC diff --git a/hw1/hw1.kicad_pcb b/hw1/hw1.kicad_pcb index 1857da7..e619fb2 100644 --- a/hw1/hw1.kicad_pcb +++ b/hw1/hw1.kicad_pcb @@ -1,20 +1,22 @@ -(kicad_pcb (version 4) (host pcbnew 4.0.2-4+6225~38~ubuntu14.04.1-stable) +(kicad_pcb (version 4) (host pcbnew 4.0.6) (general - (links 4) - (no_connects 4) - (area 104.572999 71.392 182.146334 127.594) + (links 66) + (no_connects 66) + (area 110.922999 72.949999 179.653001 126.440001) (thickness 1.6) (drawings 27) (tracks 0) (zones 0) - (modules 8) - (nets 33) + (modules 23) + (nets 26) ) (page A4) (title_block - (date "lun. 30 mars 2015") + (title "libopencm3-test hardware") + (date 2017-10-31) + (rev 1) ) (layers @@ -96,38 +98,31 @@ ) (net 0 "") - (net 1 /IOREF) - (net 2 /Reset) - (net 3 +5V) - (net 4 GND) - (net 5 /Vin) - (net 6 /A0) - (net 7 /A1) - (net 8 /A2) - (net 9 /A3) - (net 10 /AREF) - (net 11 "/A4(SDA)") - (net 12 "/A5(SCL)") - (net 13 "/9(**)") - (net 14 /8) - (net 15 /7) - (net 16 "/6(**)") - (net 17 "/5(**)") - (net 18 /4) - (net 19 "/3(**)") - (net 20 /2) - (net 21 "/1(Tx)") - (net 22 "/0(Rx)") - (net 23 "Net-(P5-Pad1)") - (net 24 "Net-(P6-Pad1)") - (net 25 "Net-(P7-Pad1)") - (net 26 "Net-(P8-Pad1)") - (net 27 "/13(SCK)") - (net 28 "/10(**/SS)") - (net 29 "Net-(P1-Pad1)") - (net 30 +3V3) - (net 31 "/12(MISO)") - (net 32 "/11(**/MOSI)") + (net 1 +5V) + (net 2 GND) + (net 3 +3V3) + (net 4 /NRST) + (net 5 /ADC_IN1) + (net 6 /I2C_SDA) + (net 7 /I2C_SCL) + (net 8 /SPI_CS) + (net 9 /SPI_MOSI) + (net 10 /SPI_MISO) + (net 11 /SPI_SCK) + (net 12 /USB_DM) + (net 13 /USB_DP) + (net 14 "Net-(P10-Pad6)") + (net 15 /SWCLK) + (net 16 /SWDIO) + (net 17 /SWO) + (net 18 /DAC1_OUT) + (net 19 /DAC2_OUT) + (net 20 /UART_TX_OUT) + (net 21 /UART_RX_OUT) + (net 22 "Net-(JP1-Pad2)") + (net 23 "Net-(JP2-Pad2)") + (net 24 "Net-(R1-Pad1)") + (net 25 "Net-(C6-Pad1)") (net_class Default "This is the default net class." (clearance 0.2) @@ -138,36 +133,29 @@ (uvia_drill 0.1) (add_net +3V3) (add_net +5V) - (add_net "/0(Rx)") - (add_net "/1(Tx)") - (add_net "/10(**/SS)") - (add_net "/11(**/MOSI)") - (add_net "/12(MISO)") - (add_net "/13(SCK)") - (add_net /2) - (add_net "/3(**)") - (add_net /4) - (add_net "/5(**)") - (add_net "/6(**)") - (add_net /7) - (add_net /8) - (add_net "/9(**)") - (add_net /A0) - (add_net /A1) - (add_net /A2) - (add_net /A3) - (add_net "/A4(SDA)") - (add_net "/A5(SCL)") - (add_net /AREF) - (add_net /IOREF) - (add_net /Reset) - (add_net /Vin) + (add_net /ADC_IN1) + (add_net /DAC1_OUT) + (add_net /DAC2_OUT) + (add_net /I2C_SCL) + (add_net /I2C_SDA) + (add_net /NRST) + (add_net /SPI_CS) + (add_net /SPI_MISO) + (add_net /SPI_MOSI) + (add_net /SPI_SCK) + (add_net /SWCLK) + (add_net /SWDIO) + (add_net /SWO) + (add_net /UART_RX_OUT) + (add_net /UART_TX_OUT) + (add_net /USB_DM) + (add_net /USB_DP) (add_net GND) - (add_net "Net-(P1-Pad1)") - (add_net "Net-(P5-Pad1)") - (add_net "Net-(P6-Pad1)") - (add_net "Net-(P7-Pad1)") - (add_net "Net-(P8-Pad1)") + (add_net "Net-(C6-Pad1)") + (add_net "Net-(JP1-Pad2)") + (add_net "Net-(JP2-Pad2)") + (add_net "Net-(P10-Pad6)") + (add_net "Net-(R1-Pad1)") ) (module Socket_Arduino_Uno:Socket_Strip_Arduino_1x08 locked (layer F.Cu) (tedit 552168D2) (tstamp 551AF9EA) @@ -192,22 +180,18 @@ (fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15)) (fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15)) (fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 29 "Net-(P1-Pad1)")) - (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 1 /IOREF)) - (pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 2 /Reset)) + (pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) (pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 30 +3V3)) + (net 3 +3V3)) (pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 3 +5V)) + (net 1 +5V)) (pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 4 GND)) + (net 2 GND)) (pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 4 GND)) - (pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 5 /Vin)) + (net 2 GND)) + (pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) (model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl (at (xyz 0.35 0 0)) (scale (xyz 1 1 1)) @@ -238,17 +222,16 @@ (fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15)) (fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15)) (pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 6 /A0)) + (net 18 /DAC1_OUT)) (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 7 /A1)) + (net 19 /DAC2_OUT)) (pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 8 /A2)) - (pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 9 /A3)) + (net 5 /ADC_IN1)) + (pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) (pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 11 "/A4(SDA)")) + (net 6 /I2C_SDA)) (pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 12 "/A5(SCL)")) + (net 7 /I2C_SCL)) (model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x06.wrl (at (xyz 0.25 0 0)) (scale (xyz 1 1 1)) @@ -278,26 +261,23 @@ (fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15)) (fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15)) (fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 12 "/A5(SCL)")) - (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 11 "/A4(SDA)")) + (pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) (pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 10 /AREF)) + (net 8 /SPI_CS)) (pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 4 GND)) + (net 9 /SPI_MOSI)) (pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 27 "/13(SCK)")) + (net 10 /SPI_MISO)) (pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 31 "/12(MISO)")) + (net 11 /SPI_SCK)) (pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 32 "/11(**/MOSI)")) - (pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 28 "/10(**/SS)")) + (net 2 GND)) + (pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) (pad 9 thru_hole oval (at 20.32 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 13 "/9(**)")) + (net 6 /I2C_SDA)) (pad 10 thru_hole oval (at 22.86 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 14 /8)) + (net 7 /I2C_SCL)) (model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x10.wrl (at (xyz 0.45 0 0)) (scale (xyz 1 1 1)) @@ -328,21 +308,15 @@ (fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15)) (fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15)) (pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 15 /7)) + (net 20 /UART_TX_OUT)) (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 16 "/6(**)")) - (pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 17 "/5(**)")) - (pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 18 /4)) - (pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 19 "/3(**)")) - (pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 20 /2)) - (pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 21 "/1(Tx)")) - (pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 22 "/0(Rx)")) + (net 21 /UART_RX_OUT)) + (pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) (model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl (at (xyz 0.35 0 0)) (scale (xyz 1 1 1)) @@ -362,8 +336,7 @@ (effects (font (size 1 1) (thickness 0.15))) ) (fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS) - (net 23 "Net-(P5-Pad1)")) + (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)) ) (module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC4A) (tstamp 5524FC44) @@ -378,8 +351,7 @@ (effects (font (size 1 1) (thickness 0.15))) ) (fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS) - (net 24 "Net-(P6-Pad1)")) + (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)) ) (module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC2F) (tstamp 5524FC49) @@ -394,8 +366,7 @@ (effects (font (size 1 1) (thickness 0.15))) ) (fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS) - (net 25 "Net-(P7-Pad1)")) + (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)) ) (module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC41) (tstamp 5524FC4E) @@ -410,8 +381,753 @@ (effects (font (size 1 1) (thickness 0.15))) ) (fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS) - (net 26 "Net-(P8-Pad1)")) + (pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)) + ) + + (module Capacitors_SMD:C_0603_HandSoldering (layer F.Cu) (tedit 58AA848B) (tstamp 59F7BF21) + (at 144.399 100.076 180) + (descr "Capacitor SMD 0603, hand soldering") + (tags "capacitor 0603") + (path /58CF4B65) + (attr smd) + (fp_text reference C1 (at 0 -1.25 180) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 100n (at 0 1.5 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.25 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.35 -0.6) (end 0.35 -0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.35 0.6) (end -0.35 0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 -0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 4 /NRST)) + (pad 2 smd rect (at 0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (model Capacitors_SMD.3dshapes/C_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitors_SMD:C_0603_HandSoldering (layer F.Cu) (tedit 58AA848B) (tstamp 59F7BF27) + (at 156.972 108.712 180) + (descr "Capacitor SMD 0603, hand soldering") + (tags "capacitor 0603") + (path /58CF43FF) + (attr smd) + (fp_text reference C2 (at 0 -1.25 180) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 100n (at 0 1.5 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.25 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.35 -0.6) (end 0.35 -0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.35 0.6) (end -0.35 0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 -0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (pad 2 smd rect (at 0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (model Capacitors_SMD.3dshapes/C_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitors_SMD:C_0603_HandSoldering (layer F.Cu) (tedit 58AA848B) (tstamp 59F7BF2D) + (at 144.399 101.981 180) + (descr "Capacitor SMD 0603, hand soldering") + (tags "capacitor 0603") + (path /58CF69A9) + (attr smd) + (fp_text reference C3 (at 0 -1.25 180) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 100n (at 0 1.5 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.25 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.35 -0.6) (end 0.35 -0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.35 0.6) (end -0.35 0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 -0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (pad 2 smd rect (at 0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (model Capacitors_SMD.3dshapes/C_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitors_SMD:C_0603_HandSoldering (layer F.Cu) (tedit 58AA848B) (tstamp 59F7BF33) + (at 149.352 92.964) + (descr "Capacitor SMD 0603, hand soldering") + (tags "capacitor 0603") + (path /58CF69F1) + (attr smd) + (fp_text reference C4 (at 0 -1.25) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 100n (at 0 1.5) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.25) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.35 -0.6) (end 0.35 -0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.35 0.6) (end -0.35 0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 -0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -0.95 0) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (pad 2 smd rect (at 0.95 0) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (model Capacitors_SMD.3dshapes/C_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitors_SMD:C_0603_HandSoldering (layer F.Cu) (tedit 58AA848B) (tstamp 59F7BF39) + (at 144.399 97.917) + (descr "Capacitor SMD 0603, hand soldering") + (tags "capacitor 0603") + (path /58CF6A3A) + (attr smd) + (fp_text reference C5 (at 0 -1.25) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 100n (at 0 1.5) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.25) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.35 -0.6) (end 0.35 -0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.35 0.6) (end -0.35 0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 -0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -0.95 0) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (pad 2 smd rect (at 0.95 0) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (model Capacitors_SMD.3dshapes/C_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Connectors:USB_Micro-B (layer F.Cu) (tedit 5543E447) (tstamp 59F7BF54) + (at 176.784 109.601 90) + (descr "Micro USB Type B Receptacle") + (tags "USB USB_B USB_micro USB_OTG") + (path /58CF10AD) + (attr smd) + (fp_text reference P10 (at 0 -3.24 90) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value CONTROL (at 0 5.01 90) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -4.6 -2.59) (end 4.6 -2.59) (layer F.CrtYd) (width 0.05)) + (fp_line (start 4.6 -2.59) (end 4.6 4.26) (layer F.CrtYd) (width 0.05)) + (fp_line (start 4.6 4.26) (end -4.6 4.26) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.6 4.26) (end -4.6 -2.59) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.35 4.03) (end 4.35 4.03) (layer F.SilkS) (width 0.12)) + (fp_line (start -4.35 -2.38) (end 4.35 -2.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.35 -2.38) (end 4.35 4.03) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.35 2.8) (end -4.35 2.8) (layer F.SilkS) (width 0.12)) + (fp_line (start -4.35 4.03) (end -4.35 -2.38) (layer F.SilkS) (width 0.12)) + (pad 1 smd rect (at -1.3 -1.35 180) (size 1.35 0.4) (layers F.Cu F.Paste F.Mask) + (net 1 +5V)) + (pad 2 smd rect (at -0.65 -1.35 180) (size 1.35 0.4) (layers F.Cu F.Paste F.Mask) + (net 12 /USB_DM)) + (pad 3 smd rect (at 0 -1.35 180) (size 1.35 0.4) (layers F.Cu F.Paste F.Mask) + (net 13 /USB_DP)) + (pad 4 smd rect (at 0.65 -1.35 180) (size 1.35 0.4) (layers F.Cu F.Paste F.Mask)) + (pad 5 smd rect (at 1.3 -1.35 180) (size 1.35 0.4) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (pad 6 thru_hole oval (at -2.5 -1.35 180) (size 0.95 1.25) (drill oval 0.55 0.85) (layers *.Cu *.Mask) + (net 14 "Net-(P10-Pad6)")) + (pad 6 thru_hole oval (at 2.5 -1.35 180) (size 0.95 1.25) (drill oval 0.55 0.85) (layers *.Cu *.Mask) + (net 14 "Net-(P10-Pad6)")) + (pad 6 thru_hole oval (at -3.5 1.35 180) (size 1.55 1) (drill oval 1.15 0.5) (layers *.Cu *.Mask) + (net 14 "Net-(P10-Pad6)")) + (pad 6 thru_hole oval (at 3.5 1.35 180) (size 1.55 1) (drill oval 1.15 0.5) (layers *.Cu *.Mask) + (net 14 "Net-(P10-Pad6)")) + ) + + (module Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm (layer F.Cu) (tedit 5862ED52) (tstamp 59F7C0DF) + (at 172.085 86.36) + (descr "Through hole straight pin header, 1x06, 2.54mm pitch, single row") + (tags "Through hole pin header THT 1x06 2.54mm single row") + (path /59F7E088) + (fp_text reference J1 (at 0 -2.39) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value CONN_01X06 (at 0 15.09) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -1.27 -1.27) (end -1.27 13.97) (layer F.Fab) (width 0.1)) + (fp_line (start -1.27 13.97) (end 1.27 13.97) (layer F.Fab) (width 0.1)) + (fp_line (start 1.27 13.97) (end 1.27 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.27 -1.27) (end -1.27 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start -1.39 1.27) (end -1.39 14.09) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.39 14.09) (end 1.39 14.09) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.39 14.09) (end 1.39 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.39 1.27) (end -1.39 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.39 0) (end -1.39 -1.39) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.39 -1.39) (end 0 -1.39) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.6 -1.6) (end -1.6 14.3) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.6 14.3) (end 1.6 14.3) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.6 14.3) (end 1.6 -1.6) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.6 -1.6) (end -1.6 -1.6) (layer F.CrtYd) (width 0.05)) + (pad 1 thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 3 +3V3)) + (pad 2 thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 15 /SWCLK)) + (pad 3 thru_hole oval (at 0 5.08) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 2 GND)) + (pad 4 thru_hole oval (at 0 7.62) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 16 /SWDIO)) + (pad 5 thru_hole oval (at 0 10.16) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 4 /NRST)) + (pad 6 thru_hole oval (at 0 12.7) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 17 /SWO)) + (model Pin_Headers.3dshapes/Pin_Header_Straight_1x06_Pitch2.54mm.wrl + (at (xyz 0 -0.25 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 90)) + ) + ) + + (module Housings_QFP:TQFP-48_7x7mm_Pitch0.5mm (layer F.Cu) (tedit 54130A77) (tstamp 59F7C113) + (at 152.781 100.711) + (descr "48 LEAD TQFP 7x7mm (see MICREL TQFP7x7-48LD-PL-1.pdf)") + (tags "QFP 0.5") + (path /58CEFE92) + (attr smd) + (fp_text reference U1 (at 0 -6) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value STM32L151C6TxA (at 0 6) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -2.5 -3.5) (end 3.5 -3.5) (layer F.Fab) (width 0.15)) + (fp_line (start 3.5 -3.5) (end 3.5 3.5) (layer F.Fab) (width 0.15)) + (fp_line (start 3.5 3.5) (end -3.5 3.5) (layer F.Fab) (width 0.15)) + (fp_line (start -3.5 3.5) (end -3.5 -2.5) (layer F.Fab) (width 0.15)) + (fp_line (start -3.5 -2.5) (end -2.5 -3.5) (layer F.Fab) (width 0.15)) + (fp_line (start -5.25 -5.25) (end -5.25 5.25) (layer F.CrtYd) (width 0.05)) + (fp_line (start 5.25 -5.25) (end 5.25 5.25) (layer F.CrtYd) (width 0.05)) + (fp_line (start -5.25 -5.25) (end 5.25 -5.25) (layer F.CrtYd) (width 0.05)) + (fp_line (start -5.25 5.25) (end 5.25 5.25) (layer F.CrtYd) (width 0.05)) + (fp_line (start -3.625 -3.625) (end -3.625 -3.2) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.625 -3.625) (end 3.625 -3.1) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.625 3.625) (end 3.625 3.1) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.625 3.625) (end -3.625 3.1) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.625 -3.625) (end -3.1 -3.625) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.625 3.625) (end -3.1 3.625) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.625 3.625) (end 3.1 3.625) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.625 -3.625) (end 3.1 -3.625) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.625 -3.2) (end -5 -3.2) (layer F.SilkS) (width 0.15)) + (pad 1 smd rect (at -4.35 -2.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 25 "Net-(C6-Pad1)")) + (pad 2 smd rect (at -4.35 -2.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 3 smd rect (at -4.35 -1.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 4 smd rect (at -4.35 -1.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 5 smd rect (at -4.35 -0.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 6 smd rect (at -4.35 -0.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 7 smd rect (at -4.35 0.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 4 /NRST)) + (pad 8 smd rect (at -4.35 0.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (pad 9 smd rect (at -4.35 1.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (pad 10 smd rect (at -4.35 1.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 11 smd rect (at -4.35 2.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 12 smd rect (at -4.35 2.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 20 /UART_TX_OUT)) + (pad 13 smd rect (at -2.75 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 21 /UART_RX_OUT)) + (pad 14 smd rect (at -2.25 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 18 /DAC1_OUT)) + (pad 15 smd rect (at -1.75 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 19 /DAC2_OUT)) + (pad 16 smd rect (at -1.25 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 5 /ADC_IN1)) + (pad 17 smd rect (at -0.75 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 18 smd rect (at -0.25 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 19 smd rect (at 0.25 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 20 smd rect (at 0.75 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 21 smd rect (at 1.25 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 22 smd rect (at 1.75 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 23 smd rect (at 2.25 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (pad 24 smd rect (at 2.75 4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (pad 25 smd rect (at 4.35 2.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 8 /SPI_CS)) + (pad 26 smd rect (at 4.35 2.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 11 /SPI_SCK)) + (pad 27 smd rect (at 4.35 1.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 10 /SPI_MISO)) + (pad 28 smd rect (at 4.35 1.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 9 /SPI_MOSI)) + (pad 29 smd rect (at 4.35 0.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 30 smd rect (at 4.35 0.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 31 smd rect (at 4.35 -0.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 32 smd rect (at 4.35 -0.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 12 /USB_DM)) + (pad 33 smd rect (at 4.35 -1.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 13 /USB_DP)) + (pad 34 smd rect (at 4.35 -1.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 16 /SWDIO)) + (pad 35 smd rect (at 4.35 -2.25) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (pad 36 smd rect (at 4.35 -2.75) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (pad 37 smd rect (at 2.75 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 15 /SWCLK)) + (pad 38 smd rect (at 2.25 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 39 smd rect (at 1.75 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 17 /SWO)) + (pad 40 smd rect (at 1.25 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 41 smd rect (at 0.75 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 42 smd rect (at 0.25 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 43 smd rect (at -0.25 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 44 smd rect (at -0.75 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask)) + (pad 45 smd rect (at -1.25 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 7 /I2C_SCL)) + (pad 46 smd rect (at -1.75 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 6 /I2C_SDA)) + (pad 47 smd rect (at -2.25 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (pad 48 smd rect (at -2.75 -4.35 90) (size 1.3 0.25) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (model Housings_QFP.3dshapes/TQFP-48_7x7mm_Pitch0.5mm.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Socket_Strips:Socket_Strip_Angled_2x05_Pitch2.54mm (layer F.Cu) (tedit 588DE958) (tstamp 5A0F5F85) + (at 117.348 105.41) + (descr "Through hole angled socket strip, 2x05, 2.54mm pitch, 8.51mm socket length, double rows") + (tags "Through hole angled socket strip THT 2x05 2.54mm double row") + (path /58CF048F) + (fp_text reference P9 (at -5.65 -2.27) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value FX2LA (at -5.65 12.43) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -4.06 -1.27) (end -4.06 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 1.27) (end -12.57 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 1.27) (end -12.57 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 -1.27) (end -4.06 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 0 -0.32) (end 0 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start 0 0.32) (end -4.06 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 0.32) (end -4.06 -0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 -0.32) (end 0 -0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 1.27) (end -4.06 3.81) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 3.81) (end -12.57 3.81) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 3.81) (end -12.57 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 1.27) (end -4.06 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 0 2.22) (end 0 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start 0 2.86) (end -4.06 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 2.86) (end -4.06 2.22) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 2.22) (end 0 2.22) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 3.81) (end -4.06 6.35) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 6.35) (end -12.57 6.35) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 6.35) (end -12.57 3.81) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 3.81) (end -4.06 3.81) (layer F.Fab) (width 0.1)) + (fp_line (start 0 4.76) (end 0 5.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0 5.4) (end -4.06 5.4) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 5.4) (end -4.06 4.76) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 4.76) (end 0 4.76) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 6.35) (end -4.06 8.89) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 8.89) (end -12.57 8.89) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 8.89) (end -12.57 6.35) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 6.35) (end -4.06 6.35) (layer F.Fab) (width 0.1)) + (fp_line (start 0 7.3) (end 0 7.94) (layer F.Fab) (width 0.1)) + (fp_line (start 0 7.94) (end -4.06 7.94) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 7.94) (end -4.06 7.3) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 7.3) (end 0 7.3) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 8.89) (end -4.06 11.43) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 11.43) (end -12.57 11.43) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 11.43) (end -12.57 8.89) (layer F.Fab) (width 0.1)) + (fp_line (start -12.57 8.89) (end -4.06 8.89) (layer F.Fab) (width 0.1)) + (fp_line (start 0 9.84) (end 0 10.48) (layer F.Fab) (width 0.1)) + (fp_line (start 0 10.48) (end -4.06 10.48) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 10.48) (end -4.06 9.84) (layer F.Fab) (width 0.1)) + (fp_line (start -4.06 9.84) (end 0 9.84) (layer F.Fab) (width 0.1)) + (fp_line (start -4 -1.33) (end -4 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 1.27) (end -12.63 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 1.27) (end -12.63 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 -1.33) (end -4 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 -0.38) (end -4 -0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 0.38) (end -4 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 -0.38) (end -1.51 -0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 0.38) (end -1.51 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -1.15) (end -12.63 -1.15) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -1.03) (end -12.63 -1.03) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.91) (end -12.63 -0.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.79) (end -12.63 -0.79) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.67) (end -12.63 -0.67) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.55) (end -12.63 -0.55) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.43) (end -12.63 -0.43) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.31) (end -12.63 -0.31) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.19) (end -12.63 -0.19) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 -0.07) (end -12.63 -0.07) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.05) (end -12.63 0.05) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.17) (end -12.63 0.17) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.29) (end -12.63 0.29) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.41) (end -12.63 0.41) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.53) (end -12.63 0.53) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.65) (end -12.63 0.65) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.77) (end -12.63 0.77) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 0.89) (end -12.63 0.89) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 1.01) (end -12.63 1.01) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 1.13) (end -12.63 1.13) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 1.25) (end -12.63 1.25) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 1.37) (end -12.63 1.37) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 1.27) (end -4 3.81) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 3.81) (end -12.63 3.81) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 3.81) (end -12.63 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 1.27) (end -4 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 2.16) (end -4 2.16) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 2.92) (end -4 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 2.16) (end -1.51 2.16) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 2.92) (end -1.51 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 3.81) (end -4 6.35) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 6.35) (end -12.63 6.35) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 6.35) (end -12.63 3.81) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 3.81) (end -4 3.81) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 4.7) (end -4 4.7) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 5.46) (end -4 5.46) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 4.7) (end -1.51 4.7) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 5.46) (end -1.51 5.46) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 6.35) (end -4 8.89) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 8.89) (end -12.63 8.89) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 8.89) (end -12.63 6.35) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 6.35) (end -4 6.35) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 7.24) (end -4 7.24) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 8) (end -4 8) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 7.24) (end -1.51 7.24) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 8) (end -1.51 8) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 8.89) (end -4 11.49) (layer F.SilkS) (width 0.12)) + (fp_line (start -4 11.49) (end -12.63 11.49) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 11.49) (end -12.63 8.89) (layer F.SilkS) (width 0.12)) + (fp_line (start -12.63 8.89) (end -4 8.89) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 9.78) (end -4 9.78) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.57 10.54) (end -4 10.54) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 9.78) (end -1.51 9.78) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.03 10.54) (end -1.51 10.54) (layer F.SilkS) (width 0.12)) + (fp_line (start 0 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.27 -1.27) (end 1.27 0) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.55 -1.55) (end 1.55 11.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.55 11.7) (end -12.85 11.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start -12.85 11.7) (end -12.85 -1.55) (layer F.CrtYd) (width 0.05)) + (fp_line (start -12.85 -1.55) (end 1.55 -1.55) (layer F.CrtYd) (width 0.05)) + (pad 1 thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 7 /I2C_SCL)) + (pad 2 thru_hole oval (at -2.54 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 6 /I2C_SDA)) + (pad 3 thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 11 /SPI_SCK)) + (pad 4 thru_hole oval (at -2.54 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 10 /SPI_MISO)) + (pad 5 thru_hole oval (at 0 5.08) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 9 /SPI_MOSI)) + (pad 6 thru_hole oval (at -2.54 5.08) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 8 /SPI_CS)) + (pad 7 thru_hole oval (at 0 7.62) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 21 /UART_RX_OUT)) + (pad 8 thru_hole oval (at -2.54 7.62) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 20 /UART_TX_OUT)) + (pad 9 thru_hole oval (at 0 10.16) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)) + (pad 10 thru_hole oval (at -2.54 10.16) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 2 GND)) + (model Socket_Strips.3dshapes/Socket_Strip_Angled_2x05_Pitch2.54mm.wrl + (at (xyz -0.05 -0.2 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 270)) + ) + ) + + (module TO_SOT_Packages_SMD:SOT-23-5_HandSoldering (layer F.Cu) (tedit 583F3A3F) (tstamp 5A0F5F92) + (at 169.545 109.728 180) + (descr "5-pin SOT23 package") + (tags "SOT-23-5 hand-soldering") + (path /59F7B611) + (attr smd) + (fp_text reference U2 (at 0 -2.9 180) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value MIC550x-3.3YM5 (at 0 2.9 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.9 1.61) (end 0.9 1.61) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.9 -1.61) (end -1.55 -1.61) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.9 -0.9) (end -0.25 -1.55) (layer F.Fab) (width 0.1)) + (fp_line (start 0.9 -1.55) (end -0.25 -1.55) (layer F.Fab) (width 0.1)) + (fp_line (start -0.9 -0.9) (end -0.9 1.55) (layer F.Fab) (width 0.1)) + (fp_line (start 0.9 1.55) (end -0.9 1.55) (layer F.Fab) (width 0.1)) + (fp_line (start 0.9 -1.55) (end 0.9 1.55) (layer F.Fab) (width 0.1)) + (fp_line (start -2.38 -1.8) (end 2.38 -1.8) (layer F.CrtYd) (width 0.05)) + (fp_line (start -2.38 -1.8) (end -2.38 1.8) (layer F.CrtYd) (width 0.05)) + (fp_line (start 2.38 1.8) (end 2.38 -1.8) (layer F.CrtYd) (width 0.05)) + (fp_line (start 2.38 1.8) (end -2.38 1.8) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -1.35 -0.95 180) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask) + (net 1 +5V)) + (pad 2 smd rect (at -1.35 0 180) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (pad 3 smd rect (at -1.35 0.95 180) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask) + (net 1 +5V)) + (pad 4 smd rect (at 1.35 0.95 180) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask)) + (pad 5 smd rect (at 1.35 -0.95 180) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask) + (net 3 +3V3)) + (model TO_SOT_Packages_SMD.3dshapes\SOT-23-5.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Socket_Strips:Socket_Strip_Straight_2x01_Pitch2.54mm (layer F.Cu) (tedit 588DE958) (tstamp 5A0F6297) + (at 170.434 120.015 270) + (descr "Through hole straight socket strip, 2x01, 2.54mm pitch, double rows") + (tags "Through hole socket strip THT 2x01 2.54mm double row") + (path /5A0F91B9) + (fp_text reference JP1 (at -1.27 -2.33 270) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value Jumper_NC_Small (at -1.27 2.33 270) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -3.81 -1.27) (end -3.81 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start -3.81 1.27) (end 1.27 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.27 -1.27) (end -3.81 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.33 1.27) (end 1.33 1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.33 1.33) (end -3.87 1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.87 1.33) (end -3.87 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.87 -1.33) (end -1.27 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.27 -1.33) (end -1.27 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.27 1.27) (end 1.33 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.33 0) (end 1.33 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.33 -1.33) (end 0.06 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -4.1 -1.55) (end -4.1 1.55) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.1 1.55) (end 1.55 1.55) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.55 1.55) (end 1.55 -1.55) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.55 -1.55) (end -4.1 -1.55) (layer F.CrtYd) (width 0.05)) + (pad 1 thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 6 /I2C_SDA)) + (pad 2 thru_hole oval (at -2.54 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 22 "Net-(JP1-Pad2)")) + (model Socket_Strips.3dshapes/Socket_Strip_Straight_2x01_Pitch2.54mm.wrl + (at (xyz -0.05 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 270)) + ) + ) + + (module Socket_Strips:Socket_Strip_Straight_2x01_Pitch2.54mm (layer F.Cu) (tedit 588DE958) (tstamp 5A0F629D) + (at 173.482 120.015 270) + (descr "Through hole straight socket strip, 2x01, 2.54mm pitch, double rows") + (tags "Through hole socket strip THT 2x01 2.54mm double row") + (path /5A0F9269) + (fp_text reference JP2 (at -1.27 -2.33 270) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value Jumper_NC_Small (at -1.27 2.33 270) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -3.81 -1.27) (end -3.81 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start -3.81 1.27) (end 1.27 1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.27 -1.27) (end -3.81 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.33 1.27) (end 1.33 1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.33 1.33) (end -3.87 1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.87 1.33) (end -3.87 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.87 -1.33) (end -1.27 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.27 -1.33) (end -1.27 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.27 1.27) (end 1.33 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.33 0) (end 1.33 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.33 -1.33) (end 0.06 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start -4.1 -1.55) (end -4.1 1.55) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.1 1.55) (end 1.55 1.55) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.55 1.55) (end 1.55 -1.55) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.55 -1.55) (end -4.1 -1.55) (layer F.CrtYd) (width 0.05)) + (pad 1 thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 7 /I2C_SCL)) + (pad 2 thru_hole oval (at -2.54 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 23 "Net-(JP2-Pad2)")) + (model Socket_Strips.3dshapes/Socket_Strip_Straight_2x01_Pitch2.54mm.wrl + (at (xyz -0.05 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 270)) + ) + ) + + (module Resistors_SMD:R_0603_HandSoldering (layer F.Cu) (tedit 58AAD9E8) (tstamp 5A0F62A3) + (at 169.291 114.808) + (descr "Resistor SMD 0603, hand soldering") + (tags "resistor 0603") + (path /5A0F8D14) + (attr smd) + (fp_text reference R1 (at 0 -1.45) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 4k7 (at 0 1.55) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.45) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.5 0.68) (end -0.5 0.68) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.5 -0.68) (end 0.5 -0.68) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.96 -0.7) (end 1.95 -0.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.96 -0.7) (end -1.96 0.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.95 0.7) (end 1.95 -0.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.95 0.7) (end -1.96 0.7) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -1.1 0) (size 1.2 0.9) (layers F.Cu F.Paste F.Mask) + (net 24 "Net-(R1-Pad1)")) + (pad 2 smd rect (at 1.1 0) (size 1.2 0.9) (layers F.Cu F.Paste F.Mask) + (net 22 "Net-(JP1-Pad2)")) + (model Resistors_SMD.3dshapes/R_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistors_SMD:R_0603_HandSoldering (layer F.Cu) (tedit 58AAD9E8) (tstamp 5A0F62A9) + (at 169.291 113.284) + (descr "Resistor SMD 0603, hand soldering") + (tags "resistor 0603") + (path /5A0F8EF5) + (attr smd) + (fp_text reference R2 (at 0 -1.45) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 4k7 (at 0 1.55) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.45) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.5 0.68) (end -0.5 0.68) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.5 -0.68) (end 0.5 -0.68) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.96 -0.7) (end 1.95 -0.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.96 -0.7) (end -1.96 0.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.95 0.7) (end 1.95 -0.7) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.95 0.7) (end -1.96 0.7) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -1.1 0) (size 1.2 0.9) (layers F.Cu F.Paste F.Mask) + (net 24 "Net-(R1-Pad1)")) + (pad 2 smd rect (at 1.1 0) (size 1.2 0.9) (layers F.Cu F.Paste F.Mask) + (net 23 "Net-(JP2-Pad2)")) + (model Resistors_SMD.3dshapes/R_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitors_SMD:C_0603_HandSoldering (layer F.Cu) (tedit 58AA848B) (tstamp 5A0F67DC) + (at 144.399 96.393 180) + (descr "Capacitor SMD 0603, hand soldering") + (tags "capacitor 0603") + (path /5A0FB867) + (attr smd) + (fp_text reference C6 (at 0 -1.25 180) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 100n (at 0 1.5 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 -1.25 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.35 -0.6) (end 0.35 -0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.35 0.6) (end -0.35 0.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 -0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05)) + (pad 1 smd rect (at -0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 25 "Net-(C6-Pad1)")) + (pad 2 smd rect (at 0.95 0 180) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask) + (net 2 GND)) + (model Capacitors_SMD.3dshapes/C_0603.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) ) (gr_text 1 (at 138.938 121.285 90) (layer F.SilkS) diff --git a/hw1/hw1.net b/hw1/hw1.net index 5931d3f..e979173 100644 --- a/hw1/hw1.net +++ b/hw1/hw1.net @@ -1,14 +1,14 @@ (export (version D) (design (source /home/karlp/src/libopencm3-tests/hw1/hw1.sch) - (date "Sun 19 Mar 2017 11:19:05 PM GMT") - (tool "Eeschema 4.0.5") + (date "Fri 17 Nov 2017 10:50:30 PM GMT") + (tool "Eeschema 4.0.6") (sheet (number 1) (name /) (tstamps /) (title_block - (title) - (company) + (title "test host") + (company libopencm3) (rev) - (date "lun. 30 mars 2015") + (date "Autumn 2017") (source hw1.sch) (comment (number 1) (value "")) (comment (number 2) (value "")) @@ -65,19 +65,20 @@ (tstamp 56D721E0)) (comp (ref U1) (value STM32L151C6TxA) - (footprint LQFP48) + (footprint Housings_QFP:TQFP-48_7x7mm_Pitch0.5mm) (libsource (lib stm32) (part STM32L151C6TxA)) (sheetpath (names /) (tstamps /)) (tstamp 58CEFE92)) (comp (ref P9) (value FX2LA) - (footprint Connectors:IDC_Header_Straight_10pins) + (footprint Socket_Strips:Socket_Strip_Angled_2x05_Pitch2.54mm) (libsource (lib conn) (part CONN_02X05)) (sheetpath (names /) (tstamps /)) (tstamp 58CF048F)) (comp (ref P10) (value CONTROL) - (libsource (lib conn) (part USB_OTG)) + (footprint Connectors:USB_Micro-B) + (libsource (lib hw1-rescue) (part USB_OTG-RESCUE-hw1)) (sheetpath (names /) (tstamps /)) (tstamp 58CF10AD)) (comp (ref C2) @@ -109,16 +110,54 @@ (footprint Capacitors_SMD:C_0603_HandSoldering) (libsource (lib device) (part C)) (sheetpath (names /) (tstamps /)) - (tstamp 58CF6A3A))) + (tstamp 58CF6A3A)) + (comp (ref U2) + (value MIC550x-3.3YM5) + (footprint TO_SOT_Packages_SMD:SOT-23-5_HandSoldering) + (libsource (lib karlp-klibs) (part MIC550x-3.3YM5)) + (sheetpath (names /) (tstamps /)) + (tstamp 59F7B611)) + (comp (ref J1) + (value CONN_01X06) + (footprint Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm) + (libsource (lib conn) (part CONN_01X06)) + (sheetpath (names /) (tstamps /)) + (tstamp 59F7E088)) + (comp (ref R1) + (value 4k7) + (footprint Resistors_SMD:R_0603_HandSoldering) + (libsource (lib device) (part R)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A0F8D14)) + (comp (ref R2) + (value 4k7) + (footprint Resistors_SMD:R_0603_HandSoldering) + (libsource (lib device) (part R)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A0F8EF5)) + (comp (ref JP1) + (value Jumper_NC_Small) + (footprint Socket_Strips:Socket_Strip_Straight_2x01_Pitch2.54mm) + (libsource (lib device) (part Jumper_NC_Small)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A0F91B9)) + (comp (ref JP2) + (value Jumper_NC_Small) + (footprint Socket_Strips:Socket_Strip_Straight_2x01_Pitch2.54mm) + (libsource (lib device) (part Jumper_NC_Small)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A0F9269)) + (comp (ref C6) + (value 100n) + (footprint Capacitors_SMD:C_0603_HandSoldering) + (libsource (lib device) (part C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A0FB867))) (libparts (libpart (lib device) (part C) (description "Unpolarized capacitor") (footprints - (fp C?) - (fp C_????_*) - (fp C_????) - (fp SMD*_c) - (fp Capacitor*)) + (fp C_*)) (fields (field (name Reference) C) (field (name Value) C)) @@ -126,26 +165,26 @@ (pin (num 1) (name ~) (type passive)) (pin (num 2) (name ~) (type passive)))) (libpart (lib conn) (part CONN_01X01) - (description "Connector, single row, 01x01") + (description "Connector, single row, 01x01, pin header") (footprints - (fp Pin_Header_Straight_1X01) - (fp Pin_Header_Angled_1X01) - (fp Socket_Strip_Straight_1X01) - (fp Socket_Strip_Angled_1X01)) + (fp Pin_Header_Straight_1X*) + (fp Pin_Header_Angled_1X*) + (fp Socket_Strip_Straight_1X*) + (fp Socket_Strip_Angled_1X*)) (fields - (field (name Reference) P) + (field (name Reference) J) (field (name Value) CONN_01X01)) (pins (pin (num 1) (name P1) (type passive)))) (libpart (lib conn) (part CONN_01X06) - (description "Connector, single row, 01x06") + (description "Connector, single row, 01x06, pin header") (footprints - (fp Pin_Header_Straight_1X06) - (fp Pin_Header_Angled_1X06) - (fp Socket_Strip_Straight_1X06) - (fp Socket_Strip_Angled_1X06)) + (fp Pin_Header_Straight_1X*) + (fp Pin_Header_Angled_1X*) + (fp Socket_Strip_Straight_1X*) + (fp Socket_Strip_Angled_1X*)) (fields - (field (name Reference) P) + (field (name Reference) J) (field (name Value) CONN_01X06)) (pins (pin (num 1) (name P1) (type passive)) @@ -155,14 +194,14 @@ (pin (num 5) (name P5) (type passive)) (pin (num 6) (name P6) (type passive)))) (libpart (lib conn) (part CONN_01X08) - (description "Connector, single row, 01x08") + (description "Connector, single row, 01x08, pin header") (footprints - (fp Pin_Header_Straight_1X08) - (fp Pin_Header_Angled_1X08) - (fp Socket_Strip_Straight_1X08) - (fp Socket_Strip_Angled_1X08)) + (fp Pin_Header_Straight_1X*) + (fp Pin_Header_Angled_1X*) + (fp Socket_Strip_Straight_1X*) + (fp Socket_Strip_Angled_1X*)) (fields - (field (name Reference) P) + (field (name Reference) J) (field (name Value) CONN_01X08)) (pins (pin (num 1) (name P1) (type passive)) @@ -174,14 +213,14 @@ (pin (num 7) (name P7) (type passive)) (pin (num 8) (name P8) (type passive)))) (libpart (lib conn) (part CONN_01X10) - (description "Connector, single row, 01x10") + (description "Connector, single row, 01x10, pin header") (footprints - (fp Pin_Header_Straight_1X10) - (fp Pin_Header_Angled_1X10) - (fp Socket_Strip_Straight_1X10) - (fp Socket_Strip_Angled_1X10)) + (fp Pin_Header_Straight_1X*) + (fp Pin_Header_Angled_1X*) + (fp Socket_Strip_Straight_1X*) + (fp Socket_Strip_Angled_1X*)) (fields - (field (name Reference) P) + (field (name Reference) J) (field (name Value) CONN_01X10)) (pins (pin (num 1) (name P1) (type passive)) @@ -195,14 +234,15 @@ (pin (num 9) (name P9) (type passive)) (pin (num 10) (name P10) (type passive)))) (libpart (lib conn) (part CONN_02X05) - (description "Connector, double row, 02x05") + (description "Connector, double row, 02x05, pin header") (footprints - (fp Pin_Header_Straight_2X05) - (fp Pin_Header_Angled_2X05) - (fp Socket_Strip_Straight_2X05) - (fp Socket_Strip_Angled_2X05)) + (fp Pin_Header_Straight_2X*) + (fp Pin_Header_Angled_2X*) + (fp Socket_Strip_Straight_2X*) + (fp Socket_Strip_Angled_2X*) + (fp IDC_Header_Straight_*)) (fields - (field (name Reference) P) + (field (name Reference) J) (field (name Value) CONN_02X05)) (pins (pin (num 1) (name P1) (type passive)) @@ -215,6 +255,40 @@ (pin (num 8) (name P8) (type passive)) (pin (num 9) (name P9) (type passive)) (pin (num 10) (name P10) (type passive)))) + (libpart (lib device) (part Jumper_NC_Small) + (description "Jumper, normally closed") + (fields + (field (name Reference) JP) + (field (name Value) Jumper_NC_Small)) + (pins + (pin (num 1) (name 1) (type passive)) + (pin (num 2) (name 2) (type passive)))) + (libpart (lib karlp-klibs) (part MIC550x-3.3YM5) + (description "300mA LDO fixed output voltage 3.3V ultra-low-noise") + (docs http://ww1.microchip.com/downloads/en/DeviceDoc/MIC550X.pdf) + (footprints + (fp SOT-23*)) + (fields + (field (name Reference) U) + (field (name Value) MIC550x-3.3YM5) + (field (name Footprint) TO_SOT_Packages_SMD:SOT-23-5)) + (pins + (pin (num 1) (name VIN) (type power_in)) + (pin (num 2) (name GND) (type power_in)) + (pin (num 3) (name EN) (type input)) + (pin (num 4) (name NC) (type NotConnected)) + (pin (num 5) (name VOUT) (type power_out)))) + (libpart (lib device) (part R) + (description Resistor) + (footprints + (fp R_*) + (fp R_*)) + (fields + (field (name Reference) R) + (field (name Value) R)) + (pins + (pin (num 1) (name ~) (type passive)) + (pin (num 2) (name ~) (type passive)))) (libpart (lib stm32) (part STM32L151C6TxA) (aliases (alias STM32L151C8TxA) @@ -224,7 +298,7 @@ (fields (field (name Reference) U) (field (name Value) STM32L151C6TxA) - (field (name Footprint) LQFP48)) + (field (name Footprint) Housings_QFP:LQFP-48_7x7mm_Pitch0.5mm)) (pins (pin (num 1) (name VLCD) (type power_in)) (pin (num 2) (name PC13/RTC_OUT_ALARM/RTC_OUT_CALIB/RTC_TAMP1/RTC_TS/SYS_WKUP2/TIMX_IC2) (type BiDi)) @@ -274,13 +348,12 @@ (pin (num 46) (name PB9/DAC_EXTI9/I2C1_SDA/TIM11_CH1/TIM4_CH4) (type BiDi)) (pin (num 47) (name VSS) (type power_in)) (pin (num 48) (name VDD) (type power_in)))) - (libpart (lib conn) (part USB_OTG) - (description "USB micro/mini connector") + (libpart (lib hw1-rescue) (part USB_OTG-RESCUE-hw1) (footprints (fp USB*)) (fields (field (name Reference) P) - (field (name Value) USB_OTG)) + (field (name Value) USB_OTG-RESCUE-hw1)) (pins (pin (num 1) (name VBUS) (type power_out)) (pin (num 2) (name D-) (type passive)) @@ -289,192 +362,213 @@ (pin (num 5) (name GND) (type power_in)) (pin (num 6) (name shield) (type passive))))) (libraries - (library (logical stm32) - (uri /usr/share/kicad/library/stm32.lib)) + (library (logical device) + (uri /usr/share/kicad/library/device.lib)) + (library (logical hw1-rescue) + (uri /home/karlp/src/libopencm3-tests/hw1/hw1-rescue.lib)) (library (logical conn) (uri /usr/share/kicad/library/conn.lib)) - (library (logical device) - (uri /usr/share/kicad/library/device.lib))) + (library (logical stm32) + (uri /usr/share/kicad/library/stm32.lib)) + (library (logical karlp-klibs) + (uri /home/karlp/src/libopencm3-tests/hw1/karlp-klibs.lib))) (nets - (net (code 1) (name /7) - (node (ref P4) (pin 1))) - (net (code 2) (name /Reset) - (node (ref P1) (pin 3))) - (net (code 3) (name "/6(**)") - (node (ref P4) (pin 2))) - (net (code 4) (name "/5(**)") - (node (ref P4) (pin 3))) - (net (code 5) (name /4) - (node (ref P4) (pin 4))) - (net (code 6) (name "/3(**)") - (node (ref P4) (pin 5))) - (net (code 7) (name /2) - (node (ref P4) (pin 6))) - (net (code 8) (name /USB_DM) - (node (ref P10) (pin 2)) - (node (ref U1) (pin 32))) - (net (code 9) (name GND) + (net (code 1) (name "Net-(U1-Pad3)") + (node (ref U1) (pin 3))) + (net (code 2) (name GND) + (node (ref J1) (pin 3)) + (node (ref U2) (pin 2)) + (node (ref P3) (pin 7)) + (node (ref P1) (pin 6)) (node (ref C3) (pin 2)) + (node (ref P1) (pin 7)) (node (ref C4) (pin 2)) - (node (ref P9) (pin 10)) (node (ref C5) (pin 2)) - (node (ref C1) (pin 2)) - (node (ref U1) (pin 8)) - (node (ref P1) (pin 6)) - (node (ref P3) (pin 4)) (node (ref C2) (pin 2)) - (node (ref P1) (pin 7)) + (node (ref U1) (pin 35)) (node (ref P10) (pin 5)) + (node (ref C1) (pin 2)) + (node (ref U1) (pin 23)) (node (ref U1) (pin 47)) - (node (ref U1) (pin 35)) - (node (ref U1) (pin 23))) - (net (code 10) (name /I2C_SCL) - (node (ref P9) (pin 1)) - (node (ref P2) (pin 6)) - (node (ref P3) (pin 1)) - (node (ref U1) (pin 45))) - (net (code 11) (name /Vin) - (node (ref P1) (pin 8))) - (net (code 12) (name +5V) - (node (ref P1) (pin 5))) - (net (code 13) (name /IOREF) - (node (ref P1) (pin 2))) - (net (code 14) (name /I2C_SDA) - (node (ref P2) (pin 5)) - (node (ref P3) (pin 2)) - (node (ref P9) (pin 2)) - (node (ref U1) (pin 46))) - (net (code 15) (name /DAC2) - (node (ref U1) (pin 15)) - (node (ref P2) (pin 2))) - (net (code 16) (name /DAC1) - (node (ref U1) (pin 14)) - (node (ref P2) (pin 1))) - (net (code 17) (name /USB_DP) - (node (ref U1) (pin 33)) - (node (ref P10) (pin 3))) - (net (code 18) (name /AREF) - (node (ref P3) (pin 3))) - (net (code 19) (name "/9(**)") - (node (ref P3) (pin 9))) - (net (code 20) (name /8) - (node (ref P3) (pin 10))) - (net (code 21) (name /A3) - (node (ref P2) (pin 4))) - (net (code 22) (name /A2) - (node (ref P2) (pin 3))) - (net (code 23) (name "Net-(U1-Pad19)") - (node (ref U1) (pin 19))) - (net (code 24) (name /SWO) + (node (ref U1) (pin 8)) + (node (ref C6) (pin 2)) + (node (ref P9) (pin 10))) + (net (code 3) (name /NRST) + (node (ref J1) (pin 5)) + (node (ref C1) (pin 1)) + (node (ref U1) (pin 7))) + (net (code 4) (name /SWCLK) + (node (ref J1) (pin 2)) + (node (ref U1) (pin 37))) + (net (code 5) (name /SWDIO) + (node (ref U1) (pin 34)) + (node (ref J1) (pin 4))) + (net (code 6) (name /SWO) + (node (ref J1) (pin 6)) (node (ref U1) (pin 39))) - (net (code 25) (name "Net-(U1-Pad40)") + (net (code 7) (name "Net-(U1-Pad40)") (node (ref U1) (pin 40))) - (net (code 26) (name "Net-(U1-Pad2)") + (net (code 8) (name "Net-(U1-Pad2)") (node (ref U1) (pin 2))) - (net (code 27) (name "Net-(U1-Pad3)") - (node (ref U1) (pin 3))) - (net (code 28) (name "Net-(U1-Pad4)") + (net (code 9) (name "Net-(U1-Pad4)") (node (ref U1) (pin 4))) - (net (code 29) (name /SWDIO) - (node (ref U1) (pin 34))) - (net (code 30) (name "Net-(U1-Pad18)") + (net (code 10) (name "Net-(U1-Pad19)") + (node (ref U1) (pin 19))) + (net (code 11) (name "Net-(U1-Pad18)") (node (ref U1) (pin 18))) - (net (code 31) (name +3V3) - (node (ref U1) (pin 24)) - (node (ref U1) (pin 9)) - (node (ref U1) (pin 48)) - (node (ref U1) (pin 36)) - (node (ref P1) (pin 4)) - (node (ref C2) (pin 1)) - (node (ref C5) (pin 1)) - (node (ref C4) (pin 1)) - (node (ref C3) (pin 1))) - (net (code 32) (name "Net-(P9-Pad9)") - (node (ref P9) (pin 9))) - (net (code 33) (name /NRST) - (node (ref C1) (pin 1)) - (node (ref U1) (pin 7))) - (net (code 34) (name /SWCLK) - (node (ref U1) (pin 37))) - (net (code 35) (name /SPI_MISO) - (node (ref P9) (pin 4)) - (node (ref P3) (pin 6))) - (net (code 36) (name /SPI_MOSI) + (net (code 12) (name /SPI_CS) + (node (ref U1) (pin 25)) + (node (ref P3) (pin 3)) + (node (ref P9) (pin 6))) + (net (code 13) (name /ADC_IN2) + (node (ref U1) (pin 17))) + (net (code 14) (name /ADC_IN1) + (node (ref P2) (pin 3)) + (node (ref U1) (pin 16))) + (net (code 15) (name /SPI_MOSI) (node (ref P9) (pin 5)) - (node (ref P3) (pin 7))) - (net (code 37) (name /SPI_SCK) + (node (ref U1) (pin 28)) + (node (ref P3) (pin 4))) + (net (code 16) (name /SPI_MISO) (node (ref P3) (pin 5)) - (node (ref P9) (pin 3))) - (net (code 38) (name /UART_RX) + (node (ref U1) (pin 27)) + (node (ref P9) (pin 4))) + (net (code 17) (name /SPI_SCK) + (node (ref P3) (pin 6)) + (node (ref P9) (pin 3)) + (node (ref U1) (pin 26))) + (net (code 18) (name /UART_RX_OUT) + (node (ref P4) (pin 2)) (node (ref P9) (pin 7)) - (node (ref P4) (pin 8))) - (net (code 39) (name /SPI_CS) - (node (ref P3) (pin 8)) - (node (ref P9) (pin 6))) - (net (code 40) (name "Net-(P10-Pad6)") - (node (ref P10) (pin 6))) - (net (code 41) (name /UART_TX) + (node (ref U1) (pin 13))) + (net (code 19) (name /UART_TX_OUT) (node (ref P9) (pin 8)) - (node (ref P4) (pin 7))) - (net (code 42) (name "Net-(P6-Pad1)") - (node (ref P6) (pin 1))) - (net (code 43) (name "Net-(P5-Pad1)") - (node (ref P5) (pin 1))) - (net (code 44) (name "Net-(P8-Pad1)") - (node (ref P8) (pin 1))) - (net (code 45) (name "Net-(P7-Pad1)") - (node (ref P7) (pin 1))) - (net (code 46) (name "Net-(P1-Pad1)") - (node (ref P1) (pin 1))) - (net (code 47) (name "Net-(U1-Pad28)") - (node (ref U1) (pin 28))) - (net (code 48) (name "Net-(U1-Pad29)") - (node (ref U1) (pin 29))) - (net (code 49) (name "Net-(U1-Pad38)") + (node (ref U1) (pin 12)) + (node (ref P4) (pin 1))) + (net (code 20) (name "Net-(P9-Pad9)") + (node (ref P9) (pin 9))) + (net (code 21) (name +3V3) + (node (ref J1) (pin 1)) + (node (ref U1) (pin 9)) + (node (ref P1) (pin 4)) + (node (ref C3) (pin 1)) + (node (ref C4) (pin 1)) + (node (ref C5) (pin 1)) + (node (ref C2) (pin 1)) + (node (ref U2) (pin 5)) + (node (ref U1) (pin 36)) + (node (ref U1) (pin 48)) + (node (ref U1) (pin 24))) + (net (code 22) (name /I2C_SDA) + (node (ref JP1) (pin 1)) + (node (ref P2) (pin 5)) + (node (ref U1) (pin 46)) + (node (ref P3) (pin 9)) + (node (ref P9) (pin 2))) + (net (code 23) (name /USB_DP) + (node (ref U1) (pin 33)) + (node (ref P10) (pin 3))) + (net (code 24) (name /USB_DM) + (node (ref P10) (pin 2)) + (node (ref U1) (pin 32))) + (net (code 25) (name /I2C_SCL) + (node (ref P2) (pin 6)) + (node (ref P9) (pin 1)) + (node (ref U1) (pin 45)) + (node (ref P3) (pin 10)) + (node (ref JP2) (pin 1))) + (net (code 26) (name "Net-(R1-Pad1)") + (node (ref R1) (pin 1)) + (node (ref R2) (pin 1))) + (net (code 27) (name "Net-(JP1-Pad2)") + (node (ref R1) (pin 2)) + (node (ref JP1) (pin 2))) + (net (code 28) (name "Net-(JP2-Pad2)") + (node (ref JP2) (pin 2)) + (node (ref R2) (pin 2))) + (net (code 29) (name "Net-(U1-Pad41)") + (node (ref U1) (pin 41))) + (net (code 30) (name "Net-(U1-Pad42)") + (node (ref U1) (pin 42))) + (net (code 31) (name "Net-(U1-Pad43)") + (node (ref U1) (pin 43))) + (net (code 32) (name "Net-(U1-Pad21)") + (node (ref U1) (pin 21))) + (net (code 33) (name "Net-(U1-Pad22)") + (node (ref U1) (pin 22))) + (net (code 34) (name "Net-(U1-Pad38)") (node (ref U1) (pin 38))) - (net (code 50) (name "Net-(U1-Pad27)") - (node (ref U1) (pin 27))) - (net (code 51) (name "Net-(U1-Pad17)") - (node (ref U1) (pin 17))) - (net (code 52) (name "Net-(U1-Pad26)") - (node (ref U1) (pin 26))) - (net (code 53) (name "Net-(P10-Pad4)") - (node (ref P10) (pin 4))) - (net (code 54) (name "Net-(P10-Pad1)") - (node (ref P10) (pin 1))) - (net (code 55) (name "Net-(U1-Pad16)") - (node (ref U1) (pin 16))) - (net (code 56) (name "Net-(U1-Pad31)") + (net (code 35) (name "Net-(U1-Pad31)") (node (ref U1) (pin 31))) - (net (code 57) (name "Net-(U1-Pad21)") - (node (ref U1) (pin 21))) - (net (code 58) (name "Net-(U1-Pad11)") - (node (ref U1) (pin 11))) - (net (code 59) (name "Net-(U1-Pad30)") + (net (code 36) (name "Net-(U1-Pad30)") (node (ref U1) (pin 30))) - (net (code 60) (name "Net-(U1-Pad20)") + (net (code 37) (name "Net-(U1-Pad29)") + (node (ref U1) (pin 29))) + (net (code 38) (name /Vin) + (node (ref P1) (pin 8))) + (net (code 39) (name "Net-(C6-Pad1)") + (node (ref U1) (pin 1)) + (node (ref C6) (pin 1))) + (net (code 40) (name "Net-(U1-Pad44)") + (node (ref U1) (pin 44))) + (net (code 41) (name "Net-(U1-Pad20)") (node (ref U1) (pin 20))) - (net (code 61) (name "Net-(U1-Pad10)") - (node (ref U1) (pin 10))) - (net (code 62) (name "Net-(U1-Pad41)") - (node (ref U1) (pin 41))) - (net (code 63) (name "Net-(U1-Pad6)") + (net (code 42) (name "Net-(U1-Pad11)") + (node (ref U1) (pin 11))) + (net (code 43) (name "Net-(U1-Pad6)") (node (ref U1) (pin 6))) - (net (code 64) (name "Net-(U1-Pad5)") + (net (code 44) (name "Net-(U1-Pad5)") (node (ref U1) (pin 5))) - (net (code 65) (name "Net-(U1-Pad1)") - (node (ref U1) (pin 1))) - (net (code 66) (name "Net-(U1-Pad43)") - (node (ref U1) (pin 43))) - (net (code 67) (name "Net-(U1-Pad25)") - (node (ref U1) (pin 25))) - (net (code 68) (name "Net-(U1-Pad44)") - (node (ref U1) (pin 44))) - (net (code 69) (name "Net-(U1-Pad13)") - (node (ref U1) (pin 13))) - (net (code 70) (name "Net-(U1-Pad42)") - (node (ref U1) (pin 42))) - (net (code 71) (name "Net-(U1-Pad22)") - (node (ref U1) (pin 22))) - (net (code 72) (name "Net-(U1-Pad12)") - (node (ref U1) (pin 12))))) \ No newline at end of file + (net (code 45) (name "Net-(P10-Pad4)") + (node (ref P10) (pin 4))) + (net (code 46) (name "Net-(U2-Pad4)") + (node (ref U2) (pin 4))) + (net (code 47) (name "Net-(U1-Pad10)") + (node (ref U1) (pin 10))) + (net (code 48) (name +5V) + (node (ref U2) (pin 1)) + (node (ref P10) (pin 1)) + (node (ref U2) (pin 3)) + (node (ref P1) (pin 5))) + (net (code 49) (name "Net-(P10-Pad6)") + (node (ref P10) (pin 6))) + (net (code 50) (name /AREF) + (node (ref P3) (pin 8))) + (net (code 51) (name "Net-(P8-Pad1)") + (node (ref P8) (pin 1))) + (net (code 52) (name "Net-(P7-Pad1)") + (node (ref P7) (pin 1))) + (net (code 53) (name "Net-(P6-Pad1)") + (node (ref P6) (pin 1))) + (net (code 54) (name "Net-(P5-Pad1)") + (node (ref P5) (pin 1))) + (net (code 55) (name "/5(**)") + (node (ref P4) (pin 6))) + (net (code 56) (name "Net-(P1-Pad1)") + (node (ref P1) (pin 1))) + (net (code 57) (name "/9(**)") + (node (ref P3) (pin 2))) + (net (code 58) (name /8) + (node (ref P3) (pin 1))) + (net (code 59) (name /7) + (node (ref P4) (pin 8))) + (net (code 60) (name "/6(**)") + (node (ref P4) (pin 7))) + (net (code 61) (name /4) + (node (ref P4) (pin 5))) + (net (code 62) (name "/3(**)") + (node (ref P4) (pin 4))) + (net (code 63) (name /2) + (node (ref P4) (pin 3))) + (net (code 64) (name /A3) + (node (ref P2) (pin 4))) + (net (code 65) (name /DAC2_OUT) + (node (ref U1) (pin 15)) + (node (ref P2) (pin 2))) + (net (code 66) (name /DAC1_OUT) + (node (ref U1) (pin 14)) + (node (ref P2) (pin 1))) + (net (code 67) (name /RESET_OUT) + (node (ref P1) (pin 3))) + (net (code 68) (name /IOREF) + (node (ref P1) (pin 2))))) \ No newline at end of file diff --git a/hw1/hw1.pdf b/hw1/hw1.pdf index 58308a8..93a6d5f 100644 Binary files a/hw1/hw1.pdf and b/hw1/hw1.pdf differ diff --git a/hw1/hw1.pro b/hw1/hw1.pro index 527c641..8242726 100644 --- a/hw1/hw1.pro +++ b/hw1/hw1.pro @@ -1,4 +1,4 @@ -update=Thu 28 Sep 2017 08:28:19 PM GMT +update=Fri 17 Nov 2017 10:53:59 PM GMT version=1 last_client=kicad [pcbnew] @@ -60,3 +60,14 @@ LibName28=atmel LibName29=contrib LibName30=valves LibName31=stm32 +LibName32=karlp-klibs +[schematic_editor] +version=1 +PageLayoutDescrFile= +PlotDirectoryName= +SubpartIdSeparator=0 +SubpartFirstId=65 +NetFmtName=Pcbnew +SpiceForceRefPrefix=0 +SpiceUseNetNumbers=0 +LabSize=60 diff --git a/hw1/hw1.sch b/hw1/hw1.sch index b066d63..e581bcd 100644 --- a/hw1/hw1.sch +++ b/hw1/hw1.sch @@ -30,41 +30,42 @@ LIBS:atmel LIBS:contrib LIBS:valves LIBS:stm32 +LIBS:karlp-klibs LIBS:hw1-cache EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 -Title "" -Date "lun. 30 mars 2015" +Title "test host" +Date "Autumn 2017" Rev "" -Comp "" +Comp "libopencm3" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr -Text Label 8950 1450 1 60 ~ 0 +Text Label 9300 2300 2 60 ~ 0 Vin -Text Label 9300 1450 1 60 ~ 0 +Text Label 9300 1700 2 60 ~ 0 IOREF -Text Label 8900 2500 0 60 ~ 0 -DAC1 -Text Label 8900 2600 0 60 ~ 0 -DAC2 -Text Label 8900 2700 0 60 ~ 0 +Text Label 9350 2500 2 60 ~ 0 +DAC1_OUT +Text Label 9350 2600 2 60 ~ 0 +DAC2_OUT +Text Label 9350 2700 2 60 ~ 0 ADC_IN1 Text Label 8900 2800 0 60 ~ 0 A3 -Text Label 8900 2900 0 60 ~ 0 +Text Label 9350 2900 2 60 ~ 0 I2C_SDA -Text Label 10550 3000 0 60 ~ 0 -UART_TX +Text Label 10250 3000 0 60 ~ 0 +UART_TX_OUT Text Label 10550 2800 0 60 ~ 0 2 -Text Label 10550 2900 0 60 ~ 0 -UART_RX +Text Label 10250 2900 0 60 ~ 0 +UART_RX_OUT Text Label 10550 2700 0 60 ~ 0 3(**) Text Label 10550 2600 0 60 ~ 0 @@ -79,20 +80,20 @@ Text Label 10550 2100 0 60 ~ 0 8 Text Label 10550 2000 0 60 ~ 0 9(**) -Text Label 10550 1900 0 60 ~ 0 +Text Label 10350 1900 0 60 ~ 0 SPI_CS -Text Label 10550 1800 0 60 ~ 0 +Text Label 10350 1800 0 60 ~ 0 SPI_MOSI -Text Label 10550 1700 0 60 ~ 0 +Text Label 10350 1700 0 60 ~ 0 SPI_MISO -Text Label 10550 1600 0 60 ~ 0 +Text Label 10350 1600 0 60 ~ 0 SPI_SCK -Text Label 10550 1400 0 60 ~ 0 +Text Label 10300 1400 0 60 ~ 0 AREF NoConn ~ 9400 1600 -Text Label 10550 1300 0 60 ~ 0 +Text Label 10300 1300 0 60 ~ 0 I2C_SDA -Text Label 10550 1200 0 60 ~ 0 +Text Label 10300 1200 0 60 ~ 0 I2C_SCL Text Notes 10850 1000 0 60 ~ 0 Holes @@ -109,50 +110,50 @@ F 3 "" H 9600 1950 50 0000 C CNN 1 9600 1950 1 0 0 -1 $EndComp -Text Label 8650 1800 0 60 ~ 0 -Reset +Text Label 9300 1800 2 60 ~ 0 +RESET_OUT $Comp L +3.3V #PWR01 U 1 1 56D70538 -P 9150 1450 -F 0 "#PWR01" H 9150 1300 50 0001 C CNN -F 1 "+3.3V" H 9150 1590 30 0000 C CNN -F 2 "" H 9150 1450 50 0000 C CNN -F 3 "" H 9150 1450 50 0000 C CNN - 1 9150 1450 +P 8700 1450 +F 0 "#PWR01" H 8700 1300 50 0001 C CNN +F 1 "+3.3V" H 8700 1590 30 0000 C CNN +F 2 "" H 8700 1450 50 0000 C CNN +F 3 "" H 8700 1450 50 0000 C CNN + 1 8700 1450 1 0 0 -1 $EndComp $Comp L +5V #PWR02 U 1 1 56D707BB -P 9050 1450 -F 0 "#PWR02" H 9050 1300 50 0001 C CNN -F 1 "+5V" H 9050 1590 30 0000 C CNN -F 2 "" H 9050 1450 50 0000 C CNN -F 3 "" H 9050 1450 50 0000 C CNN - 1 9050 1450 +P 8600 1450 +F 0 "#PWR02" H 8600 1300 50 0001 C CNN +F 1 "+5V" H 8600 1590 30 0000 C CNN +F 2 "" H 8600 1450 50 0000 C CNN +F 3 "" H 8600 1450 50 0000 C CNN + 1 8600 1450 1 0 0 -1 $EndComp $Comp L GND #PWR03 U 1 1 56D70CC2 -P 9300 3150 -F 0 "#PWR03" H 9300 2900 50 0001 C CNN -F 1 "GND" H 9300 3000 50 0000 C CNN -F 2 "" H 9300 3150 50 0000 C CNN -F 3 "" H 9300 3150 50 0000 C CNN - 1 9300 3150 +P 8850 2100 +F 0 "#PWR03" H 8850 1850 50 0001 C CNN +F 1 "GND" H 8850 1950 50 0000 C CNN +F 2 "" H 8850 2100 50 0000 C CNN +F 3 "" H 8850 2100 50 0000 C CNN + 1 8850 2100 1 0 0 -1 $EndComp $Comp L GND #PWR04 U 1 1 56D70CFF -P 10300 3150 -F 0 "#PWR04" H 10300 2900 50 0001 C CNN -F 1 "GND" H 10300 3000 50 0000 C CNN -F 2 "" H 10300 3150 50 0000 C CNN -F 3 "" H 10300 3150 50 0000 C CNN - 1 10300 3150 +P 10950 1500 +F 0 "#PWR04" H 10950 1250 50 0001 C CNN +F 1 "GND" H 10950 1350 50 0000 C CNN +F 2 "" H 10950 1500 50 0000 C CNN +F 3 "" H 10950 1500 50 0000 C CNN + 1 10950 1500 1 0 0 -1 $EndComp $Comp @@ -244,7 +245,7 @@ U 1 1 58CEFE92 P 4550 4350 F 0 "U1" H 1050 6075 50 0000 L BNN F 1 "STM32L151C6TxA" H 8050 6075 50 0000 R BNN -F 2 "LQFP48" H 8050 6025 50 0000 R TNN +F 2 "Housings_QFP:TQFP-48_7x7mm_Pitch0.5mm" H 8050 6025 50 0000 R TNN F 3 "" H 4550 4350 50 0000 C CNN 1 4550 4350 1 0 0 -1 @@ -252,12 +253,12 @@ $EndComp $Comp L CONN_02X05 P9 U 1 1 58CF048F -P 1150 1250 -F 0 "P9" H 1150 1550 50 0000 C CNN -F 1 "FX2LA" H 1150 950 50 0000 C CNN -F 2 "Connectors:IDC_Header_Straight_10pins" H 1150 50 50 0001 C CNN -F 3 "" H 1150 50 50 0000 C CNN - 1 1150 1250 +P 1500 1250 +F 0 "P9" H 1500 1550 50 0000 C CNN +F 1 "FX2LA" H 1500 950 50 0000 C CNN +F 2 "Socket_Strips:Socket_Strip_Angled_2x05_Pitch2.54mm" H 1500 50 50 0001 C CNN +F 3 "" H 1500 50 50 0000 C CNN + 1 1500 1250 1 0 0 -1 $EndComp $Comp @@ -285,12 +286,12 @@ $EndComp $Comp L GND #PWR07 U 1 1 58CF0E5B -P 1500 1550 -F 0 "#PWR07" H 1500 1300 50 0001 C CNN -F 1 "GND" H 1500 1400 50 0000 C CNN -F 2 "" H 1500 1550 50 0000 C CNN -F 3 "" H 1500 1550 50 0000 C CNN - 1 1500 1550 +P 1850 1550 +F 0 "#PWR07" H 1850 1300 50 0001 C CNN +F 1 "GND" H 1850 1400 50 0000 C CNN +F 2 "" H 1850 1550 50 0000 C CNN +F 3 "" H 1850 1550 50 0000 C CNN + 1 1850 1550 1 0 0 -1 $EndComp $Comp @@ -315,25 +316,25 @@ F 3 "" H 3850 1650 50 0000 C CNN 1 3850 1650 1 0 0 -1 $EndComp -Text Label 8300 5350 0 60 ~ 0 +Text Label 8250 5350 0 60 ~ 0 USB_DM -Text Label 8300 5450 0 60 ~ 0 +Text Label 8250 5450 0 60 ~ 0 USB_DP -Text Label 3550 1900 1 60 ~ 0 +Text Label 3550 1600 3 60 ~ 0 USB_DM -Text Label 3650 1900 1 60 ~ 0 +Text Label 3650 1600 3 60 ~ 0 USB_DP -Text Label 8450 4650 0 60 ~ 0 -DAC1 -Text Label 8450 4750 0 60 ~ 0 -DAC2 +Text Label 8250 4650 0 60 ~ 0 +DAC1_OUT +Text Label 8250 4750 0 60 ~ 0 +DAC2_OUT Text Label 550 5050 0 60 ~ 0 I2C_SCL Text Label 550 5150 0 60 ~ 0 I2C_SDA -Text Notes 3850 750 0 60 ~ 0 -TBD: debug via via 6pin/10x1.27/20x2.54? (leaning toward 6pin _and_ 10x127 smd) -Text Label 8900 3000 0 60 ~ 0 +Text Notes 5000 2200 0 60 ~ 0 +[x] debug via via 6pin\n[ ] debug via 10x5x1.27mm cortex SMD\n +Text Label 9350 3000 2 60 ~ 0 I2C_SCL Text Notes 8500 3000 0 60 ~ 0 A5 (SCL) @@ -353,61 +354,53 @@ Wire Notes Line 8525 825 9925 825 Wire Notes Line 9925 825 9925 475 -Wire Wire Line - 9300 1450 9300 1700 Wire Wire Line 9300 1700 9400 1700 Wire Wire Line - 9400 1900 9150 1900 -Wire Wire Line - 9400 2000 9050 2000 -Wire Wire Line - 9400 2300 8950 2300 + 9400 1900 8700 1900 Wire Wire Line - 9400 2100 9300 2100 + 9400 2000 8600 2000 Wire Wire Line - 9400 2200 9300 2200 -Connection ~ 9300 2200 -Wire Wire Line - 8950 2300 8950 1450 + 8850 2100 9400 2100 +Connection ~ 9300 2100 Wire Wire Line - 9050 2000 9050 1450 + 8600 2000 8600 1450 Wire Wire Line - 9150 1900 9150 1450 + 8700 1900 8700 1450 Wire Wire Line - 9400 2500 8900 2500 + 9400 2500 9350 2500 Wire Wire Line - 9400 2600 8900 2600 + 9400 2600 9350 2600 Wire Wire Line - 9400 2700 8900 2700 + 9400 2700 9350 2700 Wire Wire Line 9400 2800 8900 2800 Wire Wire Line - 9400 2900 8900 2900 + 9400 2900 9350 2900 Wire Wire Line - 9400 3000 8900 3000 + 9400 3000 9350 3000 Wire Wire Line 10200 2100 10550 2100 Wire Wire Line 10200 2000 10550 2000 Wire Wire Line - 10200 1900 10550 1900 + 10200 1900 10350 1900 Wire Wire Line - 10200 1800 10550 1800 + 10200 1800 10350 1800 Wire Wire Line - 10200 1700 10550 1700 + 10200 1700 10350 1700 Wire Wire Line - 10200 1600 10550 1600 + 10200 1600 10350 1600 Wire Wire Line - 10200 1400 10550 1400 + 10200 1400 10300 1400 Wire Wire Line - 10200 1300 10550 1300 + 10200 1300 10300 1300 Wire Wire Line - 10200 1200 10550 1200 + 10200 1200 10300 1200 Wire Wire Line - 10200 3000 10550 3000 + 10200 3000 10250 3000 Wire Wire Line - 10200 2900 10550 2900 + 10200 2900 10250 2900 Wire Wire Line 10200 2800 10550 2800 Wire Wire Line @@ -421,17 +414,13 @@ Wire Wire Line Wire Wire Line 10200 2300 10550 2300 Wire Wire Line - 10200 1500 10300 1500 -Wire Wire Line - 10300 1500 10300 3150 -Wire Wire Line - 9300 2100 9300 3150 + 10200 1500 10950 1500 Wire Notes Line 8500 500 8500 3450 Wire Notes Line 8500 3450 11200 3450 Wire Wire Line - 9400 1800 8650 1800 + 9400 1800 9300 1800 Wire Notes Line 11200 1000 10700 1000 Wire Notes Line @@ -464,60 +453,58 @@ Wire Wire Line 4650 6250 4650 6150 Connection ~ 4550 6250 Wire Wire Line - 1400 1450 1500 1450 + 1750 1450 1850 1450 Wire Wire Line - 1500 1450 1500 1550 + 1850 1450 1850 1550 Wire Wire Line 3850 1550 3850 1650 Wire Wire Line - 8150 5350 8450 5350 + 8150 5350 8250 5350 Wire Wire Line - 8150 5450 8450 5450 + 8150 5450 8250 5450 Wire Wire Line - 3550 1550 3550 1900 + 3550 1550 3550 1600 Wire Wire Line - 3650 1550 3650 1900 + 3650 1550 3650 1600 Wire Wire Line - 8150 4650 8700 4650 + 8150 4650 8250 4650 Wire Wire Line - 8150 4750 8700 4750 + 8150 4750 8250 4750 Wire Wire Line 550 5150 950 5150 Wire Wire Line 950 5050 550 5050 Wire Wire Line - 1400 1050 2000 1050 + 1750 1050 1800 1050 Wire Wire Line - 1400 1150 2000 1150 + 1750 1150 1800 1150 Wire Wire Line - 1400 1250 2000 1250 + 1750 1250 1800 1250 Wire Wire Line - 1400 1350 2000 1350 + 1750 1350 1800 1350 Wire Wire Line - 900 1050 500 1050 + 1250 1050 1200 1050 Wire Wire Line - 900 1150 500 1150 + 1250 1150 1200 1150 Wire Wire Line - 900 1250 500 1250 + 1250 1250 1200 1250 Wire Wire Line - 900 1350 500 1350 -Text Label 500 1050 0 60 ~ 0 + 1250 1350 1200 1350 +Text Label 1200 1050 2 60 ~ 0 I2C_SCL -Text Label 1500 1050 0 60 ~ 0 +Text Label 1800 1050 0 60 ~ 0 I2C_SDA -Text Label 500 1150 0 60 ~ 0 +Text Label 1200 1150 2 60 ~ 0 SPI_SCK -Text Label 500 1250 0 60 ~ 0 +Text Label 1200 1250 2 60 ~ 0 SPI_MOSI -Text Label 1500 1150 0 60 ~ 0 +Text Label 1800 1150 0 60 ~ 0 SPI_MISO -Text Label 1500 1250 0 60 ~ 0 +Text Label 1800 1250 0 60 ~ 0 SPI_CS -Text Label 500 1350 0 60 ~ 0 -UART_RX -Text Label 1500 1350 0 60 ~ 0 -UART_TX -Text Notes 450 2100 0 60 Italic 0 +Text Label 1200 1350 2 60 ~ 0 +UART_RX_OUT +Text Notes 500 2100 0 60 Italic 0 NOTE: this can be freely routed to do whatever's possible!\nPotentially:\nJumpers to select what you're connecting here?\n(but non-ideal) $Comp L C C2 @@ -603,31 +590,20 @@ Wire Wire Line Text Label 550 4550 0 60 Italic 0 SWO Wire Wire Line - 8150 5550 8450 5550 + 8150 5550 8250 5550 Wire Wire Line - 8150 5650 8450 5650 -Text Label 8300 5550 0 60 Italic 0 + 8150 5650 8250 5650 +Text Label 8250 5550 0 60 Italic 0 SWDIO -Text Label 8300 5650 0 60 Italic 0 +Text Label 8250 5650 0 60 Italic 0 SWCLK Text Label 650 2950 0 60 Italic 0 NRST $Comp L PWR_FLAG #FLG012 -U 1 1 58CF5CCA -P 3650 7100 -F 0 "#FLG012" H 3650 7195 50 0001 C CNN -F 1 "PWR_FLAG" H 3650 7280 50 0000 C CNN -F 2 "" H 3650 7100 50 0000 C CNN -F 3 "" H 3650 7100 50 0000 C CNN - 1 3650 7100 - -1 0 0 1 -$EndComp -$Comp -L PWR_FLAG #FLG013 U 1 1 58CF5E41 P 4100 7000 -F 0 "#FLG013" H 4100 7095 50 0001 C CNN +F 0 "#FLG012" H 4100 7095 50 0001 C CNN F 1 "PWR_FLAG" H 4100 7180 50 0000 C CNN F 2 "" H 4100 7000 50 0000 C CNN F 3 "" H 4100 7000 50 0000 C CNN @@ -635,34 +611,19 @@ F 3 "" H 4100 7000 50 0000 C CNN 1 0 0 -1 $EndComp $Comp -L GND #PWR014 +L GND #PWR013 U 1 1 58CF5E8B P 4100 7100 -F 0 "#PWR014" H 4100 6850 50 0001 C CNN +F 0 "#PWR013" H 4100 6850 50 0001 C CNN F 1 "GND" H 4100 6950 50 0000 C CNN F 2 "" H 4100 7100 50 0000 C CNN F 3 "" H 4100 7100 50 0000 C CNN 1 4100 7100 1 0 0 -1 $EndComp -$Comp -L +3V3 #PWR015 -U 1 1 58CF5ED5 -P 3650 7000 -F 0 "#PWR015" H 3650 6850 50 0001 C CNN -F 1 "+3V3" H 3650 7140 50 0000 C CNN -F 2 "" H 3650 7000 50 0000 C CNN -F 3 "" H 3650 7000 50 0000 C CNN - 1 3650 7000 - 1 0 0 -1 -$EndComp -Wire Wire Line - 3650 7000 3650 7100 Wire Wire Line 4100 7000 4100 7100 -Text Notes 4600 7150 0 60 Italic 12 -TODO: VBUS to 3v3 plz! -Text Notes 5200 1500 0 60 Italic 12 +Text Notes 2400 900 0 60 Italic 12 ONLY GROUND BETWEEN BOARDS\nBoth will be powered by their own USB.\n(We're not interested in bootloading the target....\nyet...?) $Comp L C C3 @@ -697,41 +658,318 @@ F 3 "" H 2600 7000 50 0000 C CNN 1 2600 7000 1 0 0 -1 $EndComp -NoConn ~ 900 1450 -Text Notes 650 1450 0 60 ~ 0 +NoConn ~ 1250 1450 +Text Notes 1000 1450 0 60 ~ 0 CLK Wire Wire Line - 8150 4450 8700 4450 + 8150 4450 8250 4450 Wire Wire Line - 8150 4550 8700 4550 -Text Label 8450 4450 0 60 ~ 0 -UART_TX -Text Label 8450 4550 0 60 ~ 0 -UART_RX + 8150 4550 8250 4550 +Text Label 8250 4450 0 60 ~ 0 +UART_TX_OUT +Text Label 8250 4550 0 60 ~ 0 +UART_RX_OUT Wire Wire Line - 950 5450 600 5450 + 950 5450 550 5450 Wire Wire Line - 950 5550 600 5550 + 950 5550 550 5550 Wire Wire Line - 950 5650 600 5650 + 950 5650 550 5650 Wire Wire Line - 950 5750 600 5750 + 950 5750 550 5750 Text Label 550 5450 0 60 ~ 0 SPI_CS Text Label 550 5550 0 60 ~ 0 -SPI_CSK +SPI_SCK Text Label 550 5650 0 60 ~ 0 SPI_MISO Text Label 550 5750 0 60 ~ 0 SPI_MOSI Wire Wire Line - 8150 4850 8700 4850 + 8150 4850 8250 4850 Wire Wire Line - 8150 4950 8700 4950 -Text Label 8450 4850 0 60 ~ 0 + 8150 4950 8250 4950 +Text Label 8250 4850 0 60 ~ 0 ADC_IN1 -Text Label 8450 4950 0 60 ~ 0 +Text Label 8250 4950 0 60 ~ 0 ADC_IN2 Text Notes 8500 2700 0 60 ~ 0 PA4(DAC1) +$Comp +L MIC550x-3.3YM5 U2 +U 1 1 59F7B611 +P 5400 7100 +F 0 "U2" H 5150 7300 50 0000 L CNN +F 1 "MIC550x-3.3YM5" H 6000 7300 50 0000 R CNN +F 2 "TO_SOT_Packages_SMD:SOT-23-5_HandSoldering" H 6050 6850 50 0001 C CIN +F 3 "" H 5400 7100 50 0000 C CNN + 1 5400 7100 + 1 0 0 -1 +$EndComp +$Comp +L +3V3 #PWR014 +U 1 1 59F7B6BD +P 6150 6800 +F 0 "#PWR014" H 6150 6650 50 0001 C CNN +F 1 "+3V3" H 6150 6940 50 0000 C CNN +F 2 "" H 6150 6800 50 0000 C CNN +F 3 "" H 6150 6800 50 0000 C CNN + 1 6150 6800 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR015 +U 1 1 59F7B70C +P 5400 7500 +F 0 "#PWR015" H 5400 7250 50 0001 C CNN +F 1 "GND" H 5400 7350 50 0000 C CNN +F 2 "" H 5400 7500 50 0000 C CNN +F 3 "" H 5400 7500 50 0000 C CNN + 1 5400 7500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5800 7000 6150 7000 +Wire Wire Line + 6150 7000 6150 6800 +Wire Wire Line + 4850 7000 5000 7000 +Wire Wire Line + 3150 1600 3450 1600 +Wire Wire Line + 3450 1600 3450 1550 +Wire Wire Line + 3150 1600 3150 1550 +Text Label 4900 7000 0 60 ~ 0 +VBUS +Wire Wire Line + 5400 7400 5400 7500 +$Comp +L +5V #PWR016 +U 1 1 59F7C40C +P 3150 1550 +F 0 "#PWR016" H 3150 1400 50 0001 C CNN +F 1 "+5V" H 3150 1690 50 0000 C CNN +F 2 "" H 3150 1550 50 0001 C CNN +F 3 "" H 3150 1550 50 0001 C CNN + 1 3150 1550 + 1 0 0 -1 +$EndComp +Text Label 3150 1550 0 60 ~ 0 +VBUS +$Comp +L +5V #PWR017 +U 1 1 59F7C819 +P 4850 7000 +F 0 "#PWR017" H 4850 6850 50 0001 C CNN +F 1 "+5V" H 4850 7140 50 0000 C CNN +F 2 "" H 4850 7000 50 0001 C CNN +F 3 "" H 4850 7000 50 0001 C CNN + 1 4850 7000 + 1 0 0 -1 +$EndComp +NoConn ~ 950 3550 +NoConn ~ 950 3650 +NoConn ~ 3750 1550 +NoConn ~ 4050 1150 +Wire Wire Line + 5000 7200 4900 7200 +Wire Wire Line + 4900 7200 4900 7000 +Connection ~ 4900 7000 +$Comp +L CONN_01X06 J1 +U 1 1 59F7E088 +P 5350 1400 +F 0 "J1" H 5350 1750 50 0000 C CNN +F 1 "CONN_01X06" V 5450 1400 50 0000 C CNN +F 2 "Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm" H 5350 1400 50 0001 C CNN +F 3 "" H 5350 1400 50 0001 C CNN + 1 5350 1400 + -1 0 0 -1 +$EndComp +Wire Wire Line + 5550 1150 6100 1150 +Wire Wire Line + 5550 1250 5600 1250 +Wire Wire Line + 5550 1350 6100 1350 +Wire Wire Line + 5550 1450 5600 1450 +Wire Wire Line + 5550 1550 5600 1550 +Wire Wire Line + 5550 1650 5600 1650 +$Comp +L GND #PWR018 +U 1 1 59F7E9AF +P 6100 1350 +F 0 "#PWR018" H 6100 1100 50 0001 C CNN +F 1 "GND" H 6100 1200 50 0000 C CNN +F 2 "" H 6100 1350 50 0000 C CNN +F 3 "" H 6100 1350 50 0000 C CNN + 1 6100 1350 + 1 0 0 -1 +$EndComp +$Comp +L +3V3 #PWR019 +U 1 1 59F7EA7B +P 6100 1150 +F 0 "#PWR019" H 6100 1000 50 0001 C CNN +F 1 "+3V3" H 6100 1290 50 0000 C CNN +F 2 "" H 6100 1150 50 0000 C CNN +F 3 "" H 6100 1150 50 0000 C CNN + 1 6100 1150 + 1 0 0 -1 +$EndComp +Text Label 5600 1550 0 60 ~ 0 +NRST +Text Label 5600 1650 0 60 ~ 0 +SWO +Text Notes 5200 950 0 60 ~ 0 +STLink compatible debug +NoConn ~ 8150 4250 +NoConn ~ 8150 4350 +NoConn ~ 8150 5050 +NoConn ~ 8150 5150 +NoConn ~ 8150 5250 +NoConn ~ 8150 5750 +NoConn ~ 950 5350 +NoConn ~ 950 5250 +NoConn ~ 950 4950 +NoConn ~ 950 4850 +NoConn ~ 950 4750 +Text Notes -121300 438350 0 60 ~ 0 +IN/OUT from perspective of HOST\nDUT Nucleo is TARGET +Text Notes 8950 6350 0 60 ~ 0 +IN/OUT is from the perspective of HOST\nDUT Nucleo is TARGET +Text Label 1800 1350 0 60 ~ 0 +UART_TX_OUT +Text Label 5600 1250 0 60 ~ 0 +SWCLK +Text Label 5600 1450 0 60 ~ 0 +SWDIO +$Comp +L R R1 +U 1 1 5A0F8D14 +P 9350 4050 +F 0 "R1" V 9430 4050 50 0000 C CNN +F 1 "4k7" V 9350 4050 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 9280 4050 50 0001 C CNN +F 3 "" H 9350 4050 50 0001 C CNN + 1 9350 4050 + 1 0 0 -1 +$EndComp +$Comp +L R R2 +U 1 1 5A0F8EF5 +P 9650 4050 +F 0 "R2" V 9730 4050 50 0000 C CNN +F 1 "4k7" V 9650 4050 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 9580 4050 50 0001 C CNN +F 3 "" H 9650 4050 50 0001 C CNN + 1 9650 4050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9650 3900 9650 3800 +Wire Wire Line + 9650 3800 9350 3800 +Wire Wire Line + 9350 3800 9350 3900 +$Comp +L +3V3 #PWR020 +U 1 1 5A0F90D0 +P 9500 3800 +F 0 "#PWR020" H 9500 3650 50 0001 C CNN +F 1 "+3V3" H 9500 3940 50 0000 C CNN +F 2 "" H 9500 3800 50 0000 C CNN +F 3 "" H 9500 3800 50 0000 C CNN + 1 9500 3800 + 1 0 0 -1 +$EndComp +$Comp +L Jumper_NC_Small JP1 +U 1 1 5A0F91B9 +P 9350 4350 +F 0 "JP1" H 9350 4430 50 0000 C CNN +F 1 "Jumper_NC_Small" H 9360 4290 50 0000 C CNN +F 2 "Socket_Strips:Socket_Strip_Straight_2x01_Pitch2.54mm" H 9350 4350 50 0001 C CNN +F 3 "" H 9350 4350 50 0001 C CNN + 1 9350 4350 + 0 -1 -1 0 +$EndComp +$Comp +L Jumper_NC_Small JP2 +U 1 1 5A0F9269 +P 9650 4350 +F 0 "JP2" H 9650 4430 50 0000 C CNN +F 1 "Jumper_NC_Small" H 9660 4290 50 0000 C CNN +F 2 "Socket_Strips:Socket_Strip_Straight_2x01_Pitch2.54mm" H 9650 4350 50 0001 C CNN +F 3 "" H 9650 4350 50 0001 C CNN + 1 9650 4350 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 9350 4200 9350 4250 +Wire Wire Line + 9650 4200 9650 4250 +Wire Wire Line + 9650 4450 9650 4600 +Wire Wire Line + 9350 4450 9350 4600 +Text Label 9350 4600 3 60 ~ 0 +I2C_SDA +Text Label 9650 4600 3 60 ~ 0 +I2C_SCL +Text Notes 600 800 0 60 ~ 0 +Designed for a cheap FX2LA\nto be just "plugged in" for sigrok +NoConn ~ 10300 1400 +NoConn ~ 9300 1700 +NoConn ~ 9300 1800 +Wire Wire Line + 9400 2200 9300 2200 +Wire Wire Line + 9300 2200 9300 2100 +Wire Wire Line + 9400 2300 9300 2300 +NoConn ~ 9300 2300 +NoConn ~ 950 4450 +NoConn ~ 950 3150 +Text Notes 1350 3150 0 60 ~ 0 +We're using debugger only here +$Comp +L C C6 +U 1 1 5A0FB867 +P 700 3800 +F 0 "C6" H 725 3900 50 0000 L CNN +F 1 "100n" H 725 3700 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 738 3650 50 0000 C CNN +F 3 "" H 700 3800 50 0000 C CNN + 1 700 3800 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR021 +U 1 1 5A0FB8D8 +P 700 4000 +F 0 "#PWR021" H 700 3750 50 0001 C CNN +F 1 "GND" H 700 3850 50 0000 C CNN +F 2 "" H 700 4000 50 0000 C CNN +F 3 "" H 700 4000 50 0000 C CNN + 1 700 4000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 700 3650 800 3650 +Wire Wire Line + 800 3650 800 3350 +Wire Wire Line + 800 3350 950 3350 +Wire Wire Line + 700 3950 700 4000 +Text Notes -500 3850 0 60 ~ 0 +Don't place this\nI dont' think we need it +Text Notes 9000 3300 0 60 ~ 0 +TODO\n[ ] Route all spare pins to _something_? $EndSCHEMATC -- cgit