EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Projects, Designs, and Technical Stuff
»
usb signal to sinewave
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: usb signal to sinewave (Read 2542 times)
0 Members and 1 Guest are viewing this topic.
Alexandros81
Contributor
Posts: 49
Country:
usb signal to sinewave
«
on:
November 06, 2013, 04:34:35 pm »
Hi I want to manipulate the usb voltage levels via a program written in ? language so to produce a sine wave with 5-15kHz frequency. How can it be done? I have no clue.
I would like to have a window on my laptop that manipulates the frequency and the voltage level of the sine wave.
Logged
dannyf
Super Contributor
Posts: 8221
Country:
Re: usb signal to sinewave
«
Reply #1 on:
November 06, 2013, 04:52:43 pm »
Quote
I have no clue.
I would start right there.
Logged
================================
https://dannyelectronics.wordpress.com/
Balaur
Supporter
Posts: 525
Country:
Re: usb signal to sinewave
«
Reply #2 on:
November 06, 2013, 05:02:52 pm »
Use the existing soundcard or any cheap USB one + any software that allows you to produce sounds (Audacity, SoundArb, ...)
Logged
casinada
Frequent Contributor
Posts: 600
Country:
Re: usb signal to sinewave
«
Reply #3 on:
November 06, 2013, 05:06:38 pm »
Please set your profile to show your country. Also post your age and what do you want to accomplish.
Use any sound producing program and use the audio output
a simple search found :
http://www.nch.com.au/tonegen/
or
http://www.electronics-lab.com/downloads/pc/005/
Logged
Jon86
Frequent Contributor
Posts: 526
Country:
Re: usb signal to sinewave
«
Reply #4 on:
November 06, 2013, 05:34:43 pm »
It'll be difficult to filter out a squarewave to a sine wave over difference frequencies, easy at one but not so easy over a range. As suggested, use a USB sound card or just the speaker output.
Logged
Death, taxes and diode losses.
FrankBuss
Supporter
Posts: 2379
Country:
Re: usb signal to sinewave
«
Reply #5 on:
November 06, 2013, 05:48:46 pm »
Obviously Alexandros81 has no idea how USB works and that the outputs are digital, only, but nevertheless could be interesting to abuse an USB host controller to create a high frequency PWM signal, which then could be filtered to create a sine wave in the required range
Logged
So Long, and Thanks for All the Fish
Electronics, hiking, retro-computing, electronic music etc.:
https://www.youtube.com/c/FrankBussProgrammer
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Projects, Designs, and Technical Stuff
»
usb signal to sinewave
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee