Shop OBEX P1 Docs P2 Docs Learn Events
Virtual oscilloscope from ViewProt — Parallax Forums

Virtual oscilloscope from ViewProt

Maria IvanovnaMaria Ivanovna Posts: 8
edited 2009-10-19 12:16 in Propeller 1
Hello Forum ,
I·generated 3 sine waves 120 degree phase·shifted using the propeller·and i would like to test·my·work·using an oscilloscope. I think that alot of members are using ViewPort and maybe they know the answer for my question:·Can ViewPort do this work ?
Thank you in advance,
Have a nice day,smile.gif
Masha

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-10-18 15:19
    No, not without external hardware.

    Viewport can be used as a logic analyzer to display digital signals, not an analog oscilloscope. Parallax has developed a "front-end" for the Propeller that provides the high speed analog to digital conversion and signal conditioning and this will work with a modified version of Viewport, but it's not quite ready for sale yet.

    You could use Viewport to display the variables in your program and it can display their values over time in oscilloscope format and, if you have unused cogs and I/O pins, you could use the Propeller itself to do the analog to digital conversion if the frequency of the sine waves isn't too high (see AN001: www.parallax.com/tabid/442/Default.aspx).
  • LeonLeon Posts: 7,620
    edited 2009-10-18 18:55
    If the frequency is under 40 kHz you might be able to use sound card scope software.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Maria IvanovnaMaria Ivanovna Posts: 8
    edited 2009-10-18 20:58
    Thanks for all posts
    @Leon : Please Leon , could you please explain to me more how i should connect the three pins from the propeller to the sound card ?
    Thank you in advance
  • Mike GreenMike Green Posts: 23,101
    edited 2009-10-18 21:32
    You can't handle 3 channels of information with a sound card. A sound card typically handles stereo which is only two channels.
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-10-19 10:52
    What bit resolution? 8-12 bits is the norm, with 8 bits 100 mhz and 12 bits 100 khz.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • BradCBradC Posts: 2,601
    edited 2009-10-19 12:16
    James Michael Huselton said...
    What bit resolution? 8-12 bits is the norm, with 8 bits 100 mhz and 12 bits 100 khz.

    The Propeller generated sine waves, the Propscope or the sound card?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    lt's not particularly silly, is it?
Sign In or Register to comment.