How to record a signal outside of a physics lab?

Click For Summary
SUMMARY

This discussion focuses on setting up an experiment to measure period doubling in a leaky tap using a computer without specialized software like LabVIEW. The user explores options for connecting a speaker or microphone to the computer, ultimately deciding that a microphone connected to the sound jack is the most feasible solution. They consider using a comparator and a 555 monostable circuit to generate a pulse for data capture. The discussion emphasizes the importance of processing audio signals into a usable data format for analysis in MATLAB.

PREREQUISITES
  • Basic understanding of audio signal processing
  • Familiarity with MATLAB for data analysis
  • Knowledge of electronic components like comparators and 555 timers
  • Experience with wiring and circuit design, including breadboards
NEXT STEPS
  • Research how to connect a microphone to a computer's sound jack for data capture
  • Learn about using a comparator and 555 monostable circuits for pulse generation
  • Explore methods for processing .wav files into pulse output files
  • Investigate MATLAB functions for analyzing audio signals and extracting event data
USEFUL FOR

Physics students, hobbyist experimenters, and anyone interested in DIY data acquisition methods for audio signal analysis.

gogetagritz
Messages
8
Reaction score
0
I am trying to set up an experiement to measure period doubling in a leaky tap. My plan was to just have a speaker input to a computer (through the com port I assume) to register drips into some container.

My web searchs for how to wire the two wires from a speaker to any port on the copmuter have so far been fruitless. I was wondering if anyone here has ever set up an experiment hooked to their computer without labview and some sort of external card made specifically for the purpose. I am hoping to do this on the cheap. Maybe I should just get a microphone and plug it into the sound jack, but I am not sure how to take that signal to a nice data file I can look at with MATLAB or something.

Any links/advice would be gratly appreciated.
 
Engineering news on Phys.org
Monitoring the parallel port would be much simpler, you could feed in a pulse for each event and have the software poll the pin you're using to find said events.

A microphone or leads could be fed to a comparator and then maybe even a 555 monostable to generate a pulse long enough to capture with you're polling interval whose period should be at least half that of the pulse.

Might be easier to find a way to process the .wav file from a mic in the sound card into a pulsed output file where you can set the criteria to determine when an event has occurred.

http://www.soundslogical.com/support/mpacks/documentation/english/documentparts/mpack1over.html

Cliff
 
Last edited by a moderator:
Yes, after spending some more time looking up pin diagrams, I realized the serial port is a digital port, requiring an analog to digital converter chip, and thus a bread board and vcc. I could scrounge those from some physics lab at school I'm sure, but wanted to keep this as simple as possible, so you are right. A microphone is the way to go. thnx for the link.
 

Similar threads

Replies
13
Views
3K
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
6
Views
3K
Replies
6
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K