CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

MS5534 support

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
waranet



Joined: 05 Jan 2006
Posts: 10
Location: France

View user's profile Send private message Visit poster's website

MS5534 support
PostPosted: Thu Jan 05, 2006 3:02 am     Reply with quote

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 '
PostPosted: Sat Jan 07, 2006 7:42 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Jan 07, 2006 10:44 am     Reply with quote

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

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Mon Jan 09, 2006 5:32 am     Reply with quote

hi, Humberto !! Very Happy Can you tell us one cheaper barometric sensor with driver made to use in CCS ? Thank you so much Very Happy
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Mon Jan 09, 2006 8:48 am     Reply with quote

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

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Mon Jan 09, 2006 9:52 am     Reply with quote

thank you very much Humberto
alcantara
Guest







Compra do ms5534
PostPosted: Sat Feb 28, 2009 9:38 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Feb 28, 2009 9:59 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group