K8061 and VM132

Hi all,

i was testing my kit i soldered and connected temperature sensor.

i here i added label22 and his string

ReadAllAnalog(CardAddress, Buffer(0))
ProgressBar1.Value = Buffer(0)
Label2.Text = CStr(Buffer(0))
Label22.Text = CStr((11 * (Buffer(0) / 256)) - 23)

when i test
with 15 Vdc and 4 resistors on the AD input

but it looks that temperature (°C) differs 20 degrees or more, is that possible ?

thank you,

Now i tried this with no luck

from previous post for C language …
The analog reading from the VM140 is 10 bits.
As you noticed, you have to use the formula:
degrees = ((101 * TempValue /1024) - 23)

now i got -19 °C it cant be right, what did i do wrong ?

i asumed to get around 23 a 25 °C in this room

what should i do ?

Did you adjust the sensor module until you read a correct temperature ?

this is what i did, i runned my VB.net program for reading temp. And the temperature sensor also. I waited 15 minutes and checked what i got on the screen
-19 °C
minus ?? and turning that trimmer stays into minus …

What voltage do you measure at the analog input, over the four 1K resistors?

Ok let me say this

my vb code with the 2008VB example from this forum i’ve used

then i added this line
ReadAllAnalog(CardAddress, Buffer(0))
ProgressBar1.Value = Buffer(0)
Label2.Text = CStr(Buffer(0))
Label22.Text = CStr((101 * (Buffer(0) / 1024)) - 23)

i connected that temperature sensor with 2 X 1K resistors
15Vdc power supply for the temperature
(after 15 minutes :slight_smile: i read out my temperature in the room and measurements)
my temperature room = 25.6°C (really no joke)
my measurements are 4,85 V after adjusting T

now it working fine, guess there was a conflict with saving the code

thx for the help!!!