You Are Here: Home » AVR ATmega Projects » PC Temperature Meter using ATtiny15 microcontroller

PC Temperature Meter using ATtiny15 microcontroller

Port-Powered Temperature Meter

This is a four-channel temperature measurmet adapter that works without external power supply. It will suitable for measureing temperature and logging its data with a PC. The circuit diagram is very simple and no adjustment is required, everybody will able to build it with ease 🙂


Micro-controllerATtiny15L (Atmel)
Number of channelsFour channels
Measurement Range-40°C to +105°C (0.1°C/step)
or raw A-D value
Measurement Error±0.5°C (at room temperature)
Sensor103AT (Semitec)
Power SupplySupplyed from COM port (typ. 5mA)
CostApprox. 1200JPY (All parts)

Temperature meter



I chose an Atmel ATtiny15L for this project. It is the only device that has a built-in 10bit A-D converter in the 8 pin AVRs. The A-D converter has a bandgap reference and differencial amplifire as its front-end. The AVR core is clocked by only internal RC oscillator (calibrated to 1.6MHz), any other clock souce cannot be used. Also 25.6MHz clock source that 16x multiplied from core clock is available for timer/counter. This means that a fast PWM output can be generated. Therefore the ATtiny15L has good analog I/O capabiltity.

In this project, the A-D converter is used as four channels, single-ended, no gain and VREF from Vcc configuration. However RSTDISBL fuse must be programmed in order to use pin #1 as one of the analog inputs, an AVR programmer that can program in HVS mode is required.

Power Supply

The devices that works on the COM port without external power supply, such as serial mouse, are powered from the COM port. When an application program opens COM port, ER and RS signals will go high. The high level voltage is from 6V to 12V at most PCs, and it can supply 5mA at least. This is sufficient for low power micro-controllers.


For more detail: PC Temperature Meter using ATtiny15 microcontroller

Leave a Comment

You must be logged in to post a comment.

Read previous post:
Computer controlled marquee at90s2313 74hc595

With all the details on a circuit different from that to which the shared a marquee computer control program atmel...

Scroll to top