You Are Here: Home » Blog » LCD Thermometer DS1621 Using AVR 2313

LCD Thermometer DS1621 Using AVR 2313




Description

This small thermometer board can be connected directly to PORTD of the AVR 2313 Project board. It uses the Dallas DS1621 Digital Thermometer and Thermostat chip. The DS1621 measures temperatures from -55° to +125° in 0.5° steps and doesn’t need calibration or external components. It has also a build-in thermostat with high and low set-points which can be programmed by the user.

Below you see the pin description of the DS1621.
LCD Thermometer DS1621 pinout

The data from the DS1621 is read via the 2 wire serial interface. The DS1621 can be linked together in a daisy chain in which each DS1621 has its own adress. Up to eight DS1621 chips can be linked together. The build in thermostat has high and low temperature settings which can be read from and write to the DS1621. The temperature is displayed on an 16*2 LCD module which is connected to PORTB of the AVR 2313 Project board.

LCD Thermometer DS1621

Hardware

The circuit consists of the DS1621 chip, two pull-up resistors of 10k, a ML10 flat cable connector and three 3 pole jumpers. The pull-up resistors are needed to connect the open collectors of the SDA and SCL lines of the DS1621 chip to VCC. With the jumpers the adress of the DS1621 can be selected. The DS1621 works as a slave in the 2-wire serial bus. To read the data from the DS1621 the AVR 90S2313 or the AVR tiny2313 microcontrollers can be used.

Software

The software is written with the AVR BASCOM compiler. The AVR attiny2313 needs to be programmed with the hex file, the result can then be read from the LCD display.

For more details, click: LCD Thermometer DS1621 Using AVR 2313

Leave a Comment

You must be logged in to post a comment.

Read previous post:
LCD Message Display Using AT Mega8 microcontroller

Description This LCD message display can show text with large characters on an 20*4 LCD module. The display can show...

Close
Scroll to top