DHT 11 sensor and NI USB-6009

Hi all

I am a new user of LabView with only a CLAD certification so please forgive my ignorance on the subject at hand.  I try to use a DHT 11 temperature sensor and moisture (Backgrounder: http://www.micro4you.com/files/sensor/DHT11.pdf ) with a casing NI USB-6008.   I not had a bit of luck to find information about this combination of data collection and began to wonder is it still possible.

I don't know that DHT output digital signal sensor and it is usually used with a card Arduino but I need to use it with my DAQ.

  • Can someone give me a general run down on whether or not it is possible?
  • If so, what will do to allow the DAQ and sensor to communicate?
  • And if it is not possible, any information on why that is and suggestions on what I can do to integrate data on the temperature in my LabView code using the USB-6009 case?

I apologize for the size of my question, I'm looking for the General knowledge on the subject so I bridgehead to attack my problem at hand.

Thank you

Sleepar

Sleepar,

You will not be able to use this sensor with the box USB-6008.  Although it is rather badly written the specifications document, it is clear that the timetable is faster than you can achieve with timed entrances and exits of the USB-6008 mcuh digital software.  With the USB-6008 housing you must think in terms of tens of "timing" minimum milliseconds on digital lines and allow considerable jitter at these rates.  Anythign with microsecond timing is out of the question.

Probably the best way to get data on a USB-6008 temperature is to use a temperature sensor semiconductor as a LM35 and an entry for analog data acquisition.

If you need to use DHT 11, you will need some external circuits to capture the five bytes of data and present it in a format that the USB-6008 case could handle.

Lynn

Tags: NI Hardware

Similar Questions

  • temperature sensor with the acquisition of data usb-6009

    Greeting

    I want to use a sensor with usb-6009 to save the variation of body temperature about 15 minutes and then use these data in labview.

    If you please you can advise me with the best low-cost use and the way/circuit sensor connect it to the usb-6009.

    Hi ba7soun,

    If you can use with USB-6009 LM35 depends on the range of output voltage of the sensor. I understand that it requires a 5V supply with respect to the ground, which you can provide to the USB-6009 (more than 200 my should not come from the USB-6009).

    The maximum range of the USB-6009 is - 10V to + 10V, while the minimum range is - 1V to + 1V, also probably the output signal of the LM35 will be in this range. What you need to do is to compare the full range of the output signal with the range of the DAQ divided by 2exp (14) (because it is a 14 bit ADC) and ensure that the first is much more than the latter.

    Kind regards

    Condette Dhruv.

  • OR USB-6009 and Tek TDS2024C comparesment

    My apologies if this topic was already discussed, but I searched through the forum and manuals and can't find anything.

    I have a problem with measurements in parallel with TDS2024C NI USB-6009 and Tek.

    I measured the noise high frequency on 10 s window.

    I used the data logger with a frequency of 40 kHz connection in parallel with TDS2024C (which reached 250 Hz on 10s window) and got very different results.

    On the attachment figure, first signal comes from screenshot of scope data and the second of the NI USB-6009 islogged.

    Can someone explain to me why are these so different results?

    Different sampling frequencies could easily explain it.  Try to run the USB-6009 case at the same rate as the scope and see what you get.  I also think that the TDS2024C has fewer bits in the ADC, which could also cause differences.

  • Using the NI USB-6009 case to generate a 12VDC output and output current of 300mA

    Hello

    I use the OR-USB-6009 my power supply for a 12VDC with drive current of 300 solenoid my. Initially, I used a non reverse Op-amp circuit and Inverter circuit operational amplifier to get the + 12V and - 12V output but I could not get the current I required. Should I use a transistor?

    Please find attached photos. Any input would be appreciated.

    Thank you

    Adam

    Well, really depend on your piercing circuit.  But I used most systems use the transistor to set the voltage of the device to 0V.  So when your DIO is high, the output is actually 0V (low).  So using a converter chip, your release of the DIO will be sort of the output circuit.  If you get the right IC, then the inverter will give you also a few extra current to drive your transistor.

  • Device driver in Linux and ready to compile application user for USB-6009

    Hello

    I intend to use the acquisition card to USB-6009 data under Linux platform. To do this, I need driver linux for acquisition card data USB-6009 and some read-compilation-and-program to use "user application" which can take samples of the card, to implement some buffering or write to the file. It would be beneficial if I could also get sample code to generate a sinusoidal low frequency signal, using the D-to-A converter available on the Board of Directors.

    Also I need installation instructions for the NOR-DAQ software under standard linux environment.

    Thank you for your quick and detailed response,

    Adeel Malik,

    Research engineer,

    Institute of telecommunications research,

    Mawson Lakes Boulevard,

    Mawson Lakes,

    South Australia, 5095,.

    Australia

    Mobile: + 61 0404 030 071

    E-mail: [email protected]

    Hello Adeel,

    You will need to install the libstdc ++. so.5 Library.  A Google search has a few useful discussions that give more information on the procedure to follow if you are not sure:

    Let me know if you have installation problems - you can also try to contact redhat support if you are having problems.  If you have problems, please post so we can document the troubleshooting procedure to help all customers who may experience this problem in the future.  Thanks for posting!

    -John

  • Digital and analog inputs simultaneously - NI USB-6009 and NI USB-6212 - ANSI C

    Hello

    I'm reading at all times and at the same time analog and digital inputs. Digital and analog samples must be sampled at the same clock and acquisition should be started (triggered?) at the same time (I don't want, after some time, analog reception more digital samples - the opposite is also true).

    I found an example (in C source code) "National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Synchronization\Multi-Function\ContAI-Read dig Chan" and tried to run with two USB cards: NI USB-6009 and NI USB-6212. Unfortunately, the two results by mistake, as described below:

    DAQmx error: the requested value is not supported for this property value.
    Property: DAQmx_SampTimingType
    You asked: DAQmx_Val_SampClk
    You can select: DAQmx_Val_OnDemand

    Task name: _unnamedTask<1>

    State code:-200077
    End of the program, press the Enter key to exit

    -Is it possible sync analog and digital acquisition in the paintings?

    -If so, how?

    Thank you

    Hello tcbusatta,

    Two of these modules, USB = 6008 and USB-6212, support only timed software inputs and digital outputs.  This means that you cannot define material timing (like finished sampling or continuous) for these modules.  Digital lines can be retrieved or written once to each call DAQmx read.

    This means that you will not be able to get any type of synchronization tight between the analogue and digital channels.  You will need a Board such as the NI USB-6341 in order to synchronize the AI and DI closely.

  • Can I synchronize and AI on USB-6009 with meter?

    Hi all

    I use USB-6009, LV 8.5 under windows XP. I want to generate signals synchronized with Amnesty International. I know that I can not use the sample as DO clock clock. But can I use the card counter to synchronize and AI? And can someone give some similar examples? Thank you!

    Best wishes

    Bo

    The unit will display whenever you call writing DAQmx. It is more complicated than that. And synchronization is practically based on the flow of data and when you want to generate the digital output from the analog input.

  • How to synchronize clocks on USB-6009 and USB-6343

    Hello

    Can anyone provide an example on how to synchronize clocks on USB-6009 and USB 6343?

    I checked the example screws, but it shows that we must use 2 counters, one as the clock of the source and the other as a trigger. But only 1 CLK 6009.

    I read the user manual and it is mentioned to use (AI/start-trigger) in order to use PFI0 as source.i am somehow confused about how to achieve this.

    Furthermore, what would be the physical connections?

    Thank you

    LV_Enthu

    Unfortunately, you won't be able to completely synchronize your devices USB-6009 and USB-6343.  As you have seen, the 6009 has only a meter on board.

    You can certainly use PFI0 as an input to start your tasks at the same time digital release.  However, the 6009 is a strictly timed by the software.  There is no way to import an external sample clock.

  • inputs and outputs analog digital usb 6009

    I'm having a problem with my USB 6009 in labview programming.  I try to read continuously from the analog inputs while having an event focused on digital output within the same program/vi.  Basically, I need to taste all the time the analog inputs while having an event defined by the user (button control) to signal the digital inputs to turn on then after awhile.  The event of digital output must be independent of the analog sampling system.  I was throwing the "error already allocated resource" in most of the vi, I wrote to try to achieve.  What is programmatically possible with usb 6009?  I am at my wits end trying to do this and any help would be greatly appreciated (by myself and my boss).  Thanks in advance for your answers.

    RJ


  • How to open and close an electronic shutter with LabView 8.5.1 using an NI USB-6009 case?

    Also, I need to set up a timer so that the shutter is open for 15 minutes and closed for 30 minutes.  It has to do 500 times.

    The USB-6009 case is a relatively new device, and LabVIEW 8.5.1 is a fairly old software. You should check to be sure that you have the corresponding to your version of LabVIEW (DAQmx) drivers that support of this material. It sounds as if you put it in place to MAX and control the output manually, which is a good sign. I don't have access to the version 8.5.1 and I do not exactly remember which functions he supported, but the attached picture shows a simple diagram in a new version of LabVIEW that would do what you want. Of course, you should test with shorter and less iterations because it takes more than 2 weeks to complete! Add any controls, indicators and the error checking you want.

    Rich

  • USB-6009 HAVE and AO

    Hello

    I have a USB - 6009 DAQmx. I want to measure an analog input with the highest possible sample rate (48 kHz). At the same time, I need an analog output in voltage from 0 to 5 Volts, lets say 2 minutes of the ramp. Both of these tasks require no synchronization of relatives. With respect to the specification, the highest rate of the AO is 150 Hz. It's ok for my application.

    So far I use the internal clock of the device, and the OD does not work with a timing of software. Is it possible of ramping regardless the voltage output and at the same time reading analog input? If not, is there a work around for this device?

    Thanks for the tips!

    Kind regards

    HI Blook,

    your VI test seems ok. Of course, given that the AO is in sync SW and you run it on a Windows platform may be you will see some jitter on the output. But you said, you don t need a thight synchronization, so it shouldn´t be question.

    For what concerns the way in which LV manages data acquired from a multiplexed DAQ card, that should be kept in mind

    that the timestamp of the waveform is generated from the driver on the PC and not directly on the map. This means that even if the sample of both channels are acquired in two different

    moments (like you supposed to separate by the time of the ADC) this will be transparent to the SW and they will be considered granted exactly at the same time.

    National Isntrumetns offers also simultaneous of sampled acquisition card (and not multiplexed) to overcome this problem.

    Best regards

    André

  • Using the DAQ USB-6009 meter and an analog input voltage at the same time.

    Hello

    Currently, I'm reading the two channels of voltage with the USB-6009. It happens that one of the channels is the output of a digital coder, and it would be much easier to use it directly to the PFIO entry that is defined as a counter. The problem I am facing right now, it's that I can't use the DAQ Assistant to use the analog voltage to a channel and the digital channel counter at the same time. Once I put the DAQ Assistant to read the input from analogue voltage, I won't be able to add analog inputs. And as I put the DAQ Assistant to use the PFIO as a counter, I can add more entries to read analog voltage is.

    I wonder if it is possible to solve this problem using the lower level data blocks? Another solution would be to read two channels in analog input voltage and that the use of Matlab to process data resulting from it, since I was not able to do the counting to work simultaneously with the acquisition in Labview to impulses.

    Hope you guys can help out me.

    Thanks in advance.

    Using a simple wizard of DAQ is incorrect. You need one to acquire analog inputs and one for the meter.

  • USB-6009 and uln2803

    Hi all forum, this is my first post so I apologize if I posted in the wrong section.

    I'll briefly explain my situation.

    I have to connect the USB box - 6009 DAQ with an automaton: the application consist in an analog acquisition task, began of the automaton, awaiting a signal for the task. 24V PLC work, so I found a map of external interface based ULN2803 and relay for the adaptation of signals [http://www.datasheetcatalog.net/it/datasheets_pdf/U/L/N/2/ULN2803.shtml].

    ICR accept an entry order 5V TTL, but in the datashet (and also on the figure), is specified that the activation voltage is approximately [email protected].

    Now, my question is: what is the correct configuration of the digital port on data acquisition between open collector and push - pull? Also the maximum of open collector current is estimated to be 0.6mA, if I can damage the USB-6009 case in this configuration?

    Another question, on the side of digital input. I think to use another active relay 24V, that switch between 0V and 5V digital input line. Y at - there no consideration to take? Should what configuration I use?

    PS: the interface card would be shipped within a few days, so I don't have it at the moment.

    Waiting for a response.

    Best regards

    Marco

    Hello Marco,.

    Although you don't need an external resistor to DO more.

    With respect to the entry, as I told you yesterday that you don't need an extra resistance, you should be fine with your current configuration.

    Ciao,.

    Andrea

  • Sinusoidal linear encoders Heidenhain 11 (micro) App and USB-6009

    Hello, I need to read the two linear encoder sinusoidal signals App 11 Heidenhain (micro), described on page 37: http://www.heidenhain.com/fileadmin/pdb/media/img/208_945-28.pdf

    I have been using a standard oscilloscope and merged the two signals on a X - Y axes screen two, to display a circle to inspect if the glass scale is OK.

    If the glass scale is OK, then the circle is relatively stable in size and position when you move the receiver along the scale.

    Now, I would do the same test with a USB-6009. Is this possible? The two signals should be treated as current input analog? In this case is 11 specifications USB 6009 operator?

    Thank you

    Luke


  • Recommend components for the plant of thumbnails that will be automated using NI USB-6009

    I build a treatment for a University project and I'm looking for a few recommendations of components that work well with the NI USB-6009 case. Because of what is a project of the University, my budget is $ 100 and I need the following:

    a float switch or something similar

    a solenoid valve two-way or three-way

    a pump

    a pH sensor

    a temperature sensor

    a camera

    I understand that I may not have a sufficient budget for all these components, but all product recommendations would be appreciated.

    Hello

    I recommend using the following tool to see examples of projects other users worked on in order to determine the appropriate components: http://www.ni.com/examples/

    I hope this helps!

Maybe you are looking for