Generate voltage pulse using pc?

Click For Summary
It is possible to generate voltage pulses, both square and sinusoidal, using a computer, primarily through a sound card or a serial port. Sound cards can function as digital-to-analog converters (DACs), but care must be taken not to draw excessive current. The serial port can produce square wave pulses, with voltages potentially reaching +/- 15 volts, although the output is inverted. Software such as HyperTerminal can be used to create different pulse combinations. Understanding the specific application for these pulses can help tailor the approach.
aguy
Messages
3
Reaction score
0
Hi,

I am wondering if it is possible to generate voltage pulses (square or sinuosoidal, +/- 5V) using a computer. If yes, then how would I go about doing it?

Thanks.
 
Last edited:
Engineering news on Phys.org
You could use a sound card which are basically just glorified DAC's. Just make sure you're not drawing too much current which would be very bad.

Not only that but you could just as easily make an oscilloscope with a typical sound card's inputs. (That actually sounds kind of cool)
 
You can also produce an output on the serial port which will give +/- voltages.

You could use a program like Hyper Term which comes with Windows, or write something yourself, to get different combinations of pulses.

The serial port produces a good square wave pulse. The amplitude will vary with different computers, but it could be up to +/- 15 volts.

Note that the output on the serial port is inverted, so a "1" or logic high is actually the negative voltage.

Do you have an application that requires pulses or is it just a general question?
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
19
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K