Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Demo Board Pre-loaded Application — Parallax Forums

Propeller Demo Board Pre-loaded Application

AngeloQAngeloQ Posts: 10
edited 2009-05-24 23:40 in Propeller 1
I just started using the Propeller and I have the Demo Board, which has a microphone input feature. I'm looking for the code that does this.

Does anyone know where I could find the application code that comes pre-loaded on the demo board Propeller? I looked through the Propeller Tool example files and online (including this forum) but I couldn't find any reference to it.

Thanks,
Angelo

Comments

  • StefanL38StefanL38 Posts: 2,292
    edited 2009-05-24 21:39
    Hello Angelo,

    I don't know it exactly in subfolder propeller-tool/examples/library are two files which might be it

    microphone_to_vga.spin
    or
    microphone_to_headphone.spin

    additional files are in the object-exchange

    best regards

    Stefan
  • Mike GreenMike Green Posts: 23,101
    edited 2009-05-24 21:39
    The Demo Board pre-installed demo is available somewhere. I know that doesn't help. I thought it was in the Object Exchange, but I can't find it. For microphone use demos, try Microphone_To_VGA. It comes with the Propeller Tool and it's also downloadable from the Propeller Object Exchange.
  • AngeloQAngeloQ Posts: 10
    edited 2009-05-24 21:51
    Stefan, Mike, thanks for your help.

    Neither the microphone_to_VGA nor microphone_to_headphone demos are in my Propeller tool folders, but I found the them in the object exchange. Perhaps I'm using an old version of the tool? (v 0.98.1)

    These are helpful, but I would still like to have the full demo so I can put it back after I overwrite it.

    Is there a good description of how the sigma-delta ADC works as in these microphone examples?

    Oh, one more thing (for now), I tried to run the Vocal Tract and Singing demos from the object exchange, but they all give the following error ("Expected a DAT symbol") on this line: (line 326 of VocalTract.spin)

    call #sine

    I'm still getting familiar with the propeller assembly so I'm not sure how to fix this. Any ideas?

    Thanks again
  • Mike GreenMike Green Posts: 23,101
    edited 2009-05-24 21:56
    You have an old version of the Propeller Tool. Download a new copy from the Propeller Downloads webpage and install it. That will provide you with the microphone demos. Also download a copy of the application note (AN001) which covers the cog counters and the sigma-delta ADC.
  • AngeloQAngeloQ Posts: 10
    edited 2009-05-24 22:18
    Fantastic Mike, thank you. (That counter modes table in the Propeller manual wasn't too clear to me.)
  • localrogerlocalroger Posts: 3,452
    edited 2009-05-24 23:29
    If I'm not mistaken the demo app is graphics_demo.spin, which should be in the proptool demo library.
  • AngeloQAngeloQ Posts: 10
    edited 2009-05-24 23:40
    Thank you, I'll try that.

    The pre-loaded demo displays some buttons on the VGA 'Woof', 'Woof', 'Meow', and 'Exit'. I see code that looks like it does that in the 'VGA_Demo', but it doesn't seem to do any of the other things (audio, TV). I can't find in the Graphics_Demo where those buttons are generated.
Sign In or Register to comment.