EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr Text GLabel 2800 2350 0 50 Output ~ 0 TX Text GLabel 2800 2450 0 50 Input ~ 0 RX Text GLabel 4200 2250 2 50 Input ~ 0 UPDI Wire Wire Line 4100 2250 4200 2250 Wire Wire Line 2800 2150 2900 2150 Wire Wire Line 2800 2250 2900 2250 Wire Wire Line 2800 2350 2900 2350 Wire Wire Line 2800 2450 2900 2450 $Comp L power:GND #PWR0101 U 1 1 60AB0B74 P 3500 3550 F 0 "#PWR0101" H 3500 3300 50 0001 C CNN F 1 "GND" H 3505 3377 50 0000 C CNN F 2 "" H 3500 3550 50 0001 C CNN F 3 "" H 3500 3550 50 0001 C CNN 1 3500 3550 1 0 0 -1 $EndComp Wire Wire Line 3500 3550 3500 3450 $Comp L power:VCC #PWR0102 U 1 1 60AB1F5D P 3500 1750 F 0 "#PWR0102" H 3500 1600 50 0001 C CNN F 1 "VCC" H 3515 1923 50 0000 C CNN F 2 "" H 3500 1750 50 0001 C CNN F 3 "" H 3500 1750 50 0001 C CNN 1 3500 1750 1 0 0 -1 $EndComp Wire Wire Line 3500 1750 3500 1850 $Comp L Connector:Conn_01x02_Male J3 U 1 1 60AD7B24 P 900 7050 F 0 "J3" H 1008 7231 50 0000 C CNN F 1 "UPDI" H 1008 7140 50 0000 C CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical_SMD_Pin1Left" H 900 7050 50 0001 C CNN F 3 "~" H 900 7050 50 0001 C CNN 1 900 7050 1 0 0 -1 $EndComp Text GLabel 1200 7050 2 50 Input ~ 0 UPDI $Comp L Connector:Conn_01x04_Male J5 U 1 1 60AE2610 P 1700 7150 F 0 "J5" H 1808 7431 50 0000 C CNN F 1 "Serial" H 1808 7340 50 0000 C CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical_SMD_Pin1Left" H 1700 7150 50 0001 C CNN F 3 "~" H 1700 7150 50 0001 C CNN 1 1700 7150 1 0 0 -1 $EndComp $Comp L power:VCC #PWR0110 U 1 1 60AE2D5F P 2000 7050 F 0 "#PWR0110" H 2000 6900 50 0001 C CNN F 1 "VCC" H 2015 7223 50 0000 C CNN F 2 "" H 2000 7050 50 0001 C CNN F 3 "" H 2000 7050 50 0001 C CNN 1 2000 7050 1 0 0 -1 $EndComp $Comp L power:GND #PWR0111 U 1 1 60AE329E P 2000 7150 F 0 "#PWR0111" H 2000 6900 50 0001 C CNN F 1 "GND" H 2005 6977 50 0000 C CNN F 2 "" H 2000 7150 50 0001 C CNN F 3 "" H 2000 7150 50 0001 C CNN 1 2000 7150 1 0 0 -1 $EndComp Text GLabel 2100 7350 2 50 Input ~ 0 TX Text GLabel 2100 7250 2 50 Input ~ 0 RX Wire Wire Line 1900 7250 2100 7250 Wire Wire Line 1900 7350 2100 7350 Wire Wire Line 2000 7150 1900 7150 Wire Wire Line 1900 7050 2000 7050 $Comp L power:GND #PWR0112 U 1 1 60AEFEA0 P 2450 3250 F 0 "#PWR0112" H 2450 3000 50 0001 C CNN F 1 "GND" H 2455 3077 50 0000 C CNN F 2 "" H 2450 3250 50 0001 C CNN F 3 "" H 2450 3250 50 0001 C CNN 1 2450 3250 1 0 0 -1 $EndComp $Comp L FabAcademy:LED D1 U 1 1 60B194C2 P 7150 3050 F 0 "D1" H 7143 2795 50 0000 C CNN F 1 "LED" H 7143 2886 50 0000 C CNN F 2 "Package_SO:SOIC-8_7.5x5.85mm_P1.27mm" H 7150 3050 50 0001 C CNN F 3 "https://optoelectronics.liteon.com/upload/download/DS-22-98-0002/LTST-C150CKT.pdf" H 7150 3050 50 0001 C CNN 1 7150 3050 0 -1 -1 0 $EndComp $Comp L FabAcademy:R R1 U 1 1 60B1A060 P 7150 2650 F 0 "R1" V 6943 2650 50 0000 C CNN F 1 "180" V 7034 2650 50 0000 C CNN F 2 "FabAcademy:R_1206" V 7080 2650 50 0001 C CNN F 3 "~" H 7150 2650 50 0001 C CNN 1 7150 2650 -1 0 0 1 $EndComp Wire Wire Line 4200 2350 4100 2350 $Comp L Interface_UART:MAX485E U2 U 1 1 60ABB043 P 8250 2600 F 0 "U2" H 8250 3281 50 0000 C CNN F 1 "MAX485E" H 8250 3190 50 0000 C CNN F 2 "Package_SO:SOIC-8_7.5x5.85mm_P1.27mm" H 8250 1900 50 0001 C CNN F 3 "https://datasheets.maximintegrated.com/en/ds/MAX1487E-MAX491E.pdf" H 8250 2650 50 0001 C CNN 1 8250 2600 1 0 0 -1 $EndComp Wire Wire Line 2350 2850 2900 2850 Wire Wire Line 2350 2950 2900 2950 Wire Wire Line 2350 3050 2900 3050 Wire Wire Line 2350 3150 2900 3150 Wire Wire Line 7850 2600 7850 2700 Text GLabel 7750 2500 0 50 Output ~ 0 RX Text GLabel 7750 2600 0 50 Input ~ 0 DIR Text GLabel 7750 2800 0 50 Output ~ 0 TX Wire Wire Line 7750 2500 7850 2500 Wire Wire Line 7750 2600 7850 2600 Connection ~ 7850 2600 Wire Wire Line 7750 2800 7850 2800 Text GLabel 2800 2550 0 50 Output ~ 0 DIR $Comp L power:VCC #PWR0114 U 1 1 60AE8167 P 3400 7050 F 0 "#PWR0114" H 3400 6900 50 0001 C CNN F 1 "VCC" H 3415 7223 50 0000 C CNN F 2 "" H 3400 7050 50 0001 C CNN F 3 "" H 3400 7050 50 0001 C CNN 1 3400 7050 1 0 0 -1 $EndComp Text GLabel 8850 2500 2 50 BiDi ~ 0 A Text GLabel 8850 2800 2 50 BiDi ~ 0 B Wire Wire Line 8650 2500 8750 2500 Wire Wire Line 8650 2800 8750 2800 Text GLabel 3400 7150 0 50 BiDi ~ 0 A Text GLabel 4100 7150 2 50 BiDi ~ 0 B $Comp L FabAcademy:R R2 U 1 1 60B8E29B P 8750 2650 F 0 "R2" H 8820 2696 50 0000 L CNN F 1 "120" H 8820 2605 50 0000 L CNN F 2 "FabAcademy:R_1206" V 8680 2650 50 0001 C CNN F 3 "~" H 8750 2650 50 0001 C CNN 1 8750 2650 1 0 0 -1 $EndComp Connection ~ 8750 2500 Wire Wire Line 8750 2500 8850 2500 Connection ~ 8750 2800 Wire Wire Line 8750 2800 8850 2800 $Comp L power:GND #PWR0103 U 1 1 60B938A6 P 8250 3300 F 0 "#PWR0103" H 8250 3050 50 0001 C CNN F 1 "GND" H 8255 3127 50 0000 C CNN F 2 "" H 8250 3300 50 0001 C CNN F 3 "" H 8250 3300 50 0001 C CNN 1 8250 3300 1 0 0 -1 $EndComp Wire Wire Line 8250 3200 8250 3300 $Comp L power:VCC #PWR0104 U 1 1 60B93500 P 8250 2000 F 0 "#PWR0104" H 8250 1850 50 0001 C CNN F 1 "VCC" H 8265 2173 50 0000 C CNN F 2 "" H 8250 2000 50 0001 C CNN F 3 "" H 8250 2000 50 0001 C CNN 1 8250 2000 1 0 0 -1 $EndComp Wire Wire Line 8250 2000 8250 2100 $Comp L FabAcademy:R R3 U 1 1 60BA5B07 P 6500 7200 F 0 "R3" H 6570 7246 50 0000 L CNN F 1 "0" H 6570 7155 50 0000 L CNN F 2 "FabAcademy:R_1206" V 6430 7200 50 0001 C CNN F 3 "~" H 6500 7200 50 0001 C CNN 1 6500 7200 1 0 0 -1 $EndComp Text GLabel 6400 7050 0 50 Input ~ 0 DIR Text GLabel 6600 7350 2 50 Input ~ 0 DIR Wire Wire Line 6400 7050 6500 7050 Wire Wire Line 6500 7350 6600 7350 Wire Wire Line 2800 2550 2900 2550 Text GLabel 2800 2150 0 50 Output ~ 0 SCL Text GLabel 2800 2250 0 50 BiDi ~ 0 SDA $Comp L FabAcademy:C C1 U 1 1 60BBDFE3 P 5700 7200 F 0 "C1" H 5815 7246 50 0000 L CNN F 1 "1uF" H 5815 7155 50 0000 L CNN F 2 "FabAcademy:C_1206" H 5738 7050 50 0001 C CNN F 3 "" H 5700 7200 50 0001 C CNN 1 5700 7200 1 0 0 -1 $EndComp $Comp L power:VCC #PWR0108 U 1 1 60BC47D3 P 5700 7050 F 0 "#PWR0108" H 5700 6900 50 0001 C CNN F 1 "VCC" H 5715 7223 50 0000 C CNN F 2 "" H 5700 7050 50 0001 C CNN F 3 "" H 5700 7050 50 0001 C CNN 1 5700 7050 1 0 0 -1 $EndComp $Comp L power:GND #PWR0109 U 1 1 60BC4DB5 P 5700 7350 F 0 "#PWR0109" H 5700 7100 50 0001 C CNN F 1 "GND" H 5705 7177 50 0000 C CNN F 2 "" H 5700 7350 50 0001 C CNN F 3 "" H 5700 7350 50 0001 C CNN 1 5700 7350 1 0 0 -1 $EndComp $Comp L power:GND #PWR0117 U 1 1 60BE1381 P 1200 7150 F 0 "#PWR0117" H 1200 6900 50 0001 C CNN F 1 "GND" H 1205 6977 50 0000 C CNN F 2 "" H 1200 7150 50 0001 C CNN F 3 "" H 1200 7150 50 0001 C CNN 1 1200 7150 1 0 0 -1 $EndComp Wire Wire Line 1200 7150 1100 7150 Wire Wire Line 1100 7050 1200 7050 $Comp L power:GND #PWR0116 U 1 1 60AD4F6E P 4100 7050 F 0 "#PWR0116" H 4100 6800 50 0001 C CNN F 1 "GND" H 4105 6877 50 0000 C CNN F 2 "" H 4100 7050 50 0001 C CNN F 3 "" H 4100 7050 50 0001 C CNN 1 4100 7050 -1 0 0 1 $EndComp Wire Wire Line 3400 7050 3500 7050 Wire Wire Line 3400 7150 3500 7150 Wire Wire Line 4000 7050 4100 7050 Wire Wire Line 4000 7150 4100 7150 $Comp L Connector_Generic:Conn_02x03_Odd_Even J1 U 1 1 60ADCA83 P 3700 7150 F 0 "J1" H 3750 7467 50 0000 C CNN F 1 "RS485" H 3750 7376 50 0000 C CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical_SMD" H 3700 7150 50 0001 C CNN F 3 "~" H 3700 7150 50 0001 C CNN 1 3700 7150 1 0 0 -1 $EndComp Text GLabel 2800 2650 0 50 Output ~ 0 SEL Wire Wire Line 2800 2650 2900 2650 $Comp L power:GND #PWR0105 U 1 1 60AFF808 P 7150 3300 F 0 "#PWR0105" H 7150 3050 50 0001 C CNN F 1 "GND" H 7155 3127 50 0000 C CNN F 2 "" H 7150 3300 50 0001 C CNN F 3 "" H 7150 3300 50 0001 C CNN 1 7150 3300 1 0 0 -1 $EndComp Wire Wire Line 7150 3200 7150 3300 Text GLabel 7150 2400 0 50 Input ~ 0 SEL Wire Wire Line 7150 2400 7150 2500 Wire Wire Line 7150 2800 7150 2900 $Comp L Connector:Conn_01x05_Male J2 U 1 1 60AC5B46 P 2150 3050 F 0 "J2" H 2258 3431 50 0000 C CNN F 1 "LEDs" H 2258 3340 50 0000 C CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical_SMD_Pin1Left" H 2150 3050 50 0001 C CNN F 3 "~" H 2150 3050 50 0001 C CNN 1 2150 3050 1 0 0 -1 $EndComp Wire Wire Line 2350 3250 2450 3250 $Comp L FabAcademy:Microcontroller_ATtiny3216-SFR U1 U 1 1 60A971BB P 3500 2650 F 0 "U1" H 3500 3631 50 0000 C CNN F 1 "Microcontroller_ATtiny3216-SFR" H 3500 3540 50 0000 C CNN F 2 "FabAcademy:SOIC-20_7.5x12.8mm_P1.27mm" H 3500 2650 50 0001 C CIN F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny3216_ATtiny1616-data-sheet-40001997B.pdf" H 3500 2650 50 0001 C CNN 1 3500 2650 1 0 0 -1 $EndComp Wire Wire Line 4100 3050 4200 3050 $Comp L Connector:Conn_01x05_Male J4 U 1 1 60ACB9F7 P 4400 2850 F 0 "J4" H 4372 2874 50 0000 R CNN F 1 "Buttons" H 4372 2783 50 0000 R CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical_SMD_Pin1Left" H 4400 2850 50 0001 C CNN F 3 "~" H 4400 2850 50 0001 C CNN 1 4400 2850 -1 0 0 -1 $EndComp $Comp L power:GND #PWR0106 U 1 1 60AD0544 P 4100 3050 F 0 "#PWR0106" H 4100 2800 50 0001 C CNN F 1 "GND" H 4105 2877 50 0000 C CNN F 2 "" H 4100 3050 50 0001 C CNN F 3 "" H 4100 3050 50 0001 C CNN 1 4100 3050 1 0 0 -1 $EndComp Wire Wire Line 4100 2650 4200 2650 Wire Wire Line 4200 2750 4100 2750 Wire Wire Line 4100 2850 4200 2850 Wire Wire Line 4200 2950 4100 2950 $EndSCHEMATC