Giter Club home page Giter Club logo

digital-thermometer's Introduction

Digital Thermometer

This project displays real time temperature data.

I was originally inspired by circuit art on instagram to make a device that was more asthetic using brass rod to make the physical connections. The alternative motivation was that my apartment does not have a digital thermometer.

Materials

  • Arduino Pro Micro ( 5v )
  • 7 Segment Display ( Common Cathode )
  • DHT-11 Temperature & Humidity Sensor
  • Resistors ( 1 kOhm & 330 Ohm )
  • 0.8mm Brass Rod
  • BC549 NPN Transistors

Schematic

I originally planned on using an Arduino Nano and the CNT-5 sensor, however, I went with the Arduino Micro Pro and DHT-11 for size and accuracy.

Arduino Micro Pro & DHT-11
Arduino Nano & CNT-5

Code

I originally planned on implementing the SevSeg Arduino Library, but I decided to create my own simple function calls.

This file was written to test the functionallity of the DHT-11 sensor. Real-time temperature and humidity are printed to the serial monitor in 2 second intervals.

This file was is the driver to the seven segment display. The functions progress from correlating toggling pins, to toggling numbers, to taking displaying a float and correlating unit of temperature. Initialization functions were also put in place to ensure proper display functionallity on boot-up. The function displayValue() utilizes dpIndex() to find the proper decimal point placement within the display, and flicker(), which handles the constant flickering of the different digits to display the float.

Temperature-Display is the culmative file which incorperates the functionallity of both prior files. On boot-up, the initialization sequence begins, then the device begins to display temperatures, refreshing about every 5 seconds.

Media

digital-thermometer's People

Contributors

dominicassia avatar

Watchers

 avatar  avatar

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.