OLED DHT11 Thermometer ATtiny13

by machloof in Circuits > Arduino

37 Views, 0 Favorites, 0 Comments

OLED DHT11 Thermometer ATtiny13

oled_dht11_6x5.png

ATtiney13/25/45/85 DHT11 sensor temperature humidity OLED display

Downloads

Supplies

OLED display module 0.91" I2C SSD1306 128x32

2x resistor 470R

DHT11 sensor

ATtiny13/25/45/85

OLED display, 128x64 0.96" or 128x32 0.91", SSD1306, I2C with ATtiny13 or ATtiny25/45/85 and DHT11 module. OLED is driven by software I2C. DHT11 reply with 5 bytes of data 3 are used to display temperature and humidity.

The code is minimized so it can fit 1K memory of the ATtiny13.

The sketch and circuit can be used without any changes for ATtiny13/25/45/85

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".

Circuit Diagram

oled_dht11_13_b.gif