Shop OBEX P1 Docs P2 Docs Learn Events
AC Signal Generation and Subtraction — Parallax Forums

AC Signal Generation and Subtraction

ISAT402ISAT402 Posts: 1
edited 2007-03-28 21:09 in BASIC Stamp
Friends,

I am attempting to use a tilt sensor from Fredricks Company·to control a BS2.· The sensor requires AC to operate.· I am currently using a function generator to excite the sensor, but my first question is: Is it possible to create an AC signal from a BS2 to excite the sensor?· If so, how?

Once I have the sensor excited, I am trying to obtain the difference between two corresponding electrodes (see attached).· The larger the difference, the larger the angle of tilt.· Ideally, I'd like to·make an input pin change from low to high (or·vice-versa) when·a specific·angle is reached.· Currently I can see the difference between the electrodes by hooking an o-scope channel to each electrode and using the o-scope to find the difference between the channels.· My second question is: can I use a BS2·to measure the difference between two AC signals?· Or can I use some·circuitry·to find the difference and then send it through a rectifier to an input pin?

Thanks,

ISAT402
298 x 465 - 12K

Comments

  • T ChapT Chap Posts: 4,223
    edited 2007-03-28 21:09
    Not exactly the answer to your question, but a much simpler approach would be to use one of the tilt sensors Parallax carries, with code already available and ready to use, no external hardware except the sensors.

    www.parallax.com/detail.asp?product_id=28017

    Post Edited (TChapman) : 3/28/2007 10:59:40 PM GMT
Sign In or Register to comment.