Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voice Commands work when powered by USB but not by wall adapter #17

Open
bkeschinger opened this issue Nov 3, 2020 · 2 comments
Open

Comments

@bkeschinger
Copy link

bkeschinger commented Nov 3, 2020

Hello, I'm using the Elechouse VRv3 and have successfully trained it to work with the vr_sample_control_led program. I'm using this with an Elegoo Mega 2560 R3 Arduino board. When the board is plugged into my PC and receiving power from the USB, the program and commands work correctly! If I unplug the USB and power it via a 9V1A wall plug (USA), the program and voice commands no longer work.

Have you seen this before?

I put in a "digitalWrite(led, HIGH);" at the end of the Setup() function to ensure it's running and it is in both the USB and wall outlet situation. I'm unsure how to debug this from here! Thanks for your time!

EDIT: Is there some code in the vr_sample_control_led program that depends on the serial connection?

@nojlg
Copy link

nojlg commented Mar 28, 2021

I experienced the same problem and I think I have a solution. Voice recognition works fine when powered via my computer's USB port or a USB battery bank. When powered via an AC power source it doesn't work well or at all. The problem is caused by AC hum and different power supplies transmit different amounts of noise but they all seem to cause problems. I tried shielding and that didn't help either. Finally, I tried a cheap PC microphone that I had in my junk box and it works perfectly!

@taf2
Copy link

taf2 commented Jan 16, 2022

Could a few filter capacitors help? Maybe the power supply voltage is fluctuating a bit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants