OLED Thermometer 1023 °C ATtiny13

by machloof in Circuits > Arduino

108 Views, 1 Favorites, 0 Comments

OLED Thermometer 1023 °C ATtiny13

oled_tc_13_6x5.jpg

Type K thermocouple thermometer 0-1023 centigrade OLED 0.91" display, ATtiny13/13A

Sketch and circuit diagram can be used without any changes on ATtiny25/45/85.

This project is about code that fits more functionality into small memory, the project is not an exercise in photography.

Downloads

Supplies

ATtiny13 or ATtiny13A

OLED display 0.91", 128x32, SSD1306, I2C

2x resistor 470R

MAX6675 module from eBay https://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2332490.m570.l1313&_nkw=max6675&_sacat=0

OLED display, 128x64 0.96" or 128x32 0.91", SSD1306, I2C with ATtiny13/13A or ATtiny25/45/85 and MAX6675 K type thermocouple module. MAX6675 is driven by software (bit banging) SPI. The MAX6675 SPI sends 2 bytes of data. OLED is driven by software I2C.

Temperature range is 0-1023.75 centigrade with resolution of 0.25 degree.

Code includes instructions for using OLED 128x64.

ATtiny13 can be programmed using Arduino IDE and Arduino as ISP. Use these instructions https://www.electronics-lab.com/project/how-to-program-attiny13attiny13a-using-arduino-ide/ with the setting : 9.6MHz, no millis no tone, LTO enabled.

ATtiny25/45/85 can be programmed using Arduino IDE and Arduino as ISP. Use these instructions https://gist.github.com/ij96/804e731bd31dbb95b2b043e93c79ceab with the difference of burning bootloader with setting "Clock Source 8MHz internal", "LTO enabled".

For more info http://www.moty22.co.uk/oled_thermo.php

oled_tc_13_ins.gif

Diagram