Shop OBEX P1 Docs P2 Docs Learn Events
A - D with PCF8591 — Parallax Forums

A - D with PCF8591

ArchiverArchiver Posts: 46,084
edited 2001-12-23 14:56 in General Discussion
We recently purchased a couple of the BS2p24 Demo Boards. We also
purchased the BS2p Plus Pack application kit.

One of my current major interests is for A - D conversion. I am
trying to develop an application to control 24 antenna rotators. 12
for azimuth, 12 for elevation (they're for satellite use).

The control box will allow me to interface to it with simple dry
contact closures to energize the rotator. The position outputs a 0 -
5 VDC signal. I wanted to use the PCF 8591 for this.

Two of us wired up the application in the Plus Pack (individual
efforts). Neither of us got it to work as described. I always have
an indication of 2.5 volts coming in, no matter where the actual
input is set to.

I haven't broken out the meter yet to start tracing through but
thought perhaps I'd ask if I missed something. I searched through
the archives but found nothing.

Has someone else tried this application? I'll start over from
scratch again today...just trying to figure out if I'm all messed up
(surely wouldn't be the first time!)

Thanks!

Tim

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-12-23 14:13
    In a message dated 12/23/01 7:32:10 AM Central Standard Time,
    tim@t... writes:


    > We recently purchased a couple of the BS2p24 Demo Boards. We also
    > purchased the BS2p Plus Pack application kit.
    >
    > One of my current major interests is for A - D conversion. I am
    > trying to develop an application to control 24 antenna rotators. 12
    > for azimuth, 12 for elevation (they're for satellite use).
    >
    > The control box will allow me to interface to it with simple dry
    > contact closures to energize the rotator. The position outputs a 0 -
    > 5 VDC signal. I wanted to use the PCF 8591 for this.
    >
    > Two of us wired up the application in the Plus Pack (individual
    > efforts). Neither of us got it to work as described. I always have
    > an indication of 2.5 volts coming in, no matter where the actual
    > input is set to.
    >
    > I haven't broken out the meter yet to start tracing through but
    > thought perhaps I'd ask if I missed something. I searched through
    > the archives but found nothing.
    >
    > Has someone else tried this application? I'll start over from
    > scratch again today...just trying to figure out if I'm all messed up
    >

    You've got a loose connection somewhere. I know this because I saw the same
    thing when I was developing the "Plus Pack" code. I promise -- that code
    does work when all the connections are secure.

    -- Jon Williams
    -- Parallax


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-23 14:56
    Could be a loose connection. However, be sure you have a common ground
    between the A/D, the Stamp, and the control box. If your ground is
    "floating" that could cause the problem.

    Just to take the opportunity, I hope all on the Stamp list have a nice
    holiday season -- whatever holiday you are celebrating.

    Al Williams
    AWC
    * NEW KIT: Need a 5V Supply?
    http://www.al-williams.com/awce/ps1.htm


    >
    Original Message
    > From: jonwms@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=rTtPZ0nQZOlqNBa3MchPpmOmSyr9bRrj550BXCWXmCO2uPm3SpUzBCvxjMsrfUgDlfOTbg]jonwms@a...[/url
    > Sent: Sunday, December 23, 2001 8:14 AM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] A - D with PCF8591
    >
    >
    > In a message dated 12/23/01 7:32:10 AM Central Standard Time,
    > tim@t... writes:
    >
    >
    > > We recently purchased a couple of the BS2p24 Demo Boards. We also
    > > purchased the BS2p Plus Pack application kit.
    > >
    > > One of my current major interests is for A - D conversion. I am
    > > trying to develop an application to control 24 antenna rotators. 12
    > > for azimuth, 12 for elevation (they're for satellite use).
    > >
    > > The control box will allow me to interface to it with simple dry
    > > contact closures to energize the rotator. The position
    > outputs a 0 -
    > > 5 VDC signal. I wanted to use the PCF 8591 for this.
    > >
    > > Two of us wired up the application in the Plus Pack (individual
    > > efforts). Neither of us got it to work as described. I
    > always have
    > > an indication of 2.5 volts coming in, no matter where the actual
    > > input is set to.
    > >
    > > I haven't broken out the meter yet to start tracing through but
    > > thought perhaps I'd ask if I missed something. I searched through
    > > the archives but found nothing.
    > >
    > > Has someone else tried this application? I'll start over from
    > > scratch again today...just trying to figure out if I'm all
    > messed up
    > >
    >
    > You've got a loose connection somewhere. I know this because
    > I saw the same
    > thing when I was developing the "Plus Pack" code. I promise
    > -- that code
    > does work when all the connections are secure.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > 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.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
Sign In or Register to comment.