{"id":130272,"date":"2023-03-12T20:00:11","date_gmt":"2023-03-12T14:00:11","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=130272"},"modified":"2024-06-05T19:09:30","modified_gmt":"2024-06-05T13:09:30","slug":"lgt8f328-adc-arduino-ide","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=130272","title":{"rendered":"LGT8F328 ADC (Arduino IDE)"},"content":{"rendered":"<p>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440<strong>\u00a0LGT8F328p<\/strong>\u00a0\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043b\u043e\u043d\u043e\u043c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0439 AVR ATmega328p (Arduino NANO). \u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440<strong>\u00a0LGT8F328p\u00a0<\/strong>\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c \u0441 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c\u00a0<strong>ATmega328p<\/strong>\u00a0\u0438 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0440\u044f\u0434\u043e\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u044e\u0449\u0438\u0445\u00a0<strong>ATmega328p<\/strong>.<\/p>\n<div id=\"attachment_130273\" style=\"width: 755px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-24-01.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-130273\" class=\"wp-image-130273 size-full\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-24-01.png\" alt=\"\" width=\"745\" height=\"185\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-24-01.png 745w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-24-01-500x124.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-24-01-200x50.png 200w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/a><p id=\"caption-attachment-130273\" class=\"wp-caption-text\">\u041f\u043b\u0430\u0442\u0430 LGT8F328P-LQFP32 MiniEVB<\/p><\/div>\n<div class=\"elementor-element elementor-element-7c3fed22 elementor-widget elementor-widget-heading\" data-id=\"7c3fed22\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n<div class=\"elementor-widget-container\">\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-01-21-11-46-50.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-129976\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-01-21-11-46-50.png\" alt=\"\" width=\"926\" height=\"442\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-01-21-11-46-50.png 926w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-01-21-11-46-50-500x239.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-01-21-11-46-50-200x95.png 200w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-01-21-11-46-50-768x367.png 768w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/a><\/p>\n<p class=\"elementor-heading-title elementor-size-default\"><strong>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 LGT8F328P<\/strong><\/p>\n<\/div>\n<\/div>\n<div class=\"elementor-element elementor-element-da58ca4 elementor-widget elementor-widget-text-editor\" data-id=\"da58ca4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n<div class=\"elementor-widget-container\">\n<ul>\n<li>FLASH (\u041f\u0417\u0423): 32 \u041a\u0431\u0430\u0439\u0442<\/li>\n<li>SRAM (\u041e\u0417\u0423): 2 \u041a\u0431\u0430\u0439\u0442<\/li>\n<li>E2PROM (EEPROM): 0K \/ 1K \/ 2K \/ 4K \/ 8K (\u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f)<\/li>\n<li>PWM (\u0428\u0418\u041c): 8<\/li>\n<li>\u0427\u0430\u0441\u0442\u043e\u0442\u0430: 32 \u041c\u0413\u0446<\/li>\n<li>\u0410\u0426\u041f: 9 \u043f\u0438\u043d\u043e\u0432, 12 \u0431\u0438\u0442<\/li>\n<li>\u0426\u0410\u041f: 1 \u043f\u0438\u043d, 8 \u0431\u0438\u0442<\/li>\n<li>\u0421\u0438\u043b\u043e\u0432\u044b\u0435 \u043f\u0438\u043d\u044b: 4 (\u0434\u043e 80 \u043c\u0410)<\/li>\n<li>\u0422\u0430\u0439\u043c\u0435\u0440\u044b 2x 8bit, 2x 16bit<\/li>\n<li>UART: 1<\/li>\n<li>SPI: 1<\/li>\n<li>I2C: 1<\/li>\n<li>PLL: 1<\/li>\n<li>\u041e\u043f\u043e\u0440\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435: 1.024\u0412 \/ 2.048\u0412 \/ 4.09\u0412 \u00b1 0,5%<\/li>\n<li>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c: 5\u0412<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0410\u0426\u041f \u0432\u00a0<strong>LGT8F328P\u00a0<\/strong>\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043e\u043f\u043e\u0440\u043d\u044b\u0445 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0439 (1,024 \u0412,\u00a0 2,048 B, 4,096 B, VCC), \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u0439 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 (1, 8, 16 , 32) \u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u043d\u0430\u044f \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e Atmega328 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u044c \u0410\u0426\u041f \u0434\u043e 12 \u0431\u0438\u0442. \u0422\u0430\u043a \u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430.<\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0426\u0410\u041f \u0432 <strong>LGT8F328P.<\/strong><\/p>\n<div id=\"marketWidget\"><\/div>\n<p><strong>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u0432 Arduino IDE<\/strong><\/p>\n<pre><span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">setup<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span> \r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">begin<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">9600<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #d35400;\">pinMode<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A0<\/span><span style=\"color: #434f54;\">,<\/span><span style=\"color: #00979c;\">INPUT<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">analogReadResolution<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">12<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #434f54;\">\/\/ \u0410\u0426\u041f 12 \u0411\u0418\u0422<\/span>\r\n \u00a0<span style=\"color: #d35400;\">analogReference<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #00979c;\">DEFAULT<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #434f54;\">\/\/ DEFAULT(U\u043f)<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n<span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">loop<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span>\r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">println<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #d35400;\">analogRead<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A0<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #000000;\">}<\/span>\r\n<\/pre>\n<p>\u041d\u0430 \u0432\u0445\u043e\u0434 \u04100 \u043f\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 3,3 \u0412 (\u0441 \u043f\u043b\u0430\u0442\u044b LGT8F328P-LQFP32 MiniEVB) \u0438 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u043f\u043e\u0440\u0442\u0430:<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-29-16.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130276\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-29-16.png\" alt=\"\" width=\"403\" height=\"362\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-29-16.png 403w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-29-16-200x180.png 200w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/a><br \/>\n\u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u043d\u043e \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0442\u0430\u043a\u0442\u043e\u0432 \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0442\u0430\u043a\u0442\u043e\u0432<br \/>\n\u0410\u0426\u041f, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0438\u043b\u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f.<\/p>\n<pre><span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">setup<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #000000;\">{<\/span>\r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">begin<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">9600<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #000000;\">ADMUX<\/span> <span style=\"color: #434f54;\">|=<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">REFS0<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">0b000<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #95a5a6;\">\/*<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0REFS2 REFS1 REFS0<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 0 0 AREF<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 0 1 AVCC<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 1 0 2.048V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 1 1 1.024V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a01 0 0 4.096V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0\u0411\u0438\u0442 REFS2 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 ADCSRD<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0\u00a0*\/<\/span>\r\n \u00a0<span style=\"color: #000000;\">ADCSRA<\/span> <span style=\"color: #434f54;\">|=<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADEN<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADSC<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADATE<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">0b111<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n<span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">loop<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #000000;\">{<\/span>\r\n \u00a0<span style=\"color: #5e6d03;\">while<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">ADCSRA<\/span> <span style=\"color: #434f54;\">&amp;<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADIF<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #434f54;\">==<\/span> <span style=\"color: #000000;\">0<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0\u00a0\u00a0\u00a0<span style=\"color: #00979c;\">int<\/span> <span style=\"color: #000000;\">u_data<\/span> <span style=\"color: #434f54;\">=<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">ADCL<\/span><span style=\"color: #434f54;\">|<\/span><span style=\"color: #000000;\">ADCH<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">8<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">println<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">5.00<\/span><span style=\"color: #434f54;\">\/<\/span><span style=\"color: #000000;\">4096<\/span><span style=\"color: #434f54;\">*<\/span><span style=\"color: #000000;\">u_data<\/span><span style=\"color: #434f54;\">,<\/span><span style=\"color: #000000;\">2<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n<\/pre>\n<p>\u0412\u044b\u0432\u043e\u0434 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430 \u043f\u043e\u0440\u0442\u0430:<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-43-09.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130279\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-43-09.png\" alt=\"\" width=\"403\" height=\"362\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-43-09.png 403w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-43-09-200x180.png 200w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/a><br \/>\n\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0432\u044b\u0448\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434:<\/p>\n<p><span style=\"color: #000000;\">ADMUX &#8212; \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0435\u043a\u0441\u043e\u0440\u0430 \u0410\u0426\u041f, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043e\u043f\u043e\u0440\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u0438\u043b\u0438 \u043f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f.<\/span><\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-46-56.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130280\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-46-56.png\" alt=\"\" width=\"672\" height=\"66\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-46-56.png 672w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-46-56-500x49.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-46-56-200x20.png 200w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/a><\/p>\n<p>\u0412\u044b\u0431\u043e\u0440 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043e\u043f\u043e\u0440\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-47-25.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130281\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-47-25.png\" alt=\"\" width=\"561\" height=\"134\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-47-25.png 561w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-47-25-500x119.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-47-25-200x48.png 200w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/a><\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0431\u0438\u0442 REFS2 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 ADCSRD.<\/p>\n<p>\u0412\u044b\u0431\u043e\u0440 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-49-07.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130282\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-49-07.png\" alt=\"\" width=\"560\" height=\"404\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-49-07.png 560w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-49-07-500x361.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-49-07-200x144.png 200w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u043a\u043e\u0434\u0430:<\/p>\n<blockquote><p><strong>ADMUX |= 1 &lt;&lt; REFS0 | 0b0000;<\/strong><\/p><\/blockquote>\n<p>\u0432\u044b\u0431\u0440\u0430\u043d\u043e \u043e\u043f\u043e\u0440\u043d\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 VCC (\u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430), \u0430\u043a\u0442\u0438\u0432\u0435\u043d \u0432\u0445\u043e\u0434 PC0 (A0).<\/p>\n<p>ADCSRA &#8212; \u0440\u0435\u0433\u0438\u0441\u0442\u0440 A \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0410\u0426\u041f<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-51-27.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130283\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-51-27.png\" alt=\"\" width=\"680\" height=\"71\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-51-27.png 680w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-51-27-500x52.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-18-51-27-200x21.png 200w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>ADEN &#8212; \u0431\u0438\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0410\u0426\u041f. \u0415\u0441\u043b\u0438 \u0431\u0438\u0442 ADEN \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0430 1,\u0442\u043e \u0410\u0426\u041f \u0432\u043a\u043b\u044e\u0447\u0435\u043d.<\/p>\n<p>ADSC &#8212; \u0431\u0438\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0410\u0426\u041f. \u0415\u0441\u043b\u0438 \u0431\u0438\u0442 ADSC \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0430 1, \u0442\u043e \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435.<\/p>\n<p>ADATE &#8212; \u0431\u0438\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0410\u0426\u041f. \u0415\u0441\u043b\u0438 \u0431\u0438\u0442 ADATE \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0430 1, \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430.<\/p>\n<p>ADPS &#8212; \u0431\u0438\u0442 \u0432\u044b\u0431\u043e\u0440\u0430 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f ADC.<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 50%; text-align: center;\"><strong>ADPS[2:0]<\/strong><\/td>\n<td style=\"width: 50%; text-align: center;\"><strong>\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b000<\/td>\n<td style=\"width: 50%; text-align: center;\">2<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b001<\/td>\n<td style=\"width: 50%; text-align: center;\">2<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b010<\/td>\n<td style=\"width: 50%; text-align: center;\">4<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b011<\/td>\n<td style=\"width: 50%; text-align: center;\">8<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b100<\/td>\n<td style=\"width: 50%; text-align: center;\">16<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b101<\/td>\n<td style=\"width: 50%; text-align: center;\">32\u00a0(\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b110<\/td>\n<td style=\"width: 50%; text-align: center;\">64<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; text-align: center;\">0b111<\/td>\n<td style=\"width: 50%; text-align: center;\">128<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u0412 \u043a\u043e\u0434\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u044b \u0432\u0441\u0435 \u0432\u044b\u0448\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0431\u0438\u0442\u044b \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 <span style=\"color: #000000;\">ADCSRA:<\/span><\/p>\n<blockquote><p><strong><span style=\"color: #000000;\">ADCSRA<\/span> <span style=\"color: #434f54;\">|=<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADEN<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADSC<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADATE<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">0b111<\/span><span style=\"color: #000000;\">;<\/span><\/strong><\/p><\/blockquote>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0410\u0426\u041f \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0447\u0442\u0435\u043d\u0438\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 ADCH \u0438 ADCL. \u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043c\u043b\u0430\u0434\u0448\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 ADCL.<\/p>\n<p>\u0421\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u0431\u0438\u0442 (\u0444\u043b\u0430\u0433) <strong>ADIF\u00a0<\/strong>\u0441\u0442\u0430\u043d\u0435\u0442 \u0440\u0430\u0432\u043d\u044b\u043c 1.<\/p>\n<blockquote><p><strong>while((ADCSRA &amp; (1 &lt;&lt; ADIF)) == 0);<\/strong><\/p><\/blockquote>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<blockquote><p><strong>int u_data = (ADCL|ADCH &lt;&lt; 8);<\/strong><\/p><\/blockquote>\n<p>\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0432\u043e\u043b\u044c\u0442\u0430\u0445 \u0432 \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u043f\u043e\u0440\u0442\u0430:<\/p>\n<blockquote><p><strong>Serial.println(5.00\/4096*u_data,2);<\/strong><\/p><\/blockquote>\n<p>\u0433\u0434\u0435:<\/p>\n<p><strong>5.00<\/strong> &#8212; \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u043e\u043d\u043e \u0436\u0435 \u0438 \u043e\u043f\u043e\u0440\u043d\u043e\u0435<\/p>\n<p><strong>4096<\/strong> &#8212; \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0432\u043d\u043e\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0447\u0438\u0441\u043b\u0443 12 \u0431\u0438\u0442<\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f 3,3 \u0412, \u0442\u043e \u0446\u0435\u043b\u0435\u0441\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0439 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043e\u043f\u043e\u0440\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 4,096 \u0412 \u0434\u043b\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f:<\/p>\n<pre><span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">setup<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #000000;\">{<\/span>\r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">begin<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">9600<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;\r\n<\/span>  <strong>ADMUX = 0b000;<\/strong>\r\n  <span style=\"color: #000000;\">ADCSRD<\/span> <span style=\"color: #434f54;\">|=<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">REFS2<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #95a5a6;\">\/*<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0REFS2 REFS1 REFS0<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 0 0 AREF<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 0 1 AVCC<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 1 0 2.048V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 1 1 1.024V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a01 0 0 4.096V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0\u0411\u0438\u0442 REFS2 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 ADCSRD<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0\u00a0*\/<\/span>\r\n \u00a0<span style=\"color: #000000;\">ADCSRA<\/span> <span style=\"color: #434f54;\">|=<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADEN<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADSC<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADATE<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">0b111<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n<span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">loop<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #000000;\">{<\/span>\r\n \u00a0<span style=\"color: #5e6d03;\">while<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">ADCSRA<\/span> <span style=\"color: #434f54;\">&amp;<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADIF<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #434f54;\">==<\/span> <span style=\"color: #000000;\">0<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0\u00a0\u00a0\u00a0<span style=\"color: #00979c;\">int<\/span> <span style=\"color: #000000;\">u_data<\/span> <span style=\"color: #434f54;\">=<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">ADCL<\/span><span style=\"color: #434f54;\">|<\/span><span style=\"color: #000000;\">ADCH<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">8<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">println<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">u_data<\/span><span style=\"color: #434f54;\">\/<\/span><span style=\"color: #000000;\">1000.00<\/span><span style=\"color: #434f54;\">,<\/span><span style=\"color: #000000;\">2<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n<\/pre>\n<p>\u041c\u043e\u043d\u0438\u0442\u043e\u0440 \u043f\u043e\u0440\u0442\u0430:<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-19-50-51.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130286\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-19-50-51.png\" alt=\"\" width=\"394\" height=\"359\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-19-50-51.png 394w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-19-50-51-200x182.png 200w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/a>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u043f\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430 \u043f\u043e\u0440\u0442\u0430, \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u043e\u043f\u043e\u0440\u043d\u044b\u0445 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f, \u043d\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043e\u043f\u043e\u0440\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0438 4,096 \u0412 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0412 LGT8F328 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b \u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u043a\u0438 VCAL1, VCAL2, VCAL3 \u0434\u043b\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f 1,024, 2,048 \u0438 4,096. \u0420\u0435\u0433\u0438\u0441\u0442\u0440 VCAL \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u043e\u0431\u0449\u0438\u0439 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u043e\u0447\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439. \u041f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u043e\u043f\u043e\u0440\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 1,024 \u0412, \u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u043e\u0447\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 VCAL1, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 VCAL. \u0415\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u043f\u043e\u0440\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 4,096 \u0412 , \u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 VCAL3 \u0442\u0430\u043a \u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 VCAL. \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u043f\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f\u043c, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 VCAL3 \u043d\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u044b\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 VCAL.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u043e\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<blockquote><p><b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">println<\/span><span style=\"color: #000000;\">(VCAL3<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;\u00a0 \/\/ 4,096 V<\/span><\/p><\/blockquote>\n<pre><span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">setup<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #000000;\">{<\/span>\r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">begin<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">9600<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;\r\n<\/span>  <strong>ADMUX = 0b000;<\/strong>\r\n  <span style=\"color: #000000;\">ADCSRD<\/span> <span style=\"color: #434f54;\">|=<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">REFS2<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #95a5a6;\">\/*<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0REFS2 REFS1 REFS0<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 0 0 AREF<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 0 1 AVCC<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 1 0 2.048V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a00 1 1 1.024V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a01 0 0 4.096V<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0\u0411\u0438\u0442 REFS2 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 ADCSRD<\/span>\r\n<span style=\"color: #95a5a6;\"> \u00a0\u00a0*\/<\/span>\r\n \u00a0<span style=\"color: #000000;\">ADCSRA<\/span> <span style=\"color: #434f54;\">|=<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADEN<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADSC<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADATE<\/span> <span style=\"color: #434f54;\">|<\/span> <span style=\"color: #000000;\">0b111<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #000000;\">VCAL<\/span> <span style=\"color: #434f54;\">=<\/span> <span style=\"color: #000000;\">30<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n<span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">loop<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #000000;\">{<\/span>\r\n \u00a0<span style=\"color: #5e6d03;\">while<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">ADCSRA<\/span> <span style=\"color: #434f54;\">&amp;<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">ADIF<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #434f54;\">==<\/span> <span style=\"color: #000000;\">0<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0\u00a0\u00a0\u00a0<span style=\"color: #00979c;\">int<\/span> <span style=\"color: #000000;\">u_data<\/span> <span style=\"color: #434f54;\">=<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">ADCL<\/span><span style=\"color: #434f54;\">|<\/span><span style=\"color: #000000;\">ADCH<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">8<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<b><span style=\"color: #d35400;\">Serial<\/span><\/b><span style=\"color: #434f54;\">.<\/span><span style=\"color: #d35400;\">println<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">u_data<\/span><span style=\"color: #434f54;\">\/<\/span><span style=\"color: #000000;\">1000.00<\/span><span style=\"color: #434f54;\">,<\/span><span style=\"color: #000000;\">2<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n<\/pre>\n<p>\u041c\u043e\u043d\u0438\u0442\u043e\u0440 \u043f\u043e\u0440\u0442\u0430:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130287\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-19-58-37.png\" alt=\"\" width=\"394\" height=\"359\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-19-58-37.png 394w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-12-19-58-37-200x182.png 200w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/>\u041f\u043e\u0434\u043e\u0431\u0440\u0430\u0432 \u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 VCAL = 30, \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f.<\/p>\n<p><strong>\u0414\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0410\u0426\u041f<\/strong><\/p>\n<p>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 LGT8F328 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0430 \u0434\u0432\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0445 \u0432\u0445\u043e\u0434\u0430 \u043f\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u044e\u0449\u0435\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430.<\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 DAPCR.<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-20-23.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130297\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-20-23.png\" alt=\"\" width=\"682\" height=\"72\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-20-23.png 682w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-20-23-500x53.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-20-23-200x21.png 200w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/a><\/p>\n<p>\u0411\u0438\u0442 DAPEN \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u044f<\/p>\n<p>\u0411\u0438\u0442\u044b DNS[4:2] \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u0445\u043e\u0434\u0430 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u044f<\/p>\n<p>\u0411\u0438\u0442\u044b DPS[1:0] \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0435\u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u0445\u043e\u0434\u0430 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u044f<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-28-17.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130298\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-28-17.png\" alt=\"\" width=\"633\" height=\"263\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-28-17.png 633w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-28-17-500x208.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-28-17-200x83.png 200w\" sizes=\"auto, (max-width: 633px) 100vw, 633px\" \/><\/a><\/p>\n<p>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0445\u043e\u0434 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0434\u0432\u0430 \u044d\u0442\u0430\u043f\u0430. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0445\u043e\u0434 \u043a\u0430\u043a \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u0430\u043a \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u0430\u044f \u0437\u0435\u043c\u043b\u044f, \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435, \u0434\u0430\u043b\u0435\u0435 \u0432\u0445\u043e\u0434\u044b \u043c\u0435\u043d\u044f\u0435\u043c \u043c\u0435\u0441\u0442\u0430\u043c\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0445\u043e\u0434 \u0434\u0435\u043b\u0430\u0435\u043c \u043a\u0430\u043a \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u0430\u044f \u0437\u0435\u043c\u043b\u044f, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0445\u043e\u0434 \u0434\u0435\u043b\u0430\u0435\u043c \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c. \u0414\u0430\u043b\u0435\u0435 \u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0434\u0432\u0430 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043d\u0430\u0434\u043e \u0438\u0437 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u0432\u044b\u0447\u0435\u0441\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435\u043c \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 ADMUX \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0432\u0445\u043e\u0434 \u0438 \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0432\u044b\u0431\u043e\u0440 \u043e\u043f\u043e\u0440\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430:<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 10px;\"><span style=\"color: #0066cc;\">void<\/span> setup<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  Serial.<span style=\"color: #006600;\">begin<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">9600<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n  ADCSRD <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> REFS2;<span style=\"color: #808080; font-style: italic;\">\/\/ REF 4.096<\/span>\r\n  VCAL = <span style=\"color: #cc66cc;\">30<\/span>;\r\n  ADCSRA <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> ADEN <span style=\"color: #66cc66;\">|<\/span> <span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> ADSC <span style=\"color: #66cc66;\">|<\/span> <span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> ADATE <span style=\"color: #66cc66;\">|<\/span> 0b111;\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #0066cc;\">void<\/span> loop<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">{<\/span>  \r\n  ADMUX = 0b11;DAPCR = <span style=\"color: #cc66cc;\">0<\/span>;\r\n  DAPCR <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> DAPEN <span style=\"color: #66cc66;\">|<\/span> 0b11001;\r\n  <span style=\"color: #b1b100;\">while<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>ADCSRA <span style=\"color: #66cc66;\">&amp;<\/span> <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> ADIF<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">)<\/span> == <span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n     <span style=\"color: #0066cc;\">int<\/span> u_data0 = <span style=\"color: #66cc66;\">(<\/span>ADCL<span style=\"color: #66cc66;\">|<\/span>ADCH <span style=\"color: #66cc66;\">&lt;&lt;<\/span> <span style=\"color: #cc66cc;\">8<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n <span style=\"color: #808080; font-style: italic;\">\/\/ Serial.println(u_data0);<\/span>\r\n  delay<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">500<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n  ADMUX = 0b00;DAPCR = <span style=\"color: #cc66cc;\">0<\/span>;\r\n  DAPCR <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> DAPEN <span style=\"color: #66cc66;\">|<\/span> 0b00111;\r\n  <span style=\"color: #b1b100;\">while<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>ADCSRA <span style=\"color: #66cc66;\">&amp;<\/span> <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> ADIF<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">)<\/span> == <span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n     <span style=\"color: #0066cc;\">int<\/span> u_data1 = <span style=\"color: #66cc66;\">(<\/span>ADCL<span style=\"color: #66cc66;\">|<\/span>ADCH <span style=\"color: #66cc66;\">&lt;&lt;<\/span> <span style=\"color: #cc66cc;\">8<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n <span style=\"color: #808080; font-style: italic;\">\/\/ Serial.println(u_data1);<\/span>\r\n\u00a0\r\n  Serial.<span style=\"color: #006600;\">println<\/span><span style=\"color: #66cc66;\">(<\/span>float<span style=\"color: #66cc66;\">(<\/span>u_data0-u_data1<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">\/<\/span><span style=\"color: #cc66cc;\">1000<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n  delay<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">500<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-05.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130299\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-05.png\" alt=\"\" width=\"347\" height=\"360\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-05.png 347w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-05-200x207.png 200w\" sizes=\"auto, (max-width: 347px) 100vw, 347px\" \/><\/a><\/td>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-33.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130301\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-33.png\" alt=\"\" width=\"347\" height=\"360\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-33.png 347w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2023\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2023-03-15-18-35-33-200x207.png 200w\" sizes=\"auto, (max-width: 347px) 100vw, 347px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0431\u044b\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b \u0432\u0445\u043e\u0434\u044b \u04100 \u0438 \u04103 (ADC3 \u0438 ADC0), \u043d\u0430 \u043d\u0438\u0445 \u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 1,5 \u0412. \u0412\u044b\u0431\u0440\u0430\u043d \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043e\u043f\u043e\u0440\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a 4,096 \u0412.<\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0445\u043e\u0434 \u043f\u0440\u0438 \u0441\u043c\u0435\u043d\u0435 \u043f\u043e\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 \u0432\u043f\u043e\u043b\u043d\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0438\u0437\u043c\u0435\u0440\u0438\u043b \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f.<\/p>\n<p>\u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0432\u0445\u043e\u0434\u0430 \u043e\u0434\u0438\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439, \u0434\u0440\u0443\u0433\u043e\u0439 \u043d\u0435\u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u043c. \u0422\u0430\u043a \u0436\u0435 \u0438\u0437\u043c\u0435\u0440\u044f\u0435\u043c\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u043e\u0431\u0449\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u0441 GND \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u00a0LGT8F328p\u00a0\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043b\u043e\u043d\u043e\u043c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0439 AVR ATmega328p (Arduino NANO). \u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u00a0LGT8F328p\u00a0\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c \u0441 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c\u00a0ATmega328p\u00a0\u0438 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0440\u044f\u0434\u043e\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u044e\u0449\u0438\u0445\u00a0ATmega328p. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 LGT8F328P FLASH (\u041f\u0417\u0423): 32 \u041a\u0431\u0430\u0439\u0442 SRAM (\u041e\u0417\u0423): 2 \u041a\u0431\u0430\u0439\u0442 E2PROM (EEPROM): 0K \/ 1K \/ 2K \/ 4K \/ 8K (\u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f) PWM (\u0428\u0418\u041c): 8 \u0427\u0430\u0441\u0442\u043e\u0442\u0430: 32 \u041c\u0413\u0446 \u0410\u0426\u041f: 9 \u043f\u0438\u043d\u043e\u0432, 12 \u0431\u0438\u0442 \u0426\u0410\u041f: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":129976,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[239,21],"tags":[],"class_list":["post-130272","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-21"],"views":7488,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/130272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130272"}],"version-history":[{"count":15,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/130272\/revisions"}],"predecessor-version":[{"id":132105,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/130272\/revisions\/132105"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/129976"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130272"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}