Page 1 of 1
DHT11 sensor connection
Posted: Mon Dec 05, 2016 11:29 pm
by Artis
Hi i am trying to connect HDT11 sensor to Arduino nano for some time. Maybe someone it already figure it out.
Re: DHT11 sensor connection
Posted: Tue Dec 06, 2016 12:38 pm
by Benj
Hello,
Please can you post your program and we'll take a look.
Re: DHT11 sensor connection
Posted: Tue Dec 06, 2016 3:11 pm
by Artis
I was trying to change sample wich was in flowcode web page. There was diferent humidity and temperature sensor.
Re: DHT11 sensor connection
Posted: Tue Dec 06, 2016 5:58 pm
by Benj
Hello,
In your program you don't call the SampleSensor macro, it is this macro which communicates with the sensor and reads the values.
The other macros just take the readings and present the data formatted in different ways.
Also the GetTempString macro has a Float variable as it's return variable when it's expecting a string. Trying to run the program in simulation pops this up as an error.