µ[micro]electronics info

A weblog focused on interesting circuits, ideas, schematics and other information about microelectronics and microcontrollers.




Because I have not tested all electronic circuits mentioned on this pages, I cannot attest to their accuracy; therefore, I do not provide a warranty of any kind and cannot be held responsible in any manner.

My e-mail

My website

Thermometer with DS1820 + ATtiny15

This is my very first construction with the cheap Atmel's ATtiny15 external and the DS1820 external thermometer. The main goal was the BIG display from the 7-segment LED modules. (And cheap + simple construction, of course...)

My thermometer is really simple, but efficient. It contains from three parts: A display , an outdoor thermosensor and a main board. Construction is as simple as it can be - the AVR reads the temperature from the 1-Wire thermometer and sends necessary data to the display.

Dual 7-segment LED display The display is made from two dual 7-segment LED displays. I made simple 1-sided PCB with these LEDs and one 40-pins header, regardless "logic", just simple wired. This display board is connected with the main board by the cheap and common 40wired flat ribbon cable, used in the PCs to connect an ATA (IDE) disk to a motherboard. My display boards looks like this:

Never mind the segment order. I can adjust it programmatically in the ATtiny firmware. Simple, simple and once more - simple!

The display is driven by four chained 74LS595 (latched SIPO register). ATtiny sends 4x8 bits for the segments to the '595 chain and then sends one pulse to copy data from internal register to output latches.

Both boards are as simple as they could be - single-sided, with only few wired joints. Firmware is also simple and straightforward.

The sensing part is not displayed - I prepare it on the spare piece of cuprextit, isolated by a bunch of PET... :) I have placed it behind the window and connect by 3-wire cable (around 2ft long).

You can take it as an inspiration for your own experiment, not as the exact construction manual...

You can download the schematics and boards in PNG and Eagle formats as well as the firmware for ATtiny 15.

Happy soldering!

Powered by Drupal - Design by Artinet