atmega328.sch 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. EESchema Schematic File Version 4
  2. LIBS:vinhome-cache
  3. EELAYER 26 0
  4. EELAYER END
  5. $Descr A4 11693 8268
  6. encoding utf-8
  7. Sheet 6 8
  8. Title ""
  9. Date ""
  10. Rev ""
  11. Comp ""
  12. Comment1 ""
  13. Comment2 ""
  14. Comment3 ""
  15. Comment4 ""
  16. $EndDescr
  17. $Comp
  18. L atmel:ATMEGA328P-AU U3
  19. U 1 1 5B6CC01A
  20. P 5700 4150
  21. F 0 "U3" H 5750 5517 50 0000 C CNN
  22. F 1 "ATMEGA328P-AU" H 5750 5426 50 0000 C CNN
  23. F 2 "Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm" H 5700 4150 50 0001 C CIN
  24. 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
  25. 1 5700 4150
  26. 1 0 0 -1
  27. $EndComp
  28. NoConn ~ 4800 4400
  29. NoConn ~ 4800 4500
  30. Connection ~ 4800 5250
  31. $Comp
  32. L power:GND #PWR025
  33. U 1 1 5B6CC2E7
  34. P 4800 5400
  35. F 0 "#PWR025" H 4800 5150 50 0001 C CNN
  36. F 1 "GND" H 4805 5227 50 0000 C CNN
  37. F 2 "" H 4800 5400 50 0001 C CNN
  38. F 3 "" H 4800 5400 50 0001 C CNN
  39. 1 4800 5400
  40. 1 0 0 -1
  41. $EndComp
  42. Wire Wire Line
  43. 4800 5150 4800 5250
  44. Wire Wire Line
  45. 4800 5400 4800 5350
  46. Wire Wire Line
  47. 4800 5250 4800 5350
  48. Connection ~ 4800 5350
  49. Wire Wire Line
  50. 4800 3650 4800 3350
  51. Connection ~ 4800 3150
  52. Wire Wire Line
  53. 4800 3150 4800 3050
  54. Connection ~ 4800 3350
  55. Wire Wire Line
  56. 4800 3350 4800 3150
  57. $Comp
  58. L power:+3V3 #PWR024
  59. U 1 1 5B6CC572
  60. P 4800 2850
  61. F 0 "#PWR024" H 4800 2700 50 0001 C CNN
  62. F 1 "+3V3" H 4815 3023 50 0000 C CNN
  63. F 2 "" H 4800 2850 50 0001 C CNN
  64. F 3 "" H 4800 2850 50 0001 C CNN
  65. 1 4800 2850
  66. 1 0 0 -1
  67. $EndComp
  68. Wire Wire Line
  69. 4800 2850 4800 3050
  70. Connection ~ 4800 3050
  71. $Comp
  72. L device:C_Small C10
  73. U 1 1 5B6CC796
  74. P 4700 3650
  75. F 0 "C10" V 4471 3650 50 0000 C CNN
  76. F 1 "104" V 4562 3650 50 0000 C CNN
  77. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4700 3650 50 0001 C CNN
  78. F 3 "" H 4700 3650 50 0001 C CNN
  79. 1 4700 3650
  80. 0 1 1 0
  81. $EndComp
  82. Connection ~ 4800 3650
  83. $Comp
  84. L power:GND #PWR023
  85. U 1 1 5B6CC845
  86. P 4500 3650
  87. F 0 "#PWR023" H 4500 3400 50 0001 C CNN
  88. F 1 "GND" H 4505 3477 50 0000 C CNN
  89. F 2 "" H 4500 3650 50 0001 C CNN
  90. F 3 "" H 4500 3650 50 0001 C CNN
  91. 1 4500 3650
  92. 1 0 0 -1
  93. $EndComp
  94. Wire Wire Line
  95. 4600 3650 4500 3650
  96. $Comp
  97. L device:Crystal_GND24_Small Y1
  98. U 1 1 5B6CCC42
  99. P 7000 3700
  100. F 0 "Y1" V 6954 3866 50 0000 L CNN
  101. F 1 "16MHZ" V 7045 3866 50 0000 L CNN
  102. F 2 "Crystals:Crystal_SMD_5032-4pin_5.0x3.2mm" H 7000 3700 50 0001 C CNN
  103. F 3 "" H 7000 3700 50 0001 C CNN
  104. 1 7000 3700
  105. 0 1 1 0
  106. $EndComp
  107. Wire Wire Line
  108. 6850 3650 6850 3600
  109. Wire Wire Line
  110. 6850 3600 7000 3600
  111. Wire Wire Line
  112. 6700 3650 6850 3650
  113. Wire Wire Line
  114. 6700 3750 6850 3750
  115. Wire Wire Line
  116. 6850 3750 6850 3800
  117. Wire Wire Line
  118. 6850 3800 7000 3800
  119. $Comp
  120. L device:C_Small C11
  121. U 1 1 5B6CD364
  122. P 7300 3600
  123. F 0 "C11" V 7071 3600 50 0000 C CNN
  124. F 1 "20pF" V 7162 3600 50 0000 C CNN
  125. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7300 3600 50 0001 C CNN
  126. F 3 "" H 7300 3600 50 0001 C CNN
  127. 1 7300 3600
  128. 0 1 1 0
  129. $EndComp
  130. Wire Wire Line
  131. 7200 3600 7000 3600
  132. Connection ~ 7000 3600
  133. $Comp
  134. L device:C_Small C12
  135. U 1 1 5B6CD756
  136. P 7300 3800
  137. F 0 "C12" V 7071 3800 50 0000 C CNN
  138. F 1 "20pF" V 7400 3850 50 0000 C CNN
  139. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7300 3800 50 0001 C CNN
  140. F 3 "" H 7300 3800 50 0001 C CNN
  141. 1 7300 3800
  142. 0 1 1 0
  143. $EndComp
  144. Wire Wire Line
  145. 7000 3800 7200 3800
  146. Connection ~ 7000 3800
  147. $Comp
  148. L power:GND #PWR026
  149. U 1 1 5B6CDA03
  150. P 7500 3700
  151. F 0 "#PWR026" H 7500 3450 50 0001 C CNN
  152. F 1 "GND" V 7505 3572 50 0000 R CNN
  153. F 2 "" H 7500 3700 50 0001 C CNN
  154. F 3 "" H 7500 3700 50 0001 C CNN
  155. 1 7500 3700
  156. 0 -1 -1 0
  157. $EndComp
  158. Wire Wire Line
  159. 7400 3600 7400 3700
  160. Wire Wire Line
  161. 6875 3700 7125 3700
  162. Connection ~ 7400 3700
  163. Wire Wire Line
  164. 7400 3700 7400 3800
  165. Connection ~ 7125 3700
  166. Wire Wire Line
  167. 7125 3700 7400 3700
  168. Wire Wire Line
  169. 6700 4650 6915 4650
  170. Wire Wire Line
  171. 6700 4750 6910 4750
  172. Text Label 6775 4650 0 50 ~ 0
  173. RXD_AT
  174. Text Label 6785 4750 0 50 ~ 0
  175. TXD_AT
  176. Text Label 6800 4500 0 50 ~ 0
  177. RESET
  178. Wire Wire Line
  179. 6700 3050 7000 3050
  180. Wire Wire Line
  181. 6700 3150 7000 3150
  182. Wire Wire Line
  183. 6700 3250 7000 3250
  184. Wire Wire Line
  185. 6700 3350 7000 3350
  186. Wire Wire Line
  187. 6700 3450 7000 3450
  188. Wire Wire Line
  189. 6700 3550 7000 3550
  190. Wire Wire Line
  191. 6700 3900 7000 3900
  192. Wire Wire Line
  193. 6700 4000 7000 4000
  194. Wire Wire Line
  195. 6700 4100 7000 4100
  196. Wire Wire Line
  197. 6700 4200 7000 4200
  198. Wire Wire Line
  199. 6700 4300 7000 4300
  200. Wire Wire Line
  201. 6700 4400 7000 4400
  202. Wire Wire Line
  203. 6700 4850 6950 4850
  204. Wire Wire Line
  205. 6700 4950 6950 4950
  206. Wire Wire Line
  207. 6700 5050 6950 5050
  208. Wire Wire Line
  209. 6700 5150 6950 5150
  210. Wire Wire Line
  211. 6700 5250 6950 5250
  212. Wire Wire Line
  213. 6700 5350 6950 5350
  214. Text HLabel 7000 3050 2 50 Input ~ 0
  215. PB0
  216. Text HLabel 7000 3150 2 50 Input ~ 0
  217. PB1
  218. Text HLabel 7000 3250 2 50 Input ~ 0
  219. PB2
  220. Text HLabel 7000 3350 2 50 Input ~ 0
  221. MOSI
  222. Text HLabel 7000 3450 2 50 Input ~ 0
  223. MISO
  224. Text HLabel 7000 3550 2 50 Input ~ 0
  225. SCK
  226. Text HLabel 7000 3900 2 50 Input ~ 0
  227. PC0
  228. Text HLabel 7000 4000 2 50 Input ~ 0
  229. PC1
  230. Text HLabel 7000 4100 2 50 Input ~ 0
  231. PC2
  232. Text HLabel 7000 4200 2 50 Input ~ 0
  233. PC3
  234. Text HLabel 7000 4300 2 50 Input ~ 0
  235. SDA
  236. Text HLabel 7000 4400 2 50 Input ~ 0
  237. SCL
  238. Text HLabel 6950 4850 2 50 Input ~ 0
  239. PD2
  240. Text HLabel 6950 4950 2 50 Input ~ 0
  241. PD3
  242. Text HLabel 6950 5050 2 50 Input ~ 0
  243. PD4
  244. Text HLabel 6950 5150 2 50 Input ~ 0
  245. PD5
  246. Text HLabel 6950 5250 2 50 Input ~ 0
  247. PD6
  248. Text HLabel 6950 5350 2 50 Input ~ 0
  249. PD7
  250. $Comp
  251. L Connector:Conn_01x05 J7
  252. U 1 1 5B6D7EF3
  253. P 1350 1550
  254. F 0 "J7" H 1270 1125 50 0000 C CNN
  255. F 1 "nap serial atmega328" H 1450 1250 50 0000 C CNN
  256. F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 1350 1550 50 0001 C CNN
  257. F 3 "~" H 1350 1550 50 0001 C CNN
  258. 1 1350 1550
  259. -1 0 0 1
  260. $EndComp
  261. $Comp
  262. L power:+3V3 #PWR021
  263. U 1 1 5B6D8146
  264. P 1650 1750
  265. F 0 "#PWR021" H 1650 1600 50 0001 C CNN
  266. F 1 "+3V3" H 1665 1923 50 0000 C CNN
  267. F 2 "" H 1650 1750 50 0001 C CNN
  268. F 3 "" H 1650 1750 50 0001 C CNN
  269. 1 1650 1750
  270. -1 0 0 1
  271. $EndComp
  272. Wire Wire Line
  273. 1550 1750 1650 1750
  274. $Comp
  275. L power:GND #PWR022
  276. U 1 1 5B6D8D77
  277. P 1750 1650
  278. F 0 "#PWR022" H 1750 1400 50 0001 C CNN
  279. F 1 "GND" V 1755 1522 50 0000 R CNN
  280. F 2 "" H 1750 1650 50 0001 C CNN
  281. F 3 "" H 1750 1650 50 0001 C CNN
  282. 1 1750 1650
  283. 0 -1 -1 0
  284. $EndComp
  285. Wire Wire Line
  286. 1550 1650 1750 1650
  287. Wire Wire Line
  288. 1550 1550 1850 1550
  289. Text Label 1650 1550 0 50 ~ 0
  290. TXD_AT
  291. Wire Wire Line
  292. 1550 1450 1850 1450
  293. Text Label 1650 1450 0 50 ~ 0
  294. RXD_AT
  295. Wire Wire Line
  296. 1550 1350 1750 1350
  297. $Comp
  298. L device:C_Small C9
  299. U 1 1 5B6DC171
  300. P 1850 1350
  301. F 0 "C9" V 1621 1350 50 0000 C CNN
  302. F 1 "104" V 1712 1350 50 0000 C CNN
  303. F 2 "Capacitors_SMD:C_0805" H 1850 1350 50 0001 C CNN
  304. F 3 "" H 1850 1350 50 0001 C CNN
  305. 1 1850 1350
  306. 0 1 1 0
  307. $EndComp
  308. Wire Wire Line
  309. 1950 1350 2200 1350
  310. Text Label 2000 1350 0 50 ~ 0
  311. RESET
  312. Wire Wire Line
  313. 6700 4500 7400 4500
  314. $Comp
  315. L device:R R8
  316. U 1 1 5B6EB8E6
  317. P 7550 4500
  318. F 0 "R8" V 7757 4500 50 0000 C CNN
  319. F 1 "10k" V 7666 4500 50 0000 C CNN
  320. F 2 "Resistors_SMD:R_0805_HandSoldering" V 7480 4500 50 0001 C CNN
  321. F 3 "" H 7550 4500 50 0001 C CNN
  322. 1 7550 4500
  323. 0 -1 -1 0
  324. $EndComp
  325. $Comp
  326. L power:+3V3 #PWR027
  327. U 1 1 5B6ECCB2
  328. P 7800 4500
  329. F 0 "#PWR027" H 7800 4350 50 0001 C CNN
  330. F 1 "+3V3" V 7815 4628 50 0000 L CNN
  331. F 2 "" H 7800 4500 50 0001 C CNN
  332. F 3 "" H 7800 4500 50 0001 C CNN
  333. 1 7800 4500
  334. 0 1 1 0
  335. $EndComp
  336. Wire Wire Line
  337. 7700 4500 7800 4500
  338. Wire Wire Line
  339. 7400 3700 7500 3700
  340. $EndSCHEMATC