Can I generate AC voltage in usb port ??

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

답변 (2개)

Image Analyst
Image Analyst 2014년 12월 16일
편집: Image Analyst 2014년 12월 16일

0 개 추천

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 2014년 12월 22일

0 개 추천

No. You cannot use a USB port to generate an AC voltage.

카테고리

도움말 센터File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

태그

질문:

2014년 12월 15일

답변:

2014년 12월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by