Can I generate AC voltage in usb port ??

3 views (last 30 days)
microft
microft on 15 Dec 2014
Answered: Murat Belge on 22 Dec 2014
Here is my problem. I am trying to generate a sinusoidal voltage waveform of 5 V p-p from my usb port using matlab. I know usb port normally supplies 5 v dc to a device but can i change it to a ac wave using matlab ?? If there is a way, let me know plz. I want this ac voltage to be input to a sound speaker to produce sound. Thanks

Answers (2)

Image Analyst
Image Analyst on 16 Dec 2014
Edited: Image Analyst on 16 Dec 2014
You can use an Arduino, Raspberry Pi, Beagle Board, Measurement Computing digital I/O device, or something similar. Maybe start by searching for "tag:arduino"

Murat Belge
Murat Belge on 22 Dec 2014
No. You cannot use a USB port to generate an AC voltage.

Categories

Find more on Periodic Waveform Generation in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!