Use Matlab to get a dc voltage through microphone jack

1 Ansicht (letzte 30 Tage)
Miguel Lopes
Miguel Lopes am 21 Feb. 2015
Kommentiert: Miguel Lopes am 21 Feb. 2015
Hello,
I have a photoresistor that basically will output between 0 and 1V and I connected it to a microphone jack. Now I wanted to know the value of that voltage.
It doesn't need to be very precise, all I need is to distinguish between shadow and sun. Also, it doesn't need to be continuously, it's only for a short period from time to time.
Using, for instance, the daqscope, i can't see the dc signal, i can only see waves if I move in front of the photoresistor quickly.
Can anyone help me??
Thanks!!

Antworten (1)

Rushikesh Tade
Rushikesh Tade am 21 Feb. 2015
I have not tried it but in description it is written that it can plot amplitude values of Audio.
  1 Kommentar
Miguel Lopes
Miguel Lopes am 21 Feb. 2015
Thanks for the help, but I think what I want is impossible, not due to Matlab limitations, but because the sound card in computers has a high pass filter, which doesn't allow any dc signal to go through. I found it out yesterday, so I hope this helps anyone with the same problem as me.

Melden Sie sich an, um zu kommentieren.

Communitys

Weitere Antworten in  Power Electronics Control

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by