PSP Oscilloscope

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Jai_Guru
Posts: 12
Joined: Sun Aug 13, 2006 8:01 am

PSP Oscilloscope

Post by Jai_Guru »

I would like to use my PSP as an oscilloscope by connecting the input voltage to the analog audio input. The main use of this would be to make measurements on micro controller circuits with TTL voltage levels (6V-0V).

Does somebody know what is the range of voltages supported by the audio input?

Has somebody developed something similar?
MrMr[iCE]
Posts: 43
Joined: Mon Oct 03, 2005 4:55 pm

Post by MrMr[iCE] »

I think your 'scope' would be limited to sampling at 44kz, the only frequency it can record at (I think, someone correct me if I'm wrong). You'd need something a bit more realtime, possibly through the usb port.
Jai_Guru
Posts: 12
Joined: Sun Aug 13, 2006 8:01 am

Post by Jai_Guru »

I'm not sure about USB, hardwarewise it gets much more complicated.

My aim is to analyze the signals sent by a keyboard, pulses sent to a servo motor to control it or maybe signals sent on serial communication.

This signals operate at frequencies lower than 44kz so I don't think this would be a problem.
Jai_Guru
Posts: 12
Joined: Sun Aug 13, 2006 8:01 am

Post by Jai_Guru »

What circuit do I need to build to connect 5v TTL signals to the audio input of my PSP and not ruin it?
avisx
Posts: 8
Joined: Sat Dec 09, 2006 11:51 am

good idea

Post by avisx »

good idea, ;)
memon
Posts: 63
Joined: Mon Oct 03, 2005 10:51 pm

Post by memon »

There are some projects around the web which purpose is to turn a pc sound card into a oscilloscope. Google: pc sound card oscilloscope

You will need some special electronics to convert the signal to nice range for the sound card (or psp) to record. You will run into a problem trying to measure DC voltages, though, because there is usually a capacitor in the input before the ADC.

This might be a good starting point:
http://xoscope.sourceforge.net/
Jai_Guru
Posts: 12
Joined: Sun Aug 13, 2006 8:01 am

Post by Jai_Guru »

Thanks for the reply.

Sorry, but i'm not very experienced with hardware.
You will run into a problem trying to measure DC voltages, though, because there is usually a capacitor in the input before the ADC.
As I said before, the main use i want to give this is to measure signals from microlcontrolers so I need to measure DC voltages.

To fix this could I modulate the input signal somehow and then demodulated using software?
Jai_Guru
Posts: 12
Joined: Sun Aug 13, 2006 8:01 am

Post by Jai_Guru »

I found this page that could be useful.

http://www.qsl.net/om3cph/sb/dcwithsb.htm

It explains the problems of using a sound card to measure DC signals. I haven't finished reading it but it looks like a valuable resource.
Jai_Guru
Posts: 12
Joined: Sun Aug 13, 2006 8:01 am

Post by Jai_Guru »

My next question will be a bit off topic but I hope it's not a big problem.

I found an old sound card and I wonder if I could avoid the DC measuring problem by removing and bypassing the capacitors right next to the line in and mic plug.

Any opinions?
Jai_Guru
Posts: 12
Joined: Sun Aug 13, 2006 8:01 am

Post by Jai_Guru »

I think what a want it's not an Oscilloscope but a logic analyzer.

I'm only interested on binary voltage levels.

Is there a way to know if a pin on USB or Serial Port is high or low?

what other method of input could be used?
Post Reply