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

more lcd / tft / oled support #104

Open
mikekgr opened this issue Apr 17, 2018 · 15 comments
Open

more lcd / tft / oled support #104

mikekgr opened this issue Apr 17, 2018 · 15 comments

Comments

@mikekgr
Copy link

mikekgr commented Apr 17, 2018

Dear Sir,
first of all, I would like to express my admiration for your big and fine ESP32 Radio project! Thanks a lot.
The only "problem" that I have, is the TFT LCD that you have selected and I can not find in Ebay.
Please consider to support OLED based solutions as SSD1306 128X64 ( that many ESP32 has on board ).

Thanks and Best Regards,
Mike Kranidis

@locki-cz
Copy link

Edzelf use TFT ILI9163C it is visible in sketch, also is possible use ST7735 it looks same but it have different chip,

on aliexpress it is cheaper :)

how to use ST7735:
#51

@mikekgr
Copy link
Author

mikekgr commented Apr 18, 2018

@locki-cz Thanks for your answer, yes I saw it. My suggestion is to cover also -if possible- the OLED and esspecialy SSD1306 controller. That will be very nice. Please consider that now days, many ESP32 has bulid-in OLED screen like this one ESP32 + OLED that cost a few dollars ( ~13 )and have everything you want!

Best Regards,
Mike Kranidis

@Edzelf
Copy link
Owner

Edzelf commented Apr 18, 2018

You can order the display here.
If you want to use an OLED, you have to make some changes in the software as the screen is much smaller than the one I used.
Note that the radio will work even without the display.

@mikekgr
Copy link
Author

mikekgr commented Apr 18, 2018

@Edzelf Dear developer, thanks for your answer. I already ordered one from the link you gave us above although it not say that it is using the ILI9163C controller, I hope to work without code changes.
Sorry to say, I am not coder so I can not modify your code in order to support OLED and for this reason I asked here.
Thanks for all.

Best Regards,
Mike Kranidis

@locki-cz
Copy link

@Edzelf how to edit display info? Can you please put there some hints? I am able show on display info on x,y position with some size about temperature etc ... in my simple project but your code is different level :) Yes there is D I S P L A Y I N F O section but it looks to complex :(

It is possible somehow show standby and different screen when it play some radio? I think something like this:
radio-menu
Maybe also wifi signal level?

@Edzelf
Copy link
Owner

Edzelf commented Apr 18, 2018

Changing info on display is actually very simple. The screen is divided in three sections, see "scrseg_struct". The sections are numbered 0..2. There is an extra fourth section that overlays the third section while handling rotary switch settings.
To send a string to a section, use:
tftset ( uint16_t inx, const char *str ) ;
For example:
tftset ( 1, "Hello there" ) ;
You may also look at lines containing "tftset" and make your changes there.

@Edzelf
Copy link
Owner

Edzelf commented Apr 25, 2018

OLED (128x64) is now supported.

@mikekgr
Copy link
Author

mikekgr commented Apr 25, 2018

@Edzelf Thank you very much Sir.
I will try it one of these days. I think I have to get the latest from your git.

Thanks

@bmillier
Copy link

@Edzelf . Great project and the code is excellent and well- commented. I only had an ILI9341 LCD on hand (2.8 inch 320x 240). While I couldn't initially get it to work using Adafruit ILI9341 library when I subbed it into your code, I was able to hook this LCD up to the HSPI SPI port, ( you use VSPI port for everything), instantiate an SPI2 port, and then instantiate the adafruit9341 library as tft2 using that second SPI port.Then everything worked fine.
Thanks for your effort.

@ovi4
Copy link

ovi4 commented Jul 1, 2018

Fantastic. Thank you very much for the (128x64) OLED support sir. I really appreciate your effort. I wish I could code like you :)

@airasz
Copy link

airasz commented Jul 4, 2018

I used this project as my own radio but At this time i just have 2 available display as choice 1602 and oled 128x32. With 1602 the info just appear on second line contain just station name. Or Can you please add ability to create options on oled library display with 128x32 screen. I will appreciate that. Thank a lot.

@Edzelf
Copy link
Owner

Edzelf commented Jul 4, 2018

Why not buy an 128x64 oled for 2 dollars?

@ovi4
Copy link

ovi4 commented Jul 4, 2018

I already have two those screens sir. I will definitely give them a try that's for sure.
They have been forgotten in one of my drawers and now that you've said it I instantly remembered thank you sir. :)

@greppp
Copy link

greppp commented Mar 1, 2020

Hi @Edzelf, I was wondering if this display is compatible?

https://www.aliexpress.com/item/32798439084.html?spm=a2g0s.12269583.0.0.5bf644f8Y2os2g

(OLED 128x32)

It's about size, to hack a tiny portable radio, i can't use a bigger one.

Thanks for this wonderful project, it is really appreciated to be able to play custom streams on a standalone device!

@Edzelf
Copy link
Owner

Edzelf commented Mar 3, 2020

It need some changes in the software, but I think it will work.
Note the the display space is very limited on this device.

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

7 participants