Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

signal generation via serial port

Status
Not open for further replies.

tanzil_dhk

Advanced Member level 4
Joined
Aug 9, 2006
Messages
109
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Activity points
1,924
Hi,
I want to generate different freq. range of signal via serial port controlling from my PC using C or others. Can anyone help me plz.
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,185
Helped
1,141
Reputation
2,301
Reaction score
1,116
Trophy points
1,403
Location
Brazil
Activity points
53,372
tanzil_dhk,

You could use flow control pins to acchieve it.
But...at big rate, serial and parallel port doesn't have precision.
I reached better precision, implementing an external board ( with crystal oscilator ) to generate timming to interrupt PC software.

+++
 

antedeluvian

Full Member level 1
Joined
Apr 23, 2005
Messages
97
Helped
33
Reputation
66
Reaction score
17
Trophy points
1,288
Activity points
2,470
You can generate a signal directly from your PC using the sound card- I am not sure if that is what you want to do.

Check this out:
http://www.world-voices.com/software/nchtone.html


If you indeed want to set the waveform outside the PC you will of course need an external waveform generator. You either have to build one, in which case you then get to define the communications protocol before you start, or you can use a commercial waveform generator. Agilent is one name that comes to mind.

I describe an arbitrary waveform generator based in Excel that communicates over RS232 (direct from Excel) with a Stanford Research Systems DS345 in my book

Excel by Example : A Microsoft Excel Cookbook for Electronics Engineers
published by Elsevier/Newnes
ISBN-10: 0750677562
ISBN-13: 978-0750677561

-Aubrey Kagan
 

    tanzil_dhk

    points: 2
    Helpful Answer Positive Rating

tanzil_dhk

Advanced Member level 4
Joined
Aug 9, 2006
Messages
109
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Activity points
1,924
hi antedeluvian,
thanx for ur info...but the sound card generates comparitively a low frequency....i need a better range specialkly in a MHZ range
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top