Search found 7 matches

Return

by Enamul
Fri Nov 23, 2012 9:58 pm
Jump to forum
Jump to topic

Measurement of temperature and relative humidity using DHT11

Measurement and control of temperature and relative humidity finds applications in numerous areas. These days devices are available which have both temperature and humidity sensors with signal conditioning, ADC, calibration and communication interface all built inside them. The use of such smart sen...
by mnf
Mon Nov 26, 2018 11:55 pm
Jump to forum
Jump to topic

Re: Problem in reading the DHT11 sensor

Hi Oderlando, - what errors are you getting. I've modified the file slightly (take a look at PriemBitovSimplified - you can index into your array much more simply) - what are you trying to accomplish here? read of the dht11 by bit-banging port A5?? Did you get things to work using the DHT11 componen...
by mnf
Sun Nov 25, 2018 9:28 pm
Jump to forum
Jump to topic

Re: Problem in reading the DHT11 sensor

& a jumperless version:

PB250030.jpg


This with the DHT11 pins at D4-D6 of the Arduino.
dht11.fcfx

Modified for D4 as data D5 as VCC and D6 as Gnd

Martin
by mnf
Sun Nov 25, 2018 9:18 pm
Jump to forum
Jump to topic

Re: Problem in reading the DHT11 sensor

Hi Oderlando, Try - the following code. I have it working here with a DHT11 sensor and it works AOK. A couple of things - don't have the output in an interrupt routine. Interrupts are best kept as short as possible, not really the place for outputting to a display. The DHT11 sensor is fairly slow - ...
by Benj
Fri Nov 23, 2018 6:32 pm
Jump to forum
Jump to topic

Re: Problem in reading the DHT11 sensor

Hello, v7 of Flowcode is known to work well with the DHT11, it could be that our code and the proteus code is just not getting on but in real life the code works fine with the sensor so this sounds like a Proteus problem to me. I don't have access to the Proteus simulator so I cant try and replicate...
by Benj
Fri Nov 23, 2018 12:39 pm
Jump to forum
Jump to topic

Re: Problem in reading the DHT11 sensor

Hello, Is the Proteus simulation of the DHT11 sensor known to work well? I would test on actual hardware if you can to rule out any potential problems with the Proteus software. Which version of Flowcode are you using? Can you post your project file so we can see if your maybe doing anything incorre...
by Benj
Fri Dec 07, 2018 11:22 am
Jump to forum
Jump to topic

Re: Problems setting up setup

Hello,

You have loops for while button down and while button up but inside the loops you are not refreshing the Button_Down and Button_Up variables.

You just need to copy the input icons inside the loops.