Shop OBEX P1 Docs P2 Docs Learn Events
Replicating a PCM signal with SX/B — Parallax Forums

Replicating a PCM signal with SX/B

noelnoel Posts: 2
edited 2006-09-07 14:50 in General Discussion
I have a PCM signal·that I·would like·to be able to record and·playback on the SX/B...diagram attached. I would appreciate any suggestions?·thx
640 x 512 - 50K

Comments

  • BeanBean Posts: 8,129
    edited 2006-09-07 00:17
    We're going to need alot more details about the signal.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    There are only two guaranteed ways to become weathy.
    Spend less than you make.
    Make more than you spend.
    ·
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2006-09-07 08:17
    I agree with Bean.
    But observing the picture,
    There appears to be a 5 division (100 msec) rest period, then a·burst of 50% dutycycle
    signal (5V toptop, period = 0.2 division = 4 msec).
    If this is a live signal, why not capture it with the sx?
    If the picture is from some documentation, does the doc not explain the signal?
    What is it used for?

    regards peter
  • noelnoel Posts: 2
    edited 2006-09-07 14:50
    Sorry I'm new to this...here are some more details that I hope are what you're looking for.
    Signal is from an automotive scan tool...it is a 5V signal that appears proprietary and not one of the standard vehicle networking protocols.
    Signal starts high, goes low for 105ms
    toggles hi 2ms, then lo 2ms repeating for 5 cycles
    the following sequence (1=hi, 0=lo)·repeats 6x, width of each·pulse is .6ms
    110100110100
    final sequence repeats 1x
    1001
    signal ends high

    Per Peter's suggestion I would love·to capture·it on the SX for playback if possible, as an alternative to·defining the signal in code? I may need to do other signals as well and SX code to·capture/replay·may be·easier to reuse. I was looking for code examples in this forum to start with and modify if you (Bean or Peter)·happen to·recall previous samples·that might help.

    Thx



    ·
Sign In or Register to comment.