{"id":54,"date":"2021-05-29T14:33:54","date_gmt":"2021-05-29T06:33:54","guid":{"rendered":"http:\/\/svn.com.tw\/?p=54"},"modified":"2021-05-29T14:33:54","modified_gmt":"2021-05-29T06:33:54","slug":"raspberry-pi-light-sensor-lt2561","status":"publish","type":"post","link":"http:\/\/svn.com.tw\/index.php\/2021\/05\/29\/raspberry-pi-light-sensor-lt2561\/","title":{"rendered":"Raspberry pi light sensor LT2561"},"content":{"rendered":"<p>\u5982\u679c\u5728 raspberry pi \u4e0a\u9762\u8981\u7528 light sensor \uff0c\u53ef\u4ee5\u4f7f\u7528 LT2561<br \/>\n\u63a5\u7dda\u53ef\u4ee5\u53c3\u8003\u9019\u7bc7 <a href=\"https:\/\/electropeak.com\/learn\/interfacing-tsl2561-luminosity-sensor-with-arduino\/\">https:\/\/electropeak.com\/learn\/interfacing-tsl2561-luminosity-sensor-with-arduino\/<\/a><\/p>\n<p>\u57fa\u672c\u4e0a\u5c31\u662f\u628a I2C \u8207 VCC\/GND \u63a5\u4e0a\u5c31\u53ef\u4ee5\u7528\u4e86\uff0cI2C address \u662f 0x39<\/p>\n<p>Python \u7684 code \u53ef\u4ee5\u53c3\u8003\u9019\u7bc7 <a href=\"https:\/\/github.com\/ControlEverythingCommunity\/TSL2561\/blob\/master\/Python\/TSL2561.py\">https:\/\/github.com\/ControlEverythingCommunity\/TSL2561\/blob\/master\/Python\/TSL2561.py<\/a><\/p>\n<p>\u57f7\u884c\u7d50\u679c:<\/p>\n<p><img loading=\"lazy\" src=\"http:\/\/svn.com.tw\/wp-content\/uploads\/2021\/05\/TL2561-300x109.png\" alt=\"\" class=\"alignnone size-medium wp-image-55\" width=\"300\" height=\"109\" srcset=\"http:\/\/svn.com.tw\/wp-content\/uploads\/2021\/05\/TL2561-300x109.png 300w, http:\/\/svn.com.tw\/wp-content\/uploads\/2021\/05\/TL2561.png 351w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u5728 raspberry pi \u4e0a\u9762\u8981\u7528 light sensor \uff0c\u53ef\u4ee5\u4f7f\u7528 LT2561 \u63a5\u7dda\u53ef\u4ee5\u53c3\u8003\u9019 &hellip; <a href=\"http:\/\/svn.com.tw\/index.php\/2021\/05\/29\/raspberry-pi-light-sensor-lt2561\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Raspberry pi light sensor LT2561\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":1,"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":56,"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions\/56"}],"wp:attachment":[{"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/svn.com.tw\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}