{"id":395346,"date":"2024-06-29T12:10:10","date_gmt":"2024-06-29T12:10:10","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=395346"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=395346","title":{"rendered":"<span>\u0414\u043e\u043b\u0433\u0438\u0439 \u043f\u0443\u0442\u044c \u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044e NRF24L01<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><s>\u041e\u0434\u043d\u0430\u0436\u0434\u044b, \u0432 \u0434\u0430\u043b\u0435\u043a\u043e\u0439 \u0434\u0430\u043b\u0435\u043a\u043e\u0439&#8230;.<\/s> \u0417\u0430\u0432\u0430\u043b\u044f\u043b\u0430\u0441\u044c \u0443 \u043c\u0435\u043d\u044f \u0434\u043e\u043c\u0430 \u0434\u0432\u0430 \u043c\u043e\u0434\u0443\u043b\u044f NRF24L01. \u0414\u0440\u0443\u0436\u0431\u0430 \u0441 \u043d\u0438\u043c\u0438 \u043d\u0435 \u0437\u0430\u043b\u0430\u0434\u0438\u043b\u0430\u0441\u044c \u043a\u0430\u043a-\u0442\u043e \u0441\u0440\u0430\u0437\u0443. \u0421 \u0442\u0435\u0445 \u043f\u0440\u043e\u0448\u043b\u043e \u043e\u043a\u043e\u043b\u043e \u0434\u0435\u0441\u044f\u0442\u0438 \u043b\u0435\u0442 \u0438 \u0432\u043e\u0442 \u044f \u0438\u0445 \u0441\u043d\u043e\u0432\u0430 \u043d\u0430\u0448\u0435\u043b. <\/p>\n<p>\u0414\u043b\u044f \u043d\u0438\u0445 \u043a\u0430\u043a \u0440\u0430\u0437 \u0435\u0441\u0442\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430: \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435 (\u043e\u043a\u043e\u043b\u043e 600 \u043c\u0435\u0442\u0440\u043e\u0432). \u0414\u0430 \u0442\u0443\u0442 \u0435\u0449\u0435 \u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u043f\u043e\u043f\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0433\u043b\u0430\u0437\u0430&#8230; <a href=\"https:\/\/habr.com\/ru\/post\/476716\/\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430.<\/a> <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u041c\u043d\u043e\u0433\u0438\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0438 \u0441\u043a\u0440\u0438\u043d\u044b \u0434\u0435\u043b\u0430\u043b\u0438\u0441\u044c \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u0443\u0442\u0438.<\/p>\n<h3>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<\/h3>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0440\u0430\u0434\u0438\u043e\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8af\/088\/674\/8af0886748a80e38508e7d076e4a5708.png\" alt=\"\u0420\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f NRF24L01\" title=\"\u0420\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f NRF24L01\" width=\"1024\" height=\"683\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8af\/088\/674\/8af0886748a80e38508e7d076e4a5708.png\"\/><figcaption>\u0420\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f NRF24L01<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u0430\u0440\u0434\u0443\u0438\u043d\u043e<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/372\/935\/ed8\/372935ed86ccb74971f6bdea8576f904.jpg\" alt=\"Arduino Nano \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430\" title=\"Arduino Nano \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430\" width=\"1193\" height=\"583\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/372\/935\/ed8\/372935ed86ccb74971f6bdea8576f904.jpg\" data-blurred=\"true\"\/><figcaption>Arduino Nano \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/4b9\/b11\/330\/4b9b11330f5d6c616d2833b5448b5925.jpg\" width=\"954\" height=\"645\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4b9\/b11\/330\/4b9b11330f5d6c616d2833b5448b5925.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<\/div>\n<\/details>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p>\u0412\u044b\u0432\u043e\u0434 \u043c\u043e\u0434\u0443\u043b\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u044b\u0432\u043e\u0434 \u0430\u0440\u0434\u0443\u0438\u043d\u044b<\/p>\n<\/td>\n<td>\n<p>\u0426\u0432\u0435\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043d\u0430 \u0441\u0445\u0435\u043c\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>GND<\/p>\n<\/td>\n<td>\n<p>GND<\/p>\n<\/td>\n<td>\n<p>\u0447\u0435\u0440\u043d\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>VCC<\/p>\n<\/td>\n<td>\n<p>3.3\u0412<\/p>\n<\/td>\n<td>\n<p>\u043a\u0440\u0430\u0441\u043d\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CE<\/p>\n<\/td>\n<td>\n<p>D9<\/p>\n<\/td>\n<td>\n<p>\u0437\u0435\u043b\u0435\u043d\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CSN<\/p>\n<\/td>\n<td>\n<p>D10<\/p>\n<\/td>\n<td>\n<p>\u0441\u0435\u0440\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SCK<\/p>\n<\/td>\n<td>\n<p>D13<\/p>\n<\/td>\n<td>\n<p>\u0436\u0435\u043b\u0442\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MOSI<\/p>\n<\/td>\n<td>\n<p>D11<\/p>\n<\/td>\n<td>\n<p>\u0441\u0438\u043d\u0438\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MISO<\/p>\n<\/td>\n<td>\n<p>D12<\/p>\n<\/td>\n<td>\n<p>\u0444\u0438\u043e\u043b\u0435\u0442\u043e\u0432\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>IRQ<\/p>\n<\/td>\n<td>\n<p>&#8212;<\/p>\n<\/td>\n<td>\n<p>&#8212;<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><strong>\u0428\u0430\u0433 0. \u0412 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u0430&#8230;<\/strong><\/p>\n<p>\u0418 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043d GettigStarted. \u0421 \u043d\u0438\u043c \u0443 \u043c\u0435\u043d\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0448\u043b\u043e. \u0421\u043e\u0432\u0441\u0435\u043c.<\/p>\n<p><strong>\u0428\u0430\u0433 1. \u041f\u0444\u0444\u0444, \u0434\u0430 \u0435\u0441\u0442\u044c \u0436\u0435 \u043c\u0430\u043d\u0443\u0430\u043b \u043d\u0430 \u0445\u0430\u0431\u0440\u0435, \u0433\u0434\u0435 \u0432\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/strong><\/p>\n<p>\u0421\u043e\u0431\u0438\u0440\u0430\u044e \u0432\u0441\u0435 \u043d\u0430 \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u0445, \u043f\u0440\u043e\u0437\u0432\u0430\u043d\u0438\u0432\u0430\u044e. \u0417\u0430\u043b\u0438\u0432\u0430\u044e \u0432 \u043e\u0434\u043d\u0443 \u0430\u0440\u0434\u0443\u0438\u043d\u043a\u0443 \u0441\u043a\u0435\u0442\u0447 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430, \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u043a\u0435\u0442\u0447 \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u044d\u0444\u0438\u0440\u0430. \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0432\u0438\u0436\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435&#8230;<\/p>\n<pre><code>RF24\/examples\/scanner\/  00000000000000001111111111111111222222222222222233333333333333334444444444444444555555555555555566666666666666667777777777777777  0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef  01000000000000000000011211611100123555773210000100000243000100000001026800010122011000000000000122112000000000000000000000000000  01320000000000000010012102101100277668344110000000000050010000000000111200000001122000000000000111111000000000000000000000000000  <\/code><\/pre>\n<p>\u0410 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b-\u0442\u043e \u044f \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 0x7B&#8230;.  <\/p>\n<p>\u0421 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u043e\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u0442\u0430\u043a\u0430\u044f \u0436\u0435&#8230;.<\/p>\n<p>\u0414\u0443\u043c\u0430\u044e: \u043d\u0443 \u0432\u043e\u0442, \u0442\u043e\u0447\u043d\u043e \u0431\u0440\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438, \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u0430\u0442\u044c \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e.  \u041d\u043e \u0436\u0430\u0434\u043d\u043e\u0441\u0442\u044c \u0432\u0437\u044f\u043b\u0430 \u0441\u0432\u043e\u0451, \u0440\u0435\u0448\u0438\u043b \u0438\u0445 \u0442\u0435\u0440\u0437\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435. \u041d\u0430\u0447\u0438\u0442\u0430\u043b\u0441\u044f \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 \u0432\u0435\u0448\u0430\u044e\u0442 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440. \u041f\u043e\u0432\u0435\u0441\u0438\u043b \u0442\u043e\u0436\u0435. \u041d\u0430 \u043e\u0431\u0435.<\/p>\n<p><strong>\u0428\u0430\u0433 2. \u041f\u0435\u0440\u0432\u044b\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0436\u0438\u0437\u043d\u0438&#8230;<\/strong><\/p>\n<p>\u0417\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u043b \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u043f\u0438\u0442\u0430\u043d\u0438\u0438. \u0418 \u0440\u0435\u0448\u0438\u043b \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438, \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0438 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u043f\u043e\u0441\u044b\u043b\u043e\u043a.  <\/p>\n<p>\u041a\u043e\u0434 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u043a\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;SPI.h> #include &lt;RF24.h> #include \"printf.h\" RF24 radio(9, 10); \/\/ \u043f\u043e\u0440\u0442\u044b D9, D10: CSN CE const uint32_t pipe = 111156789; \/\/ \u0430\u0434\u0440\u0435\u0441 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0442\u0440\u0443\u0431\u044b; 111156789  byte data; void setup() {   Serial.begin(57600);   printf_begin();   Serial.println(\"TransmitterTester ON \"); \/\/\u041e\u043f\u043e\u0432\u0435\u0449\u0430\u0435\u043c \u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0430\u0440\u0434\u0443\u0438\u043d\u044b   radio.begin();                    \/\/ \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0440\u0430\u0434\u0438\u043e\u043c\u043e\u0434\u0443\u043b\u044c   delay(3000);\/\/ \u0416\u0434\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b   radio.setDataRate(RF24_250KBPS);  \/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 RF24_1MBPS \u0438\u043b\u0438 RF24_2MBPS (RF24_250KBPS, RF24_1MBPS, RF24_2MBPS)   radio.setCRCLength(RF24_CRC_8);   \/\/ \u0420\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b 8 bit \u0438\u043b\u0438 16 bit   radio.setPALevel(RF24_PA_MIN);    \/\/ \u0423\u0440\u043e\u0432\u0435\u043d\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u044f RF24_PA_MIN, RF24_PA_LOW, RF24_PA_HIGH and RF24_PA_MAX ((RF24_PA_MIN=-18dBm, RF24_PA_LOW=-12dBm, RF24_PA_HIGH=-6dBm, RF24_PA_MAX=0dBm).   radio.setChannel(0x62);           \/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043a\u0430\u043d\u0430\u043b\u0430   radio.setAutoAck(false);          \/\/ \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u043f\u0430\u043a\u0435\u0442\u044b   radio.powerUp();                  \/\/ \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043f\u043e\u043d\u0438\u0436\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 powerDown - powerUp   radio.stopListening();            \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0434\u0438\u043e\u044d\u0444\u0438\u0440\u0430   radio.printDetails();\/\/ \u0412\u044b\u0432\u043e\u0434 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0440\u0430\u0434\u0438\u043e\u043c\u043e\u0434\u0443\u043b\u044f   radio.openWritingPipe(pipe);      \/\/ \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0442\u0440\u0443\u0431\u0443 \u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443   Serial.println(\"Start send...\");  \/\/ \u041e\u043f\u043e\u0432\u0435\u0449\u0430\u0435\u043c \u043e \u043d\u0430\u0447\u0430\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b } void loop() {   data = 109;   radio.write(&amp;data, 1);   delay(24);   \/\/Serial.println(\"data= \" + String(data)); } <\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u0434 \u0441\u043a\u0430\u043d\u0435\u0440\u0430<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u043a\u043e\u0434\u0430 \u0441\u043a\u0430\u043d\u0435\u0440\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>\/*  Copyright (C) 2011 J. Coliz &lt;maniacbug@ymail.com>   This program is free software; you can redistribute it and\/or  modify it under the terms of the GNU General Public License  version 2 as published by the Free Software Foundation.  *\/  \/**  * Channel scanner  *  * Example to detect interference on the various channels available.  * This is a good diagnostic tool to check whether you're picking a  * good channel for your application.  *  * Inspired by cpixip.  * See http:\/\/arduino.cc\/forum\/index.php\/topic,54795.0.html  *\/  #include &lt;SPI.h> #include \"nRF24L01.h\" #include \"RF24.h\" #include \"printf.h\"  \/\/ \/\/ Hardware configuration \/\/  \/\/ Set up nRF24L01 radio on SPI bus plus pins 9 &amp; 10  RF24 radio(9,10);  \/\/ \/\/ Channel info \/\/  const uint8_t num_channels = 128; uint8_t values[num_channels];  \/\/ \/\/ Setup \/\/  void setup(void) {   \/\/   \/\/ Print preamble   \/\/    Serial.begin(57600);   printf_begin();   printf(\"\\n\\rRF24\/examples\/scanner\/\\n\\r\");    \/\/   \/\/ Setup and configure rf radio   \/\/    radio.begin();   radio.setAutoAck(false);    \/\/ Get into standby mode   radio.startListening();   radio.stopListening();    \/\/ Print out header, high then low digit   int i = 0;   while ( i &lt; num_channels )   {     printf(\"%x\",i>>4);     ++i;   }   printf(\"\\n\\r\");   i = 0;   while ( i &lt; num_channels )   {     printf(\"%x\",i&amp;0xf);     ++i;   }   printf(\"\\n\\r\"); }  \/\/ \/\/ Loop \/\/  const int num_reps = 100;  void loop(void) {   \/\/ Clear measurement values   memset(values,0,sizeof(values));    \/\/ Scan all channels num_reps times   int rep_counter = num_reps;   while (rep_counter--)   {     int i = num_channels;     while (i--)     {       \/\/ Select this channel       radio.setChannel(i);        \/\/ Listen for a little       radio.startListening();       delayMicroseconds(128);       radio.stopListening();        \/\/ Did we get a carrier?       if ( radio.testCarrier() )         ++values[i];     }   }    \/\/ Print out channel measurements, clamped to a single hex digit   int i = 0;   while ( i &lt; num_channels )   {     printf(\"%x\",min(0xf,values[i]&amp;0xf));     ++i;   }   printf(\"\\n\\r\"); }  \/\/ vim:ai:cin:sts=2 sw=2 ft=cpp<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0444\u0430\u0439\u043b\u0438\u043a printf.h<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0447\u0430\u0442\u0438<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>\/*  Copyright (C) 2011 J. Coliz &lt;maniacbug@ymail.com>    This program is free software; you can redistribute it and\/or  modify it under the terms of the GNU General Public License  version 2 as published by the Free Software Foundation.  *\/   \/**  * @file printf.h  *  * Setup necessary to direct stdout to the Arduino Serial library, which  * enables 'printf'  *\/  #ifndef __PRINTF_H__ #define __PRINTF_H__  int serial_putc( char c, FILE * )  {   Serial.write( c );    return c; }   void printf_begin(void) {   fdevopen( &amp;serial_putc, 0 ); }  #endif \/\/ __PRINTF_H__<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0440\u0435\u0437\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0430\u0441\u044c&#8230;<\/p>\n<pre><code> RF24\/examples\/scanner\/  00000000000000001111111111111111222222222222222233333333333333334444444444444444555555555555555566666666666666667777777777777777  0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef  010000000000000000000112116111001235557732100001000002430001000000010268000101220110000000000001221120000001e4520000000000000000  013200000000000000100121021011002776683441100000000000500100000000001112000000011220000000000001111110000004a9100000000000000000  00200000000000000100011303201120035454455400000001000141000000100000013100000230100000000000000012221000000845300000000000000000  10210000011000000101000013102000023343245330000000000141000000000000032700000112210000000000000112112000000625600000000000000000  000000000100000000000220012210002355344432300000001003410000010000000433000001120200000000000002121120000008b7800000000000000000  1100000000000000101002220210200013322343431000000010114200100000001002330000012101000000000000020022100000045ac00000000000000000<\/code><\/pre>\n<p>\u0410 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b-\u0442\u043e \u044f \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 0x7B&#8230;.  <\/p>\n<p><strong>\u0428\u0430\u0433 3. \u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u043e\u0439\u043c\u0430\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u0431\u0430\u0439\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/strong><\/p>\n<p>\u0412\u0440\u0435\u043c\u044f \u043f\u043e\u0434\u0436\u0438\u043c\u0430\u043b\u043e, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u0440\u0435\u0435 \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u0417\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u043b \u0432 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u0438 \u0447\u0430\u0441\u0442\u043e\u0442 \u0441\u0430\u043c\u0438 \u0430\u0440\u0434\u0443\u0438\u043d\u044b.<\/p>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u043d\u0438\u0445 \u0431\u044b\u043b\u0430 \u0438\u0441\u043a\u0440\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3fe\/2c5\/82a\/3fe2c582a368a6bea25eb4fcdcbdd66b.jpg\" alt=\"\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 Arduino Iskra\" title=\"\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 Arduino Iskra\" width=\"1280\" height=\"960\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3fe\/2c5\/82a\/3fe2c582a368a6bea25eb4fcdcbdd66b.jpg\" data-blurred=\"true\"\/><figcaption>\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 Arduino Iskra<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u0418 \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u0435, \u043d\u0435\u0436\u0435\u043b\u0438 \u0447\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f (Atmega328P \u0441 8\u041c\u0433\u0446 \u0443 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0442\u0438\u0432 16\u041c\u0433\u0446 \u043d\u0430 Atmega328PB \u0443 \u0438\u0441\u043a\u0440\u044b)<\/p>\n<p>\u0421\u043e\u0431\u0440\u0430\u043b \u043d\u0430 \u0434\u0432\u0443\u0445 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 &#8212; \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u043b \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043d\u0430 \u043f\u0430\u0439\u043a\u0443 &#8212; \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>\u041d\u0430\u043a\u0438\u0434\u0430\u043b \u0441\u0432\u043e\u0439 \u0441\u043a\u0435\u0442\u0447, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u043a\u0430\u043d\u0430\u043b\u044b \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0441\u044b\u043b\u043e\u043a.<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u043a\u043e\u0434\u0430 \u0441\u043a\u0430\u043d\u0435\u0440\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#define TryingLimitDef 60 \/\/\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043f\u043e\u0439\u043c\u0430\u0442\u044c \u043f\u043e\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 #include &lt;SPI.h> #include &lt;RF24.h> #include \"printf.h\" RF24 radio(9, 10); \/\/ \u043f\u043e\u0440\u0442\u044b D9, D10: CSN CE  const uint32_t pipe = 111156789; \/\/ \u0430\u0434\u0440\u0435\u0441 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0442\u0440\u0443\u0431\u044b; byte data[1]; int scn;  \/\/\u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0446\u0438\u043a\u043b\u043e\u0432 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u044d\u0444\u0438\u0440\u0430 int sg;  \/\/\u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0447\u0438\u0441\u043b\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 int CHStart = 94; \/\/\u0421 \u043a\u0430\u043a\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c int CHto = 7; \/\/\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u0449\u0435\u043b\u043a\u0430\u0442\u044c int CH = CHStart;  int TryingLimit = TryingLimitDef; int CountOfTrying = 0; int ArrPck[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043f\u043e \u043f\u0430\u043a\u0435\u0442\u0430\u043c int ArrName[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u043f\u0440\u043e\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 int ArrCarrier[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 Carrier int ArrRPD[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 RDR void setup() {   Serial.begin(57600);   printf_begin();   Serial.println(\"ReceiverTester ON\");   Serial.println(\"Start Module \");   radio.begin();   delay(2000);   Serial.println(\"Run... \");   delay(500); } void loop() {   Serial.print (\"CH:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){     ReSetupRF(CH);\/\/\u0412\u044b\u0437\u043e\u0432 \u043f\u0435\u0440\u0435\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u044f     CH++;     CountOfTrying++;     delay(850);   }   \/\/\u0412\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432   Serial.println (\"\");   Serial.print (\"PCG:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){       Serial.print (String(ArrPck[i])); Serial.print(\"\\t\"); Serial.print(\"\\t\");       ArrPck[i] = 0;   }   Serial.print(\" of \" + String(TryingLimit));   Serial.println (\"\");   Serial.print (\"CRR:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){       Serial.print (String(ArrCarrier[i])); Serial.print(\"\\t\"); Serial.print(\"\\t\");       ArrCarrier[i] = 0;   }   Serial.print(\" of \" + String(TryingLimit));   Serial.println (\"\");     Serial.print (\"RPD:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){       Serial.print (String(ArrRPD[i])); Serial.print(\"\\t\"); Serial.print(\"\\t\");       ArrRPD[i] = 0;   }   Serial.print(\" of \" + String(TryingLimit));   Serial.println (\"\");  Serial.println (\"\");   \/\/\u0421\u0431\u0440\u043e\u0441 \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u043e\u0432   CountOfTrying = 0;   CH = CHStart; } void ReSetupRF(int CH){   \/\/Serial.println(\"ReSetup Run....\");   \/\/radio.begin();   \/\/Serial.println(\"Set Speed \");   radio.stopListening();   radio.setDataRate(RF24_1MBPS); \/\/ \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 RF24_1MBPS \u0438\u043b\u0438 RF24_2MBPS   \/\/Serial.println(\"Set CRC \");   radio.setCRCLength(RF24_CRC_8); \/\/ \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b 8 bit \u0438\u043b\u0438 16 bit    \/\/Serial.print(\"Curr CH \");  Serial.println(CH, HEX);   radio.setChannel(CH);         \/\/ \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043a\u0430\u043d\u0430\u043b\u0430   \/\/Serial.println(\"Set Ack \");   radio.setAutoAck(false);       \/\/ \u0430\u0432\u0442\u043e\u043e\u0442\u0432\u0435\u0442   \/\/ Serial.println(\"PW \");   \/\/radio.powerUp();    \/\/Serial.println(\"STOP \");    \/\/radio.stopListening();  \/\/delay(2000);   \/\/Serial.println(\"GET INFO \");    \/\/radio.printDetails();   \/\/delay(2000);   \/\/Serial.println(\"DONE GET INFO \");   \/\/delay(1000);   \/\/Serial.println(\"Open Pipe \");   radio.openReadingPipe(1, pipe); \/\/ \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0442\u0440\u0443\u0431\u0443 \u043d\u0430 \u043f\u0440\u0438\u0451\u043c   \/\/Serial.println(\"Start Listening \");   radio.startListening();        \/\/ \u043f\u0440\u0438\u0451\u043c   delay(1000);   PckCatch(); \/\/\u041d\u0430\u0447\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437 \u044d\u0444\u0438\u0440\u0430 } void PckCatch(){   \/\/Serial.println(\"Start Catch...\");   \/\/\u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430   if(CH &lt; 16){     Serial.print(\"0x0\");  Serial.print(CH, HEX); Serial.print(\"\\t\"); Serial.print(\"\\t\");   }else{     Serial.print(\"0x\");   Serial.print(CH, HEX); Serial.print(\"\\t\"); Serial.print(\"\\t\");   }   \/\/\u041e\u0447\u0438\u0441\u0442\u043a\u0430 \u0431\u0443\u0444\u0435\u0440\u043e\u0432 \u0440\u0430\u0434\u0438\u043e\u043c\u043e\u0434\u0443\u043b\u044f, \u0438\u0437\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0447\u0430\u0441\u0442\u043e\u0442\u044b   for (int x = 0; x &lt; 35 ; x++){    \/\/ \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u044d\u0444\u0438\u0440\u0430, \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u0435\u0440\u0435\u0434 \u0447\u0438\u0441\u0442\u043e\u0432\u044b\u043c     if (radio.available())     {       radio.read(data, 1);    }     delay(5);   }   \/\/\u041d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438   for (int x = 0; x &lt; TryingLimit ; x++){ \/\/ \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u044d\u0444\u0438\u0440\u0430 \u043d\u0430 \u043d\u0435\u0441\u0443\u0449\u0443\u044e if ( radio.testCarrier() ){     ArrCarrier[CountOfTrying]++; }  \/\/ \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u044d\u0444\u0438\u0440\u0430 \u043d\u0430 \u0441\u0438\u0433\u043d\u0430\u043b \u043c\u043e\u0449\u043d\u0435\u0435 -64dBm if ( radio.testRPD() ){     ArrRPD[CountOfTrying]++; }      \/\/ \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u044d\u0444\u0438\u0440\u0430 \u043d\u0430 \u043f\u043e\u0441\u044b\u043b\u043a\u0438 if (radio.available()) {     radio.read(data, 1);                if (data[0] == 109) {       sg++;       \/\/Serial.print(\"*\");      }else{       \/\/Serial.print(\"+\");      } } else{   \/\/Serial.print(\".\");  } delay(50);    }   \/\/Serial.println(\"\");   if(sg > 0){       \/\/Serial.print(\"FOUND \" + String(sg) + \" of \" + String(TryingLimit) + \" ON CH:\");      if(CH &lt; 16){       \/\/Serial.print(\"0x0\"); Serial.println(CH, HEX);      }else{       \/\/Serial.print(\"0x\"); Serial.println(CH, HEX);     }     \/\/Serial.println(\"\");     delay(300);   }else{     \/\/Serial.println(\"\");     \/\/Serial.println(\"\");   }   \/\/\u0417\u0430\u043f\u0438\u0441\u044c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u044b, \u0441\u0431\u0440\u043e\u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445   ArrPck[CountOfTrying] = sg;   ArrName[CountOfTrying] = CH;   sg = 0;   scn = 0;   delay(700);  }<\/code><\/pre>\n<p>\u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435:<\/p>\n<p>TryingLimitDef &#8212; \u0437\u0430\u0434\u0430\u0435\u0442 \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043f\u043f\u044b\u0442\u043e\u043a \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u044b<\/p>\n<p>CHStart &#8212; \u0437\u0430\u0434\u0430\u0435\u0442 \u0441 \u043a\u0430\u043a\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u043f\u043e\u0438\u0441\u043a. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 windows.<\/p>\n<p>CHto &#8212; \u0437\u0430\u0434\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u043e\u0432<\/p>\n<\/div>\n<\/details>\n<p>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439:<\/p>\n<details class=\"spoiler\">\n<summary>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0412\u043a\u043b\u044e\u0447\u0438\u043b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a. \u041d\u0430\u0448\u0435\u043b \u043e\u0431\u0449\u0438\u043c \u0441\u043a\u0430\u043d\u0435\u0440\u043e\u043c.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/75b\/e01\/941\/75be01941242d2949db0c25539ebb0dd.png\" width=\"1130\" height=\"95\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/75b\/e01\/941\/75be01941242d2949db0c25539ebb0dd.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0437\u043b\u0435 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0446\u0438\u0444\u0440\u044b.<\/p>\n<p>0x2A \u043f\u0435\u0440\u0435\u0432\u043e\u0436\u0443 \u0432 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u0443\u044e<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/89d\/2a9\/c85\/89d2a9c85ef235276394825e1fe1bc18.png\" width=\"582\" height=\"500\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/89d\/2a9\/c85\/89d2a9c85ef235276394825e1fe1bc18.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u044e \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u0441\u0432\u043e\u0439. \u0417\u0430\u0434\u0430\u044e CHStart  38 (\u043d\u0430 \u0447\u0435\u0442\u044b\u0440\u0435 \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0433\u0434\u0435 \u0443\u0432\u0438\u0434\u0435\u043b \u0441\u0438\u0433\u043d\u0430\u043b) \u0438 \u0441\u0442\u0430\u0432\u043b\u044e \u0438\u0441\u043a\u0430\u0442\u044c \u043d\u0430 10 \u043a\u0430\u043d\u0430\u043b\u043e\u0432.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u044e \u043d\u0430 \u043a\u0430\u043a\u0438\u0445 \u043a\u0430\u043d\u0430\u043b\u0430\u0445 \u0435\u0441\u0442\u044c \u043f\u043e\u0441\u044b\u043b\u043a\u0438, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c.<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code>ReceiverTester ON Start Module  Run...  CH:0x780x790x7A0x7B0x7C0x7D0x7E0x7F PCG:819115100 of 60 CRR:3459356555800 of 60 RPD:2359232155200 of 60  <\/code><\/pre>\n<p>CH &#8212; \u043a\u0430\u043d\u0430\u043b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u0445\u0432\u0430\u0442 \u043f\u043e\u0441\u044b\u043b\u043e\u043a<\/p>\n<p>PCG &#8212; \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0434\u0430\u0447\u043d\u044b\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043d\u0430\u0439\u0442\u0438 \u0441 \u0432\u0435\u0440\u043d\u043e\u0439 CRC.<\/p>\n<p>CRR &#8212; \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0434\u0430\u0447\u043d\u044b\u0445 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0439 \u043d\u0435\u0441\u0443\u0449\u0435\u0439 \u043d\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435<\/p>\n<p>RPD &#8212; \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0434\u0430\u0447\u043d\u044b\u0445 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0439 \u043d\u0435\u0441\u0443\u0449\u0435\u0439 \u0441 \u0443\u0440\u043e\u0432\u043d\u0435\u043c \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u0432\u044b\u0448\u0435  -64\u0414\u0431\u043c  <\/p>\n<p>\u0410 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b-\u0442\u043e \u044f \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 0x7B&#8230;.  \u041d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0438\u0434\u0451\u0442!<\/p>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044c, \u0442\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043b\u043e\u0432\u0438\u043b\u043e\u0441\u044c \u043c\u0435\u043d\u044c\u0448\u0435. \u0415\u0441\u043b\u0438 \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0431\u0449\u0435\u043d\u0438\u044f (1\u041c\u0431\u0438\u0442\/\u0441  \u0438 \u0432\u044b\u0448\u0435), \u0442\u043e \u0441\u0438\u0433\u043d\u0430\u043b \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u043e\u0443\u043c\u0435\u0432\u0430\u044f \u044f \u0440\u0435\u0448\u0438\u043b \u0442\u0430\u043a\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u0435.<\/p>\n<p><strong>\u0428\u0430\u0433 4. \u0412\u0441\u0435 \u0431\u044b\u043b\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e&#8230;<\/strong><\/p>\n<p>\u041f\u0440\u0438\u043b\u043e\u0436\u0438\u043b \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0442\u0440. \u0414\u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439, \u0430 \u043f\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0439 \u0438 \u0434\u0430\u0436\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439. \u0418 \u0443\u0432\u0438\u0434\u0435\u043b 3,3\u0412<\/p>\n<p>\u0420\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0441\u0446\u0438\u043b\u043b\u043e\u0433\u0440\u0430\u0444 \u0438 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u043e\u0442\u0430\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0441\u044f\u043a\u0438\u0435 \u043f\u0443\u043b\u044c\u0441\u0430\u0446\u0438\u0438&#8230;<\/p>\n<details class=\"spoiler\">\n<summary>\u0424\u043e\u0442\u043e \u043e\u0441\u0446\u0438\u043b\u043b\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/daa\/c5d\/e2e\/daac5de2eaf01dda08e1ab550750d3e9.jpg\" alt=\"\u041f\u0443\u043b\u044c\u0441\u0430\u0446\u0438\u0438 \u043f\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u043e\u0441\u044b\u043b\u043a\u0438\" title=\"\u041f\u0443\u043b\u044c\u0441\u0430\u0446\u0438\u0438 \u043f\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u043e\u0441\u044b\u043b\u043a\u0438\" width=\"1280\" height=\"960\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/daa\/c5d\/e2e\/daac5de2eaf01dda08e1ab550750d3e9.jpg\" data-blurred=\"true\"\/><figcaption>\u041f\u0443\u043b\u044c\u0441\u0430\u0446\u0438\u0438 \u043f\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u043e\u0441\u044b\u043b\u043a\u0438<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u041d\u043e \u043a\u0430\u043a \u0436\u0435 \u0442\u0430\u043a!  \u0412\u0435\u0434\u044c \u0431\u044b\u043b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043b\u0438\u0442 \u043d\u0430 100\u043c\u043a\u0424 \u0438 20\u0412.<\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u0437 5\u0412 \u0432 3,3\u0412.<\/p>\n<details class=\"spoiler\">\n<summary>\u0413\u0440\u0430\u0444\u0438\u043a \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0442\u043e\u043a\u0430<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c64\/159\/242\/c641592429076477715411cefe18f413.png\" alt=\"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0442\u043e\u043a\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e  \u0442\u0435\u0445. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430 AMS1117\" title=\"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0442\u043e\u043a\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e  \u0442\u0435\u0445. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430 AMS1117\" width=\"518\" height=\"533\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c64\/159\/242\/c641592429076477715411cefe18f413.png\"\/><figcaption>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0442\u043e\u043a\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e  \u0442\u0435\u0445. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430 AMS1117<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u043c\u044b\u0439 \u0442\u043e\u043a \u0443 \u043c\u043e\u0434\u0443\u043b\u044f<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0438 \u0442\u0438\u043f\u043e\u0432\u043e\u0439 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u043c\u044b\u0439 \u0442\u043e\u043a<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a17\/fe4\/073\/a17fe4073a03e7ffaff0427e1f4fcc91.png\" alt=\"\u0417\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f\" title=\"\u0417\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f\" width=\"360\" height=\"193\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a17\/fe4\/073\/a17fe4073a03e7ffaff0427e1f4fcc91.png\"\/><figcaption>\u0417\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f<\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8c9\/ad3\/1c0\/8c9ad31c0ea561eda9cd95d4fe011387.png\" alt=\"\u0417\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0442\u043e\u043a\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f\" title=\"\u0417\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0442\u043e\u043a\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f\" width=\"818\" height=\"191\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8c9\/ad3\/1c0\/8c9ad31c0ea561eda9cd95d4fe011387.png\"\/><figcaption>\u0417\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0442\u043e\u043a\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u041d\u0443 \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0434\u0438\u043a\u0430\u043b\u044c\u043d\u043e \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e \u043f\u0438\u0442\u0430\u043d\u0438\u044e<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/189\/54c\/523\/18954c5235700504021111e6a5820e44.png\" alt=\"\u0412\u043e\u043b\u044c\u043d\u0430\u044f \u0438\u043c\u043f\u0440\u043e\u0432\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 \u0442\u0435\u043c\u0443 \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0438\" title=\"\u0412\u043e\u043b\u044c\u043d\u0430\u044f \u0438\u043c\u043f\u0440\u043e\u0432\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 \u0442\u0435\u043c\u0443 \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0438\" width=\"588\" height=\"688\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/189\/54c\/523\/18954c5235700504021111e6a5820e44.png\"\/><figcaption>\u0412\u043e\u043b\u044c\u043d\u0430\u044f \u0438\u043c\u043f\u0440\u043e\u0432\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 \u0442\u0435\u043c\u0443 \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0438<\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/2a2\/c37\/fb2\/2a2c37fb2257982d8c027eb5696f4c40.jpg\" width=\"1280\" height=\"960\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2a2\/c37\/fb2\/2a2c37fb2257982d8c027eb5696f4c40.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u041d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435, \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u044c \u0440\u0430\u0434\u0438\u043e\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0443\u043f\u0430\u043b\u043e \u0441 3,3\u0412 \u0434\u043e 3,1\u0412.<\/p>\n<p>\u0417\u0430\u0442\u043e \u0438\u0441\u0447\u0435\u0437\u043b\u0430 \u043f\u0443\u043b\u044c\u0441\u0430\u0446\u0438\u044f.<\/p>\n<p><strong>\u0418\u0442\u043e\u0433<\/strong><\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u043b \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/089\/ee1\/a05\/089ee1a051d1792c25a041134ecf0ee6.png\" alt=\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432\" title=\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432\" width=\"1715\" height=\"654\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/089\/ee1\/a05\/089ee1a051d1792c25a041134ecf0ee6.png\"\/><figcaption>\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432<\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0432\u0441\u0435\u0445 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044f\u0445 \u0438 \u043d\u0430 \u0432\u0441\u0435\u0445 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044f\u0445.  \u041f\u043b\u0430\u0442\u044b \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0438 \u0433\u0440\u0435\u0442\u0441\u044f. \u041d\u0430 \u0434\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b, \u043d\u043e \u043f\u043e \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u043e\u043a\u043e\u043b\u043e 10 \u043c\u0435\u0442\u0440\u043e\u0432 \u0441\u043e \u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0442\u0435\u043b\u0430\u0436\u0430\u043c\u0438 \u043b\u043e\u0432\u0438\u0442 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e. \u041d\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b.<\/p>\n<p>\u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0438 \u0443\u0441\u043f\u0435\u0445\u043e\u0432 \u0432\u043e \u0432\u0441\u0435\u0445 \u043d\u0430\u0447\u0438\u043d\u0430\u043d\u0438\u044f\u0445.<\/p>\n<p><strong>\u0421\u043f\u0438\u0441\u043e\u043a \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432:<\/strong><\/p>\n<p><a href=\"https:\/\/www.sparkfun.com\/datasheets\/Components\/SMD\/nRF24L01Pluss_Preliminary_Product_Specification_v1_0.pdf\" rel=\"noopener noreferrer nofollow\">NRF24L01 datasheet<\/a><\/p>\n<p><a href=\"https:\/\/static.chipdip.ru\/lib\/552\/DOC001552809.pdf\" rel=\"noopener noreferrer nofollow\">AMS1117 datasheet<\/a><\/p>\n<p><a href=\"http:\/\/arduino.zl3p.com\/modules\/radio\" rel=\"noopener noreferrer nofollow\">\u0421\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/a><\/p>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/476716\/\" rel=\"noopener noreferrer nofollow\">\u0421\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/a><a href=\"https:\/\/habr.com\/ru\/hub\/easyelectronics\/\" rel=\"noopener noreferrer nofollow\">           <\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/574506\/\"> https:\/\/habr.com\/ru\/articles\/574506\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><s>\u041e\u0434\u043d\u0430\u0436\u0434\u044b, \u0432 \u0434\u0430\u043b\u0435\u043a\u043e\u0439 \u0434\u0430\u043b\u0435\u043a\u043e\u0439&#8230;.<\/s> \u0417\u0430\u0432\u0430\u043b\u044f\u043b\u0430\u0441\u044c \u0443 \u043c\u0435\u043d\u044f \u0434\u043e\u043c\u0430 \u0434\u0432\u0430 \u043c\u043e\u0434\u0443\u043b\u044f NRF24L01. \u0414\u0440\u0443\u0436\u0431\u0430 \u0441 \u043d\u0438\u043c\u0438 \u043d\u0435 \u0437\u0430\u043b\u0430\u0434\u0438\u043b\u0430\u0441\u044c \u043a\u0430\u043a-\u0442\u043e \u0441\u0440\u0430\u0437\u0443. \u0421 \u0442\u0435\u0445 \u043f\u0440\u043e\u0448\u043b\u043e \u043e\u043a\u043e\u043b\u043e \u0434\u0435\u0441\u044f\u0442\u0438 \u043b\u0435\u0442 \u0438 \u0432\u043e\u0442 \u044f \u0438\u0445 \u0441\u043d\u043e\u0432\u0430 \u043d\u0430\u0448\u0435\u043b. <\/p>\n<p>\u0414\u043b\u044f \u043d\u0438\u0445 \u043a\u0430\u043a \u0440\u0430\u0437 \u0435\u0441\u0442\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430: \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435 (\u043e\u043a\u043e\u043b\u043e 600 \u043c\u0435\u0442\u0440\u043e\u0432). \u0414\u0430 \u0442\u0443\u0442 \u0435\u0449\u0435 \u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u043f\u043e\u043f\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0433\u043b\u0430\u0437\u0430&#8230; <a href=\"https:\/\/habr.com\/ru\/post\/476716\/\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430.<\/a> <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u041c\u043d\u043e\u0433\u0438\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0438 \u0441\u043a\u0440\u0438\u043d\u044b \u0434\u0435\u043b\u0430\u043b\u0438\u0441\u044c \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u0443\u0442\u0438.<\/p>\n<h3>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<\/h3>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0440\u0430\u0434\u0438\u043e\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption>\u0420\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f NRF24L01<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u0430\u0440\u0434\u0443\u0438\u043d\u043e<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption>Arduino Nano \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<\/div>\n<\/details>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p>\u0412\u044b\u0432\u043e\u0434 \u043c\u043e\u0434\u0443\u043b\u044f<\/p>\n<\/td>\n<td>\n<p>\u0412\u044b\u0432\u043e\u0434 \u0430\u0440\u0434\u0443\u0438\u043d\u044b<\/p>\n<\/td>\n<td>\n<p>\u0426\u0432\u0435\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043d\u0430 \u0441\u0445\u0435\u043c\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>GND<\/p>\n<\/td>\n<td>\n<p>GND<\/p>\n<\/td>\n<td>\n<p>\u0447\u0435\u0440\u043d\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>VCC<\/p>\n<\/td>\n<td>\n<p>3.3\u0412<\/p>\n<\/td>\n<td>\n<p>\u043a\u0440\u0430\u0441\u043d\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CE<\/p>\n<\/td>\n<td>\n<p>D9<\/p>\n<\/td>\n<td>\n<p>\u0437\u0435\u043b\u0435\u043d\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CSN<\/p>\n<\/td>\n<td>\n<p>D10<\/p>\n<\/td>\n<td>\n<p>\u0441\u0435\u0440\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SCK<\/p>\n<\/td>\n<td>\n<p>D13<\/p>\n<\/td>\n<td>\n<p>\u0436\u0435\u043b\u0442\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MOSI<\/p>\n<\/td>\n<td>\n<p>D11<\/p>\n<\/td>\n<td>\n<p>\u0441\u0438\u043d\u0438\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MISO<\/p>\n<\/td>\n<td>\n<p>D12<\/p>\n<\/td>\n<td>\n<p>\u0444\u0438\u043e\u043b\u0435\u0442\u043e\u0432\u044b\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>IRQ<\/p>\n<\/td>\n<td>\n<p>&#8212;<\/p>\n<\/td>\n<td>\n<p>&#8212;<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><strong>\u0428\u0430\u0433 0. \u0412 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u0430&#8230;<\/strong><\/p>\n<p>\u0418 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043d GettigStarted. \u0421 \u043d\u0438\u043c \u0443 \u043c\u0435\u043d\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0448\u043b\u043e. \u0421\u043e\u0432\u0441\u0435\u043c.<\/p>\n<p><strong>\u0428\u0430\u0433 1. \u041f\u0444\u0444\u0444, \u0434\u0430 \u0435\u0441\u0442\u044c \u0436\u0435 \u043c\u0430\u043d\u0443\u0430\u043b \u043d\u0430 \u0445\u0430\u0431\u0440\u0435, \u0433\u0434\u0435 \u0432\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/strong><\/p>\n<p>\u0421\u043e\u0431\u0438\u0440\u0430\u044e \u0432\u0441\u0435 \u043d\u0430 \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u0445, \u043f\u0440\u043e\u0437\u0432\u0430\u043d\u0438\u0432\u0430\u044e. \u0417\u0430\u043b\u0438\u0432\u0430\u044e \u0432 \u043e\u0434\u043d\u0443 \u0430\u0440\u0434\u0443\u0438\u043d\u043a\u0443 \u0441\u043a\u0435\u0442\u0447 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430, \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u043a\u0435\u0442\u0447 \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u044d\u0444\u0438\u0440\u0430. \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0432\u0438\u0436\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435&#8230;<\/p>\n<pre><code>RF24\/examples\/scanner\/  00000000000000001111111111111111222222222222222233333333333333334444444444444444555555555555555566666666666666667777777777777777  0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef  01000000000000000000011211611100123555773210000100000243000100000001026800010122011000000000000122112000000000000000000000000000  01320000000000000010012102101100277668344110000000000050010000000000111200000001122000000000000111111000000000000000000000000000  <\/code><\/pre>\n<p>\u0410 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b-\u0442\u043e \u044f \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 0x7B&#8230;.  <\/p>\n<p>\u0421 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u043e\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u0442\u0430\u043a\u0430\u044f \u0436\u0435&#8230;.<\/p>\n<p>\u0414\u0443\u043c\u0430\u044e: \u043d\u0443 \u0432\u043e\u0442, \u0442\u043e\u0447\u043d\u043e \u0431\u0440\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438, \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u0430\u0442\u044c \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e.  \u041d\u043e \u0436\u0430\u0434\u043d\u043e\u0441\u0442\u044c \u0432\u0437\u044f\u043b\u0430 \u0441\u0432\u043e\u0451, \u0440\u0435\u0448\u0438\u043b \u0438\u0445 \u0442\u0435\u0440\u0437\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435. \u041d\u0430\u0447\u0438\u0442\u0430\u043b\u0441\u044f \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 \u0432\u0435\u0448\u0430\u044e\u0442 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440. \u041f\u043e\u0432\u0435\u0441\u0438\u043b \u0442\u043e\u0436\u0435. \u041d\u0430 \u043e\u0431\u0435.<\/p>\n<p><strong>\u0428\u0430\u0433 2. \u041f\u0435\u0440\u0432\u044b\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0436\u0438\u0437\u043d\u0438&#8230;<\/strong><\/p>\n<p>\u0417\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u043b \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u043f\u0438\u0442\u0430\u043d\u0438\u0438. \u0418 \u0440\u0435\u0448\u0438\u043b \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438, \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0438 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u043f\u043e\u0441\u044b\u043b\u043e\u043a.  <\/p>\n<p>\u041a\u043e\u0434 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u043a\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#include &lt;SPI.h> #include &lt;RF24.h> #include \"printf.h\" RF24 radio(9, 10); \/\/ \u043f\u043e\u0440\u0442\u044b D9, D10: CSN CE const uint32_t pipe = 111156789; \/\/ \u0430\u0434\u0440\u0435\u0441 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0442\u0440\u0443\u0431\u044b; 111156789  byte data; void setup() {   Serial.begin(57600);   printf_begin();   Serial.println(\"TransmitterTester ON \"); \/\/\u041e\u043f\u043e\u0432\u0435\u0449\u0430\u0435\u043c \u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0430\u0440\u0434\u0443\u0438\u043d\u044b   radio.begin();                    \/\/ \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0440\u0430\u0434\u0438\u043e\u043c\u043e\u0434\u0443\u043b\u044c   delay(3000);\/\/ \u0416\u0434\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b   radio.setDataRate(RF24_250KBPS);  \/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 RF24_1MBPS \u0438\u043b\u0438 RF24_2MBPS (RF24_250KBPS, RF24_1MBPS, RF24_2MBPS)   radio.setCRCLength(RF24_CRC_8);   \/\/ \u0420\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b 8 bit \u0438\u043b\u0438 16 bit   radio.setPALevel(RF24_PA_MIN);    \/\/ \u0423\u0440\u043e\u0432\u0435\u043d\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u044f RF24_PA_MIN, RF24_PA_LOW, RF24_PA_HIGH and RF24_PA_MAX ((RF24_PA_MIN=-18dBm, RF24_PA_LOW=-12dBm, RF24_PA_HIGH=-6dBm, RF24_PA_MAX=0dBm).   radio.setChannel(0x62);           \/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043a\u0430\u043d\u0430\u043b\u0430   radio.setAutoAck(false);          \/\/ \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u043f\u0430\u043a\u0435\u0442\u044b   radio.powerUp();                  \/\/ \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043f\u043e\u043d\u0438\u0436\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 powerDown - powerUp   radio.stopListening();            \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0434\u0438\u043e\u044d\u0444\u0438\u0440\u0430   radio.printDetails();\/\/ \u0412\u044b\u0432\u043e\u0434 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0440\u0430\u0434\u0438\u043e\u043c\u043e\u0434\u0443\u043b\u044f   radio.openWritingPipe(pipe);      \/\/ \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0442\u0440\u0443\u0431\u0443 \u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443   Serial.println(\"Start send...\");  \/\/ \u041e\u043f\u043e\u0432\u0435\u0449\u0430\u0435\u043c \u043e \u043d\u0430\u0447\u0430\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b } void loop() {   data = 109;   radio.write(&amp;data, 1);   delay(24);   \/\/Serial.println(\"data= \" + String(data)); } <\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u0434 \u0441\u043a\u0430\u043d\u0435\u0440\u0430<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u043a\u043e\u0434\u0430 \u0441\u043a\u0430\u043d\u0435\u0440\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>\/*  Copyright (C) 2011 J. Coliz &lt;maniacbug@ymail.com>   This program is free software; you can redistribute it and\/or  modify it under the terms of the GNU General Public License  version 2 as published by the Free Software Foundation.  *\/  \/**  * Channel scanner  *  * Example to detect interference on the various channels available.  * This is a good diagnostic tool to check whether you're picking a  * good channel for your application.  *  * Inspired by cpixip.  * See http:\/\/arduino.cc\/forum\/index.php\/topic,54795.0.html  *\/  #include &lt;SPI.h> #include \"nRF24L01.h\" #include \"RF24.h\" #include \"printf.h\"  \/\/ \/\/ Hardware configuration \/\/  \/\/ Set up nRF24L01 radio on SPI bus plus pins 9 &amp; 10  RF24 radio(9,10);  \/\/ \/\/ Channel info \/\/  const uint8_t num_channels = 128; uint8_t values[num_channels];  \/\/ \/\/ Setup \/\/  void setup(void) {   \/\/   \/\/ Print preamble   \/\/    Serial.begin(57600);   printf_begin();   printf(\"\\n\\rRF24\/examples\/scanner\/\\n\\r\");    \/\/   \/\/ Setup and configure rf radio   \/\/    radio.begin();   radio.setAutoAck(false);    \/\/ Get into standby mode   radio.startListening();   radio.stopListening();    \/\/ Print out header, high then low digit   int i = 0;   while ( i &lt; num_channels )   {     printf(\"%x\",i>>4);     ++i;   }   printf(\"\\n\\r\");   i = 0;   while ( i &lt; num_channels )   {     printf(\"%x\",i&amp;0xf);     ++i;   }   printf(\"\\n\\r\"); }  \/\/ \/\/ Loop \/\/  const int num_reps = 100;  void loop(void) {   \/\/ Clear measurement values   memset(values,0,sizeof(values));    \/\/ Scan all channels num_reps times   int rep_counter = num_reps;   while (rep_counter--)   {     int i = num_channels;     while (i--)     {       \/\/ Select this channel       radio.setChannel(i);        \/\/ Listen for a little       radio.startListening();       delayMicroseconds(128);       radio.stopListening();        \/\/ Did we get a carrier?       if ( radio.testCarrier() )         ++values[i];     }   }    \/\/ Print out channel measurements, clamped to a single hex digit   int i = 0;   while ( i &lt; num_channels )   {     printf(\"%x\",min(0xf,values[i]&amp;0xf));     ++i;   }   printf(\"\\n\\r\"); }  \/\/ vim:ai:cin:sts=2 sw=2 ft=cpp<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0444\u0430\u0439\u043b\u0438\u043a printf.h<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0447\u0430\u0442\u0438<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>\/*  Copyright (C) 2011 J. Coliz &lt;maniacbug@ymail.com>    This program is free software; you can redistribute it and\/or  modify it under the terms of the GNU General Public License  version 2 as published by the Free Software Foundation.  *\/   \/**  * @file printf.h  *  * Setup necessary to direct stdout to the Arduino Serial library, which  * enables 'printf'  *\/  #ifndef __PRINTF_H__ #define __PRINTF_H__  int serial_putc( char c, FILE * )  {   Serial.write( c );    return c; }   void printf_begin(void) {   fdevopen( &amp;serial_putc, 0 ); }  #endif \/\/ __PRINTF_H__<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0440\u0435\u0437\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0430\u0441\u044c&#8230;<\/p>\n<pre><code> RF24\/examples\/scanner\/  00000000000000001111111111111111222222222222222233333333333333334444444444444444555555555555555566666666666666667777777777777777  0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef  010000000000000000000112116111001235557732100001000002430001000000010268000101220110000000000001221120000001e4520000000000000000  013200000000000000100121021011002776683441100000000000500100000000001112000000011220000000000001111110000004a9100000000000000000  00200000000000000100011303201120035454455400000001000141000000100000013100000230100000000000000012221000000845300000000000000000  10210000011000000101000013102000023343245330000000000141000000000000032700000112210000000000000112112000000625600000000000000000  000000000100000000000220012210002355344432300000001003410000010000000433000001120200000000000002121120000008b7800000000000000000  1100000000000000101002220210200013322343431000000010114200100000001002330000012101000000000000020022100000045ac00000000000000000<\/code><\/pre>\n<p>\u0410 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b-\u0442\u043e \u044f \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 0x7B&#8230;.  <\/p>\n<p><strong>\u0428\u0430\u0433 3. \u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u043e\u0439\u043c\u0430\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u0431\u0430\u0439\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/strong><\/p>\n<p>\u0412\u0440\u0435\u043c\u044f \u043f\u043e\u0434\u0436\u0438\u043c\u0430\u043b\u043e, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u0440\u0435\u0435 \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u0417\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u043b \u0432 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u0438 \u0447\u0430\u0441\u0442\u043e\u0442 \u0441\u0430\u043c\u0438 \u0430\u0440\u0434\u0443\u0438\u043d\u044b.<\/p>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u043d\u0438\u0445 \u0431\u044b\u043b\u0430 \u0438\u0441\u043a\u0440\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption>\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 Arduino Iskra<\/figcaption><\/figure>\n<\/div>\n<\/details>\n<p>\u0418 \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u0435, \u043d\u0435\u0436\u0435\u043b\u0438 \u0447\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f (Atmega328P \u0441 8\u041c\u0433\u0446 \u0443 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0442\u0438\u0432 16\u041c\u0433\u0446 \u043d\u0430 Atmega328PB \u0443 \u0438\u0441\u043a\u0440\u044b)<\/p>\n<p>\u0421\u043e\u0431\u0440\u0430\u043b \u043d\u0430 \u0434\u0432\u0443\u0445 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 &#8212; \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u043b \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043d\u0430 \u043f\u0430\u0439\u043a\u0443 &#8212; \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>\u041d\u0430\u043a\u0438\u0434\u0430\u043b \u0441\u0432\u043e\u0439 \u0441\u043a\u0435\u0442\u0447, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u043a\u0430\u043d\u0430\u043b\u044b \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0441\u044b\u043b\u043e\u043a.<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043a\u0441\u0442 \u043a\u043e\u0434\u0430 \u0441\u043a\u0430\u043d\u0435\u0440\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"cpp\">#define TryingLimitDef 60 \/\/\u041a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043f\u043e\u0439\u043c\u0430\u0442\u044c \u043f\u043e\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 #include &lt;SPI.h> #include &lt;RF24.h> #include \"printf.h\" RF24 radio(9, 10); \/\/ \u043f\u043e\u0440\u0442\u044b D9, D10: CSN CE  const uint32_t pipe = 111156789; \/\/ \u0430\u0434\u0440\u0435\u0441 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0442\u0440\u0443\u0431\u044b; byte data[1]; int scn;  \/\/\u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0446\u0438\u043a\u043b\u043e\u0432 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u044d\u0444\u0438\u0440\u0430 int sg;  \/\/\u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0447\u0438\u0441\u043b\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 int CHStart = 94; \/\/\u0421 \u043a\u0430\u043a\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c int CHto = 7; \/\/\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u0449\u0435\u043b\u043a\u0430\u0442\u044c int CH = CHStart;  int TryingLimit = TryingLimitDef; int CountOfTrying = 0; int ArrPck[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043f\u043e \u043f\u0430\u043a\u0435\u0442\u0430\u043c int ArrName[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u043f\u0440\u043e\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 int ArrCarrier[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 Carrier int ArrRPD[TryingLimitDef]; \/\/\u041c\u0430\u0441\u0441\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 RDR void setup() {   Serial.begin(57600);   printf_begin();   Serial.println(\"ReceiverTester ON\");   Serial.println(\"Start Module \");   radio.begin();   delay(2000);   Serial.println(\"Run... \");   delay(500); } void loop() {   Serial.print (\"CH:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){     ReSetupRF(CH);\/\/\u0412\u044b\u0437\u043e\u0432 \u043f\u0435\u0440\u0435\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u044f     CH++;     CountOfTrying++;     delay(850);   }   \/\/\u0412\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432   Serial.println (\"\");   Serial.print (\"PCG:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){       Serial.print (String(ArrPck[i])); Serial.print(\"\\t\"); Serial.print(\"\\t\");       ArrPck[i] = 0;   }   Serial.print(\" of \" + String(TryingLimit));   Serial.println (\"\");   Serial.print (\"CRR:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){       Serial.print (String(ArrCarrier[i])); Serial.print(\"\\t\"); Serial.print(\"\\t\");       ArrCarrier[i] = 0;   }   Serial.print(\" of \" + String(TryingLimit));   Serial.println (\"\");     Serial.print (\"RPD:\"); Serial.print(\"\\t\");   for (int i = 0; i &lt;= CHto ; i++){       Serial.print (String(ArrRPD[i])); Serial.print(\"\\t\"); Serial.print(\"\\t\");       ArrRPD[i] = 0;   }<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-395346","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/395346","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=395346"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/395346\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=395346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=395346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=395346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}