Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Digital LED Thermometer with Microcontroller AVR ATtiny13
Digital LED Thermometer with Microcontroller AVR ATtiny13
Digital LED Thermometer with Microcontroller AVR ATtiny13
Ebook66 pages38 minutes

Digital LED Thermometer with Microcontroller AVR ATtiny13

Rating: 5 out of 5 stars

5/5

()

Read preview

About this ebook

Each book of this series covers a microcontroller project. Hardware (electronics circuitry) and software (microcontroller program) are described in detail. Following the author's ideas, you will build a useful device, have fun and learn a lot.

Topic of this volume is constructing a digital Celsius/Fahrenheit thermometer from only a few, inexpensive parts which are readily available. The device measures temperatures ranging from -55 up to +125 °C (-67 ... 257 °F) with great accuracy and may be used for many purposes. Even people with little experience in assembling electronics projects should be able to build this circuitry successfully. The key components are a microcontroller of type Atmel AVR ATtiny13 (also suited in the versions with additional letter A or V) and a digital temperature sensor DS18B20 from manufacturer Dallas / MAXIM.

The temperature is displayed by flashing of two light-emitting diodes (red and blue) in very elementary manner, either in half degree or tenth degree resolution. Beside the easy realization for the hobbyist, the advantage of this simple method is that reading the temperature is possible from greater distance. In absolute darkness, the blinking device is visible over several hundred metres.

The circuitry can easily be built up on a piece of perfboard so small that it fits into a so-called PETling (raw form for PET bottles) leaving room enough for a lithium battery or a LiIon accumulator. This construction gives a compact, robust and watertight thermometer for all sorts of applications.

This book contains detailed assembly instructions and an in-depth description of the other features of the digital thermometer, because it offers more functions than you recognize at first sight. For instance, additional temperature sensors can be connected for measurement of inside and outside temperature et cetera. The thermometer switches off automatically when the battery voltage falls below 3 volts in order to prevent damage to rechargeable accumulators due to over-discharge.

Difficulty level: Making this circuitry is easy. You need basic knowledge in electronics soldering or help by an expert.

The computer file required to program the microcontroller (hex file) and additional documents are available for download on a web page. Alternatively, you may assemble this file from the program listed in this book.

LanguageEnglish
Release dateSep 14, 2012
ISBN9781301783762
Digital LED Thermometer with Microcontroller AVR ATtiny13
Author

Michael Schramm

Are you interested in electronics? I am! Born in Germany 1961, I witnessed the unbelievingly quick, fascinating development of electronics parts from radio valves and simple germanium transistors up to ever more complex modules like microprocessors and microcontrollers. In my teen years, I was an enthusiastic electronics hobbyist. Some years later, I began first playing with, then programming home computers. I loved the Sinclair ZX81 and Spectrum! During my information technology studies (informatics), I learned all these theoretical basics and how to write efficient computer programs. With the appearance of microcontrollers, the (small) computer and its program united on a single tiny chip. Ideal for anyone interested in electronics and programming like me! This technology is really great since most electronics applications (if not just being a LED flashing device) benefit from use of microcontrollers. You need fewer parts, combine analog and digital processing, gain higher precision in measuring and controlling, get easy-to-use adjustment options and so on. But that's true of course only if you find the right way of utilizing and programming the single-chip micro computer. After having taken the first steps on this path (and producing flashing LEDs and beeping loudspeakers in most cases), you may feel a little bit clueless on how to proceed. That's the point when my small electronics projects come into play and give you new suggestions through somewhat more complex circuits and/or programs with in-depth explanations. My ebook series 'Small Electronics Projects with Microcontrollers' has just started. I'll publish the books in English and German language. Hence, please come back again from time to time and see more volumes having appeared. I hope you like my ideas. I wish you every success in making your electronics projects.

Related to Digital LED Thermometer with Microcontroller AVR ATtiny13

Related ebooks

Electrical Engineering & Electronics For You

View More

Related articles

Reviews for Digital LED Thermometer with Microcontroller AVR ATtiny13

Rating: 5 out of 5 stars
5/5

1 rating0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Digital LED Thermometer with Microcontroller AVR ATtiny13 - Michael Schramm

    Digital LED Thermometer with Microcontroller AVR ATtiny13

    Small Electronics Projects with Microcontrollers, Volume 1

    By Dr. Michael Schramm

    Copyright 2012 Michael Schramm

    Smashwords Edition

    Discover other titles by Michael Schramm at dr-m-schramm.de/ebooks or at Smashwords.com.

    Smashwords Edition, License Notes

    This ebook is licensed for your personal enjoyment only. This ebook may not be re-sold or given away to other people. If you would like to share this book with another person, please purchase an additional copy for each recipient. If you’re reading this book and did not purchase it, or it was not purchased for your use only, then please return to Smashwords.com and purchase your own copy. Thank you for respecting the hard work of this author.

    Table of Contents

    Overview: What Does This Book Offer to You?

    Programming the Microcontroller

    Assembly Instructions

    Parts List

    Recommended Construction Sequence

    Testing the Circuitry

    How to Read the Temperature Signal?

    Error Indication

    Switching On and Off

    Longer Pause Between Measurements

    Temperature Output in Higher Resolution

    Revealing the Internal Sensor Address

    Additional Temperature Sensors

    Use Caution in Measuring Extreme Temperatures!

    How do the Circuitry and the Program Function?

    The Schematic

    The Temperature Sensor DS18B20

    Two-wire and Three-wire Mode – Saving Copper

    The Communication – Please Stick To the Protocol

    Many Sensors Speak Over the Same Wire – Chaos Guaranteed?

    Cyclic Redundancy Check (CRC) – Trust, But Verify

    Measuring the Operating Voltage – ATtiny13 Needs a Reference

    Energy Consumption – Please Don't Waste a Joule!

    The Microcontroller Program

    Useful Macros

    Calibrating the Temperature Sensor

    Program Download and Voucher for Kit Purchase

    Thank You!

    Overview: What Does This Book Offer to You?

    Each book of this series covers a microcontroller project. Hardware (electronics circuitry) and software (microcontroller program) are described in detail. Following the author's ideas, you will build a useful device, have fun and learn a lot.

    Topic of this volume is constructing a digital Celsius/Fahrenheit thermometer from only a few, inexpensive parts which are readily available. The device measures temperatures ranging from -55 up to +125 °C (-67 ... 257 °F) with great accuracy and may be used for many purposes. Even people with little experience in assembling electronics projects should be able to build this circuitry successfully. The key components are a microcontroller of type Atmel AVR ATtiny13 (also suited in the versions with additional letter A or V) and a digital temperature sensor DS18B20 from manufacturer Dallas / MAXIM.

    The temperature is displayed by flashing of two light-emitting diodes (red and blue) in very elementary manner, either in half degree or tenth degree resolution. Beside the easy realization for the hobbyist, the advantage of this simple method is that reading the temperature is possible from greater distance. In complete darkness, the blinking device is visible over several hundred metres.

    The circuitry can easily be built up on a piece of perfboard so small that it fits into a so-called PETling (raw form for PET bottles) leaving room enough for a lithium battery or a LiIon accumulator. This construction gives a compact, robust and watertight thermometer for all sorts of applications.

    This book contains detailed assembly instructions and an

    Enjoying the preview?
    Page 1 of 1