Hi, I have been searching for days for all sorts of code and have desided that I will still use a picaxe for my data logger but all the calculations will be done after the data logger mission on Excel,
I am making a data logger which will be put into an abandoned mine to log the temperature, humidity, oxygen level, and barometric pressure. I will leave it there for a couple of weeks taking readings at set intervals.
The problem I am having is with the calibration data.
The values are not always the same, and some of them are showing as 65535. And 32768.
I understand about some of them are signed, and need converting to their twos compliment. The readings I am getting are shown below and I am using the code I found on the forum to read the values. But they keep changing. Is this normal?
I am using the format hi2cin $AA,(b3,b2) : sertxd("AA=",#w1,cr,lf) through to BE.
Also do I need to read these values or can I store them through my coding as variables. As I'm not going to be using them except on Excel.
Any help would be appreciated.
Results
AA 5578
AC 65535
AE 51083
BO 31339
B2 24741
B4 17428
B6 5498
B8 46
BA 32768
BC 54461
BE 65535
UT 32768
I am making a data logger which will be put into an abandoned mine to log the temperature, humidity, oxygen level, and barometric pressure. I will leave it there for a couple of weeks taking readings at set intervals.
The problem I am having is with the calibration data.
The values are not always the same, and some of them are showing as 65535. And 32768.
I understand about some of them are signed, and need converting to their twos compliment. The readings I am getting are shown below and I am using the code I found on the forum to read the values. But they keep changing. Is this normal?
I am using the format hi2cin $AA,(b3,b2) : sertxd("AA=",#w1,cr,lf) through to BE.
Also do I need to read these values or can I store them through my coding as variables. As I'm not going to be using them except on Excel.
Any help would be appreciated.
Results
AA 5578
AC 65535
AE 51083
BO 31339
B2 24741
B4 17428
B6 5498
B8 46
BA 32768
BC 54461
BE 65535
UT 32768