Its possible to have an oscilloscope from the input of the sound card? I'm trying to log the states of a PIC32 pin (min: 0V, máx: 3.6).
Is it possible to put that value on a 3.5" jack and, on the pc, have access to the sound card input values?
Its possible to have an oscilloscope from the input of the sound card? I'm trying to log the states of a PIC32 pin (min: 0V, máx: 3.6).
Is it possible to put that value on a 3.5" jack and, on the pc, have access to the sound card input values?
Be careful, your computer isn't made for this.
Another software (with the schematics to go with it): http://xoscope.sourceforge.net/
The hardware to go with it: http://xoscope.sourceforge.net/hardware/hardware.html
I agree with Oli that finding a cheap analogue 20 MHz scope is a way to go. You can comfortably analyze 40 MHz if you read between the divisions. However, I often use a sound card scope for it's trigger function, the memory storage, and as a third channel to control the start/stop of your signal. 12V is acceptable input for an old 16 bit sound card in an old 386DX PC. It's also good for checking proper working of an UART or RX/TX switching in a simple serial communication protocol. I would suggest to use a desktop PC card driven and not motherboard integrated as any potential over-voltage damage would be limited to the card. I use an 16 bit card and it works fine for me. Many 32 bit cards double the sampling rate as opposed to increasing bandwidth.
Yes. There are many applications to do this. The first one I found on Google:
I'm sure if you ask Google you will find many more.
This is a subjective question, but the most powerful I've found is http://www.sillanumsoft.org/prod01.htm
Yes, but be very careful with the voltage. Visual Analyser (already mentioned above) is good.
Use line in if possible, and keep voltage below ~2V depending on make of soundcard, where it clips will vary - to find out apply a known signal, preferably through a 10K pot or similar while running the software and turn up until it clips on the scope. Setting up a simple input divider and buffer opamp is a good idea if you are planning on measuring voltages over 5V or so (should be a few circuits around for this)
If you are planning on doing this regularly I would seriously consider grabbing a cheap analogue scope from eBay, people are practically giving away scopes with far better performance than you will ever get from the best sound card. With a soundcard the highest frequency you can measure will be around 48KHz (maybe 96kHz with 192KHz, or as low as 22kHz with older models) as opposed to around 20MHz with a cheap scope - bear in mind a PIC32 runs at 80MHz and can toggle pins at up to 40MHz.