{"id":18761,"date":"2020-10-05T11:27:28","date_gmt":"2020-10-05T07:57:28","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=18761"},"modified":"2021-06-20T11:41:42","modified_gmt":"2021-06-20T07:11:42","slug":"interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0642\u0637\u0628 \u0646\u0645\u0627\u06cc 3 \u0645\u062d\u0648\u0631\u0647 GY-511 LSM303 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"18761\" class=\"elementor elementor-18761\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5c6956c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5c6956c\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4202856\" data-id=\"4202856\" data-element_type=\"column\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-70820b76 elementor-widget elementor-widget-heading\" data-id=\"70820b76\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 \u0642\u0637\u0628 \u0646\u0645\u0627\u06cc GY-511<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-41b7f7ff elementor-widget elementor-widget-text-editor\" data-id=\"41b7f7ff\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u062c\u0631\u06cc\u0627\u0646 \u0648 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0645\u0633\u062a\u0642\u06cc\u0645\u06cc \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u062f\u0627\u0631\u0646\u062f. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062c\u0631\u06cc\u0627\u0646 \u062f\u0631 \u06cc\u06a9 \u0633\u06cc\u0645 \u062c\u0627\u0631\u06cc \u0645\u06cc \u0634\u0648\u062f (\u0627\u0644\u06a9\u062a\u0631\u0648\u0646 \u0647\u0627 \u062f\u0631 \u06cc\u06a9 \u062c\u0647\u062a \u0634\u0631\u0648\u0639 \u0628\u0647 \u062d\u0631\u06a9\u062a \u0645\u06cc \u06a9\u0646\u0646\u062f)\u060c \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u0634\u0648\u062f. \u0627\u06cc\u062f\u0647 \u06cc \u0627\u0635\u0644\u06cc \u0633\u0646\u0633\u0648\u0631 \u0647\u0627\u06cc \u0642\u0637\u0628 \u0646\u0645\u0627 \u0647\u0645 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0647\u0645\u06cc\u0646 \u0631\u0627\u0628\u0637\u0647 \u0627\u0633\u062a. \u062c\u0647\u062a \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0632\u0645\u06cc\u0646 \u0631\u0648\u06cc \u062c\u0631\u06cc\u0627\u0646 \u062d\u0631\u06a9\u062a \u0627\u0644\u06a9\u062a\u0631\u0648\u0646 \u0647\u0627 \u062f\u0631 \u0633\u0646\u0633\u0648\u0631 \u062a\u0627\u062b\u06cc\u0631 \u0645\u06cc \u06af\u0630\u0627\u0631\u062f. \u0628\u0627 \u0627\u0646\u062f\u0627\u0632\u0647 \u06af\u06cc\u0631\u06cc \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u062f\u0631 \u062c\u0631\u06cc\u0627\u0646\u060c \u0633\u0646\u0633\u0648\u0631 \u0642\u0627\u062f\u0631 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f\u00a0 \u062a\u0627 \u062c\u0647\u062a \u0647\u0627 \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u062f.<\/p><p>\u0645\u0627\u0698\u0648\u0644 GY-511 \u0627\u0632 \u062a\u0631\u0627\u0634\u0647 \u06cc LSM303DLHC \u0628\u0631\u0627\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0645\u06cc\u062f\u0627\u0646 \u0647\u0627\u06cc \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0648 \u062c\u0647\u062a \u0622\u0646 \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f. \u067e\u0631\u0648\u062a\u06a9\u0644 \u0627\u0631\u062a\u0628\u0627\u0637\u06cc \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 I2C \u0627\u0633\u062a \u0648 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 2 \u067e\u0627\u06cc\u0647 SCL \u0648 SDA \u0622\u0646 \u0631\u0627 \u0628\u0647 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0632 \u062c\u0645\u0644\u0647 \u0628\u0631\u062f\u0647\u0627\u06cc \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0645\u062a\u0635\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-544c0f74 elementor-widget elementor-widget-image\" data-id=\"544c0f74\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/GY511-Arduino-Module.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY511-Arduino-Module.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTg3NjQsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMDlcL0dZNTExLUFyZHVpbm8tTW9kdWxlLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/GY511-Arduino-Module.jpg\" class=\"attachment-large size-large\" alt=\"\u0645\u0627\u0698\u0648\u0644 \u0642\u0637\u0628 \u0646\u0645\u0627 GY-511\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-177f1f93 elementor-widget elementor-widget-text-editor\" data-id=\"177f1f93\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u062a\u0631\u0627\u0634\u0647 \u06cc LSM303DLHC \u0631\u0627\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646\u062c\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p><p><div class='w3eden'><!-- WPDM Link Template: Default Template -->\n\n<div class=\"link-template-default card mb-2\">\n    <div class=\"card-body\">\n        <div class=\"media\">\n            <div class=\"mr-3 img-48\"><img class=\"wpdm_icon\" alt=\"Icon\" src=\"data:image\/svg+xml;base64,ICAgICAgICAgICAgPHN2ZyBpZD0iTGF5ZXJfNmEyMWU5NmYyZWU3MSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMjsiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiCiAgICAgICAgICAgICAgICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PHN0eWxlCiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU9InRleHQvY3NzIj4KICAgICAgICAgICAgICAgICAgICAuc3RfNmEyMWU5NmYyZWU3MV8wIHsKICAgICAgICAgICAgICAgICAgICAgICAgZmlsbDogcmdiYSgzOCwgMTU3LCAyMzksIDAuMyk7CiAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICAuc3RfNmEyMWU5NmYyZWU3MV8xIHsKICAgICAgICAgICAgICAgICAgICAgICAgZmlsbDogcmdiYSgzOCwgMTU3LCAyMzksIDAuOSk7CiAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICAuc3RfNmEyMWU5NmYyZWU3MV8yIHsKICAgICAgICAgICAgICAgICAgICAgICAgZmlsbDogIzI2OWRlZjsKICAgICAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgICAgIC5zdF82YTIxZTk2ZjJlZTcxXzMgewogICAgICAgICAgICAgICAgICAgICAgICBmaWxsOiAjRkZGRkZGOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIDwvc3R5bGU+CiAgICAgICAgICAgICAgICA8ZyBpZD0iWE1MSURfMTY4XyI+CiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IlhNTElEXzgzXyI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxwb2x5Z29uIGNsYXNzPSJzdF82YTIxZTk2ZjJlZTcxXzAiIGlkPSJYTUxJRF84N18iIHBvaW50cz0iMzMwLjcsNiA4Ny45LDYgODcuOSw1MDYgNDQ5LjIsNTA2IDQ0OS4yLDEyMi44ICAgIi8+CiAgICAgICAgICAgICAgICAgICAgICAgIDxwb2x5Z29uIGNsYXNzPSJzdF82YTIxZTk2ZjJlZTcxXzEiIGlkPSJYTUxJRF84Nl8iIHBvaW50cz0iMzMwLjcsNiA0NDkuMiwxMjIuOCAzMzAuNywxMjIuOCAgICIvPgogICAgICAgICAgICAgICAgICAgICAgICA8cmVjdCBjbGFzcz0ic3RfNmEyMWU5NmYyZWU3MV8xIiBoZWlnaHQ9IjE1Ni4xIiBpZD0iWE1MSURfODVfIiB3aWR0aD0iMzI5IiB4PSI2Mi44IiB5PSIyOTguOCIvPgogICAgICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBjbGFzcz0ic3RfNmEyMWU5NmYyZWU3MV8yIiBpZD0iWE1MSURfODRfIiBwb2ludHM9IjYyLjgsNDU0LjkgODcuOSw0NzYuMSA4Ny45LDQ1NC45ICAgIi8+CiAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaWQ9IlhNTElEXzMxMTNfIj4KICAgICAgICAgICAgICAgICAgICAgICAgPHRleHQgeD0iMjAlIiBmaWxsPSJ3aGl0ZSIgc3R5bGU9ImZvbnQtZmFtaWx5OiBzYW5zLXNlcmlmO2ZvbnQtc2l6ZTogNzI1JTtmb250LXdlaWdodDogYm9sZDsiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHk9IjgyJSI+UERGPC90ZXh0PgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICA8L3N2Zz4KICAgICAgICAgICAg\" \/><\/div>\n            <div class=\"media-body\">\n                <h3 class=\"package-title\"><a href='https:\/\/thecaferobot.com\/learn\/download\/lsm303dlhc\/'>LSM303DLHC<\/a><\/h3>\n                <div class=\"text-muted text-small\"><i class=\"fas fa-copy\"><\/i> 1 file(s) <i class=\"fas fa-hdd ml-3\"><\/i> 613.81 KB<\/div>\n            <\/div>\n            <div class=\"ml-3\">\n                <a class='wpdm-download-link download-on-click btn btn-primary ' rel='nofollow' href='#' data-downloadurl=\"https:\/\/thecaferobot.com\/learn\/download\/lsm303dlhc\/?wpdmdl=18768&#038;refresh=6a21e96f2eebf1780607343\">Download<\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<\/div><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4036db84 elementor-widget elementor-widget-heading\" data-id=\"4036db84\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0645\u0639\u0631\u0641\u06cc \u067e\u0627\u06cc\u0647 \u0647\u0627 (Pinout) \u0645\u0627\u0698\u0648\u0644 \u0642\u0637\u0628 \u0646\u0645\u0627\u06cc GY-511<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1b017ef8 elementor-widget elementor-widget-text-editor\" data-id=\"1b017ef8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0645\u0627\u0698\u0648\u0644 GY-511 \u062f\u0627\u0631\u0627\u06cc 8 \u067e\u0627\u06cc\u0647 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p><ul><li><strong>VIN<\/strong><strong>:<\/strong> \u062a\u063a\u0630\u06cc\u0647 \u0645\u0627\u0698\u0648\u0644 \u2013 3.3 \u062a\u0627 5 \u0648\u0644\u062a<\/li><li><strong>3V<\/strong><strong>: <\/strong>\u062f\u0631 \u0645\u0627\u0698\u0648\u0644 \u06cc\u06a9 \u0631\u0648\u06af\u0644\u0627\u062a\u0648\u0631 5 \u0628\u0647 3.3 \u0648\u0644\u062a \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u062f\u0631\u0635\u0648\u0631\u062a \u0646\u06cc\u0627\u0632 \u0627\u0632 \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u062a\u063a\u0630\u06cc\u0647 \u06cc \u0628\u0627\u0642\u06cc \u0645\u062f\u0627\u0631 \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0648\u0644\u062a\u0627\u0698 3.3 \u0648\u0644\u062a \u062f\u0627\u0631\u0646\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u06cc\u0634\u062a\u0631\u06cc\u0646 \u062c\u0631\u06cc\u0627\u0646 \u0642\u0627\u0628\u0644 \u062a\u0627\u0645\u06cc\u0646 \u062a\u0648\u0633\u0637 \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647\u060c 100 \u0645\u06cc\u0644\u06cc \u0622\u0645\u067e\u0631 \u0627\u0633\u062a.<\/li><li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li><li><strong>SCL<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u06a9\u0644\u0627\u06a9 \u0627\u0631\u062a\u0628\u0627\u0637 I2C<\/li><li><strong>SDA<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u062f\u06cc\u062a\u0627 \u0627\u0631\u062a\u0628\u0627\u0637 I2C<\/li><li><strong>INT2<\/strong><strong>:<\/strong> \u0648\u0642\u0641\u0647 2<\/li><li><strong>INT1<\/strong><strong>:<\/strong> \u0648\u0642\u0641\u0647 1<\/li><li><strong>DRDY<\/strong> \u06cc\u0627 DataReady: \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0645\u0642\u0627\u062f\u06cc\u0631 \u062c\u062f\u06cc\u062f\u06cc \u062a\u0648\u0633\u0637 \u0633\u0646\u0633\u0648\u0631 \u0627\u0646\u062f\u0627\u0632\u0647 \u06af\u06cc\u0631\u06cc \u0634\u062f\u0647 \u0648 \u062f\u0631 \u062e\u0631\u0648\u062c\u06cc \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f\u060c \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647 \u0641\u0639\u0627\u0644 \u0645\u06cc \u0634\u0648\u062f.<\/li><\/ul><p>\u067e\u06cc\u0646 \u0627\u0648\u062a (Pinout) \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7575eb3f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7575eb3f\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-5bd538dc\" data-id=\"5bd538dc\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-45bbe753 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"45bbe753\" data-element_type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-pen\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f498aca elementor-widget elementor-widget-heading\" data-id=\"2f498aca\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">\u0646\u06a9\u062a\u0647<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1182f384 elementor-widget elementor-widget-text-editor\" data-id=\"1182f384\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u0632 \u0648\u0642\u0641\u0647 \u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 \u0628\u0631\u0627\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0633\u0642\u0648\u0637 \u0622\u0632\u0627\u062f \u0648 \u062a\u0634\u062e\u06cc\u0635 \u062d\u0631\u06a9\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t<div class=\"elementor-element elementor-element-4642ed35 elementor-widget elementor-widget-image\" data-id=\"4642ed35\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/GY511-Arduino-Pinout.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY511-Arduino-Pinout.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTg3NjUsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMDlcL0dZNTExLUFyZHVpbm8tUGlub3V0LmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/GY511-Arduino-Pinout.jpg\" class=\"attachment-large size-large\" alt=\"\u067e\u06cc\u0646 \u0627\u0648\u062a Pinout \u0645\u0627\u0698\u0648\u0644 GY-511 LSM303\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-207dfd8e elementor-widget elementor-widget-heading\" data-id=\"207dfd8e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0644\u0648\u0627\u0632\u0645\u06cc \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u0627\u062d\u062a\u06cc\u0627\u062c \u062f\u0627\u0631\u06cc\u062f<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-75e76a11 elementor-widget elementor-widget-image\" data-id=\"75e76a11\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/Required-Materials-5.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"Required-Materials-5.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTg3NjYsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMDlcL1JlcXVpcmVkLU1hdGVyaWFscy01LmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"500\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/Required-Materials-5.jpg\" class=\"attachment-large size-large\" alt=\"GY-511\u060c \u0644\u0648\u0627\u0632\u0645 \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d69636a elementor-widget elementor-widget-heading\" data-id=\"3d69636a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0642\u0637\u0639\u0627\u062a \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f680465 elementor-widget elementor-widget-html\" data-id=\"2f680465\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"70%\">\u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 Uno \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/arduino-uno-r3\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0642\u0637\u0628 \u0646\u0645\u0627\u06cc \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9\u06cc \u0633\u0647 \u0645\u062d\u0648\u0631\u0647 GY-511 LSM303DLHC\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/lsm303dlhc-compass-1\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0628\u0631\u062f \u0628\u0648\u0631\u062f \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/bread-board-8-5-8-5cm\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0633\u06cc\u0645 \u062c\u0627\u0645\u067e\u0631\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/40p-male-male-10cm-jumper-wire\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-61fb9338 elementor-widget elementor-widget-heading\" data-id=\"61fb9338\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15473acf elementor-widget elementor-widget-html\" data-id=\"15473acf\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"90%\">Arduino IDE<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\"><i class=\"fa fa-info\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n\r\n\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4ac7934 elementor-widget elementor-widget-heading\" data-id=\"4ac7934\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0642\u0637\u0628 \u0646\u0645\u0627\u06cc GY-511 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-38ab7d11 elementor-widget elementor-widget-heading\" data-id=\"38ab7d11\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u0627\u0648\u0644: \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-13b10fb2 elementor-widget elementor-widget-text-editor\" data-id=\"13b10fb2\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0645\u0637\u0627\u0628\u0642 \u0645\u062f\u0627\u0631 \u0632\u06cc\u0631\u060c \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0648\u0635\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-309f7e14 elementor-widget elementor-widget-image\" data-id=\"309f7e14\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/GY511-Arduino-Circuit.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY511-Arduino-Circuit.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTg3NjcsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMDlcL0dZNTExLUFyZHVpbm8tQ2lyY3VpdC5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/GY511-Arduino-Circuit.jpg\" class=\"attachment-large size-large\" alt=\"GY-511 \u0645\u062f\u0627\u0631 \u0648 \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-52d6380d elementor-widget elementor-widget-heading\" data-id=\"52d6380d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u062f\u0648\u0645: \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1198378e elementor-widget elementor-widget-text-editor\" data-id=\"1198378e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u06cc \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0627\u0632 <a href=\"https:\/\/github.com\/pololu\/lsm303-arduino\/archive\/master.zip\">\u0627\u06cc\u0646\u062c\u0627<\/a> \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-79dfc9a6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"79dfc9a6\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-4a7d465\" data-id=\"4a7d465\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-35fda5d elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"35fda5d\" data-element_type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-lightbulb\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3bad7c6c elementor-widget elementor-widget-heading\" data-id=\"3bad7c6c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">\u062a\u0648\u062c\u0647<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-39dfc0cc elementor-widget elementor-widget-text-editor\" data-id=\"39dfc0cc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<div class=\"mpc-alert mpc-transition mpc-typography--mpc_preset_13 mpc-inited\" data-cookie=\"mpc-alert-15265-0\" data-id=\"mpc_alert-905f330f8226f56\"><div class=\"mpc-alert__content\"><p>\u0627\u06af\u0631 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0628\u06cc\u0634\u062a\u0631 \u062f\u0627\u0631\u06cc\u062f\u060c \u0628\u0647 <a href=\"https:\/\/thecaferobot.com\/learn\/how-to-install-an-arduino-library\/\">\u0627\u06cc\u0646\u062c\u0627<\/a> \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/p><\/div><\/div>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t<div class=\"elementor-element elementor-element-b000ed4 elementor-widget elementor-widget-text-editor\" data-id=\"b000ed4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u060c \u0645\u062b\u0627\u0644 \u0647\u0627\u06cc \u0645\u062a\u0646\u0648\u0639\u06cc \u0628\u0631\u0627\u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0642\u0637\u0628 \u0646\u0645\u0627 \u062f\u0627\u0631\u062f. \u062f\u0631 \u0635\u0648\u0631\u062a \u0646\u06cc\u0627\u0632 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-443c3541 elementor-widget elementor-widget-heading\" data-id=\"443c3541\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u0633\u0648\u0645: \u06a9\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6a61d51c elementor-widget elementor-widget-text-editor\" data-id=\"6a61d51c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u067e\u0633 \u0627\u0632 \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u060c \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0631\u0648\u06cc \u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u062e\u0648\u062f \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f. \u0633\u067e\u0633 \u067e\u0646\u062c\u0631\u0647 \u06cc \u0633\u0631\u06cc\u0627\u0644 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u062e\u0631\u0648\u062c\u06cc \u0642\u0637\u0628 \u0646\u0645\u0627 \u0628\u0647 \u0634\u0645\u0627 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f.<\/p><p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062b\u0627\u0644 \u0647\u0627\u06cc \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u060c \u0633\u0646\u0633\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u06a9\u0627\u0644\u06cc\u0628\u0631\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0627\u0646\u062f\u0627\u0632\u0647 \u06af\u06cc\u0631\u06cc \u0634\u0645\u0627 \u062f\u0642\u06cc\u0642 \u062a\u0631 \u0634\u0648\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4cb806d3 elementor-widget elementor-widget-html\" data-id=\"4cb806d3\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<pre class=\"line-numbers lang-arduino\"><code>\/*\r\n  GY-511 Compass\r\n  modified on 05 Sep 2020\r\n  by Mohammad Reza Akbari @ Electropeak\r\n  https:\/\/electropeak.com\/learn\/\r\n\r\n  Library: https:\/\/github.com\/pololu\/lsm303-arduino\r\n*\/\r\n\r\n\/\/ I2C Library\r\n#include &lt;Wire.h&gt;\r\n\/\/ LSM303 Compass Library\r\n#include &lt;LSM303.h&gt;\r\n\r\nLSM303 cmps;\r\n\r\nvoid setup() {\r\n  Serial.begin(9600);\r\n  Wire.begin();\r\n  cmps.init();\r\n  cmps.enableDefault();\r\n\r\n  Serial.println(&quot;Setup complete...&quot;);\r\n  \r\n  \/*\r\n  Calibration values; the default values of +\/-32767 for each axis\r\n  lead to an assumed magnetometer bias of 0. Use the Calibrate example\r\n  program to determine appropriate values for your particular unit.\r\n  *\/\r\n  cmps.m_min = (LSM303::vector&lt;int16_t&gt;){-32767, -32767, -32767};\r\n  cmps.m_max = (LSM303::vector&lt;int16_t&gt;){+32767, +32767, +32767};\r\n}\r\n\r\nvoid loop() {\r\n  cmps.read();\r\n  \r\n  float heading = cmps.heading();\r\n\r\n  Serial.print(&quot;Heading:  &quot;);\r\n  Serial.println(heading);\r\n  delay(200);\r\n}\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 \u0642\u0637\u0628 \u0646\u0645\u0627\u06cc GY-511 \u062c\u0631\u06cc\u0627\u0646 \u0648 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0645\u0633\u062a\u0642\u06cc\u0645\u06cc \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u062f\u0627\u0631\u0646\u062f. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062c\u0631\u06cc\u0627\u0646 \u062f\u0631 \u06cc\u06a9 \u0633\u06cc\u0645 \u062c\u0627\u0631\u06cc \u0645\u06cc \u0634\u0648\u062f (\u0627\u0644\u06a9\u062a\u0631\u0648\u0646 \u0647\u0627 \u062f\u0631 \u06cc\u06a9 \u062c\u0647\u062a \u0634\u0631\u0648\u0639 \u0628\u0647 \u062d\u0631\u06a9\u062a \u0645\u06cc \u06a9\u0646\u0646\u062f)\u060c \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u0634\u0648\u062f. \u0627\u06cc\u062f\u0647 \u06cc \u0627\u0635\u0644\u06cc \u0633\u0646\u0633\u0648\u0631 \u0647\u0627\u06cc \u0642\u0637\u0628 \u0646\u0645\u0627 \u0647\u0645 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0647\u0645\u06cc\u0646 \u0631\u0627\u0628\u0637\u0647 \u0627\u0633\u062a. \u062c\u0647\u062a \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":19840,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[932],"tags":[4629],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[3149],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/10\/sen-09-013-teaser.jpg",1200,900,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/10\/sen-09-013-teaser.jpg",1200,900,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/10\/sen-09-013-teaser-533x400.jpg",533,400,true],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/10\/sen-09-013-teaser.jpg",1200,900,false]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v14.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0642\u0637\u0628 \u0646\u0645\u0627\u06cc 3\u0645\u062d\u0648\u0631\u0647 GY-511 (LSM303DLHC) \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/title>\n<meta name=\"description\" content=\"\u062f\u0631 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 GY-511 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u06cc\u0627\u062f \u0645\u06cc\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 GY-511 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u062b\u0627\u0644 \u0648 \u06a9\u062f \u0646\u0645\u0648\u0646\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0642\u0637\u0628 \u0646\u0645\u0627\u06cc 3\u0645\u062d\u0648\u0631\u0647 GY-511 (LSM303DLHC) \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 GY-511 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u06cc\u0627\u062f \u0645\u06cc\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 GY-511 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u062b\u0627\u0644 \u0648 \u06a9\u062f \u0646\u0645\u0648\u0646\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"\u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-05T07:57:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-20T07:11:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/10\/sen-09-013-teaser.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2018\/08\/Logo-small.png\",\"width\":250,\"height\":250,\"caption\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"description\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0627\\u0644\\u06a9\\u062a\\u0631\\u0648\\u0646\\u06cc\\u06a9\\u060c \\u0631\\u0628\\u0627\\u062a\\u06cc\\u06a9\\u060c \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u0648 \\u0631\\u0633\\u067e\\u0628\\u0631\\u06cc \\u067e\\u0627\\u06cc\",\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/thecaferobot.com\/learn\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/10\/sen-09-013-teaser.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/\",\"name\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0642\\u0637\\u0628 \\u0646\\u0645\\u0627\\u06cc 3\\u0645\\u062d\\u0648\\u0631\\u0647 GY-511 (LSM303DLHC) \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#primaryimage\"},\"datePublished\":\"2020-10-05T07:57:28+00:00\",\"dateModified\":\"2021-06-20T07:11:42+00:00\",\"description\":\"\\u062f\\u0631 \\u0631\\u0627\\u0647\\u0646\\u0645\\u0627\\u06cc \\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 GY-511 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u06cc\\u0627\\u062f \\u0645\\u06cc\\u06af\\u06cc\\u0631\\u06cc\\u062f \\u0686\\u06af\\u0648\\u0646\\u0647 \\u0627\\u0632 \\u0645\\u0627\\u0698\\u0648\\u0644 GY-511 \\u0627\\u0633\\u062a\\u0641\\u0627\\u062f\\u0647 \\u06a9\\u0646\\u06cc\\u062f \\u0628\\u0647 \\u0647\\u0645\\u0631\\u0627\\u0647 \\u0645\\u062b\\u0627\\u0644 \\u0648 \\u06a9\\u062f \\u0646\\u0645\\u0648\\u0646\\u0647 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/90df17e0df9d3c90563c270ae65ec3fc\"},\"headline\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0642\\u0637\\u0628 \\u0646\\u0645\\u0627\\u06cc 3 \\u0645\\u062d\\u0648\\u0631\\u0647 GY-511 LSM303 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"datePublished\":\"2020-10-05T07:57:28+00:00\",\"dateModified\":\"2021-06-20T07:11:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#primaryimage\"},\"keywords\":\"\\u0645\\u06cc\\u062f\\u0627\\u0646 \\u0645\\u063a\\u0646\\u0627\\u0637\\u06cc\\u0633\\u06cc \\u0648 \\u0642\\u0637\\u0628\\u200c\\u0646\\u0645\\u0627\",\"articleSection\":\"\\u0633\\u0646\\u0633\\u0648\\u0631\\u0647\\u0627\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-gy-511-lsm303-3d-compass-and-accelerometer-with-arduino\/#respond\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/90df17e0df9d3c90563c270ae65ec3fc\",\"name\":\"\\u0645\\u062d\\u0645\\u062f\\u0631\\u0636\\u0627 \\u0627\\u06a9\\u0628\\u0631\\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a1f89f4484a071b6569e017dc3507ee1?s=96&d=mm&r=g\",\"caption\":\"\\u0645\\u062d\\u0645\\u062f\\u0631\\u0636\\u0627 \\u0627\\u06a9\\u0628\\u0631\\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/18761"}],"collection":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/comments?post=18761"}],"version-history":[{"count":9,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/18761\/revisions"}],"predecessor-version":[{"id":18936,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/18761\/revisions\/18936"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/19840"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=18761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=18761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=18761"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=18761"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=18761"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=18761"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=18761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}