{"id":4284,"date":"2025-04-28T18:37:05","date_gmt":"2025-04-28T10:37:05","guid":{"rendered":"https:\/\/meskernel.net\/?p=4284"},"modified":"2025-06-09T10:59:13","modified_gmt":"2025-06-09T02:59:13","slug":"%d8%aa%d9%88%d8%b5%d9%8a%d9%84-%d9%85%d8%b3%d8%aa%d8%b4%d8%b9%d8%b1-%d8%a7%d9%84%d9%84%d9%8a%d8%b2%d8%b1-%d8%a8%d8%ac%d9%87%d8%a7%d8%b2-%d8%a7%d8%b3%d8%aa%d8%b4%d8%b9%d8%a7%d8%b1-%d8%a7%d9%84%d9%84","status":"publish","type":"post","link":"https:\/\/meskernel.net\/ar\/connect-laser-sensor-to-raspberry-pi\/","title":{"rendered":"6 \u062e\u0637\u0648\u0627\u062a \u0644\u062a\u0648\u0635\u064a\u0644 \u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631 \u0628\u062c\u0647\u0627\u0632 Raspberry Pi (\u062f\u0644\u064a\u0644 UART)"},"content":{"rendered":"<p>\u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u0627\u0644\u062a\u0648\u0627\u0635\u0644  <a href=\"https:\/\/meskernel.net\/ar\/%d9%85%d8%b3%d8%aa%d8%b4%d8%b9%d8%b1-%d8%a7%d9%84%d9%85%d8%b3%d8%a7%d9%81%d8%a9-%d8%a8%d8%a7%d9%84%d9%84%d9%8a%d8%b2%d8%b1\/\">\u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631<\/a> \u0625\u0644\u0649 Raspberry Pi \u064a\u0641\u062a\u062d \u0642\u062f\u0631\u0627\u062a \u0642\u0648\u064a\u0629 \u0644\u0645\u0634\u0627\u0631\u064a\u0639 \u0627\u0644\u0631\u0648\u0628\u0648\u062a\u0627\u062a \u0648\u0627\u0644\u0623\u062a\u0645\u062a\u0629 \u0648\u0625\u0646\u062a\u0631\u0646\u062a \u0627\u0644\u0623\u0634\u064a\u0627\u0621. \u064a\u063a\u0637\u064a \u0647\u0630\u0627 \u0627\u0644\u062f\u0644\u064a\u0644 \u0627\u0644\u0645\u0641\u0635\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0643\u0644 \u0645\u0627 \u062a\u062d\u062a\u0627\u062c\u0647 \u0644\u0644\u062a\u0643\u0627\u0645\u0644 \u0627\u0644\u0633\u0644\u0633\u060c \u0628\u0645\u0627 \u0641\u064a \u0630\u0644\u0643 \u062a\u0648\u0635\u064a\u0644 \u0623\u0633\u0644\u0627\u0643 \u0627\u0644\u0623\u062c\u0647\u0632\u0629 (UART\/RS232\/RS485)\u060c \u0648\u0627\u0644\u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u062a\u0633\u0644\u0633\u0644\u064a \u0644 Raspberry Pi\u060c \u0648\u0628\u0631\u0645\u062c\u0629 Python \u0644 <a href=\"https:\/\/meskernel.net\/ar\/object-distance-measurement\/\">\u0642\u064a\u0627\u0633 \u0627\u0644\u0645\u0633\u0627\u0641\u0629<\/a>, and expert troublesighting tips. Whether you&#8217;re building a robot <a href=\"https:\/\/meskernel.net\/ar\/navigation-distance-sensor\/\">\u0627\u0644\u0645\u0644\u0627\u062d\u0629<\/a> system or a smart monitoring device, this tutorial will help you get&nbsp;precise <a href=\"https:\/\/meskernel.net\/ar\/laser-rangefinder\/\">\u062c\u0647\u0627\u0632 \u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0645\u062f\u0649 \u0628\u0627\u0644\u0644\u064a\u0632\u0631<\/a> \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0639 \u062c\u0647\u0627\u0632 Raspberry Pi \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0628\u0633\u0631\u0639\u0629 \u0648\u0643\u0641\u0627\u0621\u0629.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u0643\u064a\u0641\u064a\u0629 \u062a\u0648\u0635\u064a\u0644 \u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631 \u0625\u0644\u0649 Raspberry Pi \u0639\u0628\u0631 UART<\/h3>\n\n\n<div id=\"rank-math-howto\" class=\"rank-math-block\">\n<div class=\"rank-math-howto-description\">\n\n<p>\u0643\u064a\u0641\u064a\u0629 \u062a\u0648\u0635\u064a\u0644 \u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631 \u0628\u0640 Raspberry Pi<\/p>\n\n<\/div>\n\n<div class=\"rank-math-steps\">\n<div id=\"howto-step-1745831570402\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 1: \u0627\u062e\u062a\u0631 \u0648\u0627\u062c\u0647\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u0645\u0646\u0627\u0633\u0628\u0629<\/strong><\/h3>\n<div class=\"rank-math-step-content\"><p>\u0645\u0639\u0638\u0645\u00a0<strong><a href=\"https:\/\/meskernel.net\/ar\/laser-distance-sensors\/\">\u0623\u062c\u0647\u0632\u0629 \u0627\u0633\u062a\u0634\u0639\u0627\u0631 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0628\u0627\u0644\u0644\u064a\u0632\u0631<\/a><\/strong>\u00a0\u0627\u0644\u062f\u0639\u0645:<br \/><strong><a href=\"https:\/\/meskernel.net\/ar\/usart-vs-uart\/\">USART<\/a> (\u0645\u0633\u062a\u0648\u0649 TTL)<\/strong>\u00a0- \u0645\u062a\u0648\u0627\u0641\u0642 \u0645\u0628\u0627\u0634\u0631\u0629\u064b \u0645\u0639 UART \u0627\u0644\u062e\u0627\u0635 \u0628\u0640 Raspberry Pi.<br \/><strong>RS232\/RS485<\/strong>\u00a0- \u064a\u062a\u0637\u0644\u0628\u00a0<strong>\u0645\u062d\u0648\u0644 \u0627\u0644\u0645\u0633\u062a\u0648\u0649<\/strong>\u00a0(\u0639\u0644\u0649 \u0633\u0628\u064a\u0644 \u0627\u0644\u0645\u062b\u0627\u0644\u060c MAX3232 \u0644 RS232 \u0623\u0648 MAX485 \u0644 RS485).<br \/>\u2705\u00a0<strong>\u0646\u0635\u064a\u062d\u0629 \u0645\u062d\u062a\u0631\u0641:<\/strong>\u00a0\u062a\u062d\u0642\u0642 \u062f\u0627\u0626\u0645\u064b\u0627 \u0645\u0646 \u0648\u0631\u0642\u0629 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0645\u0633\u062a\u0634\u0639\u0631 \u0644\u0645\u0639\u0631\u0641\u0629 \u0645\u0627 \u064a\u0644\u064a\u00a0<strong>\u062a\u0648\u0627\u0641\u0642 \u0627\u0644\u062c\u0647\u062f<\/strong>\u00a0(3.3 \u0641\u0648\u0644\u062a \u0623\u0648 5 \u0641\u0648\u0644\u062a) \u0644\u062a\u062c\u0646\u0628 \u0625\u062a\u0644\u0627\u0641 Pi \u0627\u0644\u062e\u0627\u0635 \u0628\u0643.<\/p>\n<\/div>\n<\/div>\n<div id=\"howto-step-1745831605920\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 2: \u062a\u0648\u0635\u064a\u0644 \u0627\u0644\u0623\u062c\u0647\u0632\u0629 - \u062a\u0648\u0635\u064a\u0644 \u062c\u0647\u0627\u0632 Raspberry Pi \u0628\u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631<\/strong><\/h3>\n<div class=\"rank-math-step-content\"><img fetchpriority=\"high\" decoding=\"async\" width=\"407\" height=\"223\" src=\"https:\/\/meskernel.net\/wp-content\/uploads\/2025\/04\/How-to-Connect-a-Laser-Rangefinder-Sensor-to-Raspberry-Pi.webp\" class=\"attachment-full size-full not-transparent\" alt=\"\u0643\u064a\u0641\u064a\u0629 \u062a\u0648\u0635\u064a\u0644 \u0645\u0633\u062a\u0634\u0639\u0631 \u0645\u062d\u062f\u062f \u0627\u0644\u0645\u062f\u0649 \u0628\u0627\u0644\u0644\u064a\u0632\u0631 \u0628\u062c\u0647\u0627\u0632 Raspberry Pi\" data-has-transparency=\"false\" data-dominant-color=\"f6f6f6\" style=\"--dominant-color: #f6f6f6\" \/><p><strong>\u0627\u062a\u0635\u0627\u0644 UART (TTL) \u0627\u0644\u0645\u0628\u0627\u0634\u0631 (TTL)<\/strong><br \/>\ud83d\udd39\u00a0<strong>\u0628\u0627\u0644\u0646\u0633\u0628\u0629 \u0644\u0645\u0633\u062a\u0634\u0639\u0631\u0627\u062a RS232\/RS485:<\/strong><br \/>\u0627\u0633\u062a\u062e\u062f\u0645\u00a0<strong>\u0648\u062d\u062f\u0629 \u0645\u062d\u0648\u0644 \u0645\u0646 TTL \u0625\u0644\u0649 RS232\/RS485<\/strong>\u00a0\u0628\u064a\u0646 \u0627\u0644\u0645\u0633\u062a\u0634\u0639\u0631 \u0648 Pi.<\/p>\n<\/div>\n<\/div>\n<div id=\"howto-step-1745832364394\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 3: \u062a\u0641\u0639\u064a\u0644 UART \u0639\u0644\u0649 Raspberry Pi<\/strong><\/h3>\n<div class=\"rank-math-step-content\"><p>1- \u0627\u0641\u062a\u062d \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0648\u0642\u0645 \u0628\u062a\u0634\u063a\u064a\u0644: sudo raspi-config<br \/>2- \u0627\u0646\u062a\u0642\u0644 \u0625\u0644\u0649\u00a0<strong>\u062e\u064a\u0627\u0631\u0627\u062a \u0627\u0644\u0648\u0627\u062c\u0647\u0629 \u2192 \u0627\u0644\u0645\u0646\u0641\u0630 \u0627\u0644\u062a\u0633\u0644\u0633\u0644\u064a<\/strong>.<br \/>3.<strong>\u062a\u0639\u0637\u064a\u0644<\/strong>\u00a0\u0642\u0630\u064a\u0641\u0629 \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644 \u0639\u0628\u0631 \u0627\u0644\u0645\u0633\u0644\u0633\u0644.<br \/>4.<strong>\u0627\u0644\u062a\u0645\u0643\u064a\u0646<\/strong>\u00a0\u0627\u0644\u0623\u062c\u0647\u0632\u0629 \u0627\u0644\u062a\u0633\u0644\u0633\u0644\u064a\u0629.<br \/>5- \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u062a\u0634\u063a\u064a\u0644:sudo \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u062a\u0634\u063a\u064a\u0644<\/p>\n<\/div>\n<\/div>\n<div id=\"howto-step-1745832511858\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 4: \u062a\u062b\u0628\u064a\u062a \u0645\u0643\u062a\u0628\u0629 \u0628\u0627\u064a\u062b\u0648\u0646 \u0627\u0644\u062a\u0633\u0644\u0633\u0644\u064a\u0629<\/strong><\/h3>\n<div class=\"rank-math-step-content\"><p>\u0627\u0644\u062a\u062b\u0628\u064a\u062a\u00a0<strong>PySerial<\/strong>\u00a0\u0644\u0642\u0631\u0627\u0621\u0629 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0645\u0633\u062a\u0634\u0639\u0631<br \/>sudo apt update<br \/>sudo apt apt install python3-pip<br \/>pip3 \u062a\u062b\u0628\u064a\u062a Pyserial<\/p>\n<\/div>\n<\/div>\n<div id=\"howto-step-1745832533264\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 5: \u0643\u0648\u062f \u0628\u0627\u064a\u062b\u0648\u0646 \u0644\u0642\u0631\u0627\u0621\u0629 \u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631<\/strong><\/h3>\n<div class=\"rank-math-step-content\"><img decoding=\"async\" width=\"575\" height=\"352\" src=\"https:\/\/meskernel.net\/wp-content\/uploads\/2025\/04\/Python-Code-to-Read-Laser-Sensor-Data.webp\" class=\"attachment-full size-full not-transparent\" alt=\"\u0643\u0648\u062f \u0628\u0627\u064a\u062b\u0648\u0646 \u0644\u0642\u0631\u0627\u0621\u0629 \u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631\" data-has-transparency=\"false\" data-dominant-color=\"f5f5f5\" style=\"--dominant-color: #f5f5f5\" \/><p>\u0627\u0633\u062a\u062e\u062f\u0645 \u0647\u0630\u0627 \u0627\u0644\u0646\u0635 \u0627\u0644\u0628\u0631\u0645\u062c\u064a \u0644\u00a0<strong>\u0642\u0631\u0627\u0621\u0629 \u0642\u064a\u0627\u0633\u0627\u062a \u0627\u0644\u0645\u0633\u0627\u0641\u0629<\/strong><br \/>\ud83d\udd39\u00a0<strong>\u0627\u0644\u062a\u0639\u062f\u064a\u0644\u0627\u062a \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629:<\/strong><br \/>\u0642\u0645 \u0628\u0645\u0637\u0627\u0628\u0642\u0629\u00a0<strong>\u0645\u0639\u062f\u0644 \u0627\u0644\u0628\u0627\u0648\u062f<\/strong>\u00a0(\u0639\u0644\u0649 \u0633\u0628\u064a\u0644 \u0627\u0644\u0645\u062b\u0627\u0644\u060c 9600\u060c 115200) \u0625\u0644\u0649 \u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643.<br \/>\u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645\u00a0<code>\u062a\u064a\u0627\u0645\u06270<\/code>\u00a0\u0625\u0630\u0627\u00a0<code>\/dev\/ttyS0<\/code>\u00a0\u0644\u0627 \u064a\u0639\u0645\u0644 (\u0634\u0627\u0626\u0639 \u0641\u064a \u0637\u0631\u0627\u0632\u0627\u062a Pi \u0627\u0644\u0642\u062f\u064a\u0645\u0629).<\/p>\n<\/div>\n<\/div>\n<div id=\"howto-step-1745832824787\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 6: \u0627\u0633\u062a\u0643\u0634\u0627\u0641 \u0627\u0644\u0645\u0634\u0643\u0644\u0627\u062a \u0627\u0644\u0634\u0627\u0626\u0639\u0629 \u0648\u0625\u0635\u0644\u0627\u062d\u0647\u0627<\/strong><\/h3>\n<div class=\"rank-math-step-content\"><p>\u274c\u00a0<strong>\u0644\u0645 \u064a\u062a\u0645 \u0627\u0633\u062a\u0644\u0627\u0645 \u0623\u064a \u0628\u064a\u0627\u0646\u0627\u062a\u061f<\/strong><br \/>\u062a\u062d\u0642\u0642\u00a0<strong>\u062a\u0648\u0635\u064a\u0644\u0627\u062a TX\/RX<\/strong>\u00a0(\u0642\u0645 \u0628\u0627\u0644\u062a\u0628\u062f\u064a\u0644 \u0625\u0630\u0627 \u0644\u0632\u0645 \u0627\u0644\u0623\u0645\u0631).<br \/>\u062a\u062d\u0642\u0642\u00a0<strong>\u0645\u0639\u062f\u0644 \u0627\u0644\u0628\u0627\u0648\u062f<\/strong>\u00a0\u064a\u0637\u0627\u0628\u0642 \u0627\u0644\u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a.<br \/>\u062a\u0623\u0643\u062f \u0645\u0646\u00a0<strong>\u0644\u0627 \u064a\u062a\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 UART \u0628\u0648\u0627\u0633\u0637\u0629 \u0627\u0644\u0628\u0644\u0648\u062a\u0648\u062b<\/strong>\u00a0(\u062a\u0639\u0637\u064a\u0644 \u0645\u0639\u00a0<code>sudo systemctl systemctl \u062a\u0639\u0637\u064a\u0644 hciuart<\/code>).<br \/>\u274c\u00a0<strong>\u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0634\u0648\u0634\u0629\u061f<\/strong><br \/>\u062a\u0623\u0643\u064a\u062f\u00a0<strong>\u0645\u0633\u062a\u0648\u064a\u0627\u062a \u0627\u0644\u062c\u0647\u062f<\/strong>\u00a0(3.3 \u0641\u0648\u0644\u062a \u0645\u0642\u0627\u0628\u0644 5 \u0641\u0648\u0644\u062a).<br \/>\u0625\u0636\u0627\u0641\u0629\u00a0<strong>\u0645\u062d\u0648\u0644 \u0627\u0644\u0645\u0633\u062a\u0648\u0649 \u0627\u0644\u0645\u0646\u0637\u0642\u064a<\/strong>\u00a0\u0625\u0630\u0627 \u0644\u0632\u0645 \u0627\u0644\u0623\u0645\u0631.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong><a href=\"https:\/\/meskernel.net\/ar\/product\/raspberry-pi-laser-distance-sensor\/\">Raspberry Pi \u0642\u064a\u0627\u0633 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0628\u0627\u0644\u0644\u064a\u0632\u0631 \u0628\u0627\u0644\u0644\u064a\u0632\u0631<\/a><\/strong><\/h2>\n\n\n\n<p>\u0628\u0627\u062a\u0628\u0627\u0639 \u0647\u0630\u0627 \u0627\u0644\u062f\u0644\u064a\u0644\u060c \u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0646\u062c\u0627\u062d <a href=\"https:\/\/www.globalsources.com\/chengdu-meskernel\/showroom_6002100157315.htm\" target=\"_blank\" rel=\"noopener\">\u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631<\/a> \u0625\u0644\u0649 \u062c\u0647\u0627\u0632 raspberry pi \u0644\u0627\u0633\u062a\u0634\u0639\u0627\u0631 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0641\u064a \u0627\u0644\u0648\u0642\u062a \u0627\u0644\u0641\u0639\u0644\u064a. \u0647\u0630\u0627 \u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0645\u062b\u0627\u0644\u064a \u0645\u0646 \u0623\u062c\u0644:<br>\u2705&nbsp;<strong>\u0645\u0644\u0627\u062d\u0629 \u0627\u0644\u0631\u0648\u0628\u0648\u062a\u0627\u062a<\/strong><br>\u2705&nbsp;<strong>\u0627\u0644\u0623\u062a\u0645\u062a\u0629 \u0627\u0644\u0635\u0646\u0627\u0639\u064a\u0629<\/strong><br>\u2705&nbsp;<strong>\u0645\u0634\u0627\u0631\u064a\u0639 \u0625\u0646\u062a\u0631\u0646\u062a \u0627\u0644\u0623\u0634\u064a\u0627\u0621 \u0628\u0646\u0641\u0633\u0643 \u0628\u0646\u0641\u0633\u0643<\/strong><\/p>\n\n\n\n<p>\u0644\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0645\u062a\u0642\u062f\u0645\u0629\u060c \u0636\u0639 \u0641\u064a \u0627\u0639\u062a\u0628\u0627\u0631\u0643 \u0627\u0644\u062a\u0643\u0627\u0645\u0644 \u0645\u0639 \u0643\u0627\u0645\u064a\u0631\u0627 Raspberry Pi \u0623\u0648 ROS (\u0646\u0638\u0627\u0645 \u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0631\u0648\u0628\u0648\u062a).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0627\u062e\u062a\u064a\u0627\u0631 \u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631 \u0627\u0644\u0645\u0646\u0627\u0633\u0628 \u0644\u0640 Raspberry Pi<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>\u0646\u0645\u0648\u0630\u062c \u0627\u0644\u0645\u0633\u062a\u0634\u0639\u0631<\/strong><\/th><th><strong>\u0627\u0644\u0648\u0627\u062c\u0647\u0629<\/strong><\/th><th><strong>\u0627\u0644\u0646\u0637\u0627\u0642<\/strong><\/th><th><strong>\u0627\u0644\u0623\u0641\u0636\u0644 \u0644\u0640<\/strong><\/th><\/tr><\/thead><tbody><tr><td>\u0644.\u062f.\u062c<\/td><td>I\u00b2C<\/td><td>200m<\/td><td>\u0627\u0644\u0645\u0634\u0627\u0631\u064a\u0639 \u0627\u0644\u062f\u0627\u062e\u0644\u064a\u0629<\/td><\/tr><tr><td>PTFG<\/td><td>UART<\/td><td>3000m<\/td><td>\u0627\u0644\u0637\u0627\u0626\u0631\u0627\u062a \u0628\u062f\u0648\u0646 \u0637\u064a\u0627\u0631\/\u0627\u0644\u0631\u0648\u0628\u0648\u062a\u0627\u062a<\/td><\/tr><tr><td>\u0627\u0644\u0628\u0631\u0648\u062a\u064a\u0646 \u0627\u0644\u062f\u0647\u0646\u064a \u0645\u0646\u062e\u0641\u0636 \u0627\u0644\u0643\u062b\u0627\u0641\u0629 (LDL)<\/td><td><a href=\"https:\/\/meskernel.net\/ar\/analog-vs-tof-distance-sensors\/\">\u0627\u0644\u062a\u0646\u0627\u0638\u0631\u064a\u0629<\/a><\/td><td>40m<\/td><td>\u0646\u0645\u0627\u0630\u062c \u0623\u0648\u0644\u064a\u0629 \u0645\u0646\u062e\u0641\u0636\u0629 \u0627\u0644\u062a\u0643\u0644\u0641\u0629<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udd0d *\u0646\u0635\u064a\u062d\u0629 \u0627\u062d\u062a\u0631\u0627\u0641\u064a\u0629: \u0639\u0646\u062f \u062a\u0648\u0635\u064a\u0644 \u0645\u0633\u062a\u0634\u0639\u0631 \u0627\u0644\u0644\u064a\u0632\u0631 \u0628\u0640 Raspberry Pi\u060c \u0623\u0639\u0637 \u0627\u0644\u0623\u0648\u0644\u0648\u064a\u0629 \u0644\u0644\u0645\u0648\u062f\u064a\u0644\u0627\u062a \u0627\u0644\u0645\u062a\u0648\u0627\u0641\u0642\u0629 \u0645\u0639 3.3 \u0641\u0648\u0644\u062a \u0644\u062a\u062c\u0646\u0628 \u062f\u0648\u0627\u0626\u0631 \u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0645\u0633\u062a\u0648\u0649.*<\/p>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Learn how to connect  laser sensor to Raspberry Pi with this step-by-step guide. Includes wiring diagrams, UART setup, Python code for distance measurement, and troublesighting tips. Perfect for robotics, automation, and IoT projects!<\/p>","protected":false},"author":1,"featured_media":4288,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[49],"tags":[],"class_list":["post-4284","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solution"],"_links":{"self":[{"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/posts\/4284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/comments?post=4284"}],"version-history":[{"count":0,"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/posts\/4284\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/media\/4288"}],"wp:attachment":[{"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/media?parent=4284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/categories?post=4284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meskernel.net\/ar\/wp-json\/wp\/v2\/tags?post=4284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}