{"action":"created","issue":{"url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer/issues/60","repository_url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer","labels_url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer/issues/60/comments","events_url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer/issues/60/events","html_url":"https://github.com/01org/intel-iot-services-orchestration-layer/pull/60","id":187566444,"number":60,"title":"add ds18b20 service","user":{"login":"LLoyou00","id":9455777,"avatar_url":"https://avatars.githubusercontent.com/u/9455777?v=3","gravatar_id":"","url":"https://api.github.com/users/LLoyou00","html_url":"https://github.com/LLoyou00","followers_url":"https://api.github.com/users/LLoyou00/followers","following_url":"https://api.github.com/users/LLoyou00/following{/other_user}","gists_url":"https://api.github.com/users/LLoyou00/gists{/gist_id}","starred_url":"https://api.github.com/users/LLoyou00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLoyou00/subscriptions","organizations_url":"https://api.github.com/users/LLoyou00/orgs","repos_url":"https://api.github.com/users/LLoyou00/repos","events_url":"https://api.github.com/users/LLoyou00/events{/privacy}","received_events_url":"https://api.github.com/users/LLoyou00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-06T15:01:36Z","updated_at":"2016-11-07T10:50:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer/pulls/60","html_url":"https://github.com/01org/intel-iot-services-orchestration-layer/pull/60","diff_url":"https://github.com/01org/intel-iot-services-orchestration-layer/pull/60.diff","patch_url":"https://github.com/01org/intel-iot-services-orchestration-layer/pull/60.patch"},"body":"增加了数字温度传感器DS18B20的支持服务\r\n\r\n在DS18B20的实现中，我们发现由于单总线协议对于时序的苛刻要求与iot-sol这个非实时系统的矛盾，使得**数字**温度传感器的使用十分困难。\r\n\r\n> https://github.com/intel-iot-devkit/mraa/pull/415\r\n\r\n首先感谢这个开源项目的经验和接线方法，利用Edison开发板的串口特性与二极管的单向通路特性，可以通过加接一个二极管完成读写的分离，从而实现在非实时系统上与单总线设备实时交互数据（也就是说其实应该对于其他单总线协议也可以用这个方法解决通讯问题）\r\n\r\n>  同时可以参考  https://www.maximintegrated.com/en/app-notes/index.mvp/id/214\r\n\r\n当然，经过测试，使用这种方法之后，iot-sol的启停等待时间会加长。\r\n注意:改方法需要对于Edison串口进行可还原的简易改装。"},"comment":{"url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer/issues/comments/258804487","html_url":"https://github.com/01org/intel-iot-services-orchestration-layer/pull/60#issuecomment-258804487","issue_url":"https://api.github.com/repos/01org/intel-iot-services-orchestration-layer/issues/60","id":258804487,"user":{"login":"LLoyou00","id":9455777,"avatar_url":"https://avatars.githubusercontent.com/u/9455777?v=3","gravatar_id":"","url":"https://api.github.com/users/LLoyou00","html_url":"https://github.com/LLoyou00","followers_url":"https://api.github.com/users/LLoyou00/followers","following_url":"https://api.github.com/users/LLoyou00/following{/other_user}","gists_url":"https://api.github.com/users/LLoyou00/gists{/gist_id}","starred_url":"https://api.github.com/users/LLoyou00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLoyou00/subscriptions","organizations_url":"https://api.github.com/users/LLoyou00/orgs","repos_url":"https://api.github.com/users/LLoyou00/repos","events_url":"https://api.github.com/users/LLoyou00/events{/privacy}","received_events_url":"https://api.github.com/users/LLoyou00/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T10:50:22Z","updated_at":"2016-11-07T10:50:22Z","body":"![image](https://cloud.githubusercontent.com/assets/9455777/20055049/692cf662-a51a-11e6-95dc-7f58bb9382ab.png)\r\n实验所使用的硬件\r\n![image](https://cloud.githubusercontent.com/assets/9455777/20055066/7f4229cc-a51a-11e6-86a3-0b236ab388d4.png)\r\n在串口引脚上接上二极管\r\n![image](https://cloud.githubusercontent.com/assets/9455777/20055091/9340fd54-a51a-11e6-8c94-ce9fb877a3f6.png)\r\n安装到Edison上\r\n\r\n理论指导：https://www.maximintegrated.com/en/app-notes/index.mvp/id/214\r\n"}}
{"actor":{"display_login":"LLoyou00"}}