All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > Electronics Resources

Notices

Electronics Resources Get help with all types of electronics resources, including books, websites, datasheets, technical literature, and software.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 07-08-2012, 12:58 AM
count_volta's Avatar
count_volta count_volta is offline
Senior Member
 
Join Date: Feb 2009
Location: Pennsylvania
Posts: 433
Send a message via MSN to count_volta
Default Make free function generator. Got old computer speakers? Read on.

I cant afford a function generator right now. But I constantly need one and have to keep driving to university lab and spend money on gas. Here is a solution.

1: Download this software:
http://heliso.tripod.com/download/generator/dsg.htm

2: Get some old computer speakers (everyone has some laying around)

3: Open up your speaker system and disconnect the signal wires from the speaker coils themselves.

Now plug the aux cable for the speaker system into your sound card

Now run the software and connect the speaker system signal wires, power and ground, into an oscilloscope.

Now you can use the speaker system's volume knob to adjust the amplitude and use the software to adjust the frequency and waveform type.

The major benefit of this setup is that the sound card is isolated from the output that is going to the oscilloscope. The speaker system's default amplifier is doing the isolation.

If you short circuit the signal wires, the worst that will happen is your crappy old speakers may get damaged, but your audio card is safe. I at least hope this is true. I really hope. When would this not be true? Anyone?

The output amplitude depends on your speaker system. I am getting 6.5V peak max output with sine wave before the signal begins to saturate and get distorted. My speaker system has a power supply of 10 volts. Makes sense.

This is not really meant to be used to drive anything major, but if you need a signal to test with an op amp or micro-controller, this is great. Once again it all depends on the kind of speakers you have.

Enjoy.
__________________
"The gift of mental power comes from God, if we concentrate our minds on that truth,we become in tune with this great power" Nikola Tesla

Science is nothing more than our feeble attempt to understand the mysteries of God. When we succeed, and claim to understand everything there is to know, we show our foolishness.

Thank you to all the people who worked on the All About Circuits ebook. It is one of the best electronics books out there.

I'm a recent BSEE grad from the University of Pittsburgh
Reply With Quote
The Following 2 Users Say Thank You to count_volta For This Useful Post:
DerStrom8 (07-08-2012), hashmaster (10-11-2012)
  #2  
Old 07-08-2012, 01:49 AM
DerStrom8's Avatar
DerStrom8 DerStrom8 is offline
Senior Member
 
Join Date: Feb 2011
Location: Vermont, U.S.A. (GMT-5)
Posts: 1,795
Blog Entries: 12
Default

Very clever! Using audio signals to carry specific waveforms! Brilliant!
Reply With Quote
  #3  
Old 07-09-2012, 05:18 AM
panic mode's Avatar
panic mode panic mode is offline
Senior Member
 
Join Date: Oct 2011
Location: Mississauga, Ontario
Posts: 1,095
Default

should be fine for low frequency sine but not so sure about other waveforms. how is the square wave or sawtooth?
Reply With Quote
  #4  
Old 07-16-2012, 11:01 PM
THE_RB's Avatar
THE_RB THE_RB is offline
Senior Member
 
Join Date: Feb 2008
Posts: 5,193
Default

Quote:
Originally Posted by count_volta View Post
...
The major benefit of this setup is that the sound card is isolated from the output that is going to the oscilloscope. The speaker system's default amplifier is doing the isolation.
...
I have repaired and seen inside a lot of PC powered speakers. There is no proper "isolation" like optical isolation, and the amp ground is usually connetced to the PC ground, which is usually connected to the PC metal case and mains ground.

Quote:
Originally Posted by count_volta View Post
...
If you short circuit the signal wires, the worst that will happen is your crappy old speakers may get damaged, but your audio card is safe. I at least hope this is true.
...
Generally this is true and the amp will provide some decent level of protection for the sound card output.

Another benefit is the speaker amp provides some buffering so it makes a more powerful signal level than the PC sound card output itself.

If you want to optimise the protection then another good idea is to put a small fuse (100mA or 200mA) in line with the amp output.
__________________
Roman Black - PICs and electronics. Author of BTc PIC-sound encoder, Shift1-LCD project, the TalkBotBrain talking PIC controller, LiniStepper open-source microstepping motor driver, the Black Regulator 2-transistor SMPS, and probably some other stuff; www.RomanBlack.com
Reply With Quote
Reply   Post New Thread

Tags
, , , , ,


Related Site Pages
Section Title
Worksheet Performance-based assessments for AC circuit competencies
Worksheet Oscilloscope trigger controls
Worksheet Basic oscilloscope operation
Video Lecture Miscellaneous Diode Applications - Diodes and Diode Circuits
Video Lecture Generation of Alternating Voltage - Alternating Current
Textbook Input and output coupling : Bipolar Junction Transistors
Textbook Vacuum tube audio amplifier : Discrete Semiconductor Circuits
Textbook PC Oscilloscope : Ac Circuits
Textbook Musical keyboard as a signal generator : Ac Circuits
Textbook Sensitive voltage detector : Dc Circuits


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make function periodic on Matlab tquiva Homework Help 1 12-03-2011 04:29 PM
free software to make schematics like autocad strantor Electronics Resources 2 03-08-2011 05:03 AM
Two computers output to same speakers causes feedback-ish noise browner87 The Projects Forum 8 08-18-2009 11:15 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:04 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.