displaying incoming signals
loser_1982
Posts: 2
hi!!! i would like to know how i could make a graph be display·of an ·incomin signal from any pin...?????? the signal could be audio, pulse train etc. if someone knows please let me know
Comments
If you want to display a digital signal (low or high only) then you can record it directly. But if you have an analog signal, you will need an analog to digital converter chip (ADC). Someone started a thread in this forum a few months ago about how to use an ADC with the prop, and there is a Spin object for that, so it is doable. Just be aware that it will take more work than getting a digital signal.
My guess is that if you are patient... someone will roll it into an object.
There IS an object that will allow you to export to an Excel spreadsheet, but of course I don't know where it is[noparse]:)[/noparse]
Rich
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
And you didn't have to be very patient, either.
Rich
Here's some usage from the comments (the actual code isn't commented great, sorry):
Time can be any value, though not very accurate, it at least gives you a rough time base.
I tried to take a picture to post, but the picture scan wasn't cooperating.
Hope it helps, it's adopted from a research project I was involved in, which with luck, will be presented at a NATO conference this year!· This was also my 1st attempt working with graphics video.... crash course for the project [noparse]:)[/noparse]
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.