Digital LED Thermometer with Microcontroller AVR ATtiny13
5/5
()
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.
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
PICAXE Microcontroller Projects For Makers Rating: 0 out of 5 stars0 ratingsAntti-Brain Vol I Rating: 0 out of 5 stars0 ratingsProjects With Microcontrollers And PICC Rating: 5 out of 5 stars5/5Handbook of Electronics Formulas and Calculations - Volume 2 Rating: 0 out of 5 stars0 ratingsArduino | Step by Step Rating: 0 out of 5 stars0 ratingsAbc of Power Modules: Functionality, Structure and Handling of a Power Module Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 45, Number 4: Analog Dialogue, #4 Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 47, Number 1: Analog Dialogue, #9 Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 46, Number 3: Analog Dialogue, #7 Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 45, Number 2: Analog Dialogue, #2 Rating: 0 out of 5 stars0 ratingsCircuit bench - 100 shields for arduino Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 48, Number 1: Analog Dialogue, #13 Rating: 4 out of 5 stars4/5Arduino: A Beginner's Guide to Arduino Programming Rating: 3 out of 5 stars3/5A Geek Girl's Guide to Electronics and the Internet of Things Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 45, Number 1 Rating: 0 out of 5 stars0 ratingsReference Guide To Useful Electronic Circuits And Circuit Design Techniques - Part 1 Rating: 3 out of 5 stars3/5Arduino: The Ultimate Guide to Arduino for Beginners Including Arduino Basics, Tips & Tricks, Projects, and More! Rating: 0 out of 5 stars0 ratingsC Programming for the Pc the Mac and the Arduino Microcontroller System Rating: 0 out of 5 stars0 ratingsTroubleshooting Electronic Components With The PET Bloodhound Rating: 0 out of 5 stars0 ratingsFun Projects for the Experimenter - volume 2 Rating: 0 out of 5 stars0 ratingsAn Introduction To Digital Design Rating: 2 out of 5 stars2/5Arduino Projects with Tinkercad | Part 2: Design & program advanced Arduino-based electronics projects with Tinkercad Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 46, Number 2: Analog Dialogue, #6 Rating: 0 out of 5 stars0 ratingsPic® Micro Principles Teachers Pack V11 Rating: 0 out of 5 stars0 ratingsEssential Guide to CAN Communication Rating: 0 out of 5 stars0 ratingsSoldering electronic circuits: Beginner's guide Rating: 4 out of 5 stars4/5Digital and Microprocessor Techniques V11 Rating: 5 out of 5 stars5/5Handbook of Electronics Formulas and Calculations - Volume 1 Rating: 5 out of 5 stars5/5C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming Rating: 0 out of 5 stars0 ratings
Electrical Engineering & Electronics For You
The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5Electrician's Pocket Manual Rating: 0 out of 5 stars0 ratingsUpcycled Technology: Clever Projects You Can Do With Your Discarded Tech (Tech gift) Rating: 5 out of 5 stars5/5How to Diagnose and Fix Everything Electronic, Second Edition Rating: 4 out of 5 stars4/5Off-Grid Projects: Step-by-Step Guide to Building Your Own Off-Grid System Rating: 0 out of 5 stars0 ratingsBeginner's Guide to Reading Schematics, Fourth Edition Rating: 4 out of 5 stars4/5Understanding Electricity Rating: 4 out of 5 stars4/5The Homeowner's DIY Guide to Electrical Wiring Rating: 5 out of 5 stars5/5Electricity for Beginners Rating: 4 out of 5 stars4/5Practical Electrical Wiring: Residential, Farm, Commercial, and Industrial Rating: 4 out of 5 stars4/5DIY Lithium Battery Rating: 3 out of 5 stars3/5The Illustrated Tesla (Rediscovered Books): With linked Table of Contents Rating: 5 out of 5 stars5/5Basic Electricity Rating: 4 out of 5 stars4/5Raspberry Pi Projects for the Evil Genius Rating: 0 out of 5 stars0 ratingsTwo-Stroke Engine Repair and Maintenance Rating: 0 out of 5 stars0 ratingsRamblings of a Mad Scientist: 100 Ideas for a Stranger Tomorrow Rating: 0 out of 5 stars0 ratingsProgramming the Raspberry Pi, Third Edition: Getting Started with Python Rating: 5 out of 5 stars5/5Beginner's Guide to Reading Schematics, Third Edition Rating: 0 out of 5 stars0 ratingsDigital Filmmaking for Beginners A Practical Guide to Video Production Rating: 0 out of 5 stars0 ratingsSchaum's Outline of Basic Electricity, Second Edition Rating: 5 out of 5 stars5/5Electric Circuits Essentials Rating: 5 out of 5 stars5/5Circuitbuilding Do-It-Yourself For Dummies Rating: 0 out of 5 stars0 ratingsThe Electrician's Trade Demystified Rating: 0 out of 5 stars0 ratingsTheory on DC Electric Circuits Rating: 0 out of 5 stars0 ratingsElectrical Engineering | Step by Step Rating: 0 out of 5 stars0 ratingsMaking Everyday Electronics Work: A Do-It-Yourself Guide: A Do-It-Yourself Guide Rating: 4 out of 5 stars4/5Soldering electronic circuits: Beginner's guide Rating: 4 out of 5 stars4/5THE Amateur Radio Dictionary: The Most Complete Glossary of Ham Radio Terms Ever Compiled Rating: 4 out of 5 stars4/5
Reviews for Digital LED Thermometer with Microcontroller AVR ATtiny13
1 rating0 reviews
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