Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

TheEndisHere

Member
  • Content Count

    2
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About TheEndisHere

  • Title
    Newbie

System

  • CPU
    i5-6600k 4.6 gHz
  • Motherboard
    MSI X270-A PRO
  • RAM
    HyperX Fury DDR4 3400
  • GPU
    GTX 1070 FTW
  • Case
    Fractal R6
  • Cooling
    360 RAD
  • Operating System
    Win 10
  1. TheEndisHere

    Case air temp display, Pics + code

    The model of the thermometers I used is the DS18b20. I did have to calibrate them in a bath of ice water, they were off about +-1.5C.
  2. For a while, I have wanted to know what the different temps were in my case. It's not necessary at all but I like having all the info. The info has helped me tune my fan curves for all my components keeping my PC quieter and 5C cooler ish. Just thought this is a good place to share it. I used an Arduino Uno and 5 digital temps. sensors, and a 20 X 4 LCD. So here is the code I think its C+ #include <LCD.h> #include <LiquidCrystal.h> #include <LiquidCrystal_I2C.h> #include <DallasTemperature.h> #include <OneWire.h> OneWire ourWire1(9); OneWire ourWire2(10); OneWire ourWire3(11); OneWire ourWire4(12); OneWire ourWire5(13); DallasTemperature sensors1(&ourWire1); DallasTemperature sensors2(&ourWire2); DallasTemperature sensors3(&ourWire3); DallasTemperature sensors4(&ourWire4); DallasTemperature sensors5(&ourWire5); LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); void setup() { // sets the lcd Serial.begin(9600); // sensors.begin(); lcd.begin(20,4); // starts each sensor sensors1.begin(); sensors2.begin(); sensors3.begin(); sensors4.begin(); sensors5.begin(); } void loop(void) { //temp intake data sensors1.requestTemperatures(); float temp1c= sensors1.getTempCByIndex(0); float temp1f= sensors1.getTempFByIndex(0); sensors2.requestTemperatures(); float temp2c= sensors2.getTempCByIndex(0); float temp2f= sensors2.getTempFByIndex(0); sensors3.requestTemperatures(); float temp3c= sensors3.getTempCByIndex(0); float temp3f= sensors3.getTempFByIndex(0); sensors4.requestTemperatures(); float temp4c= sensors4.getTempCByIndex(0); float temp4f= sensors4.getTempFByIndex(0); sensors5.requestTemperatures(); float temp5c= sensors5.getTempCByIndex(0); float temp5f= sensors5.getTempFByIndex(0); Serial.print("Temperatura 1 = "); Serial.print(temp1c); Serial.print(" C"); Serial.print(" Temperatura 2 = "); Serial.print(temp2f); Serial.println(" C"); Serial.print(" Temperatura 3 = "); Serial.print(temp3c); Serial.println(" C"); Serial.print(" Temperatura 4 = "); Serial.print(temp4c); Serial.println(" C"); Serial.print(" Temperatura 5 = "); Serial.print(temp5f); Serial.println(" C"); // Intake temp lcd.setCursor(0,0); lcd.print("Intake= "); lcd.setCursor(8,0); lcd.print(temp1c); lcd.setCursor(12,0); lcd.print("C "); lcd.setCursor(14,0); lcd.print(temp1f); lcd.setCursor(18,0); lcd.print("F "); // SYS Exhaust lcd.setCursor(0,1); lcd.print("Sys Ex="); lcd.setCursor(8,1); lcd.print(temp2c); lcd.setCursor(12,1); lcd.print("C "); lcd.setCursor(14,1); lcd.print(temp2f); lcd.setCursor(18,1); lcd.print("F "); // GPU temp lcd.setCursor(0,2); lcd.print("GPU Ex="); lcd.setCursor(8,2); lcd.print(temp3c -1); lcd.setCursor(12,2); lcd.print("C "); lcd.setCursor(14,2); lcd.print(temp3f -2); lcd.setCursor(18,2); lcd.print("F "); // PS temp lcd.setCursor(0,3); lcd.print("PS="); lcd.setCursor(4,3); lcd.print(temp4c -.2); lcd.setCursor(8,3); lcd.print("C "); //lcd.setCursor(5,3); //lcd.print(temp4f); //lcd.setCursor(8,3); //lcd.print("F "); // HDD temp lcd.setCursor(10,3); lcd.print("HDD="); lcd.setCursor(14,3); lcd.print(temp5c -1.2); lcd.setCursor(18,3); lcd.print("C "); //lcd.setCursor(14,3); //lcd.print(temp5f -1); //lcd.setCursor(18,3); //lcd.print("C "); delay(1000);
×