Shop OBEX P1 Docs P2 Docs Learn Events
need help connecting mpx2010dp to BS2 — Parallax Forums

need help connecting mpx2010dp to BS2

yaoyao Posts: 2
edited 2007-10-30 19:44 in BASIC Stamp
Hi guys
i need help connecting an mpx2010dp pressure sensor to the basic stamp . How do i run the connection and what do i need as supplement?also how do i run a motor at the same time with it?
Thanks

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-29 19:48
    A couple of suggestions ...
    1) If you are asking about connecting something to a Stamp that's not sold by Parallax, include a datasheet ... either a link to one or the PDF as an attachment to your posting. It's hard to help you without that sort of information and the likelihood of someone having experience with exactly the part you want to use is much less than one of us looking at the information and seeing that "it's just like this other thing I know about". Sure, I could probably look it up on the web myself, but you're the one asking for help and you should do your "homework".

    2) Don't ask too many questions in one message. You might describe your overall plans like "I intend to control a motor with the same program", but too many questions complicate the process of getting assistance.

    3) What kind of motor? Servo, stepper, DC motor? Again, you need to provide enough information without swamping us with details.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-29 20:07
    Another suggestion ...
    4) One of the forum rules is that you may not post the same question in more than one forum. You've posted this question in the "Stamps in Class" forum, already gotten an answer, and, rather than reply to it there, have posted a question here. It's much better to carry on a conversation in only one forum. If someone makes a suggestion, either try it or, if you don't understand the answer or don't know how to proceed with it, ask for more information or links to more information. The Wikipedia is a great resource (do web searches for "wiki ..." for whatever you're interested in). Parallax also has many tutorials on their website, that, while they may not be specifically about your device, are for similar situations. Also check out www.emesystems.com which has lots of information on using sensors with the Stamps.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-10-29 21:36
    A third duplicate post was removed. Please follow up in your original thread. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • yaoyao Posts: 2
    edited 2007-10-30 19:21
    Sorry the first post did not show so i have to resubmit
    1- the package is from parallax and is Basic Stamp programing kit( which includes a DC servo motor). the sensor is the only thing that i bought from Jameco ( i sent the attachment ) and it is a FREESCALE SEMICONDUCTOR MPX2010DP (0-10Kpa /0-1.45 psi). It is a 4 pin configuration sensor (Vs,+Vout, -Vout and Gnd)
    My intention is to control the motor with the signal i get from the sensor. i consulted coulpe of instructor and they told me i can use an amplifier,a ACto DC converter. I realize that i have to use one of those . Am just making sure that i buy the right part.
    thanks
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-30 19:44
    The datasheet indicates that the full scale voltage is about 25mV which is small compared to the input range of most analog to digital converters, so you will need an amplifier with a gain on the order of 100 to bring the voltage up to perhaps 2.5-5V which is more like what most analog to digital converters need. With that much gain and that low a signal, you may have problems with electrical noise. Consider using what's called an instrumentation amplifier which is designed for dealing with this kind of low level signal. There have been some other discussions on instrument amplifiers. Do a Google websearch here on "instrumentation amplifier" for that.

    There's a Nuts and Volts column that illustrates the use of an instrumentation amplifier: www.parallax.com/dl/docs/cols/nv/vol2/col/nv57.pdf.

    There's lots of information on the Parallax website on the use of various analog to digital converters. Start with the Accessories / Integrated Circuits part of their webstore. The product pages have links to datasheets, sample programs, etc.
Sign In or Register to comment.