simplepwm-attiny.sch 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. EESchema Schematic File Version 4
  2. EELAYER 30 0
  3. EELAYER END
  4. $Descr A4 11693 8268
  5. encoding utf-8
  6. Sheet 1 1
  7. Title "Simple PWM LED controller (1 channel)"
  8. Date "2020-04-10"
  9. Rev "1.1"
  10. Comp "Copyright (c) 2018-2020 Michael Buesch <m@bues.ch>"
  11. Comment1 "Licensed under the GNU/GPL v2 or (at your option) any later version."
  12. Comment2 ""
  13. Comment3 ""
  14. Comment4 ""
  15. $EndDescr
  16. $Comp
  17. L MCU_Microchip_ATtiny:ATtiny85-20PU U1
  18. U 1 1 5E14CBD3
  19. P 3650 4200
  20. F 0 "U1" H 3121 4246 50 0000 R CNN
  21. F 1 "ATtinyXX" H 3121 4155 50 0000 R CNN
  22. F 2 "Package_DIP:DIP-8_W7.62mm" H 3650 4200 50 0001 C CIN
  23. F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf" H 3650 4200 50 0001 C CNN
  24. 1 3650 4200
  25. 1 0 0 -1
  26. $EndComp
  27. $Comp
  28. L Connector:AVR-ISP-6 J1
  29. U 1 1 5E14DD07
  30. P 5550 2750
  31. F 0 "J1" V 5083 2800 50 0000 C CNN
  32. F 1 "AVR-ISP-6" V 5174 2800 50 0000 C CNN
  33. F 2 "" V 5300 2800 50 0001 C CNN
  34. F 3 " ~" H 4275 2200 50 0001 C CNN
  35. 1 5550 2750
  36. 0 1 1 0
  37. $EndComp
  38. $Comp
  39. L Device:R_POT RV1
  40. U 1 1 5E14E8CB
  41. P 6600 4750
  42. F 0 "RV1" H 6530 4704 50 0000 R CNN
  43. F 1 "100k" H 6530 4795 50 0000 R CNN
  44. F 2 "" H 6600 4750 50 0001 C CNN
  45. F 3 "~" H 6600 4750 50 0001 C CNN
  46. 1 6600 4750
  47. -1 0 0 1
  48. $EndComp
  49. $Comp
  50. L Device:C C1
  51. U 1 1 5E14ECDB
  52. P 3400 3500
  53. F 0 "C1" V 3148 3500 50 0000 C CNN
  54. F 1 "100n" V 3239 3500 50 0000 C CNN
  55. F 2 "" H 3438 3350 50 0001 C CNN
  56. F 3 "~" H 3400 3500 50 0001 C CNN
  57. 1 3400 3500
  58. 0 1 1 0
  59. $EndComp
  60. $Comp
  61. L power:VCC #PWR02
  62. U 1 1 5E153604
  63. P 3650 3400
  64. F 0 "#PWR02" H 3650 3250 50 0001 C CNN
  65. F 1 "VCC" H 3667 3573 50 0000 C CNN
  66. F 2 "" H 3650 3400 50 0001 C CNN
  67. F 3 "" H 3650 3400 50 0001 C CNN
  68. 1 3650 3400
  69. 1 0 0 -1
  70. $EndComp
  71. $Comp
  72. L power:GND #PWR03
  73. U 1 1 5E153BD6
  74. P 3650 5000
  75. F 0 "#PWR03" H 3650 4750 50 0001 C CNN
  76. F 1 "GND" H 3655 4827 50 0000 C CNN
  77. F 2 "" H 3650 5000 50 0001 C CNN
  78. F 3 "" H 3650 5000 50 0001 C CNN
  79. 1 3650 5000
  80. 1 0 0 -1
  81. $EndComp
  82. Wire Wire Line
  83. 3650 4800 3650 5000
  84. Wire Wire Line
  85. 3650 3400 3650 3500
  86. Wire Wire Line
  87. 3550 3500 3650 3500
  88. Connection ~ 3650 3500
  89. Wire Wire Line
  90. 3650 3500 3650 3600
  91. $Comp
  92. L power:GND #PWR01
  93. U 1 1 5E1544B9
  94. P 3050 3500
  95. F 0 "#PWR01" H 3050 3250 50 0001 C CNN
  96. F 1 "GND" V 3055 3372 50 0000 R CNN
  97. F 2 "" H 3050 3500 50 0001 C CNN
  98. F 3 "" H 3050 3500 50 0001 C CNN
  99. 1 3050 3500
  100. 0 1 1 0
  101. $EndComp
  102. Wire Wire Line
  103. 3050 3500 3250 3500
  104. $Comp
  105. L power:VCC #PWR06
  106. U 1 1 5E155655
  107. P 6250 2650
  108. F 0 "#PWR06" H 6250 2500 50 0001 C CNN
  109. F 1 "VCC" V 6267 2778 50 0000 L CNN
  110. F 2 "" H 6250 2650 50 0001 C CNN
  111. F 3 "" H 6250 2650 50 0001 C CNN
  112. 1 6250 2650
  113. 0 1 1 0
  114. $EndComp
  115. $Comp
  116. L power:GND #PWR05
  117. U 1 1 5E1565B8
  118. P 4950 2650
  119. F 0 "#PWR05" H 4950 2400 50 0001 C CNN
  120. F 1 "GND" V 4955 2522 50 0000 R CNN
  121. F 2 "" H 4950 2650 50 0001 C CNN
  122. F 3 "" H 4950 2650 50 0001 C CNN
  123. 1 4950 2650
  124. 0 1 1 0
  125. $EndComp
  126. Wire Wire Line
  127. 4950 2650 5150 2650
  128. Wire Wire Line
  129. 6050 2650 6250 2650
  130. $Comp
  131. L Device:R R1
  132. U 1 1 5E1573BA
  133. P 4450 4750
  134. F 0 "R1" H 4520 4796 50 0000 L CNN
  135. F 1 "10k" H 4520 4705 50 0000 L CNN
  136. F 2 "" V 4380 4750 50 0001 C CNN
  137. F 3 "~" H 4450 4750 50 0001 C CNN
  138. 1 4450 4750
  139. 1 0 0 -1
  140. $EndComp
  141. Wire Wire Line
  142. 4250 4400 4450 4400
  143. Wire Wire Line
  144. 4450 4400 4450 4600
  145. Wire Wire Line
  146. 4450 4400 5450 4400
  147. Wire Wire Line
  148. 5450 4400 5450 3150
  149. Connection ~ 4450 4400
  150. Wire Wire Line
  151. 5550 3150 5550 4100
  152. Wire Wire Line
  153. 5550 4100 4250 4100
  154. Wire Wire Line
  155. 5650 3150 5650 3900
  156. Wire Wire Line
  157. 5650 3900 4250 3900
  158. Wire Wire Line
  159. 5750 3150 5750 4000
  160. Wire Wire Line
  161. 5750 4000 4250 4000
  162. $Comp
  163. L power:VCC #PWR04
  164. U 1 1 5E159838
  165. P 4450 5000
  166. F 0 "#PWR04" H 4450 4850 50 0001 C CNN
  167. F 1 "VCC" H 4468 5173 50 0000 C CNN
  168. F 2 "" H 4450 5000 50 0001 C CNN
  169. F 3 "" H 4450 5000 50 0001 C CNN
  170. 1 4450 5000
  171. -1 0 0 1
  172. $EndComp
  173. Wire Wire Line
  174. 4450 4900 4450 5000
  175. $Comp
  176. L Connector:Conn_01x01_Female J2
  177. U 1 1 5E15A9D4
  178. P 7650 3900
  179. F 0 "J2" H 7500 4050 50 0000 L CNN
  180. F 1 "PWM_OUTPUT" H 7300 3800 50 0000 L CNN
  181. F 2 "" H 7650 3900 50 0001 C CNN
  182. F 3 "~" H 7650 3900 50 0001 C CNN
  183. 1 7650 3900
  184. 1 0 0 -1
  185. $EndComp
  186. Wire Wire Line
  187. 5650 3900 7450 3900
  188. Connection ~ 5650 3900
  189. Wire Wire Line
  190. 6600 4200 6600 4600
  191. Wire Wire Line
  192. 6250 4300 6250 4750
  193. Wire Wire Line
  194. 6250 4750 6450 4750
  195. $Comp
  196. L Connector:Conn_01x01_Male J3
  197. U 1 1 5E177271
  198. P 8000 3900
  199. F 0 "J3" H 8100 4050 50 0000 C CNN
  200. F 1 "Conn_01x01_Male" H 8000 3800 50 0001 C CNN
  201. F 2 "" H 8000 3900 50 0001 C CNN
  202. F 3 "~" H 8000 3900 50 0001 C CNN
  203. 1 8000 3900
  204. 1 0 0 -1
  205. $EndComp
  206. $Comp
  207. L Device:Q_NMOS_DGS Q1
  208. U 1 1 5E179C4B
  209. P 9400 3900
  210. F 0 "Q1" H 9604 3946 50 0000 L CNN
  211. F 1 "Q_NMOS" H 9604 3855 50 0000 L CNN
  212. F 2 "" H 9600 4000 50 0001 C CNN
  213. F 3 "~" H 9400 3900 50 0001 C CNN
  214. 1 9400 3900
  215. 1 0 0 -1
  216. $EndComp
  217. $Comp
  218. L Device:LED D1
  219. U 1 1 5E17A678
  220. P 9500 3200
  221. F 0 "D1" V 9539 3083 50 0000 R CNN
  222. F 1 "LED" V 9448 3083 50 0000 R CNN
  223. F 2 "" H 9500 3200 50 0001 C CNN
  224. F 3 "~" H 9500 3200 50 0001 C CNN
  225. 1 9500 3200
  226. 0 -1 -1 0
  227. $EndComp
  228. $Comp
  229. L Device:R R3
  230. U 1 1 5E17B11C
  231. P 9500 2550
  232. F 0 "R3" H 9570 2596 50 0000 L CNN
  233. F 1 "R" H 9570 2505 50 0000 L CNN
  234. F 2 "" V 9430 2550 50 0001 C CNN
  235. F 3 "~" H 9500 2550 50 0001 C CNN
  236. 1 9500 2550
  237. 1 0 0 -1
  238. $EndComp
  239. $Comp
  240. L power:Vdrive #PWR07
  241. U 1 1 5E17C118
  242. P 9500 2050
  243. F 0 "#PWR07" H 9300 1900 50 0001 C CNN
  244. F 1 "Vdrive" H 9517 2223 50 0000 C CNN
  245. F 2 "" H 9500 2050 50 0001 C CNN
  246. F 3 "" H 9500 2050 50 0001 C CNN
  247. 1 9500 2050
  248. 1 0 0 -1
  249. $EndComp
  250. $Comp
  251. L power:GND #PWR08
  252. U 1 1 5E17C420
  253. P 9500 5000
  254. F 0 "#PWR08" H 9500 4750 50 0001 C CNN
  255. F 1 "GND" H 9505 4827 50 0000 C CNN
  256. F 2 "" H 9500 5000 50 0001 C CNN
  257. F 3 "" H 9500 5000 50 0001 C CNN
  258. 1 9500 5000
  259. 1 0 0 -1
  260. $EndComp
  261. Wire Wire Line
  262. 9500 4100 9500 4550
  263. Wire Wire Line
  264. 8200 3900 9000 3900
  265. Wire Wire Line
  266. 9500 3350 9500 3700
  267. Wire Wire Line
  268. 9500 2700 9500 3050
  269. Wire Wire Line
  270. 9500 2050 9500 2400
  271. Wire Wire Line
  272. 6600 4900 6600 5100
  273. Wire Wire Line
  274. 6600 5100 6950 5100
  275. Wire Wire Line
  276. 6950 5100 6950 4100
  277. Wire Wire Line
  278. 6950 4100 5550 4100
  279. Connection ~ 5550 4100
  280. Wire Wire Line
  281. 6600 4200 4250 4200
  282. Wire Wire Line
  283. 6250 4300 4250 4300
  284. Text Notes 2800 4650 0 50 ~ 0
  285. ATtiny13\nATtiny25\nATtiny45\nATtiny85
  286. $Comp
  287. L Device:R R2
  288. U 1 1 5E91A0CA
  289. P 9000 4200
  290. F 0 "R2" H 9070 4246 50 0000 L CNN
  291. F 1 "10k" H 9070 4155 50 0000 L CNN
  292. F 2 "" V 8930 4200 50 0001 C CNN
  293. F 3 "~" H 9000 4200 50 0001 C CNN
  294. 1 9000 4200
  295. 1 0 0 -1
  296. $EndComp
  297. Wire Wire Line
  298. 9000 4050 9000 3900
  299. Connection ~ 9000 3900
  300. Wire Wire Line
  301. 9000 3900 9200 3900
  302. Wire Wire Line
  303. 9000 4350 9000 4550
  304. Wire Wire Line
  305. 9000 4550 9500 4550
  306. Connection ~ 9500 4550
  307. Wire Wire Line
  308. 9500 4550 9500 5000
  309. $EndSCHEMATC