nakujaproject / internship2024

0 stars 1 forks source link

Calibration of Pressure and Temperature Sensor #137

Open Churchil-Oduor opened 6 months ago

Churchil-Oduor commented 6 months ago

To calibrate we used the following parameters: Voltage range that the sensor can output(From the datasheet) = (0.5 – 4.5 )V Microcontroller maps these within a range of 4096 values. Minimum Pressure (Pmin) gets mapped onto -> (0.5 4096)/ 5 = 409.6 Max Pressure (Pmax) gets mapped onto -> (4.5 4096)/5 = 3686.4 Pressure range(Prange) the pressure sensor can read is 1.2MPa Actual Pressure Read = ((𝑷𝒓𝒆𝒂𝒅𝒊𝒏𝒈 −𝑷𝒎𝒊𝒏)/(𝑷𝒎𝒂𝒙 −𝑷𝒎𝒊𝒏)) * Prange