schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
319 stars 78 forks source link

Change log 3.1 #424

Closed FranZatGIT closed 2 months ago

FranZatGIT commented 3 months ago

Hi Wolle, what are the differences of 3.1 compared to 3.0. Is there something like a changelog?

Thank you

schreibfaul1 commented 3 months ago

The equaliser functions can now be set from the display. If you are using a BT transmitter, you can now also control it from the display. You can now set a separate alarm time for each day of the week. Internally, many elements are programmed in an object-oriented way, which increases reliability. Arduino is run as a component again, allowing for advanced settings. This increases the WiFi throughput, so that stations with up to 320KBit/s work smoothly again. Sometimes WiFi problems occur, such as unavailable DNS, which is now neutralised. The credentials are sent to the router up to 3 times, which is useful as some routers will deny access if the connection is briefly interrupted.

valera39 commented 3 months ago

And the mode of switching off when long pressing the * button has been fixed?

schreibfaul1 commented 3 months ago

and I have added an "OFF" button, the red one, to switch to sleep mode (sound off and display dark) image

valera39 commented 3 months ago

Thanks, can I use the remote to put it in sleep mode?

FranZatGIT commented 3 months ago

Hi Wolle, many thanks - all of that new things are really great. I uploaded the new version. A few things I noticed but I need to verify:

Just to mention it - I added some code lines for my implementation (Speaker relais, RGB LED, Power Control of Amplifier/Radio, Batterie Voltage check,...) BUT for the above mentioned points that lines /Lib has been commented out

Has anyone else noticed any of these points?

Thanks Franz

schreibfaul1 commented 3 months ago

Hi Valera, that will work, the button you have assigned to "Mute" can switch sleep mode on and off. image

schreibfaul1 commented 3 months ago

Hello Franz,

FranZatGIT commented 3 months ago

Hi Wolle,

well I again copied the whole content of the ZIP to the SD card and the icon is there: image However still no Icon on the display: 20240525_114941

But please don't focus on that - that Button is'n really important to me ( I have the radio anyway running on battery and switch off the Power.

What is really a pain is that I 'm not able to add new stations. No matter if I press load or save.

I have some kind of feature request - I would like to display the Battery Voltage or the percentage of Battery in the headline (somewhere between the Fuction Name e.g. "Internet" and "Vol"). The Volatage is already read and calculated in the code - just need to add another object in the headline. I will try to do it myself but your code is quite complex here - would you give me a help if needed?

FranZatGIT commented 3 months ago

Hi again, regarding the Icon - you said you recently added the icon - does that just mean the JPG or also in the code? The last time I pulled the code was a couple of days ago...

Thanks Franz

schreibfaul1 commented 3 months ago

All graphics are duplicated. Scaling an image with the ESP32 simply takes too long. Therefore, there is always a (s)mall and (m)edium folder. If an image is not found, it can be seen in the log.

I have just added a station and created hardcopies. CommunityWebBrowser This is better than an explanation in text form.

How big is your battery? The project is an energy guzzler. Of course I can display the operating voltage.

FranZatGIT commented 3 months ago

Hi Wolle, Yes I saw the 2 folders for different screen resolutions when I tested different displays at the beginning. The off button icons were there in both folders. So I pulled a complete fresh clone of the code files ( not SD) from github an reapplied my changes. The icon is there and also adding a new station is possible again. No Idea what exactly happened but I assume i used a main.ccp version before you added the new button... So all good so far :) maybe adding a build number counter to the " Version 3.1 May 21/2024 " in the file comment would be great to recognize that some changes were done.

regarding the battery (see picture) - I use a 6s 18650 Battery for my project total of 66Wh. The ESP including Amp at moderate volume consumes about 2.5-4W - so 15-20h play time - enough for me ;) The device is not 100% ready but you can see also on the picture (with Alu Heat sink) the charging board 140W PD3.1 - all USB C devices can be used to charge - from old Handy charger to a powerful Notebook power supply . And its bidirectional you can also use it as supply for the Handy or a notebook. The Amp contains it's own BT receiver - The Radio can also be used a BT Box - in this case the ESP goes in sleep mode.

But back to the voltage - I would like to show the Battery Voltage / percentage in the headline. In my code amendment I already implemented a power down function when the battery voltage is to low. Meaning I already have the voltage in the code and calculation the percentage is also no rocket science - just adding a new object to the headline is a bit a challenge to me. (i'm just a DIY C++ "modifier" and don't have much knowledge/experience) I only partially understand your code. Any help much appreciated :)

WhatsApp Bild 2024-05-26 um 23 24 15_7e078893

FranZatGIT commented 3 months ago

Hi Wolle,

i was able to find the relevant code lines :) The Battery percentage is now there. WhatsApp Bild 2024-05-27 um 20 46 17_f8fc7c07

schreibfaul1 commented 3 months ago

Very good!

schreibfaul1 commented 3 months ago

and very clean construction, may I use your photos for the gallery of user devices?

FranZatGIT commented 3 months ago

Hi Wolle, sure - here are some more recent pics with LWL from charger board. However the box itself is not finished yet - but you can imagine how i will look like... WhatsApp Bild 2024-05-27 um 23 38 18_e3360e5e ![WhatsApp Bild 2024-05-27 um 23 38 18_fbd8ece2](https://github.com/schreibfaul1/ESP32 WhatsApp Bild 2024-05-27 um 23 38 18_0af1a90f -MiniWebRadio/assets/162827986/ed84d3ea-7769-48bc-bfab-bb0aabcacd96) WhatsApp Bild 2024-05-27 um 23 38 17_9bf9c85c WhatsApp Bild 2024-05-27 um 23 38 17_214e078f WhatsApp Bild 2024-05-27 um 23 38 16_d78887c5

schreibfaul1 commented 3 months ago

thank you, I have taken the photos https://github.com/schreibfaul1/ESP32-MiniWebRadio/wiki/User-devices

FranZatGIT commented 3 months ago

Thank you - I will send you updated pics when building of box is progressing

I studied the way you change the RSSI Symbol and did the same for the battery :) image image image image

image

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.