Neutrino
Published © MIT

Contact Digital Thermometer With Deep Sleep [Attiny85]

A digital thermometer built from scratch using Attiny85 and ds18b20 temperature sensor, which can run on a CR2032 over 130 days!

BeginnerFull instructions provided4 hours1,882
Contact Digital Thermometer With Deep Sleep [Attiny85]

Things used in this project

Hardware components

ATtiny85
Microchip ATtiny85
×1
DS18B20 Programmable Resolution 1-Wire Digital Thermometer
Maxim Integrated DS18B20 Programmable Resolution 1-Wire Digital Thermometer
×1
Perf+ 2
Crowd Supply Perf+ 2
×1
Coin Cell Battery CR2032
Coin Cell Battery CR2032
×1
Battery Holder, Lithium CR2032
Battery Holder, Lithium CR2032
×1
Pmod OLED
Digilent Pmod OLED
×1
Through Hole Resistor, 5.6 kohm
Through Hole Resistor, 5.6 kohm
×1
Resistor 4.75k ohm
Resistor 4.75k ohm
×1
Piezo Sensor
ControlEverything.com Piezo Sensor
×1

Software apps and online services

Arduino IDE
Arduino IDE
KiCad
KiCad

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
Mastech MS8217 Autorange Digital Multimeter
Digilent Mastech MS8217 Autorange Digital Multimeter

Story

Read more

Custom parts and enclosures

Thermometer_bottom_case.stl

Thermometer_Top_case.stl

ring.stl

Schematics

digital thermometer

Code

Code snippet #1

Plain text
  OzOled.clearDisplay();
  OzOled.printString("  ATTINY 85  ",0,0);
  OzOled.printString(" Thermometer!",0,2); 
  delay(5000);
  OzOled.clearDisplay();
  OzOled.printString(" Measuring in",0,0);
  OzOled.printString("  3 second  ",0,2);
  delay(3000);
  OzOled.clearDisplay();
  OzOled.printString("Measuring...",0,2);
  lastMeausreTime = millis();

Credits

Neutrino

Neutrino

14 projects • 37 followers
Electrical Engineer and a programming hobbyist. I love to build exciting stuff!

Comments