displaying temp on lcd

Status
Not open for further replies.
thanks again rajbex, you and your site are proving very helpfull

I will order a 18b20 and give it a try.

In the meantime, I will try to learn c pic programming is there any tutorials you would recomend?

I would like to learn how to integrate a menu with the lcd and how to display the temp in farenheit. Also I would like to turn the thermometer into a thermostat so will need some way of setting a temp and comparing it to the temp given by the sensor. Can you point me in the right direction please?
 
Last edited:
1. For programming a PIC in C, read this: PIC Microcontrollers - Programming in C - Free Online Book - mikroElektronika

2. For changing the thermometer into a thermostat, you need to know how to read and write data to the internal EEPROM memory of the PIC. You need this memory to store the upper and lower temperature settings that the user enters. EEPROM because, you don't want to lose the settings in case of power failed to your thermostat circuit.
There is an alternative method to do this. The DS1820 has Alarm High Trigger and Alarm Low Trigger registers (Experiments with PIC16F628A: DS18S20 : 1-Wire Digital Thermometer and mikroC OneWire Library) that you can program.
The next experiment with my board is on accessing EEPROM. I will post it today evening or tomorrow.
- Raj
Experiments with PIC16F628A
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…