Code Monkey home page Code Monkey logo

pc-case-temperature-display's Introduction

PC case temperature on a 4-digit 7-segment display

This project allows you to show your PC case temperature on a 4 digit 7 segment display connected to an Arduino NANO

Not that it's really neccessary to have this... but I think it looks cool anyway :-)


It has been tested sucessfully with following setup:

  • Windows 10 x64

  • Arduino IDE 1.8.16

  • Arduino NANO (other Arduino boards work as well with some modifications depending on the model)

Required hardware components:

7 segment display with 4 digits (common anode type)
1x 8bit shift register 74HC595
1x Resistor 3.3K Ohm
8x Resistor 220 Ohm
KTY81 110 temperature sensor
Arduino NANO

Pinout and schematic:

74HC595 Pin Display Pin 74HC595 Pin Arduino Pin Arduino NANO Display Pin KTY81-110 Pin Arduino Pin
Q0 11 MR D12 D2 12 1 A1
Q1 1 SH_CP D6 D3 9 2 5V
Q2 2 ST_CP D7 D4 8
Q3 3 DS D8 D5 6
Q4 4 OE GND
Q5 5 VCC 5V
Q6 7 GND GND
Q7 10

Click to enlarge

Bring the display to life

  • Arduino IDE need to be installed

  • Connect the Arduino via USB to your PC

Since the Arduino is placed inside my PC case I have myself created a cable to connect it to one of the internal USB headers directly on the mainboard so I don't need to route the cable to a USB port outside of the case. The temperature sensor I have fixed with a cable tie somewhere in the middle of the case - pictures will follow.

  • Flash the KTY81-110_7segm.ino file to the Arduino NANO

  • If everything has been setup correctly the temperature in your PC case will show up on the display

Check the temperature on the serial line (COM port)

  • As soon as the Arduino is powered up it will continously send the calculated resistance value and the temperature accordingly over the serial line via the USB the Arduino is connected to. It can be read off by connecting to the COM port with e.g. the Arduinos serial monitor, putty or any other serial monitor you're familiar with.

  • The COM port your Arduino is connected to can easily be found by checking your Windows device manager or by looking in the Arduino IDE.


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.