Wichit Sirichote, firstname.lastname@example.org
2nd Version of Thermistor Thermometer project, the display is 16x2 Text LCD.
This is the 2nd version of Thermistor Thermometer Project done by another group of my student. The 1st version having 4-digit 7-segment LED shows the use of simple display device. For applications that needs text display, this LCD version is more suitable and easy to adapt for many kinds of measuring devices.
Figure 1: Thermistor Thermometer LCD version.
The ADC and thermistor circuits are quite the same as the 1st version. The ADC can be LTC1298 or MCP3202. Now with this design, P0 is used to interface LCD bus. SW1 is optional key switch. Since the number of I/O port are not many, we then can replace the 40-pin MCU with 20-pin MCU easily. J2 is available for connecting another sensor. The input range is 0 to +5V.
Figure 3: Hardware schematic.
The main function is the same as 1st version. Now with LCD, the function print_ADC() will use sprintf, to print formatted ASCII string into the buffer. Then the string can be sent to the LCD by function print_LCD. The 0xc0 is the address for 2nd line.
To print string on the first line, we can use address 0x80. See sample below.
TMOD |= 0x01;
TR0 = 1;
cputick = 0;
EA = 1;
ET0 = 1;
Schematic thermistorlcd.pdf C source code and Intel Hex file thermoproject.c thermometer.hex Orcad Schematic File thermometer.dsn
26 May 2006
recovered 18 December 2015