DHT11 sensor connection

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
Artis
Posts: 10
Joined: Mon Jan 19, 2015 10:59 pm
Has thanked: 1 time
Been thanked: 1 time

DHT11 sensor connection

Post by Artis »

Hi i am trying to connect HDT11 sensor to Arduino nano for some time. Maybe someone it already figure it out.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: DHT11 sensor connection

Post by Benj »

Hello,

Please can you post your program and we'll take a look.

Artis
Posts: 10
Joined: Mon Jan 19, 2015 10:59 pm
Has thanked: 1 time
Been thanked: 1 time

Re: DHT11 sensor connection

Post by Artis »

I was trying to change sample wich was in flowcode web page. There was diferent humidity and temperature sensor.
Attachments
DHT11_LCD.fcfx
(9.54 KiB) Downloaded 289 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: DHT11 sensor connection

Post 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.

Post Reply