LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to combine multi sensors using arduino uno in labview

light sensor bread boardlight sensor bread boardlight sensor block diagramlight sensor block diagramtemp sensor bread boardtemp sensor bread boardtemp sensor block diagramtemp sensor block diagram

I want to combine the two sensors into one labview block diagram. 

0 Kudos
Message 1 of 3
(2,394 Views)

Just combine them...

 

Notice both sensors are using Analog Input 1, so you will have to put one sensor on analog input 1, one sensor on analog input 2, and change your LabVIEW code (AI channel) accordingly.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 3
(2,362 Views)

You can wire the reads in succession. In this case, however, if you open the wire diagram of TMP35, you'll see that all it does is multiply the input voltage by 100. This means you can combine them into one Analog Read N Channels and apply the calibration to the corresponding element of the output array. Note that TMP36 and TMP37 use different calibration values.

 

The attached images are VI snippets. Save it to your computer, then drag the PNG file directly into your wire diagram.

 

Edit: sorry, I meant to reply to OP.

-----------------------------------------------------------------

If you can not measure it, you can not improve it.
- Lord Kelvin
Download All
0 Kudos
Message 3 of 3
(2,342 Views)