atmega328.sch 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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 5 9
  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:C_Small C11
  98. U 1 1 5B6CD364
  99. P 7850 3600
  100. F 0 "C11" V 7621 3600 50 0000 C CNN
  101. F 1 "20pF" V 7712 3600 50 0000 C CNN
  102. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3600 50 0001 C CNN
  103. F 3 "" H 7850 3600 50 0001 C CNN
  104. 1 7850 3600
  105. 0 1 1 0
  106. $EndComp
  107. $Comp
  108. L device:C_Small C12
  109. U 1 1 5B6CD756
  110. P 7850 3900
  111. F 0 "C12" V 7621 3900 50 0000 C CNN
  112. F 1 "20pF" V 7950 3950 50 0000 C CNN
  113. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3900 50 0001 C CNN
  114. F 3 "" H 7850 3900 50 0001 C CNN
  115. 1 7850 3900
  116. 0 1 1 0
  117. $EndComp
  118. $Comp
  119. L power:GND #PWR026
  120. U 1 1 5B6CDA03
  121. P 8000 3700
  122. F 0 "#PWR026" H 8000 3450 50 0001 C CNN
  123. F 1 "GND" V 8005 3572 50 0000 R CNN
  124. F 2 "" H 8000 3700 50 0001 C CNN
  125. F 3 "" H 8000 3700 50 0001 C CNN
  126. 1 8000 3700
  127. 0 -1 -1 0
  128. $EndComp
  129. Wire Wire Line
  130. 6700 4650 6915 4650
  131. Wire Wire Line
  132. 6700 4750 6910 4750
  133. Text Label 6775 4650 0 50 ~ 0
  134. RXD_AT
  135. Text Label 6785 4750 0 50 ~ 0
  136. TXD_AT
  137. Text Label 6800 4500 0 50 ~ 0
  138. RESET
  139. Wire Wire Line
  140. 6700 3050 7000 3050
  141. Wire Wire Line
  142. 6700 3150 7000 3150
  143. Wire Wire Line
  144. 6700 3250 7000 3250
  145. Wire Wire Line
  146. 6700 3350 7000 3350
  147. Wire Wire Line
  148. 6700 3450 7000 3450
  149. Wire Wire Line
  150. 6700 3550 7000 3550
  151. Wire Wire Line
  152. 6700 3900 7000 3900
  153. Wire Wire Line
  154. 6700 4000 7000 4000
  155. Wire Wire Line
  156. 6700 4100 7000 4100
  157. Wire Wire Line
  158. 6700 4200 7000 4200
  159. Wire Wire Line
  160. 6700 4300 7000 4300
  161. Wire Wire Line
  162. 6700 4400 7000 4400
  163. Wire Wire Line
  164. 6700 4850 6950 4850
  165. Wire Wire Line
  166. 6700 4950 6950 4950
  167. Wire Wire Line
  168. 6700 5050 6950 5050
  169. Wire Wire Line
  170. 6700 5150 6950 5150
  171. Wire Wire Line
  172. 6700 5250 6950 5250
  173. Wire Wire Line
  174. 6700 5350 6950 5350
  175. Text HLabel 7000 3050 2 50 Input ~ 0
  176. PB0
  177. Text HLabel 7000 3150 2 50 Input ~ 0
  178. PB1
  179. Text HLabel 7000 3250 2 50 Input ~ 0
  180. PB2
  181. Text HLabel 7000 3350 2 50 Input ~ 0
  182. MOSI
  183. Text HLabel 7000 3450 2 50 Input ~ 0
  184. MISO
  185. Text HLabel 7000 3550 2 50 Input ~ 0
  186. SCK
  187. Text HLabel 7000 3900 2 50 Input ~ 0
  188. PC0
  189. Text HLabel 7000 4000 2 50 Input ~ 0
  190. PC1
  191. Text HLabel 7000 4100 2 50 Input ~ 0
  192. PC2
  193. Text HLabel 7000 4200 2 50 Input ~ 0
  194. PC3
  195. Text HLabel 7000 4300 2 50 Input ~ 0
  196. SDA
  197. Text HLabel 7000 4400 2 50 Input ~ 0
  198. SCL
  199. Text HLabel 6950 4850 2 50 Input ~ 0
  200. PD2
  201. Text HLabel 6950 4950 2 50 Input ~ 0
  202. PD3
  203. Text HLabel 6950 5050 2 50 Input ~ 0
  204. PD4
  205. Text HLabel 6950 5150 2 50 Input ~ 0
  206. PD5
  207. Text HLabel 6950 5250 2 50 Input ~ 0
  208. PD6
  209. Text HLabel 6950 5350 2 50 Input ~ 0
  210. PD7
  211. $Comp
  212. L power:+3V3 #PWR021
  213. U 1 1 5B6D8146
  214. P 1650 1750
  215. F 0 "#PWR021" H 1650 1600 50 0001 C CNN
  216. F 1 "+3V3" H 1665 1923 50 0000 C CNN
  217. F 2 "" H 1650 1750 50 0001 C CNN
  218. F 3 "" H 1650 1750 50 0001 C CNN
  219. 1 1650 1750
  220. -1 0 0 1
  221. $EndComp
  222. Wire Wire Line
  223. 1550 1750 1650 1750
  224. $Comp
  225. L power:GND #PWR022
  226. U 1 1 5B6D8D77
  227. P 1750 1650
  228. F 0 "#PWR022" H 1750 1400 50 0001 C CNN
  229. F 1 "GND" V 1755 1522 50 0000 R CNN
  230. F 2 "" H 1750 1650 50 0001 C CNN
  231. F 3 "" H 1750 1650 50 0001 C CNN
  232. 1 1750 1650
  233. 0 -1 -1 0
  234. $EndComp
  235. Wire Wire Line
  236. 1550 1650 1750 1650
  237. Wire Wire Line
  238. 1550 1550 1850 1550
  239. Text Label 1650 1550 0 50 ~ 0
  240. TXD_AT
  241. Wire Wire Line
  242. 1550 1450 1850 1450
  243. Text Label 1650 1450 0 50 ~ 0
  244. RXD_AT
  245. Wire Wire Line
  246. 1550 1350 1750 1350
  247. $Comp
  248. L device:C_Small C9
  249. U 1 1 5B6DC171
  250. P 1850 1350
  251. F 0 "C9" V 1700 1450 50 0000 C CNN
  252. F 1 "104" V 1800 1450 50 0000 C CNN
  253. F 2 "Capacitors_SMD:C_0805" H 1850 1350 50 0001 C CNN
  254. F 3 "" H 1850 1350 50 0001 C CNN
  255. 1 1850 1350
  256. 0 1 1 0
  257. $EndComp
  258. Wire Wire Line
  259. 1950 1350 2050 1350
  260. Text Label 2000 1350 0 50 ~ 0
  261. RESET
  262. Wire Wire Line
  263. 6700 4500 7400 4500
  264. $Comp
  265. L device:R R8
  266. U 1 1 5B6EB8E6
  267. P 7550 4500
  268. F 0 "R8" V 7757 4500 50 0000 C CNN
  269. F 1 "10k" V 7666 4500 50 0000 C CNN
  270. F 2 "Resistors_SMD:R_0805_HandSoldering" V 7480 4500 50 0001 C CNN
  271. F 3 "" H 7550 4500 50 0001 C CNN
  272. 1 7550 4500
  273. 0 -1 -1 0
  274. $EndComp
  275. $Comp
  276. L power:+3V3 #PWR027
  277. U 1 1 5B6ECCB2
  278. P 7800 4500
  279. F 0 "#PWR027" H 7800 4350 50 0001 C CNN
  280. F 1 "+3V3" V 7815 4628 50 0000 L CNN
  281. F 2 "" H 7800 4500 50 0001 C CNN
  282. F 3 "" H 7800 4500 50 0001 C CNN
  283. 1 7800 4500
  284. 0 1 1 0
  285. $EndComp
  286. Wire Wire Line
  287. 7700 4500 7800 4500
  288. $Comp
  289. L Connector:Conn_01x08 J6
  290. U 1 1 5B7787F8
  291. P 1350 1450
  292. F 0 "J6" H 1270 825 50 0000 C CNN
  293. F 1 "Conn_01x08" H 1270 916 50 0000 C CNN
  294. F 2 "Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm" H 1350 1450 50 0001 C CNN
  295. F 3 "~" H 1350 1450 50 0001 C CNN
  296. 1 1350 1450
  297. -1 0 0 1
  298. $EndComp
  299. $Comp
  300. L power:+3V3 #PWR030
  301. U 1 1 5B778BF8
  302. P 1650 950
  303. F 0 "#PWR030" H 1650 800 50 0001 C CNN
  304. F 1 "+3V3" H 1665 1123 50 0000 C CNN
  305. F 2 "" H 1650 950 50 0001 C CNN
  306. F 3 "" H 1650 950 50 0001 C CNN
  307. 1 1650 950
  308. 1 0 0 -1
  309. $EndComp
  310. Wire Wire Line
  311. 1550 1050 1650 1050
  312. Wire Wire Line
  313. 1650 1050 1650 950
  314. Wire Wire Line
  315. 1550 1150 2050 1150
  316. Wire Wire Line
  317. 2050 1150 2050 1350
  318. Connection ~ 2050 1350
  319. Wire Wire Line
  320. 2050 1350 2200 1350
  321. $Comp
  322. L power:GND #PWR015
  323. U 1 1 5B77AECA
  324. P 1600 1250
  325. F 0 "#PWR015" H 1600 1000 50 0001 C CNN
  326. F 1 "GND" V 1605 1122 50 0000 R CNN
  327. F 2 "" H 1600 1250 50 0001 C CNN
  328. F 3 "" H 1600 1250 50 0001 C CNN
  329. 1 1600 1250
  330. 0 -1 -1 0
  331. $EndComp
  332. Wire Wire Line
  333. 1550 1250 1600 1250
  334. Text Label 6750 4300 0 50 ~ 0
  335. SDA
  336. Text Label 6750 4400 0 50 ~ 0
  337. SCL
  338. $Comp
  339. L device:R R14
  340. U 1 1 5B77D8B7
  341. P 8600 4150
  342. F 0 "R14" H 8530 4104 50 0000 R CNN
  343. F 1 "10k" H 8530 4195 50 0000 R CNN
  344. F 2 "Resistors_SMD:R_0805" V 8530 4150 50 0001 C CNN
  345. F 3 "" H 8600 4150 50 0001 C CNN
  346. 1 8600 4150
  347. -1 0 0 1
  348. $EndComp
  349. $Comp
  350. L device:R R13
  351. U 1 1 5B77D98E
  352. P 8400 4150
  353. F 0 "R13" H 8330 4104 50 0000 R CNN
  354. F 1 "10k" H 8330 4195 50 0000 R CNN
  355. F 2 "Resistors_SMD:R_0805" V 8330 4150 50 0001 C CNN
  356. F 3 "" H 8400 4150 50 0001 C CNN
  357. 1 8400 4150
  358. -1 0 0 1
  359. $EndComp
  360. Wire Wire Line
  361. 8400 4000 8500 4000
  362. $Comp
  363. L power:+3V3 #PWR031
  364. U 1 1 5B7875E5
  365. P 8500 4000
  366. F 0 "#PWR031" H 8500 3850 50 0001 C CNN
  367. F 1 "+3V3" V 8515 4128 50 0000 L CNN
  368. F 2 "" H 8500 4000 50 0001 C CNN
  369. F 3 "" H 8500 4000 50 0001 C CNN
  370. 1 8500 4000
  371. 1 0 0 -1
  372. $EndComp
  373. Connection ~ 8500 4000
  374. Wire Wire Line
  375. 8500 4000 8600 4000
  376. Wire Wire Line
  377. 8400 4300 8400 4450
  378. Wire Wire Line
  379. 8600 4300 8600 4450
  380. Text Label 8400 4450 1 50 ~ 0
  381. SDA
  382. Text Label 8600 4450 1 50 ~ 0
  383. SCL
  384. Wire Wire Line
  385. 7250 3650 7250 3600
  386. Wire Wire Line
  387. 6700 3650 7250 3650
  388. Wire Wire Line
  389. 7950 3600 8000 3600
  390. Wire Wire Line
  391. 8000 3600 8000 3700
  392. Wire Wire Line
  393. 7200 3750 7200 3900
  394. Wire Wire Line
  395. 6700 3750 7200 3750
  396. Wire Wire Line
  397. 7950 3900 8000 3900
  398. Wire Wire Line
  399. 8000 3900 8000 3750
  400. Connection ~ 8000 3700
  401. Text Label 6750 3550 0 50 ~ 0
  402. SCK
  403. Text Label 6750 3450 0 50 ~ 0
  404. MISO
  405. Text Label 6750 3350 0 50 ~ 0
  406. MOSI
  407. Connection ~ 8000 3750
  408. Wire Wire Line
  409. 8000 3750 8000 3700
  410. $Comp
  411. L device:Crystal_GND24 Y1
  412. U 1 1 5BA8A92C
  413. P 7450 3750
  414. F 0 "Y1" V 7404 3991 50 0000 L CNN
  415. F 1 "Crystal_GND24" V 7495 3991 50 0000 L CNN
  416. F 2 "Crystals:Crystal_SMD_3225-4pin_3.2x2.5mm" H 7450 3750 50 0001 C CNN
  417. F 3 "" H 7450 3750 50 0001 C CNN
  418. 1 7450 3750
  419. 0 1 1 0
  420. $EndComp
  421. Wire Wire Line
  422. 7250 3600 7450 3600
  423. Connection ~ 7450 3600
  424. Wire Wire Line
  425. 7450 3600 7750 3600
  426. Wire Wire Line
  427. 7200 3900 7450 3900
  428. Connection ~ 7450 3900
  429. Wire Wire Line
  430. 7450 3900 7750 3900
  431. Wire Wire Line
  432. 7650 3750 8000 3750
  433. Wire Wire Line
  434. 7250 3750 7650 3750
  435. Connection ~ 7650 3750
  436. $EndSCHEMATC