Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
987 stars 229 forks source link

volume goes down to zero automatically #281

Closed TCakshay closed 4 years ago

TCakshay commented 4 years ago

i have tried the setup without connecting a display .it works fine ,but volume goes down to zero with no reason

Edzelf commented 4 years ago

If the program turns the volume down, you should see the reason in the logging on the serial port.

TCakshay commented 4 years ago

D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Publish to topic PF9BF713C/volume : 51 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Publish to topic PF9BF713C/volume : 34 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Publish to topic PF9BF713C/volume : 13 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1

TCakshay commented 4 years ago

this is the serial output that i get while its streaming

Edzelf commented 4 years ago

Notice that that the program sees left rotation of the rotary encoder, which is interpreted as "lower the volume". Find out what pins are used for the encoder. It is probably not configurated....

TCakshay commented 4 years ago

yeah, i have got it. thank you