-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
OLED Display support #2557
Comments
Should be possible with LiquidCrystal I2C but this lib needs space.... |
I have some display support running for over a year but it is very user unfriendly as it only allows displaying of MQTT messages without user intervention. Displays supported are LCD, Oled, TFT and up to 8 matrices. AT home they run fine. I might release a branch without support just for you to see what is possible. |
See https://github.com/arendst/Sonoff-Tasmota/tree/development_display This is with NO support. |
Got it loaded, not sure how to set options? |
Hello @rlust, |
Currently all displays have the possibility to show life MQTT messages. This probably only works when the default prefixes are used. The display driver receives all tele messages and decodes the JSON text and should display information like
|
THANK you! |
Thanks so much Arendst, your work is invaluable! Jason2886, are you able to work with me on this to understand how you got a display? |
@rlust |
I have an OLED .96 like option 1 |
@arendst Nice, reliable and quick solution. I like it too. In my very early years it was part of my job. Would be nice to own a electric wire rapp machine for private use... |
In my early days, fixing backplanes, I used a battery powered wire-wrap tool too but the battery has left this planet so I have to use an old, once bought from Tandy wire-wrap manual tool which does the job perfectly. |
@rlust just added in user_config.h Nothing changed in 06_display.ino
|
@arendst I know this hand wrap tool too. Mine still works pretty well after many years! |
Got it working!!! |
I use a 5V/3A power supply feeding the matrix unit. From there I use USB cables to TFT and LCD. The oled is currently fed by a USB to FTDI converter as the onboard USB connector broke off the board within an hour of use ;-( They all could have been fed by a decent USB power supply. |
Amazing! Thanks for sharing 👍 |
Is there a specific build that needs to be uploaded to the device to get this working? |
Yes, branch development-display |
@arendst, many thanks for your picture with wemos and tft display, can you please send a higher resolution or the pin assignments (wemos - tft) ? Like to test the branch and have some idea with touch screen display from raspi. Thanks a lot! |
Guys... I can not get it running... I setup display mode model etc... I got OLED 128x64 + D1 mini, which device type did you select in config module?? "generic?" .. I put #define USE_DISPLAY.. what else I'm missing/??? I tested this display + D1 on ESPeasy - the depslay is OK.. any hints? |
Got it working.... pull up resistors 4,7k - ESPeasy you dont need to use them - they are internally proramable.. |
I received my TFT today. If someone doesnt know how to connect the TFT Display (SPI). |
hi @arendst was trying this comands not working
|
Habe you used the correct branch Development-Display? |
Can you fork https://github.com/gemu2015/Sonoff-Tasmota and upload your changes ? If its too much to ask, may be then you can just zip the folder and attach the zip here. |
This sounds correct #2557 (comment) but this also works:
|
Thank you very much :-) It Works ! |
It works for my LCD-Display. |
Hi could you fork and not manage, i have been trying to add a nokia display without success i have several ST7735 displays i was going to try next it would save a lot of work. |
@red-kooga @shivasiddharth (cc. @arendst ) I've created a new branch: https://github.com/raidolo/Sonoff-Tasmota/tree/ST7735-irDaikin I've forked and committed my changes for these things:
Please try it and let me know the results! |
Thanks raidolo, I will try soon as I can |
Hi @raidolo Pinout from "1,77" 160(RGB)x128 ST7735 SPI-Display" to Wemos D1 mini |
@bastelfix my 1.8” works pretty good. |
@bastelfix Uh, the green bars are probably my fault, I’ve set them somewhere in the code while testing! Sorry for that, I’ll fix them tomorrow if I have sometime, but it’s not an issue with the display. I didn’t notice them before the upload because I’m using displaymode 0, to set my own text with the displaytext commands. |
@bastelfix I've committed few changes to bring back the default behaviour of tasmota 6.3 with DisplayModes 1-5 You still have to set DisplayCols Rows, and Rotation. 09:56:03 MQT: stat/thermo/RESULT = {"DisplayCols1":27} Hope that helps. Cheers! |
Is It possible to make little icons/picture/drawings for an LCD display? I want to show this icon 🔥 but I only have an LCD display. I also want to show °. |
Hello Raidolo, i have tried your code, but it won't compile. `xdrv_03_energy:169:29: error: invalid use of Boolean expression as operand to 'operator--'
xdrv_03_energy:197:95: error: invalid initialization of reference of type 'byte& {aka unsigned char&}' from expression of type 'bool'
xdrv_03_energy:139:9: error: in passing argument 5 of 'boolean EnergyMargin(byte, uint16_t, uint16_t, byte&, byte&)' boolean EnergyMargin(byte type, uint16_t margin, uint16_t value, byte &flag, byte &save_flag)
xdrv_03_energy:201:95: error: invalid initialization of reference of type 'byte& {aka unsigned char&}' from expression of type 'bool'
xdrv_03_energy:139:9: error: in passing argument 5 of 'boolean EnergyMargin(byte, uint16_t, uint16_t, byte&, byte&)' boolean EnergyMargin(byte type, uint16_t margin, uint16_t value, byte &flag, byte &save_flag)
xdrv_03_energy:205:101: error: invalid initialization of reference of type 'byte& {aka unsigned char&}' from expression of type 'bool'
xdrv_03_energy:139:9: error: in passing argument 5 of 'boolean EnergyMargin(byte, uint16_t, uint16_t, byte&, byte&)' boolean EnergyMargin(byte type, uint16_t margin, uint16_t value, byte &flag, byte &save_flag)
xdrv_03_energy:209:101: error: invalid initialization of reference of type 'byte& {aka unsigned char&}' from expression of type 'bool'
xdrv_03_energy:139:9: error: in passing argument 5 of 'boolean EnergyMargin(byte, uint16_t, uint16_t, byte&, byte&)' boolean EnergyMargin(byte type, uint16_t margin, uint16_t value, byte &flag, byte &save_flag)
xdrv_03_energy:213:101: error: invalid initialization of reference of type 'byte& {aka unsigned char&}' from expression of type 'bool'
xdrv_03_energy:139:9: error: in passing argument 5 of 'boolean EnergyMargin(byte, uint16_t, uint16_t, byte&, byte&)' boolean EnergyMargin(byte type, uint16_t margin, uint16_t value, byte &flag, byte &save_flag)
xdrv_03_energy:217:101: error: invalid initialization of reference of type 'byte& {aka unsigned char&}' from expression of type 'bool'
xdrv_03_energy:139:9: error: in passing argument 5 of 'boolean EnergyMargin(byte, uint16_t, uint16_t, byte&, byte&)' boolean EnergyMargin(byte type, uint16_t margin, uint16_t value, byte &flag, byte &save_flag)
xdrv_03_energy:258:30: error: invalid use of Boolean expression as operand to 'operator--'
exit status 1 How can i compile this code? |
Hi all, newbie here! I have compiled the latest developement with following https://github.com/arendst/Tasmota/wiki/Displays and when trying to run display command i get {"Command":"Unknown"} is there something else I must do? |
@grego1981 - I got the same results, you need to be sure to configure the screen properly first with the correct pin mappings within the Module menu first. |
Check that you have |
Hi all, I'm trying to use SSD1306 OLED display. Any ideas? :) |
Could you try running That helped me, but i was not able to find patterns for that. |
reflashed my device after couple of days off.. now it just works magically ^^ |
I know this thread has some old content in it but is it still required to use the development branch to get OLED i2c displays working? |
No, it works on release 8.10 version for me. |
Got it working. Struggled a couple of hours yesterday, so I tried a noterh Vemos D1 today and it worked direct, so my old D1 is now in the trash. |
can someone help me I want write coding. but confused where to start, its soo urgent |
Checking to see if any display support is planned for the future?
I see great value in using OLED displays for non SONOFF devices, like WEMOS.
The text was updated successfully, but these errors were encountered: