Can I generate AC voltage in usb port ??

3 次查看(过去 30 天)
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
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
No. You cannot use a USB port to generate an AC voltage.

类别

Help CenterFile Exchange 中查找有关 Sensors and Transducers 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by