Pressure sensor interface
Archiver
Posts: 46,084
Could some one help me what code should I write for stamp2, to get
different Altitude/voltages readings from a pressure sensor (this
sensor works from 0 to 5v) and then, when a specific
Altitude/voltage is detected to trigger an output pin to high?
Also I do not know if I can interface it directly or I need an a/d
converter.
Thanks for your time and expertise.
different Altitude/voltages readings from a pressure sensor (this
sensor works from 0 to 5v) and then, when a specific
Altitude/voltage is detected to trigger an output pin to high?
Also I do not know if I can interface it directly or I need an a/d
converter.
Thanks for your time and expertise.
Comments
wrote:
> Could some one help me what code should I write for stamp2, to get
> different Altitude/voltages readings from a pressure sensor (this
> sensor works from 0 to 5v) and then, when a specific
> Altitude/voltage is detected to trigger an output pin to high?
> Also I do not know if I can interface it directly or I need an a/d
> converter.
> Thanks for your time and expertise.
If you want to look at analogue signals, then you need the ADC.
If you are only looking for a trip point, you can do that with
external chips.
Read the data sheet on the ADC loops that Parallax offers, everything
you want should be well documented.
You could then use a pot to set your trip point.
Dave
direct digital output so that no A/D is needed. Their analog output
sensors are good. I am not affiliated - only a satisfied user.
Dov Yassky
5, Shapira Street
Tel Aviv 64358
Israel
Original Message
From: Dave Mucha [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=s8gRkVQaUPA4bJ3ZCfNSgmZOdsGI2hVdMxu5MfsDK1BSjsS8Co3kvP0TCg5FwTP_n9HNmvdOOrXWzKE]davemucha@j...[/url
Sent: Thursday, April 01, 2004 2:40 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Pressure sensor interface
--- In basicstamps@yahoogroups.com, "grivacoba" <grivacoba@y...>
wrote:
> Could some one help me what code should I write for stamp2, to get
> different Altitude/voltages readings from a pressure sensor (this
> sensor works from 0 to 5v) and then, when a specific
> Altitude/voltage is detected to trigger an output pin to high?
> Also I do not know if I can interface it directly or I need an a/d
> converter.
> Thanks for your time and expertise.
If you want to look at analogue signals, then you need the ADC.
If you are only looking for a trip point, you can do that with
external chips.
Read the data sheet on the ADC loops that Parallax offers, everything
you want should be well documented.
You could then use a pot to set your trip point.
Dave
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
> www.allsensors.com make low-pressure and barometric sensors with a
> direct digital output so that no A/D is needed. Their analog output
> sensors are good. I am not affiliated - only a satisfied user.
>
> Dov Yassky
> 5, Shapira Street
> Tel Aviv 64358
> Israel
These are fine if you can get free samples. Digi-Key offers the
lowest price unit from All-Sensors for $98.00 U.S.
being an altimeter using a BS2 and pressure sensor. Do a web search
using "basic stamp" and "altimeter" as keywords; you should be able to
find it.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: grivacoba [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=BlEnuR6Rlw0I73ItltpT-uHRh0y1sQtq6j8sZttGsYgI4yAMthuM463tBDdO2ODTJ8TE4-AGbxkF9w]grivacoba@y...[/url
Sent: Wednesday, March 31, 2004 9:53 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Pressure sensor interface
Could some one help me what code should I write for stamp2, to get
different Altitude/voltages readings from a pressure sensor (this
sensor works from 0 to 5v) and then, when a specific
Altitude/voltage is detected to trigger an output pin to high?
Also I do not know if I can interface it directly or I need an a/d
converter.
Thanks for your time and expertise.
I did a google search and found what I believe to be
the website John is talking about.
http://geocities.com/SiliconValley/Orchard/6633/altimeter.html
This website is full of tons of useful and interesting
projects and information.
Hope it helps.
Have a great day!!
James E. Merritt
--- Jon Williams <jwilliams@p...> wrote:
> There is a site somewhere full of BASIC Stamp
> projects, one of them
> being an altimeter using a BS2 and pressure sensor.
> Do a web search
> using "basic stamp" and "altimeter" as keywords; you
> should be able to
> find it.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: grivacoba [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2REyM4t2OStoojf8Ltdgg5GOHkNQOkGw9PzQvSMtHGO35oPi7ladYHebEaeYb9Th9ebAvSuIA8KE]grivacoba@y...[/url
> Sent: Wednesday, March 31, 2004 9:53 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Pressure sensor interface
>
>
> Could some one help me what code should I write for
> stamp2, to get
> different Altitude/voltages readings from a pressure
> sensor (this
> sensor works from 0 to 5v) and then, when a specific
>
> Altitude/voltage is detected to trigger an output
> pin to high?
> Also I do not know if I can interface it directly or
> I need an a/d
> converter.
> Thanks for your time and expertise.
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed.
> Text in the Subject and Body of the message will be
> ignored.
>
> Yahoo! Groups Links
>
>
> basicstamps-unsubscribe@yahoogroups.com
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
exact same thing. I'm a hang glider pilot and have been working on a
couple of projects myself along these lines. The first project was an
audio only variometer which is mostly working. The other is an
altimeter based on a BS2 that uses an LCD to display sea level
altitude, altitude over takoff, and variometry. I don't know your
final design goal, but I should be able to help out. Here are some
web sites that have helped me:
http://www.qsl.net/xq2fod/Electron/Vario/vario.html - This guy's
design probably helped the most. I had to learn a lot about the Basic
Stamp, but reading the Basic Stamp manual cleared a lot of things up.
He uses the curve of a RC network to mimic the log relationship of
pressure vs altitude instead of an ADC.
http://geocities.com/SiliconValley/Orchard/6633/altimeter.html - I
believe someone else gave this link. It's not bad, uses a different
approach and uses an ADC. Personally, it was too limited compared to
the other one. However, it can provide helpful insight.
http://topaflyers.com/kites/altbuild.html - This was a page made
awhile back by a hang glider pilot and uses no microprocessor.
However, it only displays altitude and variometry. He has a design
for an audio only variometer (something very usefull for soaring
pilots) that I built with some success. It worked, but I had a hard
time getting a definite on-off transition, but once it was on it
worked well.
These all should help out. Feel free to email me with other questions.
David
--- In basicstamps@yahoogroups.com, "grivacoba" <grivacoba@y...> wrote:
> Could some one help me what code should I write for stamp2, to get
> different Altitude/voltages readings from a pressure sensor (this
> sensor works from 0 to 5v) and then, when a specific
> Altitude/voltage is detected to trigger an output pin to high?
> Also I do not know if I can interface it directly or I need an a/d
> converter.
> Thanks for your time and expertise.
Also take a look at:
http://www.qsl.net/xq2fod/Electron/Vario/vario.html
Cheers,
- Bob -
--- In basicstamps@yahoogroups.com, James Merritt <jamesem_99@y...>
wrote:
> Hi,
>
> I did a google search and found what I believe to be
> the website John is talking about.
>
> http://geocities.com/SiliconValley/Orchard/6633/altimeter.html
>
> This website is full of tons of useful and interesting
> projects and information.
>
> Hope it helps.
>
> Have a great day!!
>
> James E. Merritt
>
>
> --- Jon Williams <jwilliams@p...> wrote:
> > There is a site somewhere full of BASIC Stamp
> > projects, one of them
> > being an altimeter using a BS2 and pressure sensor.
> > Do a web search
> > using "basic stamp" and "altimeter" as keywords; you
> > should be able to
> > find it.
> >
> > -- Jon Williams
> > -- Applications Engineer, Parallax
> > -- Dallas Office
> >
> >
> >
Original Message
> > From: grivacoba [noparse][[/noparse]mailto:grivacoba@y...]
> > Sent: Wednesday, March 31, 2004 9:53 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Pressure sensor interface
> >
> >
> > Could some one help me what code should I write for
> > stamp2, to get
> > different Altitude/voltages readings from a pressure
> > sensor (this
> > sensor works from 0 to 5v) and then, when a specific
> >
> > Altitude/voltage is detected to trigger an output
> > pin to high?
> > Also I do not know if I can interface it directly or
> > I need an a/d
> > converter.
> > Thanks for your time and expertise.
> >