ssaguiar
New Member
I needed to calculate a table, for a pic project, to use a thermistor (NTC) in a resistive divider circuit.
So, I made an excell spreadsheet to make this.
The spreadsheet is attached to this post.
You must inform:
- the pic's supply voltage;
- the adc resolution (8 or 10 bits - if 10 bits, must change the formating of hex column);
- the temperatures;
- the resistance of the ntc, at the temperature;
The circuit is a resistive divider, with the first resistor with a value of 1K1 1% and the second resistor composed of the ntc in paralel with an 7K5 1% resistor.
Observation: I have made this spreadsheet using openoffice and exported it in excell format. The formula used to print the hexadecimal values was:
=DECAHEX(G22;2)
This to print the hexa of cell G22, showing it using 2 characteres.
If you use MS excell, you must change the formula.
Help this can be useful.
So, I made an excell spreadsheet to make this.
The spreadsheet is attached to this post.
You must inform:
- the pic's supply voltage;
- the adc resolution (8 or 10 bits - if 10 bits, must change the formating of hex column);
- the temperatures;
- the resistance of the ntc, at the temperature;
The circuit is a resistive divider, with the first resistor with a value of 1K1 1% and the second resistor composed of the ntc in paralel with an 7K5 1% resistor.
Observation: I have made this spreadsheet using openoffice and exported it in excell format. The formula used to print the hexadecimal values was:
=DECAHEX(G22;2)
This to print the hexa of cell G22, showing it using 2 characteres.
If you use MS excell, you must change the formula.
Help this can be useful.
Attachments
Last edited: