main.sch 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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 6
  8. Title ""
  9. Date ""
  10. Rev ""
  11. Comp ""
  12. Comment1 ""
  13. Comment2 ""
  14. Comment3 ""
  15. Comment4 ""
  16. $EndDescr
  17. $Comp
  18. L ESP8266:ESP-12E U?
  19. U 1 1 5B61664F
  20. P 4800 3150
  21. F 0 "U?" H 4800 3915 50 0000 C CNN
  22. F 1 "ESP-12E" H 4800 3824 50 0000 C CNN
  23. F 2 "ESP8266:ESP-12E" H 4800 3150 50 0001 C CNN
  24. F 3 "" H 4800 3150 50 0001 C CNN
  25. 1 4800 3150
  26. 1 0 0 -1
  27. $EndComp
  28. Wire Wire Line
  29. 3900 2850 3600 2850
  30. Text Label 3650 2850 0 50 ~ 0
  31. RST
  32. $Comp
  33. L power:+3V3 #PWR?
  34. U 1 1 5B618403
  35. P 3750 3550
  36. F 0 "#PWR?" H 3750 3400 50 0001 C CNN
  37. F 1 "+3V3" V 3765 3678 50 0000 L CNN
  38. F 2 "" H 3750 3550 50 0001 C CNN
  39. F 3 "" H 3750 3550 50 0001 C CNN
  40. 1 3750 3550
  41. 0 -1 -1 0
  42. $EndComp
  43. Wire Wire Line
  44. 3900 3550 3800 3550
  45. $Comp
  46. L power:GND #PWR?
  47. U 1 1 5B6184D1
  48. P 5900 3550
  49. F 0 "#PWR?" H 5900 3300 50 0001 C CNN
  50. F 1 "GND" V 5905 3422 50 0000 R CNN
  51. F 2 "" H 5900 3550 50 0001 C CNN
  52. F 3 "" H 5900 3550 50 0001 C CNN
  53. 1 5900 3550
  54. 0 -1 -1 0
  55. $EndComp
  56. Wire Wire Line
  57. 5700 3550 5900 3550
  58. $Comp
  59. L device:C_Small C?
  60. U 1 1 5B618730
  61. P 3800 3750
  62. F 0 "C?" H 3892 3796 50 0000 L CNN
  63. F 1 "105" H 3892 3705 50 0000 L CNN
  64. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 3800 3750 50 0001 C CNN
  65. F 3 "" H 3800 3750 50 0001 C CNN
  66. 1 3800 3750
  67. 1 0 0 -1
  68. $EndComp
  69. $Comp
  70. L power:GND #PWR?
  71. U 1 1 5B618843
  72. P 3800 3950
  73. F 0 "#PWR?" H 3800 3700 50 0001 C CNN
  74. F 1 "GND" H 3805 3777 50 0000 C CNN
  75. F 2 "" H 3800 3950 50 0001 C CNN
  76. F 3 "" H 3800 3950 50 0001 C CNN
  77. 1 3800 3950
  78. 1 0 0 -1
  79. $EndComp
  80. Wire Wire Line
  81. 3800 3650 3800 3550
  82. Connection ~ 3800 3550
  83. Wire Wire Line
  84. 3800 3550 3750 3550
  85. Wire Wire Line
  86. 3800 3850 3800 3950
  87. NoConn ~ 3900 2950
  88. Wire Wire Line
  89. 3900 3050 3600 3050
  90. Text Label 3650 3050 0 50 ~ 0
  91. CH_PD
  92. Wire Wire Line
  93. 3900 3150 3600 3150
  94. Wire Wire Line
  95. 3900 3250 3600 3250
  96. Wire Wire Line
  97. 3600 3350 3900 3350
  98. Wire Wire Line
  99. 3900 3450 3600 3450
  100. Wire Wire Line
  101. 5700 3250 6000 3250
  102. Wire Wire Line
  103. 5700 3350 6000 3350
  104. Wire Wire Line
  105. 5700 3450 6000 3450
  106. Wire Wire Line
  107. 4550 4050 4550 4250
  108. Wire Wire Line
  109. 4650 4050 4650 4250
  110. Wire Wire Line
  111. 4750 4050 4750 4250
  112. Wire Wire Line
  113. 4850 4050 4850 4250
  114. Wire Wire Line
  115. 4950 4050 4950 4250
  116. Wire Wire Line
  117. 5050 4050 5050 4250
  118. $Comp
  119. L device:R R?
  120. U 1 1 5B61A13D
  121. P 1650 1950
  122. F 0 "R?" V 1550 1950 50 0000 C CNN
  123. F 1 "12k" V 1650 1950 50 0000 C CNN
  124. F 2 "Resistors_SMD:R_0805_HandSoldering" V 1580 1950 50 0001 C CNN
  125. F 3 "" H 1650 1950 50 0001 C CNN
  126. 1 1650 1950
  127. 0 1 1 0
  128. $EndComp
  129. $Comp
  130. L device:R R?
  131. U 1 1 5B61A490
  132. P 1650 2150
  133. F 0 "R?" V 1550 2150 50 0000 C CNN
  134. F 1 "12k" V 1650 2150 50 0000 C CNN
  135. F 2 "Resistors_SMD:R_0805_HandSoldering" V 1580 2150 50 0001 C CNN
  136. F 3 "" H 1650 2150 50 0001 C CNN
  137. 1 1650 2150
  138. 0 1 1 0
  139. $EndComp
  140. $Comp
  141. L device:R R?
  142. U 1 1 5B61A4C8
  143. P 1650 2350
  144. F 0 "R?" V 1550 2350 50 0000 C CNN
  145. F 1 "12k" V 1650 2350 50 0000 C CNN
  146. F 2 "Resistors_SMD:R_0805_HandSoldering" V 1580 2350 50 0001 C CNN
  147. F 3 "" H 1650 2350 50 0001 C CNN
  148. 1 1650 2350
  149. 0 1 1 0
  150. $EndComp
  151. $Comp
  152. L device:R R?
  153. U 1 1 5B61A4EA
  154. P 1650 2550
  155. F 0 "R?" V 1550 2550 50 0000 C CNN
  156. F 1 "12k" V 1650 2550 50 0000 C CNN
  157. F 2 "Resistors_SMD:R_0805_HandSoldering" V 1580 2550 50 0001 C CNN
  158. F 3 "" H 1650 2550 50 0001 C CNN
  159. 1 1650 2550
  160. 0 1 1 0
  161. $EndComp
  162. $Comp
  163. L device:R R?
  164. U 1 1 5B61A5B4
  165. P 1650 2750
  166. F 0 "R?" V 1550 2750 50 0000 C CNN
  167. F 1 "12k" V 1650 2750 50 0000 C CNN
  168. F 2 "Resistors_SMD:R_0805_HandSoldering" V 1580 2750 50 0001 C CNN
  169. F 3 "" H 1650 2750 50 0001 C CNN
  170. 1 1650 2750
  171. 0 1 1 0
  172. $EndComp
  173. Wire Wire Line
  174. 1500 2550 1400 2550
  175. Wire Wire Line
  176. 1400 2350 1500 2350
  177. Wire Wire Line
  178. 1500 2150 1400 2150
  179. Wire Wire Line
  180. 1500 1950 1400 1950
  181. Wire Wire Line
  182. 1400 2550 1400 2350
  183. Connection ~ 1400 2150
  184. Wire Wire Line
  185. 1400 2150 1400 1950
  186. Connection ~ 1400 2350
  187. Wire Wire Line
  188. 1400 2350 1400 2150
  189. $Comp
  190. L power:+3V3 #PWR?
  191. U 1 1 5B61BD51
  192. P 1400 1850
  193. F 0 "#PWR?" H 1400 1700 50 0001 C CNN
  194. F 1 "+3V3" H 1415 2023 50 0000 C CNN
  195. F 2 "" H 1400 1850 50 0001 C CNN
  196. F 3 "" H 1400 1850 50 0001 C CNN
  197. 1 1400 1850
  198. 1 0 0 -1
  199. $EndComp
  200. Wire Wire Line
  201. 1400 1950 1400 1850
  202. Connection ~ 1400 1950
  203. Wire Wire Line
  204. 1800 1950 2050 1950
  205. Wire Wire Line
  206. 1800 2150 2050 2150
  207. Wire Wire Line
  208. 1800 2350 2050 2350
  209. Wire Wire Line
  210. 1500 2750 1400 2750
  211. $Comp
  212. L power:GND #PWR?
  213. U 1 1 5B61EC07
  214. P 1400 2850
  215. F 0 "#PWR?" H 1400 2600 50 0001 C CNN
  216. F 1 "GND" H 1405 2677 50 0000 C CNN
  217. F 2 "" H 1400 2850 50 0001 C CNN
  218. F 3 "" H 1400 2850 50 0001 C CNN
  219. 1 1400 2850
  220. 1 0 0 -1
  221. $EndComp
  222. Wire Wire Line
  223. 1400 2850 1400 2750
  224. Text Label 1850 1950 0 50 ~ 0
  225. GPIO0
  226. Text Label 1850 2150 0 50 ~ 0
  227. GPIO2
  228. Text Label 1850 2350 0 50 ~ 0
  229. CH_PD
  230. Text Label 1850 2550 0 50 ~ 0
  231. RST
  232. Text Label 1850 2750 0 50 ~ 0
  233. GPIO15
  234. $Comp
  235. L device:C_Small C?
  236. U 1 1 5B620CF1
  237. P 2400 2650
  238. F 0 "C?" H 2492 2696 50 0000 L CNN
  239. F 1 "103" H 2492 2605 50 0000 L CNN
  240. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 2400 2650 50 0001 C CNN
  241. F 3 "" H 2400 2650 50 0001 C CNN
  242. 1 2400 2650
  243. 1 0 0 -1
  244. $EndComp
  245. Wire Wire Line
  246. 1800 2750 2200 2750
  247. $Comp
  248. L power:GND #PWR?
  249. U 1 1 5B621FFB
  250. P 2400 2850
  251. F 0 "#PWR?" H 2400 2600 50 0001 C CNN
  252. F 1 "GND" H 2405 2677 50 0000 C CNN
  253. F 2 "" H 2400 2850 50 0001 C CNN
  254. F 3 "" H 2400 2850 50 0001 C CNN
  255. 1 2400 2850
  256. 1 0 0 -1
  257. $EndComp
  258. Wire Wire Line
  259. 1800 2550 2400 2550
  260. Wire Wire Line
  261. 2400 2850 2400 2750
  262. Text HLabel 6000 2850 2 50 Input ~ 0
  263. TXD
  264. Text HLabel 6000 2950 2 50 Input ~ 0
  265. RXD
  266. Wire Wire Line
  267. 5700 2850 6000 2850
  268. Wire Wire Line
  269. 5700 2950 6000 2950
  270. Wire Wire Line
  271. 5700 3050 6000 3050
  272. Wire Wire Line
  273. 5700 3150 6000 3150
  274. Text HLabel 6000 3050 2 50 Input ~ 0
  275. P.5
  276. Text HLabel 6000 3150 2 50 Input ~ 0
  277. P.4
  278. Text HLabel 6000 3250 2 50 Input ~ 0
  279. P.0
  280. Text HLabel 6000 3350 2 50 Input ~ 0
  281. P.2
  282. Text HLabel 6000 3450 2 50 Input ~ 0
  283. P.15
  284. Text HLabel 4650 4250 3 50 Input ~ 0
  285. MISO
  286. Text HLabel 4750 4250 3 50 Input ~ 0
  287. P.9
  288. Text HLabel 4850 4250 3 50 Input ~ 0
  289. P.10
  290. Text HLabel 4950 4250 3 50 Input ~ 0
  291. MOSI
  292. Text HLabel 5050 4250 3 50 Input ~ 0
  293. SCLK
  294. Text HLabel 3600 3150 0 50 Input ~ 0
  295. P.16
  296. Text HLabel 3600 3250 0 50 Input ~ 0
  297. P.14
  298. Text HLabel 3600 3350 0 50 Input ~ 0
  299. P.12
  300. Text HLabel 3600 3450 0 50 Input ~ 0
  301. P.13
  302. NoConn ~ 4550 4250
  303. Text Label 5700 3450 0 50 ~ 0
  304. GPIO15
  305. Text Label 5700 3250 0 50 ~ 0
  306. GPIO0
  307. Text Label 5700 3350 0 50 ~ 0
  308. GPIO2
  309. $Comp
  310. L Connector:Conn_01x02 J?
  311. U 1 1 5B62DC1E
  312. P 1450 3600
  313. F 0 "J?" H 1370 3275 50 0000 C CNN
  314. F 1 "select boot" H 1370 3366 50 0000 C CNN
  315. F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 1450 3600 50 0001 C CNN
  316. F 3 "~" H 1450 3600 50 0001 C CNN
  317. 1 1450 3600
  318. -1 0 0 1
  319. $EndComp
  320. $Comp
  321. L power:GND #PWR?
  322. U 1 1 5B62E025
  323. P 1800 3650
  324. F 0 "#PWR?" H 1800 3400 50 0001 C CNN
  325. F 1 "GND" H 1805 3477 50 0000 C CNN
  326. F 2 "" H 1800 3650 50 0001 C CNN
  327. F 3 "" H 1800 3650 50 0001 C CNN
  328. 1 1800 3650
  329. 1 0 0 -1
  330. $EndComp
  331. Wire Wire Line
  332. 1650 3600 1800 3600
  333. Wire Wire Line
  334. 1800 3600 1800 3650
  335. Wire Wire Line
  336. 1650 3500 2000 3500
  337. Text Label 1750 3500 0 50 ~ 0
  338. GPIO0
  339. $Comp
  340. L MCU_ST_STM8:STM8S003F3P U?
  341. U 1 1 5B69698B
  342. P 8750 3250
  343. F 0 "U?" H 8750 4228 50 0000 C CNN
  344. F 1 "STM8S003F3P" H 8750 4137 50 0000 C CNN
  345. F 2 "Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm" H 7600 2450 50 0001 L CIN
  346. F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00024550.pdf" H 8700 2850 50 0001 C CNN
  347. 1 8750 3250
  348. 1 0 0 -1
  349. $EndComp
  350. $Comp
  351. L vinhome-rescue:SWITCH_PUSHBUTTONC&K_KSS-adafruit SW?
  352. U 1 1 5B697455
  353. P 2850 2550
  354. F 0 "SW?" H 2850 2805 50 0000 C CNN
  355. F 1 "SWITCH_PUSHBUTTONC&K_KSS" H 2850 2714 50 0000 C CNN
  356. F 2 "iot_Swich:smd_push" H 2880 2700 20 0001 C CNN
  357. F 3 "" H 2850 2550 50 0001 C CNN
  358. 1 2850 2550
  359. 1 0 0 -1
  360. $EndComp
  361. $Comp
  362. L device:C_Small C?
  363. U 1 1 5B69841A
  364. P 7300 4050
  365. F 0 "C?" H 7392 4096 50 0000 L CNN
  366. F 1 "104" H 7392 4005 50 0000 L CNN
  367. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7300 4050 50 0001 C CNN
  368. F 3 "" H 7300 4050 50 0001 C CNN
  369. 1 7300 4050
  370. 1 0 0 -1
  371. $EndComp
  372. Wire Wire Line
  373. 7300 3950 7300 3850
  374. Wire Wire Line
  375. 7300 3850 7450 3850
  376. $Comp
  377. L power:GND #PWR?
  378. U 1 1 5B698F7D
  379. P 8750 4400
  380. F 0 "#PWR?" H 8750 4150 50 0001 C CNN
  381. F 1 "GND" H 8755 4227 50 0000 C CNN
  382. F 2 "" H 8750 4400 50 0001 C CNN
  383. F 3 "" H 8750 4400 50 0001 C CNN
  384. 1 8750 4400
  385. 1 0 0 -1
  386. $EndComp
  387. Wire Wire Line
  388. 8750 4400 8750 4150
  389. $Comp
  390. L power:GND #PWR?
  391. U 1 1 5B699A1E
  392. P 7300 4300
  393. F 0 "#PWR?" H 7300 4050 50 0001 C CNN
  394. F 1 "GND" H 7305 4127 50 0000 C CNN
  395. F 2 "" H 7300 4300 50 0001 C CNN
  396. F 3 "" H 7300 4300 50 0001 C CNN
  397. 1 7300 4300
  398. 1 0 0 -1
  399. $EndComp
  400. Wire Wire Line
  401. 7300 4300 7300 4150
  402. $Comp
  403. L power:+3V3 #PWR?
  404. U 1 1 5B69A7B0
  405. P 8750 2200
  406. F 0 "#PWR?" H 8750 2050 50 0001 C CNN
  407. F 1 "+3V3" H 8765 2373 50 0000 C CNN
  408. F 2 "" H 8750 2200 50 0001 C CNN
  409. F 3 "" H 8750 2200 50 0001 C CNN
  410. 1 8750 2200
  411. 1 0 0 -1
  412. $EndComp
  413. Wire Wire Line
  414. 8750 2200 8750 2300
  415. $Comp
  416. L device:C_Small C?
  417. U 1 1 5B69B71F
  418. P 9000 2300
  419. F 0 "C?" V 8771 2300 50 0000 C CNN
  420. F 1 "104" V 8862 2300 50 0000 C CNN
  421. F 2 "Capacitors_SMD:C_0805_HandSoldering" H 9000 2300 50 0001 C CNN
  422. F 3 "" H 9000 2300 50 0001 C CNN
  423. 1 9000 2300
  424. 0 1 1 0
  425. $EndComp
  426. Wire Wire Line
  427. 8900 2300 8750 2300
  428. Connection ~ 8750 2300
  429. Wire Wire Line
  430. 8750 2300 8750 2450
  431. $Comp
  432. L power:GND #PWR?
  433. U 1 1 5B69C3FA
  434. P 9250 2300
  435. F 0 "#PWR?" H 9250 2050 50 0001 C CNN
  436. F 1 "GND" H 9255 2127 50 0000 C CNN
  437. F 2 "" H 9250 2300 50 0001 C CNN
  438. F 3 "" H 9250 2300 50 0001 C CNN
  439. 1 9250 2300
  440. 1 0 0 -1
  441. $EndComp
  442. Wire Wire Line
  443. 9100 2300 9250 2300
  444. $Comp
  445. L device:R R?
  446. U 1 1 5B69D306
  447. P 7400 2450
  448. F 0 "R?" H 7470 2496 50 0000 L CNN
  449. F 1 "103" H 7470 2405 50 0000 L CNN
  450. F 2 "" V 7330 2450 50 0001 C CNN
  451. F 3 "" H 7400 2450 50 0001 C CNN
  452. 1 7400 2450
  453. 1 0 0 -1
  454. $EndComp
  455. Wire Wire Line
  456. 7400 2600 7400 2750
  457. Wire Wire Line
  458. 7400 2750 7450 2750
  459. $Comp
  460. L power:+3V3 #PWR?
  461. U 1 1 5B69E095
  462. P 7400 2150
  463. F 0 "#PWR?" H 7400 2000 50 0001 C CNN
  464. F 1 "+3V3" H 7415 2323 50 0000 C CNN
  465. F 2 "" H 7400 2150 50 0001 C CNN
  466. F 3 "" H 7400 2150 50 0001 C CNN
  467. 1 7400 2150
  468. 1 0 0 -1
  469. $EndComp
  470. Wire Wire Line
  471. 7400 2150 7400 2300
  472. $EndSCHEMATC