ࡱ> z|y @ bjbjVV (0r<r<<<<<<<<PDP`````GGG """"""$RF<GCGGGF<<``[SSSGR<`<` SG SS&L~<<``T x2d q0``PP<<<<<`GGSGGGGGFFPPPPBill Marchese / Manny Hernandez ET-360/L Photo Resistor Input with LabVIEW Virtual instruments Part 1 1) Objective of Lab: a. The following concepts will be introduced and applied with a photo resistor, LabVIEW application and its interface. 2) Procedure: Photo Resistor, 10 k pot and DAQ Connections Schematic  3) Schematic: Attach DAQ to computer through USB cable. a. Photo resister and 10 k Potentiometer i. Photo Resister +5V pin 31 ii. DAQ Ground pin 32 iii. Photo Resister + AI 1 pin 5 iv. DAQ Ground pin 6 v. 10k pot + AI 1 pin 5 vi. 10k pot and wiper Ground Block Diagram Panel Place a While loop on the Block Diagram Right Click Express Exec Control While loop make sure all components are inside Place DAQ assistant inside while loop (on left hand side) on the Block Diagram Right Click Express Output DAQ assistant NI-DAQ create new express task Acquire signal: analog input AI1 Right Click DAQ assistant select properties Under configuration should read voltage Signal input - Max 5 and Min 0 Selected units volts Acquisition mode N samples Sample to read 50 Rate (Hz) 50 an Place comparator top center of Block Diagram Panel. Express (Right click block diagram) Arithmetic and Comparison Comparison (click comparison?) Right click comparator / select properties Under compare condition select less or equal Front Panel Place waveform graph bottom center of Front Panel (Right click front panel) Express Graph indicator Waveform Graph Right click waveform graph select properties Appearance tab Under label check off visible (select visible if not already checked) Under visible type in Amplitude Format and Precision tab Under Type select Automatic formatting Digits - 6 Under Precision Type select the following Digits of precision (check box below digits of precision) Check off hide trailing zeros Place Meter (call it Light level) on top center of waveform graph on Front Panel (Right click front panel) Express Numeric Indicators Meter Right click Meter select properties Appearance Under label check off visible (select visible if not already selected) Under visible type in Light Level Format and Precision Floating point Digits enter 6 Precision type Significant digits Place Boolean on the left side of the meter. Control Boolean Select square or round LED Right click Boolean and select properties Appearance Under label check off visible Under visible type in Low Light Under colors choose for on and off Place pointer slider select on the left side of the meter. Control Numeric Vertical Pointer Slide Right click Vertical Pointer Slider select properties. Appearance Under label (check off visible?) Under visible type in Low Set Under colors select colors Format and Precision Select Automatic formatting Digits 6 Precision type Significant digits Check off Hide Trailing zeros Wire the Block Diagram as shown in illustration. For information Blue and white stripe wire is wire. Orange wire is constant Green wire is Boolean 4) Challenge (Modification): a. How can you turn on the low light LED so it turns on when a brighter light source goes over the photo resistor? b. How do you calibrate the photo resistor for different light levels? 5) Analysis: a. Answer the following questions in written paragraph form and turn in next week: i. What is the function of the photo resistor and the potentiometer in series? ii. How can you determine if you are mid range voltage with your potentiometer? iii. How is the DAQ used in both digital and analog mode for this exercise? 6) Write-up: a. Do not write a formal lab report. b. Turn in a snap shot of the Front Panel and Block Diagram. c. Explain and answer the above questions.  *+`hij     <  - 1 2 R < v 轵詤蘔h1hEEhS7h2 h'"hhbP hbP hEE>* ht'>*hbP ht'>*hhhEEhh5hEEhEE5jh+hr_Uhr_hEEh5hhEEhtW5ht'h:ahtWh&h-hM2+ij 3  - R m & F dgdt'm$ & Fdgdt'm$ d`gdEEm$ dgdt'm$ < = # t & FdgdEEm$ pd^pgdEEm$ & Fdgd2 m$ & Fdgdm$ & Fdgdm$ & Fdgd'"m$ & Fdgd'"m$ dgdbP m$ & Fdgdt'm$ & Fdgdt'm$ & F dgdt'm$ # K j  8 W dgdt'm$ & Fdgd1m$ & Fdgd1m$ & Fdgd1m$ & Fdgd1m$ & Fdgd1m$ dgd1m$ & Fdgd'"m$   B V m p  $%+9Nb/45&'STQR+GHǿǿÿÿ hEE5hGa&h~%h/h-cph\hJh(:hL h1h1hr h1>* h"Mb>*ht'h1hS7hOF #5bq%O & Fdgd1m$ & Fdgd1m$ & Fdgdrm$ & Fdgd1m$ & Fdgd1m$ & Fdgd1m$ & Fdgd1m$ 8d^8gdOm$ & Fdgd1m$/5Yex & FdgdJm$ & FdgdJm$ & FdgdJm$ & FdgdJm$ & FdgdJm$ & Fdgd(:m$ & Fdgd(:m$ 8d^8gdOm$ & FdgdLm$ dgdLm$ dgdt'm$ %&'T\d @ d^@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.+/X6> h⸬~ 0 9- 6†ϯݏ`8SXPS 񞈃p'pz?> CwX伎_gG?' \_0~ï]T2V}sIEإ,8>Y^bsx!!ʂ:3_q~=0-yyY=gڙ/!(fK.s;Y>?O'}k}qWo(S\"}؈s9Wl^gH#6 o3s>NwsrO~KW{>g#;5gT392޳q[;^3As꜉6E.s&߀izev-P Yxʙ.g"yY8=B ldt'nC$S dN3U_j4L73Lr' ՂP_rcL'ړ֗t9v%~+t^ɱ+ӞOY nA7,I7jr'x{'ݠk=tݠ"[a,DzEm#B<"D/x{жޏ أ`t ;*߉9%|*|LN "滼Li1rz7]٘et&\4ӹHozuuN#ZjĞz<.b.0,;٠e:-͞u.ƿD@h b!|kDЄh@sj!lS9Zm92{bXXsz$䶄 rL}Nw    *^         QT        "         4[~J        '&MS72 bP Ct\'"@}LGa&~0 8(:z@EBI*&VtWr_:a"Mb-cp#}Jz&OEEp*<-1hr~%/zt'@**T @  **@@UnknownGz Times New Roman5Symbol3& z Arial7&{ @Calibri"qhF<KF< < 243QHX $PCt5Photo Resistor Input with LabVIEW Virtual instrumentsManuel William E. Lopez/                           ! " # $ % & ' ( ) * + , - . Oh+'0$ @L h t  8Photo Resistor Input with LabVIEW Virtual instrumentsManuel NormalWilliam E. Lopez8Microsoft Word 10.0@_@N'Z@ȯ@ډb2< ՜.+,0  hp  School 6Photo Resistor Input with LabVIEW Virtual instruments Title  "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghjklmnoprstuvwx{Root Entry Fx2}Data 1Table!kWordDocument(0SummaryInformation(iDocumentSummaryInformation8qCompObjj  FMicrosoft Word Document MSWordDocWord.Document.89q