LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Uso de sensor DHT-11 usando arduino y LabVIEW (LINX)

 

Hola a todos,

Estoy trabajando en un proyecto para monitorear temperatura y humedad usando LabVIEW y un Arduino Uno a través de la librería LINX (MakerHub), pero no he logrado obtener lecturas del sensor DHT11.

Mi configuración es la siguiente:

  • Hardware: Arduino Uno.

  • Sensor: DHT11 (conectado al pin digital 2 y alterno por el 4 para ver si es el error).

  • Software: LabVIEW 2026 (usando el bloque específico de MakerHub -> LINX -> Sensors -> Digilent -> Interactios -> DHT Read).

  • Firmware: Cargado mediante el LINX Firmware Wizard.

El problema: Al ejecutar el VI, el programa se detiene y me arroja el Error 5001: "A timeout occurred while waiting for the Arduino Uno to respond".

Lo que ya he intentado:

  1. Verificar que el puerto COM sea el correcto.

  2. Añadir un retardo (Wait ms) de 1000 ms y 2000 ms dentro del While Loop para no saturar al sensor.

  3. Revisar las conexiones físicas y el voltaje del sensor (5V) conectado directamente al arduino.

¿Alguien sabe si este error se debe a una incompatibilidad con el firmware estándar o si me falta configurar algo adicional en el bloque de lectura? Agradecería mucho cualquier orientación. 😭

0 Kudos
Message 1 of 4
(175 Views)

Hello everyone

 

I am currently working on a project to monitor temperature and humidity using LabVIEW and an Arduino Uno via the LINX (MakerHub) library. However, I haven't been able to get any readings from the DHT11 sensor.

 

My setup is as follows:

  • Hardware: Arduino Uno.

  • Sensor: DHT11 (connected to digital pin 2).

  • Software: LabVIEW 2026 (using the MakerHub -> LINX -> Sensors -> Digilent -> Interactios -> DHT Read).

  • Firmware: Uploaded via the LINX Firmware Wizard.

The Issue: When running the VI, the program stops and throws Error 5001: "A timeout occurred while waiting for the Arduino Uno to respond." 

 

What I’ve already tried:

  1. Verifying that the COM port is correct.

  2. Adding delays (Wait ms) of 2500 ms inside the While Loop to avoid saturating the sensor.

  3. Double checking physical connections and the sensor's voltage (3.3 V).

Does anyone know if this error is due to an incompatibility with the standard LINX firmware, or if I am missing a specific configuration step for the read block? Any guidance or suggestions would be greatly appreciated.

 

(The DHT-11 sensor already has built-in resistors)

0 Kudos
Message 2 of 4
(173 Views)

Hello everyone

 

I'm working on an academic project involving the use of a DHT-11 sensor to display temperature and humidity. To be honest, I haven't used LabVIEW in about a year. I've attached a screenshot of my LabVIEW diagram; I mainly use VISA....

0 Kudos
Message 3 of 4
(56 Views)

crosspost from Reddit

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(21 Views)