![]() Lcd.begin(16, 2) //set up the LCD's number of columns and rows ![]() Int LDRValue = 0 //variable to store the value coming from the sensor Int LDR = A2 //select the input pin for LDR LiquidCrystal lcd(12, 11, 5, 4, 3, 2) //pins connected for LCD DHT11 humidity and temperature sensor is available as a sensor and as a module. This sensor can be easily interfaced with any micro-controller such as Arduino, Raspberry Pi etc to measure humidity and temperature instantaneously. This sensor includes a resistive-type humidity measurement component and an NTC temperature measurement component, and connects to a high- performance 8-bit. Regards, #include "DHT.h" //for temperature and humidity sensor DHT11 is a low-cost digital sensor for sensing temperature and humidity. After compiling the code on Arduino no errors appeared, but after applying the code on proteus with the creation of the circuit as shown in the attachment(adding leds,lcd,dht11 sensor,moisture sensor,ldr sensor,servo motor,relay) the proteus gives some errors related to dht11 sensor, in which I had realized that dht11 sensor is not reading the values of temperature and humidity, so can someone explain it to me and tell me how can i solve it I'm creating automatic mini greenhouse using Arduino Uno board on proteus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |