In X-Plane, open Plugins menu and click on the Plugins > PlaneCommand > Troubleshoot audio... menu item.
When speaking, the volume level should increase to approximately -30 to -5 dbFS. If this level is too low, bring the microphone closer to your mouth. You can increase your microphone gain in the Sound control panel of your operating system.
When not speaking, the sound level should be low- approximately -70 to -50 dbFS. If this level is too high, try reducing background noise like air conditioners or fans.
If the volume level does not increase when you speak, or does not change at all, continue to the next step.
Check that your microphone is working
Open the Sound control panel.
Click the Recording tab.
Make sure that your desired microphone is selected as the default device. It should have a green checkmark on the icon:
Make sure the microphone isn't muted. There may be a physical mute switch on the microphone or on its cable.
Check that the sound level is shown. Next to the name of your microphone, you should see a small graph that indicates the
volume level as you speak.
Check that PlaneCommand is allowed to use the microphone
Open the Privacy control panel.
Click on Microphone under App permissions
Ensure that "Allow apps to access your microphone" is turned on. This will permit apps to use your microphone.
In the section below, ensure that X-Plane is turned on. This will permit X-Plane specifically (and X-Plane plugins) to use your microphone.
Check that your sound quality is good
Sometimes noisy environments or defective microphones can cause PlaneCommand to stop working. Listening to recorded audio can help diagnose this problem.
Open the PlaneCommand audio troubleshooting window. In X-Plane, go to the Plugins menu, select PlaneCommand, and click on Troubleshoot audio...
Hold down the button you have selected to tell PlaneCommand to listen, and then give a command Press and hold the button, and say a command like "turn on the landing lights"; then release the button
Press "Play last recording".
Listen to the recorded audio. Can you hear your voice? Is there a lot of noise, or perhaps a loud hum?
Reducing background noise is one of the best ways to improve PlaneCommand's accuracy.
Use a different microphone
If you have a different microphone available, try that. Different styles and brands of microphones often have very different performance, and may provide a better experience with PlaneCommand.
Noise canceling microphones often work better. Reducing background noise is very important for speech recognition.
Built in microphones are often noisy. Audio recorded close to your computer and it's fans usually includes more noise is picked up, and that the microphone is farther from your mouth.
More expensive microphones are not necessarily better. I have tried around a dozen microphones, and found no real correlation between price and how well the various microphones work with PlaneCommand.
Moving the microphone close to your mouth is important. Being close to your mouth means your voice is louder, and background noise is quieter / farther away.
Noise canceling headset microphones are usually the best choice to use with PlaneCommand, probably for the same reason that they are so common in aviation. Personally, I use the excellent Samson Q2U when at my desk.
Update your sound drivers with Windows Update
Sometimes, sound problems can be caused by bugs in audio drivers.