MATLAB MatLab data acquisition using soundcard

  • Thread starter Thread starter cronxeh
  • Start date Start date
  • Tags Tags
    Data Matlab
AI Thread Summary
Acquiring images through a soundcard's microphone input is theoretically possible by using a photocell connected to the mic jack, provided the voltage is within safe limits for the soundcard. The soundcard typically offers two analog channels with a sampling rate of 44.1 kSamples/second and a frequency range of 20 Hz to 20,000 Hz. Users can record the resulting data with an oscilloscope program and later export it for processing in MATLAB. However, there is no experience shared regarding processing video inputs through this method. This approach highlights an innovative use of soundcard capabilities for image acquisition.
cronxeh
Gold Member
Messages
1,004
Reaction score
11
Has anyone ever tried acquiring an image using the microphone input on the soundcard? I take it you have 2 analog channels (left, right), 44.1 kSamples/second bandwidth, 16 bit, with frequency range of 20 Hz - 20,000 Hz. Is there a way to acquire an image from a 640x480 pinhole camera (or 320x240) via the mic input using composite cable
 
Physics news on Phys.org
I know it is possible to solder up a photocell to a mic jack and use it in your microphone input (assuming the input voltage of the photo cell is not>>the rated voltage your sound card is designed to handle, so you don't blow up your card). Then you can record the data in some oscilloscope program and export it to a text file; then process that data in MATLAB.

As for processing *video* as an input; I have no experience in the matter, sorry.
 

Similar threads

Replies
1
Views
15K
Replies
2
Views
5K
Back
Top