Giter VIP home page Giter VIP logo

thermometer-dht11-tm1637's Introduction

thermometer-DHT11-TM1637

Digital thermometer & humidity meter based on : ATTINY13, DHT11 sensor, TM1637 LED 4 digit display

This is very simple digital thermometer & humidity meter based on ATTINY 13 chip with DHT11 sensor and 4 digit LED display module TM1637.

The code for DHT11 reading and TM1637 display was borrowed from Łukasz Podkalicki : https://blog.podkalicki.com/attiny13-reading-temperature-and-humidity-from-dht11/ and https://blog.podkalicki.com/attiny13-tm1637-library/
Both libraries work flawless. Thank You Lukasz for good work.

Part List :

1 x ATTINY 13 / ATTINY 13A - ATMEL chip

1 x TM1637 4 digits module

1 x DHT11 humidity & temperature sensor

1 x LM7805 voltage stabilizer ( if not powered from 5V)

1 x 1N4007 diode ( if not powered from 5V, optional)

1 x 470 uF - 2200 uF electrolitic capacitor (optional, but gives stability of measurements)

1 x 47nF - 470nF capacitor (optional, but gives stability of measurements)

Connection to be made : Mandatory : all components - ATTINY 13 , TM1637 , DHT 11 - have to be connected to VCC 5V and GND line ( I am using LM7805 to provide stable +5V power for all components).

Optional : Between 5V and GND please put 100nF capacitor. At the input of LM7805 please put electrolityc capacitor and diode to protect LM7805 from inverted voltage.

The mandatory connections :

ATTINY 13 - VCC is pin #8, GND is PIN #4

DHT 11 - VCC is PIN #1, GND is PIN #4

TM1637 - VCC / 5V is PIN #1, GND is PIN #2

Add some capacitor like 100nF between 5V VCC and GND

connections from ATTINY13 to DHT11 and LED module :

DHT 11 sensor - DATA LINE - connect to PB4 ( PIN #3 ) on ATTINY 13

TM1637 module - DIO LINE - connect to PB0 ( PIN #5 ) on ATTINY 13

TM1637 module - CLK LINE - connect to PB1 ( PIN #6 ) on ATTINY 13

That's all. The code is 800 bytes long after compilatiion. Must be compiled by AVR-GCC environment on Linux or Windows.

Link to video how to program the chip : https://www.youtube.com/watch?v=7klgyNzZ2TI

to see how it works - look here https://www.youtube.com/watch?v=r6nF1iJ2r-M

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.