{"action":"created","comment":{"url":"https://api.github.com/repos/xodio/xod-docs/pulls/comments/213989278","pull_request_review_id":150942703,"id":213989278,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzk4OTI3OA==","diff_hunk":"@@ -0,0 +1,181 @@\n+---\n+title: Пример температурного логгера\n+---\n+\n+# Пример температурного логгера\n+\n+![Temperature log example](./temperature-log-1.jpg)\n+\n+В этом примере описывается, как хранить данные датчика и обрабатывать их на компьютере. \n+Мы будем считывать температуру окружающей среды и сохранять значения на microSD карте. \n+После этого мы подключим карту microSD к компьютеру и проанализируем полученные значения температуры.\n+\n+## Требуемое оборудование\n+\n+- Arduino Uno плата\n+- TMP36 аналоговый температурный датчик\n+- microSD плата расширения\n+- Формитированная microSD карта\n+- Плата макетирования\n+- Соединительные провода\n+\n+## Схема\n+\n+![Circuit](./circuit.fz.png)\n+\n+- Аналоговый термометр подключен к `A0` аналоговому порту платы Arduino.\n+- Платы microSD обычно используют интерфейс SPI для связи. \n+  Arduino Uno обеспечивает SPI на пинах `11`, `12`, и `13`. `CS` пин может быть \n+  подключен к произвольному цифровому пину. Мы выбрали `10`.\n+\n+<div class=\"ui segment note\">\n+<span class=\"ui ribbon label\">Примечание.</span>\n+Если вы используете другую модель платы, посмотрите на ее распиновку и даташит, чтобы правильно подключиться к шине SPI.\n+</div>\n+\n+## Программирование\n+\n+Создайте новый проект в XOD и назовите его как-то вроде `temparature-log`.\n+\n+### Источник данных\n+\n+- Когда мы используем термометр на основе TMP36, мы добавляем  [`thermometer-tmp36`](https://xod.io/libs/xod/common-hardware/thermometer-tmp36/) к патчу. \n+  Этот термометр должен быть подключен к аналоговому порту Arduino. Мы подключили наш датчик к `A0`, \n+  поэтому установите значение пина `PORT` на `A0`.\n+- Затем мы хотим привязать температуру к отметке времени, когда она была считана. Для этого используем [`system-time`](https://xod.io/libs/xod/core/system-time) ноду. \n+  Эта нода отображает время в секундах, прошедшее с момента запуска программы.\n+- If we want to update the data continuously we'd better number each new record.\n+  The [`count`](https://xod.io/libs/xod/core/count) node will do it for us.\n+  Place it onto the patch and set the `STEP` value to 1.\n+  Если мы желаем постоянно обновлять данные, то лучше всего нам каждый раз делать новую запись. \n+  [`count`](https://xod.io/libs/xod/core/count) нода будет делать это для нас. Поместите её на патч и установите `STEP` значение на 1.\n+\n+К настоящему времени у нас есть три источника данных на патче.","path":"docs/guide/sd-log-example/RU.md","position":53,"original_position":53,"commit_id":"8cf38452f6f2dc875ecd3c9b731a1b61b4ad4ed5","original_commit_id":"8cf38452f6f2dc875ecd3c9b731a1b61b4ad4ed5","user":{"login":"gabbapeople","id":35202630,"node_id":"MDQ6VXNlcjM1MjAyNjMw","avatar_url":"https://avatars2.githubusercontent.com/u/35202630?v=4","gravatar_id":"","url":"https://api.github.com/users/gabbapeople","html_url":"https://github.com/gabbapeople","followers_url":"https://api.github.com/users/gabbapeople/followers","following_url":"https://api.github.com/users/gabbapeople/following{/other_user}","gists_url":"https://api.github.com/users/gabbapeople/gists{/gist_id}","starred_url":"https://api.github.com/users/gabbapeople/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabbapeople/subscriptions","organizations_url":"https://api.github.com/users/gabbapeople/orgs","repos_url":"https://api.github.com/users/gabbapeople/repos","events_url":"https://api.github.com/users/gabbapeople/events{/privacy}","received_events_url":"https://api.github.com/users/gabbapeople/received_events","type":"User","site_admin":false},"body":"Please change \r\n\"К настоящему времени\"\r\ninto\r\n\"Сейчас\" ","created_at":"2018-08-30T11:05:15Z","updated_at":"2018-08-30T11:05:15Z","html_url":"https://github.com/xodio/xod-docs/pull/57#discussion_r213989278","pull_request_url":"https://api.github.com/repos/xodio/xod-docs/pulls/57","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/xodio/xod-docs/pulls/comments/213989278"},"html":{"href":"https://github.com/xodio/xod-docs/pull/57#discussion_r213989278"},"pull_request":{"href":"https://api.github.com/repos/xodio/xod-docs/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/xodio/xod-docs/pulls/57","id":208882146,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4ODgyMTQ2","html_url":"https://github.com/xodio/xod-docs/pull/57","diff_url":"https://github.com/xodio/xod-docs/pull/57.diff","patch_url":"https://github.com/xodio/xod-docs/pull/57.patch","issue_url":"https://api.github.com/repos/xodio/xod-docs/issues/57","number":57,"state":"open","locked":false,"title":"guide/sd-log-example (russian)","user":{"login":"ZhenyaRUS39","id":24779108,"node_id":"MDQ6VXNlcjI0Nzc5MTA4","avatar_url":"https://avatars3.githubusercontent.com/u/24779108?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhenyaRUS39","html_url":"https://github.com/ZhenyaRUS39","followers_url":"https://api.github.com/users/ZhenyaRUS39/followers","following_url":"https://api.github.com/users/ZhenyaRUS39/following{/other_user}","gists_url":"https://api.github.com/users/ZhenyaRUS39/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhenyaRUS39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhenyaRUS39/subscriptions","organizations_url":"https://api.github.com/users/ZhenyaRUS39/orgs","repos_url":"https://api.github.com/users/ZhenyaRUS39/repos","events_url":"https://api.github.com/users/ZhenyaRUS39/events{/privacy}","received_events_url":"https://api.github.com/users/ZhenyaRUS39/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-16T14:38:36Z","updated_at":"2018-08-30T11:05:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8336ab881b6568c5c422bec64b23d0e158c443ee","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/xodio/xod-docs/pulls/57/commits","review_comments_url":"https://api.github.com/repos/xodio/xod-docs/pulls/57/comments","review_comment_url":"https://api.github.com/repos/xodio/xod-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xodio/xod-docs/issues/57/comments","statuses_url":"https://api.github.com/repos/xodio/xod-docs/statuses/8cf38452f6f2dc875ecd3c9b731a1b61b4ad4ed5","head":{"label":"ZhenyaRUS39:patch-44","ref":"patch-44","sha":"8cf38452f6f2dc875ecd3c9b731a1b61b4ad4ed5","user":{"login":"ZhenyaRUS39","id":24779108,"node_id":"MDQ6VXNlcjI0Nzc5MTA4","avatar_url":"https://avatars3.githubusercontent.com/u/24779108?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhenyaRUS39","html_url":"https://github.com/ZhenyaRUS39","followers_url":"https://api.github.com/users/ZhenyaRUS39/followers","following_url":"https://api.github.com/users/ZhenyaRUS39/following{/other_user}","gists_url":"https://api.github.com/users/ZhenyaRUS39/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhenyaRUS39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhenyaRUS39/subscriptions","organizations_url":"https://api.github.com/users/ZhenyaRUS39/orgs","repos_url":"https://api.github.com/users/ZhenyaRUS39/repos","events_url":"https://api.github.com/users/ZhenyaRUS39/events{/privacy}","received_events_url":"https://api.github.com/users/ZhenyaRUS39/received_events","type":"User","site_admin":false},"repo":{"id":141597720,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE1OTc3MjA=","name":"xod-docs","full_name":"ZhenyaRUS39/xod-docs","owner":{"login":"ZhenyaRUS39","id":24779108,"node_id":"MDQ6VXNlcjI0Nzc5MTA4","avatar_url":"https://avatars3.githubusercontent.com/u/24779108?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhenyaRUS39","html_url":"https://github.com/ZhenyaRUS39","followers_url":"https://api.github.com/users/ZhenyaRUS39/followers","following_url":"https://api.github.com/users/ZhenyaRUS39/following{/other_user}","gists_url":"https://api.github.com/users/ZhenyaRUS39/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhenyaRUS39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhenyaRUS39/subscriptions","organizations_url":"https://api.github.com/users/ZhenyaRUS39/orgs","repos_url":"https://api.github.com/users/ZhenyaRUS39/repos","events_url":"https://api.github.com/users/ZhenyaRUS39/events{/privacy}","received_events_url":"https://api.github.com/users/ZhenyaRUS39/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZhenyaRUS39/xod-docs","description":"XOD Documentation","fork":true,"url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs","forks_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/forks","keys_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/teams","hooks_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/hooks","issue_events_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/issues/events{/number}","events_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/events","assignees_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/assignees{/user}","branches_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/branches{/branch}","tags_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/tags","blobs_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/languages","stargazers_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/stargazers","contributors_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/contributors","subscribers_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/subscribers","subscription_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/subscription","commits_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/contents/{+path}","compare_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/merges","archive_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/downloads","issues_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/issues{/number}","pulls_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/labels{/name}","releases_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/releases{/id}","deployments_url":"https://api.github.com/repos/ZhenyaRUS39/xod-docs/deployments","created_at":"2018-07-19T15:21:42Z","updated_at":"2018-07-19T17:13:08Z","pushed_at":"2018-08-21T08:35:07Z","git_url":"git://github.com/ZhenyaRUS39/xod-docs.git","ssh_url":"git@github.com:ZhenyaRUS39/xod-docs.git","clone_url":"https://github.com/ZhenyaRUS39/xod-docs.git","svn_url":"https://github.com/ZhenyaRUS39/xod-docs","homepage":null,"size":30658,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"cc-by-sa-4.0","name":"Creative Commons Attribution Share Alike 4.0","spdx_id":"CC-BY-SA-4.0","url":"https://api.github.com/licenses/cc-by-sa-4.0","node_id":"MDc6TGljZW5zZTI2"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xodio:master","ref":"master","sha":"6886c86b6469ed98e20208d07327df8720bf4e82","user":{"login":"xodio","id":22938266,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTM4MjY2","avatar_url":"https://avatars0.githubusercontent.com/u/22938266?v=4","gravatar_id":"","url":"https://api.github.com/users/xodio","html_url":"https://github.com/xodio","followers_url":"https://api.github.com/users/xodio/followers","following_url":"https://api.github.com/users/xodio/following{/other_user}","gists_url":"https://api.github.com/users/xodio/gists{/gist_id}","starred_url":"https://api.github.com/users/xodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xodio/subscriptions","organizations_url":"https://api.github.com/users/xodio/orgs","repos_url":"https://api.github.com/users/xodio/repos","events_url":"https://api.github.com/users/xodio/events{/privacy}","received_events_url":"https://api.github.com/users/xodio/received_events","type":"Organization","site_admin":false},"repo":{"id":141443841,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE0NDM4NDE=","name":"xod-docs","full_name":"xodio/xod-docs","owner":{"login":"xodio","id":22938266,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTM4MjY2","avatar_url":"https://avatars0.githubusercontent.com/u/22938266?v=4","gravatar_id":"","url":"https://api.github.com/users/xodio","html_url":"https://github.com/xodio","followers_url":"https://api.github.com/users/xodio/followers","following_url":"https://api.github.com/users/xodio/following{/other_user}","gists_url":"https://api.github.com/users/xodio/gists{/gist_id}","starred_url":"https://api.github.com/users/xodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xodio/subscriptions","organizations_url":"https://api.github.com/users/xodio/orgs","repos_url":"https://api.github.com/users/xodio/repos","events_url":"https://api.github.com/users/xodio/events{/privacy}","received_events_url":"https://api.github.com/users/xodio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xodio/xod-docs","description":"XOD Documentation","fork":false,"url":"https://api.github.com/repos/xodio/xod-docs","forks_url":"https://api.github.com/repos/xodio/xod-docs/forks","keys_url":"https://api.github.com/repos/xodio/xod-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xodio/xod-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xodio/xod-docs/teams","hooks_url":"https://api.github.com/repos/xodio/xod-docs/hooks","issue_events_url":"https://api.github.com/repos/xodio/xod-docs/issues/events{/number}","events_url":"https://api.github.com/repos/xodio/xod-docs/events","assignees_url":"https://api.github.com/repos/xodio/xod-docs/assignees{/user}","branches_url":"https://api.github.com/repos/xodio/xod-docs/branches{/branch}","tags_url":"https://api.github.com/repos/xodio/xod-docs/tags","blobs_url":"https://api.github.com/repos/xodio/xod-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xodio/xod-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xodio/xod-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/xodio/xod-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xodio/xod-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/xodio/xod-docs/languages","stargazers_url":"https://api.github.com/repos/xodio/xod-docs/stargazers","contributors_url":"https://api.github.com/repos/xodio/xod-docs/contributors","subscribers_url":"https://api.github.com/repos/xodio/xod-docs/subscribers","subscription_url":"https://api.github.com/repos/xodio/xod-docs/subscription","commits_url":"https://api.github.com/repos/xodio/xod-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/xodio/xod-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/xodio/xod-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/xodio/xod-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/xodio/xod-docs/contents/{+path}","compare_url":"https://api.github.com/repos/xodio/xod-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xodio/xod-docs/merges","archive_url":"https://api.github.com/repos/xodio/xod-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xodio/xod-docs/downloads","issues_url":"https://api.github.com/repos/xodio/xod-docs/issues{/number}","pulls_url":"https://api.github.com/repos/xodio/xod-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/xodio/xod-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/xodio/xod-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xodio/xod-docs/labels{/name}","releases_url":"https://api.github.com/repos/xodio/xod-docs/releases{/id}","deployments_url":"https://api.github.com/repos/xodio/xod-docs/deployments","created_at":"2018-07-18T14:11:33Z","updated_at":"2018-08-17T13:22:43Z","pushed_at":"2018-08-21T08:35:13Z","git_url":"git://github.com/xodio/xod-docs.git","ssh_url":"git@github.com:xodio/xod-docs.git","clone_url":"https://github.com/xodio/xod-docs.git","svn_url":"https://github.com/xodio/xod-docs","homepage":null,"size":30595,"stargazers_count":4,"watchers_count":4,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"cc-by-sa-4.0","name":"Creative Commons Attribution Share Alike 4.0","spdx_id":"CC-BY-SA-4.0","url":"https://api.github.com/licenses/cc-by-sa-4.0","node_id":"MDc6TGljZW5zZTI2"},"forks":3,"open_issues":8,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xodio/xod-docs/pulls/57"},"html":{"href":"https://github.com/xodio/xod-docs/pull/57"},"issue":{"href":"https://api.github.com/repos/xodio/xod-docs/issues/57"},"comments":{"href":"https://api.github.com/repos/xodio/xod-docs/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/xodio/xod-docs/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/xodio/xod-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xodio/xod-docs/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/xodio/xod-docs/statuses/8cf38452f6f2dc875ecd3c9b731a1b61b4ad4ed5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gabbapeople"}}