Giter VIP home page Giter VIP logo

thermometer's Introduction

Thermometer

This project uses an Adafruit DHT22 and a 4 row HD44780 LCD-Display to turn your Raspberry Pi into a thermometer that tracks the temperature and humidity.

Table of contents

Preferences

  • Raspberry Pi Model B
  • Adafruit DHT22
  • HD44780 4x20 LCD-Display
  • Python 2.7 at your Raspberry Pi

RPi and display

The following Pins on your RPi are used:

piPin

Pin Usage
1 Power DHT22 and LED +
2 Power HD44780
6 Common Ground (GND)
7 Data from DHT22
12 DATA7
16 DATA6
18 DATA5
22 DATA4
24 E
26 RS

It is recommended to use a breadboard.

The HD44780:

hd44780Pin

Connect the pins as shown in the graphic. You can use an additional 10K resistor at 'Contrast'. The LED + could be connected to 5V but in my case it was to bright.

DHT22 soldering

If you have an Adafruit DHT22 without preinstalled resistor, use the following soldering instructions else ignore the soldering and just connect it (Pin 3 is GND then):

DHT22

You have four pins at the DHT22.

Pin DHT22 Description
1 3.3 Volt
2 Data
3 not needed
4 GND

You have to solder (or wire on your breadboard) an additional 10k resistor from positive voltage to the wire coming from the data pin.

Features

  • Auto setup (if needed)
  • Collect sensordata
  • Print data on display (time, temperature, humidity)
  • Reusable class for display
  • Hardwareinstructions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.