Download A.p. Van Den Berg Port Devices Driver



Check the humidity & temperature of your terrarium with a DTH22 humidity and temperature sensor and display this on an LCD I2C 16x2 display.

  • 68,977 views
  • 23 comments
  • 82 respects

Components and supplies

LEDLoad has started as a neat CPU load display using a single dual color LED. The current release has been extended to support up to two tri-color LEDs. It is designed to use a free internal USB port of any modern PC and replace the power LED in the case with something more interesting. A host driver kernel module is available for Linux. Jan 11, 2014 ok, my RME multiface II had quite the same issue. My computer told me, no device connected, I had several strange error-messages first, then the red light on the unit constantly staid on. I sent it to RME via my local distro, and they repaired it for free (guarantee).

Arduino UNO
×1
DHT22 Temperature Sensor
×1
White on Blue 16×2 LCD Module with I2C Backpack Module – 5V
×1
Solderless Breadboard Full Size
×1
9V battery (generic)
×1
Adafruit 9V battery clip with 5.5mm/2.1mm plug
×1
USB-A to Mini-USB Cable
×1
Male/Female Jumper Wires
×1
Male/Male Jumper Wires
×1

About this project

For two years my son (7) had the desire to have a pet snake. Finally he bought a couple of snakes with a terrarium. To keep the snakes at a comfortable environment for them we need to monitor the temperature and the humidity.

So we bought an analogue humidity/temperature sensor and discovered that it wasn't all that easy to keep both at a good level. As I was dying to start a project with my newly bought Arduino Uno it seemed a good idea to use a humidity / temperature sensor and let the Arduino do the automation of temperature and humidity in the terrarium. Therefor I bought a DTH22 humidity / temperature sensor and a LCD I2C 16x2 display and had a go.

This tutorial is the basis of this project. There is no automation whatsoever in this tutorial. Just the use of the DTH22 and a LCD I2C display.

I have seen an other tutorial for this purpose, but this was using an LCD without the I2C. If you don't have the I2C connected to your LCD please have a look at this tutorial by ThothLoki

Hardware Required

  • Any 5V Arduino (in this case Arduino Uno R3)
  • DTH22 Humidity / temperature sensor
  • LCD 16x2 display with I2C mounted to it
  • Breadboard
  • 6 male/male jumper wires
  • 4 male/female jumper wires

Needed Libraries

Download A.p. Van Den Berg Port Devices Driver
  • Adafruit_Sensor
Driver

Before we start

I like the LCD 16x2 with an I2C mounted because it saves you the trouble of all the pins that might or might not need to be connected to the Arduino. You only need 4 jumper wires and thats it.

The display has an I2C address to accept commands or send messages. The downside is that you need to figure out which address it uses before you can continue. I won't me going into the details here, but at the Arduino forum you can read everything about it.

In my case our device uses the 0x3F address, if your device also uses this address you're lucky, you can just copy our code.

Hook-up the breadboard to the Arduino

The DHT22 sensor as well as the LCD 1602 I2C use a 5V power supply. Therefore I connected the 5V pin on my Arduino to the red + row on the breadboard and the ground of my Arduino to the blue - on the breadboard. As I want to keep colors in sync, on my schema I will use red cables for 5V and blue cables for ground. In real life I didn't use blue for ground, but white... have been playing too much with car electronics I guess.

I will use a yellow cable for Data, an orange cable for SDA and a gray cable for SCL. The letter two will be on the I2C.

Adding the DHT22 sensor

Lets have a look at the pinout. The DHT22 sensor (like the DHT11) has four pins. I place the DHT22 sensor on the breadboard with the front facing outwards. This way the first pin (5V power) is on the right (see the schematics).

I use a small red jumper cable to connect the 5V VCC to the 5V (+) row on the breadboard. And a small blue jumper cable to connect the ground to the ground (-) row on the breadboard. I took a long yellow cable to connect the second pin, the data pin, to the Arduino. As it is digital data, I connected this to data port 4 on the Arduino. In other examples you will probably see people using port 7, both will work. I used port 4 because I anticpated that I will use more data ports and wanted to save port 7 just in case. You will also see this in the schema's.

Download a.p. van den berg port devices driver license

Adding the LCD 16x2 I2C

The LCD 16x2 I2C also has 4 pins. Looking at the picture below, from left to right:

  • Ground
  • VCC (5V)
  • SDA
  • SCL

Connect the first (left) pin to the ground (-) row on the breadboard. Connect the second pin to red the 5V (+) row of the breadboard. I use an Arduino Uno so which has the I2C connections on A4 (SDA) and A5 (SCL). So I connected the third pin to the A4 and the fourth pin to A5 connector on the Arduino.

The code

Remember for the screen you can have different address' to connect to. My I2C uses address 0x3F (see part 'Before we start') so beware that my code is setup for this address.

Remember the libraries needed (Adafruit_Sensor, DHT, NewliquidCrystal). Download these libraries, unzip them and place these in the libraries directroy of your project.

Then upload the code to your Arduino and check the humidity and temperature of your terrarium (or server cabinet, or refrigerator or just your living room).

Download A.p. Van Den Berg Port Devices Driver License

Code

Schematics

Team GiftedMedia

FrAgFo0d
  • 1 project
  • 11 followers

Additional contributors

  • Getting the ic2 display to work by ianbren
  • For his work project on the dht22 sensor by attari

Published on

February 27, 2017
Write a comment

Members who respect this project

and 77 others

See similar projects
you might like

Table of contents

Write a comment

At October 1 HP released HP Service Pack for ProLiant 2015.10.0 . The SPP contains firmware and drivers for HP ProLiant servers

One of the reasons to frequently update your firmware and drivers is support by HP. HP supports each SPP version for 12 months from the release date. I have seen many issues solved by installing the lastest firmware and drivers.

SPP 2015.10.0 contains a new version of HP Smart Update Manager (v7.4.0).

The release notes are here.

Some important notes:

  • The SPP 2015.10.0 is the final version that includes support for VMware ESXi 5.0. Support for
    VMware ESXi 5.0 will still be available on hp.com.
  • The 2015.10.0 SPP does not contain support for the HP ProLiant Smart Array Controller Driver for
    VMware vSphere. An updated driver will be released in the future

The following issues from SPP 2015.06.0 have been fixed in SPP 2015.10.0:

  • Upgrading Broadcom drivers from SPP 2014.09.0 will return an error in VMware
  • HP CNU shows as ready for install on every launch
  • Mellanox Ethernet drivers are not supported on VMware ESXi 6.0
  • HP SUM fails to deploy NIC updates and displays the error ‘return code-3’
  • Systems with Emulex Fibre Channel HBAs cycle back to POST when booting from iLO-mounted
    media
  • The QLogic P3 firmware offline interactive update installs with ‘update returned an error’
    message
  • Emulex Fibre Channel Host Bus firmware flash component incorrectly reports a failure with
    multiple port cards on VMware
  • HP Service Pack for ProLiant 2015.10.0 Release Notes 6
  • Option to deploy QLogic Fibre Channel HBA firmware not presented for some VMware hosts
    See the HP Service Pack for ProLiant Release Notes 2015.06.0, Known Issues section, for more information

Van Den Berg A Different Existence

In order to download the Service Pack for ProLiant, an active warranty or HP support agreement is required according the HP website. However I was able to download using a HP Passport account without warranty or support.

Sepp Van Den Berg

Download here or here.