Cov txheej txheem:

Arduino Lux Meter - Sib cuam tshuam OPT3001 Nrog Arduino: 4 Cov Kauj Ruam
Arduino Lux Meter - Sib cuam tshuam OPT3001 Nrog Arduino: 4 Cov Kauj Ruam

Video: Arduino Lux Meter - Sib cuam tshuam OPT3001 Nrog Arduino: 4 Cov Kauj Ruam

Video: Arduino Lux Meter - Sib cuam tshuam OPT3001 Nrog Arduino: 4 Cov Kauj Ruam
Video: ചോദിച്ചാ തരും Airhostess Sri Lanka Airways #airhostess #srilanka #airways #flight #pilot #airport 2024, Kaum ib hlis
Anonim
Image
Image

Feem ntau peb ntsib teeb meem, qhov uas peb xav tau los ntsuas qhov pom kev. Yog li kuv txiav txim siab ua qhov haujlwm me me uas yuav pab peb daws qhov teeb meem no. Txoj haujlwm no qhia txog yuav ua li cas peb tuaj yeem siv OPT3001 nrog Arduino li Lux meter. Hauv txoj haujlwm no, Kuv tau siv lub rooj sib tw me me rau OPT3001. Qhov ntsuas no tau sib tham nrog I2C raws tu qauv.

Ob peb qhov zoo yog:

  • Precision Optical
  • FilteringAutomatic Full-Scale Setting Feature
  • Ntsuas: 0.01 lux txog 83 k luxLow
  • Kev Ua Haujlwm Tam Sim No: 1.8 μA

Kauj Ruam 1: Sau Cov Khoom Kuv Siv

Cov Khoom Uas Kuv Siv
Cov Khoom Uas Kuv Siv
  • Arduino Uno ua tus tswj hwm tseem ceeb.
  • OPT3001 los ntawm Texas Instruments.
  • Jumper xov hlau
  • Khoos phis tawj nrog Arduino IDE teeb tsa.

Qhov ntawd yog nws, cia txav mus rau kev sib txuas kho vajtse.

Kauj Ruam 2: Kauj Ruam 2: Kev Kho Vajtse

Kauj Ruam 2: Kev Kho Vajtse Txuas
Kauj Ruam 2: Kev Kho Vajtse Txuas

Tam sim no peb yuav pom yuav ua li cas peb tuaj yeem txuas Arduino uno thiab OPT3001 ntawm I2C kab.

  • Cov kab hluav taws xob

    • VDD - 3.3 V.
    • GND - NCO
  • IB Bus I2C

    • SDA - A4
    • TSO - A5

Kauj Ruam 3: Kauj Ruam 3: Code Snippet rau Arduino Uno Raws Li Lux Meter

Upload cov cai no rau hauv Arduino uno.

Ua tiav qhov txuas rau txoj haujlwm no yog ntawm:

www.microcontrollershub.com/project-05-opt3001-with-arduino-lux-meter

Kauj Ruam 4: Kauj Ruam 4: Txheeb Tawm

Kauj Ruam 4: Txheeb Tawm
Kauj Ruam 4: Txheeb Tawm

Thaum ua tiav, qhib Serial davhlau ya nyob twg thiab tshawb xyuas cov ntaub ntawv los ntawm sensor, Koj yuav tsum tau txais nws raws li qhia.

Pom zoo: