03-21-2013 01:05 AM
There is no I2C communication regarding this sensor.
Did you upload my custom firmware to your Arduino? Nothing in my library will work if you haven't done this.
To use my VI's from the library, you can simply add any VI directly into your program.
EDIT: I found an error in my library for this sensor which happened because I had to change the LIFA function ID.
03-21-2013 03:31 AM
ok i uploaded the updated LIFA and checked with one of my VI it works fine but the VI Example is not giving me any sensor read (timeout error 5003)
03-21-2013 07:11 AM
ok so here what i finally came too
i did as the following
1- cleared my arduino and installed the latest custom LIFA u sent to me
2-add the Labview library to [C:\Program Files\National Instruments\LabVIEW 2012\vi.lib\LabVIEW Interface for Arduino]
3-checked my connection and got the sensor work in arduino program fine and double checked in labview with pin13 LED on off VI working fine
4-ran the Example u made [+added the pin controller and constant VISA inputs like COM number and arduino borad type etc.]
5-now its not giving me the (timeout error) but the arduino keeps fliker with out any read from the sensor no change in the thermometer ........
04-01-2013 02:57 PM
Dear Nathan_B,
Is it possible to receive data from the Dht11 just using VISA? Or I have to use LIFA?
I'm trying to do an application using Xbee and I already can get the data at serial monitor of Arduino, but not in Labview.
Thanks in advance
04-01-2013 04:38 PM
VISA is used for serial communication, the DHT11 does not use serial communication.
Have you tried custom code I posted above with LIFA?
04-01-2013 08:36 PM
I tought that what I can see at serial monitor of arduino is what is written at serial port, isn't it? I tried to use Visa, but I got the error: ERR[-1073807202]
I'm going to try your code, but I'm really a beginner with arduino and labview. In the folder 'Custom Firmware" I have 2 files .INO, what is the file that I need to upload at my arduino board?
Where do I have to put the other files?
Could you please tell me step by step? I'm using the pin A0 at my arduino board.
04-01-2013 08:42 PM
If you have the Arduino streaming data back via Serial, you cannot use LIFA. LIFA is a command based structure. All communication has to go through LIFA functions if you want to use LIFA.
If all you want to do is monitor the serial port (because you have non-LIFA code running on Arduino) then I'm sure you can find posts about creating a serial monitor with LabVIEW (not related to LIFA).
04-02-2013 12:11 AM
All of the files go onto the Arduino. Follow the normal instructions for installing LIFA if you would like to try LIFA with my modifications. Also, this device uses a digital pin not an analog pin. If this is not the case, could you post the Arduino code that you have working?
04-02-2013 06:41 AM
Ok, so attached you can find what I did until now. There is a pic showing how I wired my sensor with arduino (but using a xbee shield). I do got a Putty to see what is at serial port, you can see attached.
I appreciate for your help
04-02-2013 08:18 AM
Jeri ths is a digital sensor how did you got it working in analog pin ????????????