Vref and microphones - can wrong setting cause damage
- DavidCooper
- Member
- Posts: 1150
- Joined: Wed Oct 27, 2010 4:53 pm
- Location: Scotland
Vref and microphones - can wrong setting cause damage
I'm trying to complete my HDA driver, but there's one area I don't understand (and Google is not providing answers). There are three vref (voltage) settings available for microphones and headphones: 50%, 80% and 100%, so I'm wondering how the right one should be chosen for the microphone/headphone that the user plugs in and whether it's harmful to set the wrong one.
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
Re: Vref and microphones - can wrong setting cause damage
Yes, It is REALLY harmful!
Happy New Code!
Hello World in Brainfuck :[/size]
Hello World in Brainfuck :
Code: Select all
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
- DavidCooper
- Member
- Posts: 1150
- Joined: Wed Oct 27, 2010 4:53 pm
- Location: Scotland
Re: Vref and microphones - can wrong setting cause damage
Well, I can't tell if you're being serious or if you're making fun of my lack of knowledge on this. I may have damaged a microphone, but I can't tell. Instead of being centred on 0, the wave is centred on -32767 and half of it is completely missing, but it may have been like that before. I'd have thought a microphone doesn't have any power put into it though from the machine side, only having a voltage generated in it by sound interacting with it, so it seems unlikely that I caused the damage, but I can't rule it out. I'm guessing that there's more of a risk with earphones where the voltage must be generated from the machine side, but I don't know if it's possible to damage them either. I suspect electromagnets are robust enough to handle double the voltage. So, my guess is that damage is not likely, but a guess is not good enough.
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
Re: Vref and microphones - can wrong setting cause damage
You shouldn't guess.
As you already said, electromagnets are strong enough to resist a voltage peak, but remember the other component may become uncalibrated. Obviously the risk is greater with earphones .
The electromagnets will survive, but the extra voltage will (if not uncalibrate the system) cause "strange noises".
This isn't a trivial topic; neither a well-documented one. Try it with cheap, minimal earphones to test, and it would be better if using a test-box machine.
As you already said, electromagnets are strong enough to resist a voltage peak, but remember the other component may become uncalibrated. Obviously the risk is greater with earphones .
The electromagnets will survive, but the extra voltage will (if not uncalibrate the system) cause "strange noises".
This isn't a trivial topic; neither a well-documented one. Try it with cheap, minimal earphones to test, and it would be better if using a test-box machine.
Happy New Code!
Hello World in Brainfuck :[/size]
Hello World in Brainfuck :
Code: Select all
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
Re: Vref and microphones - can wrong setting cause damage
Note: I've already worked with electronics prototypes (including earphones, microphones) and tell you my experience .
What I know is that earphones DON'T get a always a raw current, but microphones yes. That's because they're like transistors, they must let some current pass, some not.
But when talking about PCs, I'm not sure. Maybe PC earphones have an extra current to control something, don't know...
What I know is that earphones DON'T get a always a raw current, but microphones yes. That's because they're like transistors, they must let some current pass, some not.
But when talking about PCs, I'm not sure. Maybe PC earphones have an extra current to control something, don't know...
Happy New Code!
Hello World in Brainfuck :[/size]
Hello World in Brainfuck :
Code: Select all
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.