atmega328.sch 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  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 power:+3V3 #PWR021
  252. U 1 1 5B6D8146
  253. P 1650 1750
  254. F 0 "#PWR021" H 1650 1600 50 0001 C CNN
  255. F 1 "+3V3" H 1665 1923 50 0000 C CNN
  256. F 2 "" H 1650 1750 50 0001 C CNN
  257. F 3 "" H 1650 1750 50 0001 C CNN
  258. 1 1650 1750
  259. -1 0 0 1
  260. $EndComp
  261. Wire Wire Line
  262. 1550 1750 1650 1750
  263. $Comp
  264. L power:GND #PWR022
  265. U 1 1 5B6D8D77
  266. P 1750 1650
  267. F 0 "#PWR022" H 1750 1400 50 0001 C CNN
  268. F 1 "GND" V 1755 1522 50 0000 R CNN
  269. F 2 "" H 1750 1650 50 0001 C CNN
  270. F 3 "" H 1750 1650 50 0001 C CNN
  271. 1 1750 1650
  272. 0 -1 -1 0
  273. $EndComp
  274. Wire Wire Line
  275. 1550 1650 1750 1650
  276. Wire Wire Line
  277. 1550 1550 1850 1550
  278. Text Label 1650 1550 0 50 ~ 0
  279. TXD_AT
  280. Wire Wire Line
  281. 1550 1450 1850 1450
  282. Text Label 1650 1450 0 50 ~ 0
  283. RXD_AT
  284. Wire Wire Line
  285. 1550 1350 1750 1350
  286. $Comp
  287. L device:C_Small C9
  288. U 1 1 5B6DC171
  289. P 1850 1350
  290. F 0 "C9" V 1700 1450 50 0000 C CNN
  291. F 1 "104" V 1800 1450 50 0000 C CNN
  292. F 2 "Capacitors_SMD:C_0805" H 1850 1350 50 0001 C CNN
  293. F 3 "" H 1850 1350 50 0001 C CNN
  294. 1 1850 1350
  295. 0 1 1 0
  296. $EndComp
  297. Wire Wire Line
  298. 1950 1350 2050 1350
  299. Text Label 2000 1350 0 50 ~ 0
  300. RESET
  301. Wire Wire Line
  302. 6700 4500 7400 4500
  303. $Comp
  304. L device:R R8
  305. U 1 1 5B6EB8E6
  306. P 7550 4500
  307. F 0 "R8" V 7757 4500 50 0000 C CNN
  308. F 1 "10k" V 7666 4500 50 0000 C CNN
  309. F 2 "Resistors_SMD:R_0805_HandSoldering" V 7480 4500 50 0001 C CNN
  310. F 3 "" H 7550 4500 50 0001 C CNN
  311. 1 7550 4500
  312. 0 -1 -1 0
  313. $EndComp
  314. $Comp
  315. L power:+3V3 #PWR027
  316. U 1 1 5B6ECCB2
  317. P 7800 4500
  318. F 0 "#PWR027" H 7800 4350 50 0001 C CNN
  319. F 1 "+3V3" V 7815 4628 50 0000 L CNN
  320. F 2 "" H 7800 4500 50 0001 C CNN
  321. F 3 "" H 7800 4500 50 0001 C CNN
  322. 1 7800 4500
  323. 0 1 1 0
  324. $EndComp
  325. Wire Wire Line
  326. 7700 4500 7800 4500
  327. Wire Wire Line
  328. 7400 3700 7500 3700
  329. $Comp
  330. L Connector:Conn_01x08 J6
  331. U 1 1 5B7787F8
  332. P 1350 1450
  333. F 0 "J6" H 1270 825 50 0000 C CNN
  334. F 1 "Conn_01x08" H 1270 916 50 0000 C CNN
  335. F 2 "Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm" H 1350 1450 50 0001 C CNN
  336. F 3 "~" H 1350 1450 50 0001 C CNN
  337. 1 1350 1450
  338. -1 0 0 1
  339. $EndComp
  340. $Comp
  341. L power:+3V3 #PWR030
  342. U 1 1 5B778BF8
  343. P 1650 950
  344. F 0 "#PWR030" H 1650 800 50 0001 C CNN
  345. F 1 "+3V3" H 1665 1123 50 0000 C CNN
  346. F 2 "" H 1650 950 50 0001 C CNN
  347. F 3 "" H 1650 950 50 0001 C CNN
  348. 1 1650 950
  349. 1 0 0 -1
  350. $EndComp
  351. Wire Wire Line
  352. 1550 1050 1650 1050
  353. Wire Wire Line
  354. 1650 1050 1650 950
  355. Wire Wire Line
  356. 1550 1150 2050 1150
  357. Wire Wire Line
  358. 2050 1150 2050 1350
  359. Connection ~ 2050 1350
  360. Wire Wire Line
  361. 2050 1350 2200 1350
  362. $Comp
  363. L power:GND #PWR015
  364. U 1 1 5B77AECA
  365. P 1600 1250
  366. F 0 "#PWR015" H 1600 1000 50 0001 C CNN
  367. F 1 "GND" V 1605 1122 50 0000 R CNN
  368. F 2 "" H 1600 1250 50 0001 C CNN
  369. F 3 "" H 1600 1250 50 0001 C CNN
  370. 1 1600 1250
  371. 0 -1 -1 0
  372. $EndComp
  373. Wire Wire Line
  374. 1550 1250 1600 1250
  375. Text Label 6750 4300 0 50 ~ 0
  376. SDA
  377. Text Label 6750 4400 0 50 ~ 0
  378. SCL
  379. $Comp
  380. L device:R R14
  381. U 1 1 5B77D8B7
  382. P 8600 4150
  383. F 0 "R14" H 8530 4104 50 0000 R CNN
  384. F 1 "10k" H 8530 4195 50 0000 R CNN
  385. F 2 "Resistors_SMD:R_0805" V 8530 4150 50 0001 C CNN
  386. F 3 "" H 8600 4150 50 0001 C CNN
  387. 1 8600 4150
  388. -1 0 0 1
  389. $EndComp
  390. $Comp
  391. L device:R R13
  392. U 1 1 5B77D98E
  393. P 8400 4150
  394. F 0 "R13" H 8330 4104 50 0000 R CNN
  395. F 1 "10k" H 8330 4195 50 0000 R CNN
  396. F 2 "Resistors_SMD:R_0805" V 8330 4150 50 0001 C CNN
  397. F 3 "" H 8400 4150 50 0001 C CNN
  398. 1 8400 4150
  399. -1 0 0 1
  400. $EndComp
  401. Wire Wire Line
  402. 8400 4000 8500 4000
  403. $Comp
  404. L power:+3V3 #PWR031
  405. U 1 1 5B7875E5
  406. P 8500 4000
  407. F 0 "#PWR031" H 8500 3850 50 0001 C CNN
  408. F 1 "+3V3" V 8515 4128 50 0000 L CNN
  409. F 2 "" H 8500 4000 50 0001 C CNN
  410. F 3 "" H 8500 4000 50 0001 C CNN
  411. 1 8500 4000
  412. 1 0 0 -1
  413. $EndComp
  414. Connection ~ 8500 4000
  415. Wire Wire Line
  416. 8500 4000 8600 4000
  417. Wire Wire Line
  418. 8400 4300 8400 4450
  419. Wire Wire Line
  420. 8600 4300 8600 4450
  421. Text Label 8400 4450 1 50 ~ 0
  422. SDA
  423. Text Label 8600 4450 1 50 ~ 0
  424. SCL
  425. $EndSCHEMATC