Page 1 of 1

Slow Volume Control

PostPosted: Fri Feb 20, 2015 3:11 pm
by bomberspec
I have built my first Budgie Preamp and everything is working. Only problem i'm having is that the volume control is very slow when using a remote. I'm not sure if its a programming or wiring issues and would like help.

Re: Slow Volume Control

PostPosted: Sun Feb 22, 2015 2:03 pm
by Shannon Parks
bomberspec wrote:I have built my first Budgie Preamp and everything is working. Only problem i'm having is that the volume control is very slow when using a remote. I'm not sure if its a programming or wiring issues and would like help.



Couple thoughts before we change code:
1) Does it seem to act OK if you do a single Volume Up or Down press? It should turn for about 500ms.
2) If that seems normal, but a continuous press doesn't work right, try another remote. The one you are using may have no repeat code (or one we're not loading into memory properly).

Else if it just is some strange timing error, you can change the volume ON cycle here in the main void loop ():
Code: Select all
  //This turns off a volume UP or DOWN button press after 500ms
  if ((volumeOn == 1) && ((millis() - volumeMillis) > 500)) {
    volumeOn = 0;
    digitalWrite(VOL_EN, LOW); // turns motor off
  } /* if Volume On   */


You can change 500 to 1000. Recompile and load.

Shannon