Hi Jorgen.
Your welcome.
jgu1 wrote: ↑Thu Jan 06, 2022 6:41 am
I had you suspect to make this component with multible sensores
Yes, you are correct.
I have a TMP36 and LM35, so I thought I would make a component for people who have the same sensors.
At least then they don't have to look up a datasheet to get the component to work.
Then I thought, why not get the component to work with:
AD22100, AD22103, LM135, LM235, LM335, LM35, LM36, LM37, LM60, MCP9700, MCP9701, TC1047, TMP35, TMP36, TMP37, TSIC301
I have made the component free so it can be used without purchasing the sensors pack.
jgu1 wrote: ↑Thu Jan 06, 2022 6:41 am
When I simulate your correction, now 2 decimal, but I always only see hole numbers not like this 24,5 or 40,7
ect. This will maybe work in real world?
Yes, it will show the two decimal places in the real world.
Currently using TMP36 my room is showing 21.78 on the LCD
I will look into the simulation side.
If you want a better resolution you will need to have a lower internal or external reference.
Looking at the spreadsheet I created which shows ADC V vs Temperature, the highest voltage for tmp36 is 2.94.
Therefore have a 3V external reference set up.
You will need to change the Vref (mV) to 3000 or whatever the resister set the exact voltage at.
If you want to set up an external Vref then I can help you with that.