bolderflight / ms4525do Goto Github PK
View Code? Open in Web Editor NEWArduino and CMake library for communicating with MS4525DO pressure transducers.
License: MIT License
Arduino and CMake library for communicating with MS4525DO pressure transducers.
License: MIT License
I understand that the formula used to determine the pressure in PSI and temperature is from the "PRESSURE AND TEMPERATURE TRANSFER FUNCTION" section of the datasheet, rearranged to solve for the pressure or temperature, but I can't tell how you determined the pres_cnts_ and temp_cnts_, or where you derived the formula from. Could you please help me with this? Thank you!
Hello,
I work on a telemetry for my Calmato RC plane.
Can you explain me how to convert your result to a km/h speed please ?
Thanks,
Pierre
Hello,
Thanks for this library.
I try to build a telemetry for my RC plane and my MS4525DO return me negatives values.
My code is:
void MS4525DO_Init() {
pres.Config(&Wire1, 0x28, 1.0f, -1.0f);
if (pres.Begin())
MS4525DOAvailable = true;
else
MS4525DOAvailable = false;
}
float MS4525() {
/* Read the sensor */
if (pres.Read()) {
pressionMS4525 = pres.pres_pa();//*3.6 for km/h
if (printPITOT == true)
{
/* Display the data */
Serial.print(pressionMS4525, 2);
Serial.print("\t");
Serial.print(pres.die_temp_c());
Serial.println("°C\r\n");
}
}
return pressionMS4525;
}
The sensor don't move and this code return me:
-140.46 27.67°C
It's normal ?
Thanks for your help,
Pierre
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.