跳至主要內容

朱朱的程式筆記

aws s3 ec2 centos raspberry 等程式筆記

Raspberry pi light sensor LT2561

如果在 raspberry pi 上面要用 light sensor ,可以使用 LT2561
接線可以參考這篇 https://electropeak.com/learn/interfacing-tsl2561-luminosity-sensor-with-arduino/

基本上就是把 I2C 與 VCC/GND 接上就可以用了,I2C address 是 0x39

Python 的 code 可以參考這篇 https://github.com/ControlEverythingCommunity/TSL2561/blob/master/Python/TSL2561.py

執行結果:

作者 dmwc發佈日期: 2021-05-29分類 未分類

文章導覽

上一篇文章 上一篇文章: Raspberry with LCD 2004
下一篇文章 下一篇文章: 匯出 routeros 設定

近期文章

  • SD 卡備份 Image Writer
  • 磁簧開關 LED 燈
  • 匯出 routeros 設定
  • Raspberry pi light sensor LT2561
  • Raspberry with LCD 2004

近期留言

    彙整

    • 2021 年 6 月
    • 2021 年 5 月
    • 2021 年 4 月

    分類

    • aws
    • linux
    • Raspberry Pi
    • RouterOS
    • s3
    • 未分類

    分類

    展開全部 | 收合全部

    其他操作

    • 登入
    • 訂閱網站內容的資訊提供
    • 訂閱留言的資訊提供
    朱朱的程式筆記 關於 本站採用 WordPress 建置