{"action":"created","issue":{"url":"https://api.github.com/repos/drohm/pi-sht1x/issues/3","labels_url":"https://api.github.com/repos/drohm/pi-sht1x/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/drohm/pi-sht1x/issues/3/comments","events_url":"https://api.github.com/repos/drohm/pi-sht1x/issues/3/events","html_url":"https://github.com/drohm/pi-sht1x/issues/3","id":128649675,"number":3,"title":"SHT1x failed to properly receive command","user":{"login":"XPilot","id":691234,"avatar_url":"https://avatars.githubusercontent.com/u/691234?v=3","gravatar_id":"","url":"https://api.github.com/users/XPilot","html_url":"https://github.com/XPilot","followers_url":"https://api.github.com/users/XPilot/followers","following_url":"https://api.github.com/users/XPilot/following{/other_user}","gists_url":"https://api.github.com/users/XPilot/gists{/gist_id}","starred_url":"https://api.github.com/users/XPilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XPilot/subscriptions","organizations_url":"https://api.github.com/users/XPilot/orgs","repos_url":"https://api.github.com/users/XPilot/repos","events_url":"https://api.github.com/users/XPilot/events{/privacy}","received_events_url":"https://api.github.com/users/XPilot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-25T21:53:16Z","updated_at":"2016-01-26T22:38:21Z","closed_at":null,"body":"Hello,\r\n\r\nI have a SHT11 breakout sensor and I have tried everywhich way to connect to it with little success. The error I am getting:\r\n\r\n````code\r\nTraceback (most recent call last):\r\n  File \"examples/sensor.py\", line 45, in <module>\r\n    main()\r\n  File \"examples/sensor.py\", line 37, in main\r\n    temp = sensor.read_temperature()\r\n  File \"/usr/local/lib/python3.4/dist-packages/pi_sht1x/sht1x.py\", line 166, in read_temperature\r\n    self._send_command()\r\n  File \"/usr/local/lib/python3.4/dist-packages/pi_sht1x/sht1x.py\", line 254, in _send_command\r\n    self._get_ack(command_name)\r\n  File \"/usr/local/lib/python3.4/dist-packages/pi_sht1x/sht1x.py\", line 397, in _get_ack\r\n    raise SHT1xError(message)\r\npi_sht1x.sht1x.SHT1xError: SHT1x failed to properly receive command [['Temperature'] - 00000011]\r\n\r\n````\r\n\r\nAs a short summary:\r\n1. I wired the DATA pin (purple wire) to a 10k pullup resistor to 3.3v and to the physical pin no. 18 on my pi\r\n2. I wired clock pin (gray wire) to physical pin 23.\r\n\r\nI have attached an image with the pi wiring below.\r\n\r\n- Raspberry wiring\r\n![20160125_234154](https://cloud.githubusercontent.com/assets/691234/12565557/a34375ea-c3bd-11e5-8ece-0a75a770f688.jpg)\r\n\r\n- Breadboard wiring (sorry about the mess)\r\n![20160125_234541](https://cloud.githubusercontent.com/assets/691234/12565616/ea720f26-c3bd-11e5-9127-a43635a1be7a.jpg)\r\n\r\nI can see that I receive a voltage on pin 18 (I use wiringPi for it) but on the clock pin it's still set for in.\r\nCan you please provide some info on what I am doing wrong? \r\n\r\n````code\r\n +-----+-----+---------+------+---+--B Plus--+---+------+---------+-----+-----+\r\n | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |\r\n +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+\r\n |     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |\r\n |   2 |   8 |   SDA.1 |   IN | 1 |  3 || 4  |   |      | 5V      |     |     |\r\n |   3 |   9 |   SCL.1 |   IN | 1 |  5 || 6  |   |      | 0v      |     |     |\r\n |   4 |   7 | GPIO. 7 |   IN | 1 |  7 || 8  | 1 | ALT0 | TxD     | 15  | 14  |\r\n |     |     |      0v |      |   |  9 || 10 | 1 | ALT0 | RxD     | 16  | 15  |\r\n |  17 |   0 | GPIO. 0 |   IN | 0 | 11 || 12 | 0 | IN   | GPIO. 1 | 1   | 18  |\r\n |  27 |   2 | GPIO. 2 |   IN | 0 | 13 || 14 |   |      | 0v      |     |     |\r\n |  22 |   3 | GPIO. 3 |   IN | 0 | 15 || 16 | 0 | IN   | GPIO. 4 | 4   | 23  |\r\n |     |     |    3.3v |      |   | 17 || 18 | 1 | IN   | GPIO. 5 | 5   | 24  |  <---- voltage present on pin 18\r\n |  10 |  12 |    MOSI |   IN | 0 | 19 || 20 |   |      | 0v      |     |     |\r\n |   9 |  13 |    MISO |   IN | 0 | 21 || 22 | 0 | IN   | GPIO. 6 | 6   | 25  |\r\n |  11 |  14 |    SCLK |   IN | 0 | 23 || 24 | 1 | IN   | CE0     | 10  | 8   |   <---- clock should be out I guess\r\n |     |     |      0v |      |   | 25 || 26 | 1 | IN   | CE1     | 11  | 7   |\r\n |   0 |  30 |   SDA.0 |   IN | 1 | 27 || 28 | 1 | IN   | SCL.0   | 31  | 1   |\r\n |   5 |  21 | GPIO.21 |   IN | 1 | 29 || 30 |   |      | 0v      |     |     |\r\n |   6 |  22 | GPIO.22 |   IN | 1 | 31 || 32 | 0 | IN   | GPIO.26 | 26  | 12  |\r\n |  13 |  23 | GPIO.23 |   IN | 0 | 33 || 34 |   |      | 0v      |     |     |\r\n |  19 |  24 | GPIO.24 |   IN | 0 | 35 || 36 | 0 | IN   | GPIO.27 | 27  | 16  |\r\n |  26 |  25 | GPIO.25 |   IN | 0 | 37 || 38 | 0 | IN   | GPIO.28 | 28  | 20  |\r\n |     |     |      0v |      |   | 39 || 40 | 0 | IN   | GPIO.29 | 29  | 21  |\r\n +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+\r\n | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |\r\n +-----+-----+---------+------+---+--B Plus--+---+------+---------+-----+-----+\r\n````\r\n\r\nPlease tell me what am I doing wrong.\r\n\r\nThank you.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/drohm/pi-sht1x/issues/comments/175272922","html_url":"https://github.com/drohm/pi-sht1x/issues/3#issuecomment-175272922","issue_url":"https://api.github.com/repos/drohm/pi-sht1x/issues/3","id":175272922,"user":{"login":"drohm","id":184959,"avatar_url":"https://avatars.githubusercontent.com/u/184959?v=3","gravatar_id":"","url":"https://api.github.com/users/drohm","html_url":"https://github.com/drohm","followers_url":"https://api.github.com/users/drohm/followers","following_url":"https://api.github.com/users/drohm/following{/other_user}","gists_url":"https://api.github.com/users/drohm/gists{/gist_id}","starred_url":"https://api.github.com/users/drohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drohm/subscriptions","organizations_url":"https://api.github.com/users/drohm/orgs","repos_url":"https://api.github.com/users/drohm/repos","events_url":"https://api.github.com/users/drohm/events{/privacy}","received_events_url":"https://api.github.com/users/drohm/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T22:38:21Z","updated_at":"2016-01-26T22:38:21Z","body":"It's hard to tell from the first picture, but it looks like the DATA line is connected to GPIO 16?  Can you double check that?"}}