{"id":234477,"date":"2014-08-27T13:47:03","date_gmt":"2014-08-27T09:47:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=234477"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=234477","title":{"rendered":"<span class=\"post_title\">\u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 ATtiny13 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Arduino<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442. \u0423\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435, \u0434\u0435\u0448\u0451\u0432\u044b\u0435, \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0447\u043d\u044b\u0435 \u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044e \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b <a href=\"http:\/\/www.atmel.com\/Images\/doc8126.pdf\">ATtiny13A<\/a>.<\/p>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0437\u0430\u0448\u0438\u0432\u0430\u044e Arduino&#8217;\u0432\u0441\u043a\u0438\u0435 \u0441\u043a\u0435\u0442\u0447\u0438 \u0432 <a href=\"http:\/\/www.atmel.com\/Images\/doc8126.pdf\">ATtiny13A<\/a>.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 <a href=\"https:\/\/vk.com\/doc256435878_311506198\">\u0430\u0440\u0445\u0438\u0432 <\/a> (\u0432\u0437\u044f\u0442\u043e \u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0434\u043e\u0434\u0435\u043b\u0430\u043d\u043e <a href=\"http:\/\/forum.arduino.cc\/index.php?PHPSESSID=7436795e835c1c8ab3ec9bda717b8b6f&amp;topic=89781.msg1169233#msg1169233\">\u043e\u0442\u0441\u044e\u0434\u0430<\/a>), \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 &quot;\\Documents\\Arduino\\hardware\\&quot;. \u0414\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 \u00abC:\\Users\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\\Documents\\Arduino\\hardware\\attiny13\\cores\\core13\u00bb.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Arduino IDE, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0435\u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0430 \u043d\u043e\u0432\u044b\u0439 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043b\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043b\u0438 \u0443 \u043d\u0430\u0441 \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u00ab\u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0430\u043f\u043a\u0438 \u0441\u043e \u0441\u043a\u0435\u0442\u0447\u0430\u043c\u0438\u00bb (\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435 \u00ab\u0424\u0430\u0439\u043b\/\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\u00bb):<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/6a1\/aa2\/fcb\/6a1aa2fcbea94a07839cb1b7f3236df3.png\" alt=\"image\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0448\u044c\u0451\u043c \u0432 \u0434\u0443\u0438\u043d\u043a\u0443 ArduinoISP \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 Arduino IDE:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/0e0\/298\/b48\/0e0298b48208415b9ce855a647ddcb5a.png\" alt=\"image\"\/><\/p>\n<p>  \u041f\u043e\u0442\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c ATtiny13 \u043a Arduino, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/010\/b15\/fa1\/010b15fa175f46b180a51372c2a222f0.png\" alt=\"image\"\/><\/p>\n<p>  \u041f\u043e\u0442\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0442\u0438\u043f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 Arduino as ISP, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/ec1\/474\/a21\/ec1474a21dbc4a068d5b84d7b5a200e4.png\" alt=\"image\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u043d\u0430 \u043a\u0430\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 ATtiny13, \u0441 \u0437\u0430\u0432\u043e\u0434\u0430 ATtiny13 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u0432 1.2 \u043c\u0413\u0446, \u0442\u043e \u0435\u0441\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0442\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 RC -\u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u0432 9.6 \u043c\u0413\u0446 \u0438 \u0432\u043a\u043b\u044e\u0447\u0451\u043d \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u043d\u0430 8, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0443\u043a\u0430\u0437\u0430\u043b \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0432 1.2 \u043c\u0413\u0446 \u043a\u0430\u043a \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u0443\u044e:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/06e\/2c4\/1ac\/06e2c41ac62d4fab8d7c1729c549f65d.png\" alt=\"image\"\/><\/p>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u2014 1.2 \u043c\u0413\u0446, 4.8 \u043c\u0413\u0446 \u0438 9.6 \u043c\u0413\u0446. \u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0447\u0430\u0441\u0442\u043e\u0442 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u00bb, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 \u00ab\u0421\u0435\u0440\u0432\u0438\u0441\u00bb. <\/p>\n<p>  \u0427\u0442\u043e \u0436\u0435 \u0441\u0440\u0435\u0434\u0430 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u00bb? <\/p>\n<p>  Arduino IDE \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0443\u0436\u043d\u044b\u0435 <a href=\"https:\/\/www.google.com.ua\/search?q=%D1%84%D1%8C%D1%8E%D0%B7%D1%8B&amp;oq=%D1%84%D1%8C%D1%8E%D0%B7%D1%8B&amp;aqs=chrome..69i57&amp;sourceid=chrome&amp;es_sm=93&amp;ie=UTF-8#q=%D1%84%D1%8C%D1%8E%D0%B7%D1%8B+%D0%BC%D0%B8%D0%BA%D1%80%D0%BE%D0%BA%D0%BE%D0%BD%D1%82%D1%80%D0%BE%D0%BB%D0%BB%D0%B5%D1%80%D0%B0\">\u0444\u044c\u044e\u0437\u044b \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430<\/a>. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b ATtiny13 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u0432 4.8 \u043c\u0413\u0446, \u044f \u0432\u044b\u0431\u0438\u0440\u0430\u044e \u043d\u0443\u0436\u043d\u0443\u044e \u043c\u043d\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0436\u043c\u0443 \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u00bb \u2014 \u0432\u0441\u0451. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u043e\u043f\u044f\u0442\u044c \u2014 \u043f\u0440\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u0443\u044e \u0432\u044b\u0448\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443.<\/p>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u0440\u043e\u0441\u0442 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u0440\u043e\u0441\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0442\u0430\u043c \u043c\u0438\u0433\u0430\u043b\u043e\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 1.2 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441 \u043b\u0438\u0445\u0432\u043e\u0439, \u0434\u0430 \u0438 \u043d\u0430 \u0442\u0430\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u043e\u043a\u043e\u043b\u043e 1 \u043c\u0438\u043b\u043b\u0438\u0430\u043c\u043f\u0435\u0440\u0430, \u0432\u043e\u0442 \u0441\u043a\u0440\u0438\u043d \u0438\u0437 <a href=\"http:\/\/www.atmel.com\/Images\/doc8126.pdf\">\u0434\u0430\u0442\u0430\u0448\u0438\u0442\u0430<\/a>:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/529\/c1c\/ded\/529c1cded78245028cda481055475598.PNG\" alt=\"image\"\/><\/p>\n<p>  \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c ATtiny13 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u2014 1.8 \u0412, \u043f\u0440\u0438\u0447\u0435\u043c \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u0432 1.2 \u043c\u0413\u0446.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0437\u0430\u0448\u044c\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0438\u043c\u0435\u0440 blink, \u043d\u0443 \u043a\u0430\u043a \u0436\u0435 \u0431\u0435\u0437 \u043d\u0435\u0433\u043e, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442? <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/9cb\/da6\/2e3\/9cbda62e39064650a1237649c034111f.jpg\" alt=\"image\"\/><\/p>\n<p>  \u041a\u0430\u043a \u0432\u044b \u0443\u0436\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0441\u043a\u0435\u0442\u0447 \u0441\u0442\u0430\u043b \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043b\u0435\u0433\u0447\u0435, \u0447\u0435\u043c \u0434\u043b\u044f Arduino Uno. \u042d\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0443\u0440\u0435\u0437\u0430\u043d\u044b \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e Arduino&#8217;\u0432\u0441\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<\/p>\n<p>  100% \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435:<\/p>\n<p>  pinMode()<br \/>  digitalWrite()<br \/>  digitalRead()<br \/>  analogRead()<br \/>  analogReference(INTERNAL) \/ (EXTERNAL)<br \/>  shiftOut()<br \/>  pulseIn()<br \/>  analogWrite()<br \/>  millis()<br \/>  micros()<br \/>  delay()<br \/>  delayMicroseconds()<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043a\u0430\u043a \u043c\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0443\u0432\u0438\u0434\u0435\u043b\u0438, \u043d\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0432\u0441\u0435\u0433\u043e 1024 \u0431\u0430\u0439\u0442\u0430. <\/p>\n<p>  \u041c\u0430\u043b\u043e \u043b\u0438 \u044d\u0442\u043e? \u041d\u0443, \u0441\u043c\u043e\u0442\u0440\u044f \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u0415\u0441\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0442\u0430\u043c \u043c\u0438\u0433\u0430\u043b\u043e\u043a, \u043f\u0438\u0449\u0430\u043b\u043e\u043a \u0438\u043b\u0438 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432, \u0434\u0443\u043c\u0430\u044e, \u0431\u0443\u0434\u0435\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.<\/p>\n<p>  \u0420\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u0438\u0437 <a href=\"http:\/\/www.atmel.com\/Images\/doc8126.pdf\">\u0434\u0430\u0442\u0430\u0448\u0438\u0442\u0430<\/a>:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/720\/9bf\/43d\/7209bf43d55e46eba9866dfc9bad3cbb.png\" alt=\"image\"\/><\/p>\n<p>  \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, PB4 \u2014 \u044d\u0442\u043e \u0442\u043e \u0436\u0435, \u0447\u0442\u043e \u0438 pin 4, \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e 4. <br \/>  \u0410\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0435 \u0432\u0445\u043e\u0434\u044b \u2014 \u0432\u0441\u0435, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0438\u0448\u0435\u0442 ADC*, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 PB4 \u2014 \u044d\u0442\u043e ADC2. \u0422\u043e \u0435\u0441\u0442\u044c \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435, \u043f\u0438\u0448\u0435\u043c analogRead(A2); \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e analogRead(2);, \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0439 \u0428\u0418\u041c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0440\u0442\u044b 0 \u0438 1.<\/p>\n<p>  <a href=\"http:\/\/arduino.ru\/forum\/programmirovanie\/attiny13a-101-primenenie\">\u0412\u0435\u0442\u043a\u0430<\/a> \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 Arduino.<\/p>\n<p>  \u0424\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430 \u043b\u0435\u0436\u0430\u0442 <a href=\"https:\/\/vk.com\/doc256435878_311506198\">\u0437\u0434\u0435\u0441\u044c<\/a>. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/234477\/\"> http:\/\/habrahabr.ru\/post\/234477\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442. \u0423\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435, \u0434\u0435\u0448\u0451\u0432\u044b\u0435, \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0447\u043d\u044b\u0435 \u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044e \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b <a href=\"http:\/\/www.atmel.com\/Images\/doc8126.pdf\">ATtiny13A<\/a>.<\/p>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0437\u0430\u0448\u0438\u0432\u0430\u044e Arduino&#8217;\u0432\u0441\u043a\u0438\u0435 \u0441\u043a\u0435\u0442\u0447\u0438 \u0432 <a href=\"http:\/\/www.atmel.com\/Images\/doc8126.pdf\">ATtiny13A<\/a>.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 <a href=\"https:\/\/vk.com\/doc256435878_311506198\">\u0430\u0440\u0445\u0438\u0432 <\/a> (\u0432\u0437\u044f\u0442\u043e \u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0434\u043e\u0434\u0435\u043b\u0430\u043d\u043e <a href=\"http:\/\/forum.arduino.cc\/index.php?PHPSESSID=7436795e835c1c8ab3ec9bda717b8b6f&amp;topic=89781.msg1169233#msg1169233\">\u043e\u0442\u0441\u044e\u0434\u0430<\/a>), \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 &quot;\\Documents\\Arduino\\hardware\\&quot;. \u0414\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 \u00abC:\\Users\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\\Documents\\Arduino\\hardware\\attiny13\\cores\\core13\u00bb.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Arduino IDE, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0435\u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0430 \u043d\u043e\u0432\u044b\u0439 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043b\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-234477","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/234477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=234477"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/234477\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=234477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=234477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=234477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}