EESchema Schematic File Version 4 LIBS:vinhome-cache EELAYER 26 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 5 9 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L atmel:ATMEGA328P-AU U3 U 1 1 5B6CC01A P 5700 4150 F 0 "U3" H 5750 5517 50 0000 C CNN F 1 "ATMEGA328P-AU" H 5750 5426 50 0000 C CNN F 2 "Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm" H 5700 4150 50 0001 C CIN F 3 "http://www.atmel.com/images/atmel-8271-8-bit-avr-microcontroller-atmega48a-48pa-88a-88pa-168a-168pa-328-328p_datasheet.pdf" H 5700 4150 50 0001 C CNN 1 5700 4150 1 0 0 -1 $EndComp NoConn ~ 4800 4400 NoConn ~ 4800 4500 Connection ~ 4800 5250 $Comp L power:GND #PWR025 U 1 1 5B6CC2E7 P 4800 5400 F 0 "#PWR025" H 4800 5150 50 0001 C CNN F 1 "GND" H 4805 5227 50 0000 C CNN F 2 "" H 4800 5400 50 0001 C CNN F 3 "" H 4800 5400 50 0001 C CNN 1 4800 5400 1 0 0 -1 $EndComp Wire Wire Line 4800 5150 4800 5250 Wire Wire Line 4800 5400 4800 5350 Wire Wire Line 4800 5250 4800 5350 Connection ~ 4800 5350 Wire Wire Line 4800 3650 4800 3350 Connection ~ 4800 3150 Wire Wire Line 4800 3150 4800 3050 Connection ~ 4800 3350 Wire Wire Line 4800 3350 4800 3150 $Comp L power:+3V3 #PWR024 U 1 1 5B6CC572 P 4800 2850 F 0 "#PWR024" H 4800 2700 50 0001 C CNN F 1 "+3V3" H 4815 3023 50 0000 C CNN F 2 "" H 4800 2850 50 0001 C CNN F 3 "" H 4800 2850 50 0001 C CNN 1 4800 2850 1 0 0 -1 $EndComp Wire Wire Line 4800 2850 4800 3050 Connection ~ 4800 3050 $Comp L device:C_Small C10 U 1 1 5B6CC796 P 4700 3650 F 0 "C10" V 4471 3650 50 0000 C CNN F 1 "104" V 4562 3650 50 0000 C CNN F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4700 3650 50 0001 C CNN F 3 "" H 4700 3650 50 0001 C CNN 1 4700 3650 0 1 1 0 $EndComp Connection ~ 4800 3650 $Comp L power:GND #PWR023 U 1 1 5B6CC845 P 4500 3650 F 0 "#PWR023" H 4500 3400 50 0001 C CNN F 1 "GND" H 4505 3477 50 0000 C CNN F 2 "" H 4500 3650 50 0001 C CNN F 3 "" H 4500 3650 50 0001 C CNN 1 4500 3650 1 0 0 -1 $EndComp Wire Wire Line 4600 3650 4500 3650 $Comp L device:C_Small C11 U 1 1 5B6CD364 P 7850 3600 F 0 "C11" V 7621 3600 50 0000 C CNN F 1 "20pF" V 7712 3600 50 0000 C CNN F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3600 50 0001 C CNN F 3 "" H 7850 3600 50 0001 C CNN 1 7850 3600 0 1 1 0 $EndComp $Comp L device:C_Small C12 U 1 1 5B6CD756 P 7850 3900 F 0 "C12" V 7621 3900 50 0000 C CNN F 1 "20pF" V 7950 3950 50 0000 C CNN F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3900 50 0001 C CNN F 3 "" H 7850 3900 50 0001 C CNN 1 7850 3900 0 1 1 0 $EndComp $Comp L power:GND #PWR026 U 1 1 5B6CDA03 P 8000 3700 F 0 "#PWR026" H 8000 3450 50 0001 C CNN F 1 "GND" V 8005 3572 50 0000 R CNN F 2 "" H 8000 3700 50 0001 C CNN F 3 "" H 8000 3700 50 0001 C CNN 1 8000 3700 0 -1 -1 0 $EndComp Wire Wire Line 6700 4650 6915 4650 Wire Wire Line 6700 4750 6910 4750 Text Label 6775 4650 0 50 ~ 0 RXD_AT Text Label 6785 4750 0 50 ~ 0 TXD_AT Text Label 6800 4500 0 50 ~ 0 RESET Wire Wire Line 6700 3050 7000 3050 Wire Wire Line 6700 3150 7000 3150 Wire Wire Line 6700 3250 7000 3250 Wire Wire Line 6700 3350 7000 3350 Wire Wire Line 6700 3450 7000 3450 Wire Wire Line 6700 3550 7000 3550 Wire Wire Line 6700 3900 7000 3900 Wire Wire Line 6700 4000 7000 4000 Wire Wire Line 6700 4100 7000 4100 Wire Wire Line 6700 4200 7000 4200 Wire Wire Line 6700 4300 7000 4300 Wire Wire Line 6700 4400 7000 4400 Wire Wire Line 6700 4850 6950 4850 Wire Wire Line 6700 4950 6950 4950 Wire Wire Line 6700 5050 6950 5050 Wire Wire Line 6700 5150 6950 5150 Wire Wire Line 6700 5250 6950 5250 Wire Wire Line 6700 5350 6950 5350 Text HLabel 7000 3050 2 50 Input ~ 0 PB0 Text HLabel 7000 3150 2 50 Input ~ 0 PB1 Text HLabel 7000 3250 2 50 Input ~ 0 PB2 Text HLabel 7000 3350 2 50 Input ~ 0 MOSI Text HLabel 7000 3450 2 50 Input ~ 0 MISO Text HLabel 7000 3550 2 50 Input ~ 0 SCK Text HLabel 7000 3900 2 50 Input ~ 0 PC0 Text HLabel 7000 4000 2 50 Input ~ 0 PC1 Text HLabel 7000 4100 2 50 Input ~ 0 PC2 Text HLabel 7000 4200 2 50 Input ~ 0 PC3 Text HLabel 7000 4300 2 50 Input ~ 0 SDA Text HLabel 7000 4400 2 50 Input ~ 0 SCL Text HLabel 6950 4850 2 50 Input ~ 0 PD2 Text HLabel 6950 4950 2 50 Input ~ 0 PD3 Text HLabel 6950 5050 2 50 Input ~ 0 PD4 Text HLabel 6950 5150 2 50 Input ~ 0 PD5 Text HLabel 6950 5250 2 50 Input ~ 0 PD6 Text HLabel 6950 5350 2 50 Input ~ 0 PD7 $Comp L power:+3V3 #PWR021 U 1 1 5B6D8146 P 1650 1750 F 0 "#PWR021" H 1650 1600 50 0001 C CNN F 1 "+3V3" H 1665 1923 50 0000 C CNN F 2 "" H 1650 1750 50 0001 C CNN F 3 "" H 1650 1750 50 0001 C CNN 1 1650 1750 -1 0 0 1 $EndComp Wire Wire Line 1550 1750 1650 1750 $Comp L power:GND #PWR022 U 1 1 5B6D8D77 P 1750 1650 F 0 "#PWR022" H 1750 1400 50 0001 C CNN F 1 "GND" V 1755 1522 50 0000 R CNN F 2 "" H 1750 1650 50 0001 C CNN F 3 "" H 1750 1650 50 0001 C CNN 1 1750 1650 0 -1 -1 0 $EndComp Wire Wire Line 1550 1650 1750 1650 Wire Wire Line 1550 1550 1850 1550 Text Label 1650 1550 0 50 ~ 0 TXD_AT Wire Wire Line 1550 1450 1850 1450 Text Label 1650 1450 0 50 ~ 0 RXD_AT Wire Wire Line 1550 1350 1750 1350 $Comp L device:C_Small C9 U 1 1 5B6DC171 P 1850 1350 F 0 "C9" V 1700 1450 50 0000 C CNN F 1 "104" V 1800 1450 50 0000 C CNN F 2 "Capacitors_SMD:C_0805" H 1850 1350 50 0001 C CNN F 3 "" H 1850 1350 50 0001 C CNN 1 1850 1350 0 1 1 0 $EndComp Wire Wire Line 1950 1350 2050 1350 Text Label 2000 1350 0 50 ~ 0 RESET Wire Wire Line 6700 4500 7400 4500 $Comp L device:R R8 U 1 1 5B6EB8E6 P 7550 4500 F 0 "R8" V 7757 4500 50 0000 C CNN F 1 "10k" V 7666 4500 50 0000 C CNN F 2 "Resistors_SMD:R_0805_HandSoldering" V 7480 4500 50 0001 C CNN F 3 "" H 7550 4500 50 0001 C CNN 1 7550 4500 0 -1 -1 0 $EndComp $Comp L power:+3V3 #PWR027 U 1 1 5B6ECCB2 P 7800 4500 F 0 "#PWR027" H 7800 4350 50 0001 C CNN F 1 "+3V3" V 7815 4628 50 0000 L CNN F 2 "" H 7800 4500 50 0001 C CNN F 3 "" H 7800 4500 50 0001 C CNN 1 7800 4500 0 1 1 0 $EndComp Wire Wire Line 7700 4500 7800 4500 $Comp L Connector:Conn_01x08 J6 U 1 1 5B7787F8 P 1350 1450 F 0 "J6" H 1270 825 50 0000 C CNN F 1 "Conn_01x08" H 1270 916 50 0000 C CNN F 2 "Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm" H 1350 1450 50 0001 C CNN F 3 "~" H 1350 1450 50 0001 C CNN 1 1350 1450 -1 0 0 1 $EndComp $Comp L power:+3V3 #PWR030 U 1 1 5B778BF8 P 1650 950 F 0 "#PWR030" H 1650 800 50 0001 C CNN F 1 "+3V3" H 1665 1123 50 0000 C CNN F 2 "" H 1650 950 50 0001 C CNN F 3 "" H 1650 950 50 0001 C CNN 1 1650 950 1 0 0 -1 $EndComp Wire Wire Line 1550 1050 1650 1050 Wire Wire Line 1650 1050 1650 950 Wire Wire Line 1550 1150 2050 1150 Wire Wire Line 2050 1150 2050 1350 Connection ~ 2050 1350 Wire Wire Line 2050 1350 2200 1350 $Comp L power:GND #PWR015 U 1 1 5B77AECA P 1600 1250 F 0 "#PWR015" H 1600 1000 50 0001 C CNN F 1 "GND" V 1605 1122 50 0000 R CNN F 2 "" H 1600 1250 50 0001 C CNN F 3 "" H 1600 1250 50 0001 C CNN 1 1600 1250 0 -1 -1 0 $EndComp Wire Wire Line 1550 1250 1600 1250 Text Label 6750 4300 0 50 ~ 0 SDA Text Label 6750 4400 0 50 ~ 0 SCL $Comp L device:R R14 U 1 1 5B77D8B7 P 8600 4150 F 0 "R14" H 8530 4104 50 0000 R CNN F 1 "10k" H 8530 4195 50 0000 R CNN F 2 "Resistors_SMD:R_0805" V 8530 4150 50 0001 C CNN F 3 "" H 8600 4150 50 0001 C CNN 1 8600 4150 -1 0 0 1 $EndComp $Comp L device:R R13 U 1 1 5B77D98E P 8400 4150 F 0 "R13" H 8330 4104 50 0000 R CNN F 1 "10k" H 8330 4195 50 0000 R CNN F 2 "Resistors_SMD:R_0805" V 8330 4150 50 0001 C CNN F 3 "" H 8400 4150 50 0001 C CNN 1 8400 4150 -1 0 0 1 $EndComp Wire Wire Line 8400 4000 8500 4000 $Comp L power:+3V3 #PWR031 U 1 1 5B7875E5 P 8500 4000 F 0 "#PWR031" H 8500 3850 50 0001 C CNN F 1 "+3V3" V 8515 4128 50 0000 L CNN F 2 "" H 8500 4000 50 0001 C CNN F 3 "" H 8500 4000 50 0001 C CNN 1 8500 4000 1 0 0 -1 $EndComp Connection ~ 8500 4000 Wire Wire Line 8500 4000 8600 4000 Wire Wire Line 8400 4300 8400 4450 Wire Wire Line 8600 4300 8600 4450 Text Label 8400 4450 1 50 ~ 0 SDA Text Label 8600 4450 1 50 ~ 0 SCL Wire Wire Line 7250 3650 7250 3600 Wire Wire Line 6700 3650 7250 3650 Wire Wire Line 7950 3600 8000 3600 Wire Wire Line 8000 3600 8000 3700 Wire Wire Line 7200 3750 7200 3900 Wire Wire Line 6700 3750 7200 3750 Wire Wire Line 7950 3900 8000 3900 Wire Wire Line 8000 3900 8000 3750 Connection ~ 8000 3700 Text Label 6750 3550 0 50 ~ 0 SCK Text Label 6750 3450 0 50 ~ 0 MISO Text Label 6750 3350 0 50 ~ 0 MOSI Connection ~ 8000 3750 Wire Wire Line 8000 3750 8000 3700 $Comp L device:Crystal_GND24 Y1 U 1 1 5BA8A92C P 7450 3750 F 0 "Y1" V 7404 3991 50 0000 L CNN F 1 "Crystal_GND24" V 7495 3991 50 0000 L CNN F 2 "Crystals:Crystal_SMD_3225-4pin_3.2x2.5mm" H 7450 3750 50 0001 C CNN F 3 "" H 7450 3750 50 0001 C CNN 1 7450 3750 0 1 1 0 $EndComp Wire Wire Line 7250 3600 7450 3600 Connection ~ 7450 3600 Wire Wire Line 7450 3600 7750 3600 Wire Wire Line 7200 3900 7450 3900 Connection ~ 7450 3900 Wire Wire Line 7450 3900 7750 3900 Wire Wire Line 7650 3750 8000 3750 Wire Wire Line 7250 3750 7650 3750 Connection ~ 7650 3750 $EndSCHEMATC