Shop OBEX P1 Docs P2 Docs Learn Events
which STAMP to decode multiplexed BCD? — Parallax Forums

which STAMP to decode multiplexed BCD?

ieee488ieee488 Posts: 2
edited 2006-05-14 19:06 in BASIC Stamp
We have a digital panel voltmeter that has multiplexed BCD outputs.
In other words, 4 output pins, a strobe signal, and 4 digits signals.
I want to use a BASIC Stamp to latch that information into something that can be read by a PC.
I hope I am explaining this well.

Looking for a general direction.

THanks in advance.

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-05-13 23:57
    A STAMP could definitely handle that job, but which to choose·could depend on how fast that digits strobe is.
  • ieee488ieee488 Posts: 2
    edited 2006-05-14 18:53
    www.cd4power.com/data/meters/40pc.pdf
    is the datasheet for the panel meter I want to interface to

    the strobe signal is only 5usec wide and digits drive signal is 5msec wide

    Do any of the STAMP modules have a serial output?
    I don't know if I am asking for too much.

    At this moment, I am thinking of using five(5) BCD-to-7 Segment decoder/driver ICs and
    then using the STAMP to read and convert to something useable and then somehow
    be able to communicate with a PC's USB or serial port.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-05-14 19:06
    All Stamp modules have serial output -- catching that narrow pulse is going to be the trickier bit. What I would do is use PULSIN to do it, as PUSLIN returns 0 if there was no pulse captured. If the returned pulse is about 5 you know it's valid, can immediately capture the inputs and send the data with SEROUT.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
Sign In or Register to comment.