Hello, my project entails outputting the temperature to an LCD display. I already have the LCD display working thanks to all of your assistance in a previous thread.
I will be using a PIC18F4550 using MPLAB v8.76 with C18 Lite compiler (for programming in C).
The sensor I will be using is a NTC (Negative Temperature Coefficient) thermistor. According to the data sheet (posted below)
Model #: NTSD1XH103FPB30
Datasheet: https://www.electro-tech-online.com/custompdfs/2011/10/NTSD120Spec.pdf
(see chart on page 3/5 and look under NTS__XH103 at 10K)
The setup I am planning on is illustrated below:
**broken link removed**
The main problems/ questions are as follows:
___________________________________________
1. What additional connections should there be if any? (Can I just connect Vout to RA0/AN0 of the microcontroller?)
2. There is a chart on page 3 of 5 of the datasheet. Can that be useful in determining the voltage at each temperature (using 5V and the various resistances listed at each temperature)?
3. What should the basic setup of a program like this be (What does ADCON have to be setup as, and how is the equation setup)?
If anyone can answer any of the above three questions that would be greatly appreciated. Thank you.
I will be using a PIC18F4550 using MPLAB v8.76 with C18 Lite compiler (for programming in C).
The sensor I will be using is a NTC (Negative Temperature Coefficient) thermistor. According to the data sheet (posted below)
Model #: NTSD1XH103FPB30
Datasheet: https://www.electro-tech-online.com/custompdfs/2011/10/NTSD120Spec.pdf
(see chart on page 3/5 and look under NTS__XH103 at 10K)
The setup I am planning on is illustrated below:
**broken link removed**
The main problems/ questions are as follows:
___________________________________________
1. What additional connections should there be if any? (Can I just connect Vout to RA0/AN0 of the microcontroller?)
2. There is a chart on page 3 of 5 of the datasheet. Can that be useful in determining the voltage at each temperature (using 5V and the various resistances listed at each temperature)?
3. What should the basic setup of a program like this be (What does ADCON have to be setup as, and how is the equation setup)?
If anyone can answer any of the above three questions that would be greatly appreciated. Thank you.
Last edited: