View previous topic :: View next topic |
Author |
Message |
waranet
Joined: 05 Jan 2006 Posts: 10 Location: France
|
MS5534 support |
Posted: Thu Jan 05, 2006 3:02 am |
|
|
Hi,
Is anybody did some code with CCS for the MS5534 (barometric pressure + Temperature ) sensor ?
Thanks for your help
JP |
|
|
jruibarroso Guest
|
I need it too, please any one can make one driver ' |
Posted: Sat Jan 07, 2006 7:42 am |
|
|
I need it too, please any one can make one driver ??
tHANk YoU |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Sat Jan 07, 2006 10:44 am |
|
|
Quote: |
Is anybody did some code with CCS for the MS5534 (barometric pressure + Temperature ) sensor ?
|
I did it for one of my customer who paid for this. Sorry I can't post it.
It is a very good sensor but not the best to play with unless if it is impossed
by custom/product by its resolution.
To start with barometric issues you can get a very good aproach using a cheaper
sensors with analog output + AD converter (12bit).
Humberto |
|
|
jruibarroso
Joined: 07 Jan 2006 Posts: 64 Location: Braga
|
|
Posted: Mon Jan 09, 2006 5:32 am |
|
|
hi, Humberto !! Can you tell us one cheaper barometric sensor with driver made to use in CCS ? Thank you so much |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Mon Jan 09, 2006 8:48 am |
|
|
Quote: |
Can you tell us one cheaper barometric sensor with driver made to use in CCS ?
|
Firstly I want you know that unfortunately there is not any plug&play barometric sensor to use with CCS nor with any compiler. It is necesary to work a little to get one working.
I can't tell you what is the cheapest but Motorola, Freescale, All Sensors and others make some of them at a reasonably price. One cheap sensor is the Motorola MPX4115, it has a range of 0 to 115 Kpa (~0 to 34 inHg).
In Peter Anderson's web site there is an application note using an SPI interface
with a Microchip 8 channel 12-bit A/D Converter MCP3208 + MPX4115AP Motorola
pressure sensor to measure atmospheric pressure and convert this to barometric pressure.
http://www.phanderson.com/picaxe/spi.html
Is an Ap Note written in Basic like (wich is easy to read and not so dificult to port to C).
In his book you will find code in C to do this.
Also you will try this aproach:
http://www.davidbray.org/onewire/barometer.html
Or use this op-amp connected at the output of the MPX4115 and then wire it directly to the 10 bit A/D built in your PIC and you will not need any driver.
http://www.tfs.net/~petek/rockets/altimeter/circuit.html
Keep well,
Humberto |
|
|
jruibarroso
Joined: 07 Jan 2006 Posts: 64 Location: Braga
|
|
Posted: Mon Jan 09, 2006 9:52 am |
|
|
thank you very much Humberto |
|
|
alcantara Guest
|
Compra do ms5534 |
Posted: Sat Feb 28, 2009 9:38 pm |
|
|
Quote: |
Is anybody did some code with CCS for the MS5534 (barometric pressure + Temperature ) sensor ?
|
Humberto, I'm from Brazil and I had dificulty to buy the MS5534 from Intersema. Do you know any deliverer more easy to buy??? |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Sat Feb 28, 2009 9:59 pm |
|
|
The MS5534 driver source in Borland CPP can be found here:
http://www.intersema.ch/products/guide/calibrated/ms5534c/
They look straightforward and should be fairly easy to convert for someone familiar with CCS C.
There are several documents and files that should be useful including one about using SPI. |
|
|
|