

Tiny thermomether
ATtiny85 little project with sensors and a display
- Size
- 69.9 × 39.4 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 24
- Nets
- 15
- Pads
- 63
- Tracks, vias
- 136, 6
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 30 Dec 2020
- Updated
- 10 Sep 2022
Overview
Tiny thermomether is an open-source printed circuit board by feer9, from the feer9/Tiny-thermometer repository on GitHub. It is a 2-layer board of 69.9 × 39.4 mm with 24 parts on 15 nets, routed with 136 tracks and 6 vias.
It is built around the ATTINY85-20SU, DHT11 and DS18B20, with the TP4056 among its other parts. Its parts include 5 resistors, 4 ICs, 2 switches, 1 capacitor and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
4ATTINY85-20SU
SOIC-8-208mil-40℃~+85℃ 10bit 2.7V~5.5V 20MHz 512Byte 512Byte 6 8 Bit 8KB AVR Built-in FLASH SOIC-8-208mil Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)DHT11
SIP-4-20℃~+60℃ 1mA 3.3V~5.5V 5%RH~95%RH ±2℃ ±5%RH SIP-4 Temperature and Humidity Sensor ROHSAosong ElecTemperature And Humidity SensorDS18B20
TO-92-55℃~+125℃ 12bit 3V~5.5V 750ms Single-bus ±0.4℃ TO-92 Temperature Sensors ROHSUMWTemperature SensorsTP4056
ESOP-8-40℃~+85℃ 1 1A 35uA 4.2V 4V~6.5V Charging IC Lithium Battery Support Support 恒流充电、恒压充电、涓流充电、自动再充电、充电终止、可编程充电电流、软启动、欠压锁定 ESOP-8 Battery Management ROHSUMWBattery Management
README
README.mdTiny-thermomether

This project is mostly a recopilation of other projects I've found on various pages.
I've just joined them at my personal taste, so I'll let the link to those projects below.
Parts used
- ATtiny85
- SSD1306 128x32 OLED I2C Display
- DHT11 temperature and humidity sensor
- DS18B20 water temperature sensor
Electrical connection
| ATtiny85 | PCB | Debug |
|---|---|---|
| PB0 | Display SDA | MOSI |
| PB1 | Push button | MISO |
| PB2 | Display SCL | CLK |
| PB3 | DHT11 (pin 2) | |
| PB4 | DS18B20 (yellow wire) | |
| PB5 | N/C | RST |
The sensors data lines have a 4.7K PullUp resistor.
The push button have a 10K resistor.
The I2C bus have a 10K PullUp resistor, both in SDA and SCL.
Compilation and flashing
I've only tested it with avr-gcc on linux.
To compile you need avr-gcc and avr-g++.
To flash it I've used avrdude with an usbasp-clone avr programmer from this other project running on an STM32F407VET6.
Running make flash will compile and flash the program, but the first time you can make install to flash the program and fuses to match the clock speed.
Code included in this project:
https://www.instructables.com/ATTiny85-connects-to-I2C-OLED-display-Great-Things/
https://github.com/Jacajack/avr-ds18b20
https://www.hackster.io/boyanov/tinudht-c-library-for-dht11-temperature-humidity-sensor-c492e9
Other pages of utility:
https://github.com/lexus2k/ssd1306
https://aprendiendoarduino.wordpress.com/2016/11/14/bus-i2ctwi/
Parts
24| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 10k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R2, R5 |
| 2 | 4k7 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R3, R4 |
| 2 | TestPoint_Pad_D1.5mm | TestPoint:TestPoint_Pad_D1.5mm | +V, GND |
| 1 | 0.1uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1 |
| 1 | ATtiny85-20SU | Package_SO:SOIJ-8_5.3x5.3mm_P1.27mm | U2 |
| 1 | Battery_Cell | Connector_JST:JST_XH_S2B-XH-A_1x02_P2.50mm_Horizontal | BT1 |
| 1 | Conn_01x06_Male | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Horizontal | J1 |
| 1 | DHT11 | Sensor:Aosong_DHT11_5.5x12.0_P2.54mm_horizontal | U3 |
| 1 | DS18B20 | Connector_JST:JST_XH_S3B-XH-A_1x03_P2.50mm_Horizontal | U4 |
| 1 | SSD1306_128x32 | ssd1306:SSD1306_128x32 | DS1 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H7.3mm | SW2 |
| 1 | SW_SPDT | Button_Switch_THT:SW_SPDT_Angled_P3mm_13x5.5x6mm | SW1 |
| 1 | TP4056 | tp4056:TP4056 | U1 |
The 17 most common of 24 parts.
Questions
How big is the Tiny thermomether PCB?
It measures 69.9 × 39.4 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Tiny thermomether use?
24 parts, built around the ATTINY85-20SU, DHT11, DS18B20 and TP4056. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Tiny thermomether KiCad files?
From the feer9/Tiny-thermometer repository on GitHub, at the commit this page was made from: the board is pcb/Tiny-thermomether.kicad_pcb and its schematic pcb/Tiny-thermomether.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Tiny thermomether design in my own project?
Its repository states no licence, so its author keeps all rights: ask feer9 before reusing the design.
Similar boards
- 2 layers120 × 40 mm

- 2 layers36 × 39.3 mm

- 2 layers133 × 89.5 mm

ESP32-Simple Thermostat PCB
jrtaylor71/ESP32-Simple-Thermostat
Simple ESP32 Thermostat with touch screen
52 parts2 - 2 layers42 × 60 mm

AquariumSensor
mitchins/ESP-Aquarium-Water-Sensor
A simple water flow and quality sensor for aquariums based on ESP controller
13 parts1GPL-3.0 - 2 layers82 × 100 mm

Robo car
ChefsSlaad/PCBs_and_Micropython
storing custom pcbs and micropython code for home projects
36 parts - 2 layers107.9 × 76.7 mm

- 2 layers131.3 × 73 mm

Single layer modules
manupawickramasinghe/stm32-solar-gsm-sensor
Firmware and Hardware for Open-Source GSM Baased STM32 AgriSensor
48 partsMIT - 2 layers38.4 × 62.7 mm
