loading

Hello world! Today i made another example for one of the bunch of sensor that i have.

This time i made a simple weather station with the DHT11 (ky-015) and the LCD 1602A.

Note!

If you are using a I2C on the LCD screen i already set the lines in the CODE for you.

Just follow the steps in the Code to make it work with a I2C, make sure you set the Right I2C address in the code.

Here are the most common I2C addresses.

i2C Addresses:

PCF8574 = 0x20,

PCF8574A = 0x38,

PCF8574AT = 0x3F

Check the following step for the Schematic Code and Parts list!

Step 1: Schematic Code & Parts List.

Parts List.

  1. Arduino Uno, I used a RobotDyn Uno which has 7 analog pins instead of 5.
  2. Potentiometer 10k
  3. KY-015 dht11
  4. LCD 1602A (You do not need a I2C on it, by default the code is without I2C)
  5. set of Jumper wires MM/FF/MF.

Good luck!

<p>Not sure if anyone still monitors this, but I keep getting errors....any idea how to fix it?</p><p>Arduino: 1.8.2 (Windows 10), Board: &quot;Arduino/Genuino Uno&quot;</p><p>C:\Users\trapt\Documents\Arduino\libraries\Adafruit_CircuitPlayground\utility\Adafruit_CPlay_Mic.cpp: In member function 'int Adafruit_CPlay_Mic::peak(uint16_t)':</p><p>C:\Users\trapt\Documents\Arduino\libraries\Adafruit_CircuitPlayground\utility\Adafruit_CPlay_Mic.cpp:27:37: error: 'analogPinToChannel' was not declared in this scope</p><p> channel = analogPinToChannel(4); // Pin A4 to ADC channel</p><p> ^</p><p>C:\Users\trapt\Documents\Arduino\libraries\Adafruit_CircuitPlayground\utility\Adafruit_CPlay_Mic.cpp: In member function 'void Adafruit_CPlay_Mic::capture(int16_t*, uint8_t)':</p><p>C:\Users\trapt\Documents\Arduino\libraries\Adafruit_CircuitPlayground\utility\Adafruit_CPlay_Mic.cpp:84:37: error: 'analogPinToChannel' was not declared in this scope</p><p> channel = analogPinToChannel(4); // Pin A4 to ADC channel</p><p> ^</p><p>Multiple libraries were found for &quot;Adafruit_Sensor.h&quot;</p><p> Used: C:\Users\trapt\Documents\Arduino\libraries\Adafruit_CircuitPlayground</p><p> Not used: C:\Program Files (x86)\Arduino\libraries\Adafruit_CircuitPlayground</p><p> Not used: C:\Program Files (x86)\Arduino\libraries\Adafruit_CircuitPlayground</p><p> Not used: C:\Program Files (x86)\Arduino\libraries\Adafruit_CircuitPlayground</p><p> Not used: C:\Program Files (x86)\Arduino\libraries\Adafruit_CircuitPlayground</p><p>exit status 1</p><p>Error compiling for board Arduino/Genuino Uno.</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>There was a little mistake in the Schematic. I fixed it.</p>

About This Instructable

1,449views

5favorites

License:

Bio: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the ... More »
More by vandenbrande:Arduino - LCD 20x4 Water LEVEL MONITOR HC SR04 Arduino - NRF24L01 2.4Ghz Wireless Relay Switch RGB led STRIP control Arduino Android BLUETOOTH - SMD5050  
Add instructable to: