{"action":"created","issue":{"url":"https://api.github.com/repos/NodeUSB/NodeUSB/issues/3","labels_url":"https://api.github.com/repos/NodeUSB/NodeUSB/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/NodeUSB/NodeUSB/issues/3/comments","events_url":"https://api.github.com/repos/NodeUSB/NodeUSB/issues/3/events","html_url":"https://github.com/NodeUSB/NodeUSB/issues/3","id":97521729,"number":3,"title":"Problem with the si7021 temperature and humidity sensor","user":{"login":"Jasea","id":3929962,"avatar_url":"https://avatars.githubusercontent.com/u/3929962?v=3","gravatar_id":"","url":"https://api.github.com/users/Jasea","html_url":"https://github.com/Jasea","followers_url":"https://api.github.com/users/Jasea/followers","following_url":"https://api.github.com/users/Jasea/following{/other_user}","gists_url":"https://api.github.com/users/Jasea/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasea/subscriptions","organizations_url":"https://api.github.com/users/Jasea/orgs","repos_url":"https://api.github.com/users/Jasea/repos","events_url":"https://api.github.com/users/Jasea/events{/privacy}","received_events_url":"https://api.github.com/users/Jasea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-27T18:11:24Z","updated_at":"2015-09-12T03:14:40Z","closed_at":null,"body":"I have been trying to get meaningfull readings from the si7021 sensor using read-bmp180-si7021-right.lua . I found the problem to be due to the incorrect GPOI pins being used in the program. The correct mapping is:  VCC - GPIO14\r\n                                 SDA - GPIO12 \r\n                                 SCL - GPIO13\r\nThis means the following changes need to be made:\r\nChange lines 10 & 11\r\nfrom\r\ngpio.mode(GPIO13, gpio.OUTPUT)\r\ngpio.write(GPIO13, gpio.HIGH)\r\nto\r\ngpio.mode(GPIO14, gpio.OUTPUT)\r\ngpio.write(GPIO14, gpio.HIGH)\r\nand amend the comment on line 9\r\nchange line 14\r\nfrom\r\nbmp.init(GPIO14,GPIO12)\r\nto\r\nbmp.init(GPIO13,GPIO12)\r\nchange line 34\r\nfrom\r\nsi.init(GPIO14,GPIO12)\r\nto\r\nsi.init(GPIO13,GPIO12)\r\nWhen you save and complie and the run the programe you will see the correct Temperature and Humidity value preceeded by a T and H respectivley.\r\nWhat I still do not understand is why a message is displayed saying that the BMP180 sensor intialised when there is not one on the board."},"comment":{"url":"https://api.github.com/repos/NodeUSB/NodeUSB/issues/comments/139705626","html_url":"https://github.com/NodeUSB/NodeUSB/issues/3#issuecomment-139705626","issue_url":"https://api.github.com/repos/NodeUSB/NodeUSB/issues/3","id":139705626,"user":{"login":"rhyde","id":216993,"avatar_url":"https://avatars.githubusercontent.com/u/216993?v=3","gravatar_id":"","url":"https://api.github.com/users/rhyde","html_url":"https://github.com/rhyde","followers_url":"https://api.github.com/users/rhyde/followers","following_url":"https://api.github.com/users/rhyde/following{/other_user}","gists_url":"https://api.github.com/users/rhyde/gists{/gist_id}","starred_url":"https://api.github.com/users/rhyde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhyde/subscriptions","organizations_url":"https://api.github.com/users/rhyde/orgs","repos_url":"https://api.github.com/users/rhyde/repos","events_url":"https://api.github.com/users/rhyde/events{/privacy}","received_events_url":"https://api.github.com/users/rhyde/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T03:14:40Z","updated_at":"2015-09-12T03:14:40Z","body":"I second Jasea a clear version of the board and its labels for the main board would be very handy."}}