-
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
2,9" EPaper Display not working #4785
Comments
Now I get: But still no Text output with "Displaytext BLABLA" |
DisplayMode 0? |
Why can't I set to Model5? 13:15:43 MQT: stat/sonoffStandard/RESULT = {"DisplayModel":4}` |
MOSI must be connected to DIN Port of EPaper Display? |
But Why can't I set DISPLAYMODEL 5 ? |
You have connected a E-Paper Display on GPIO 12-14? |
yes, i use gemu fork. He has implemented software SPI |
Displaymodel 5 I dont know if the ePaper works with latest orig. Tasmota! |
I tried to compile gemu fork, but i get this error: U:\02_daten\27_Programmierung\04_Arduino_ESP8266\06_Projekte_8266_ESPxx\13_SONOFF_Tasmota\05_sonoff_EPaper\sonoffEPaper\support.ino: In function 'void GetFeatures()': support:943:23: error: 'val' was not declared in this scope if (GPIO_SSPI_CS == val) { return true; }
In file included from D:\Users\Helmut\Desktop\arduino-1.8.8_Tasmota_242_Gemu\portable\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:29:0,
support:943:37: error: return-statement with a value, in function returning 'void' [-fpermissive] if (GPIO_SSPI_CS == val) { return true; }
support:944:25: error: 'val' was not declared in this scope if (GPIO_SSPI_MOSI == val) { return true; }
In file included from D:\Users\Helmut\Desktop\arduino-1.8.8_Tasmota_242_Gemu\portable\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:29:0,
support:944:39: error: return-statement with a value, in function returning 'void' [-fpermissive] if (GPIO_SSPI_MOSI == val) { return true; }
support:945:25: error: 'val' was not declared in this scope if (GPIO_SSPI_SCLK == val) { return true; }
In file included from D:\Users\Helmut\Desktop\arduino-1.8.8_Tasmota_242_Gemu\portable\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:29:0,
support:945:39: error: return-statement with a value, in function returning 'void' [-fpermissive] if (GPIO_SSPI_SCLK == val) { return true; }
support:948:26: error: 'val' was not declared in this scope if (GPIO_COLDISP_BL == val) { return true; }
In file included from D:\Users\Helmut\Desktop\arduino-1.8.8_Tasmota_242_Gemu\portable\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:29:0,
support:948:40: error: return-statement with a value, in function returning 'void' [-fpermissive] if (GPIO_COLDISP_BL == val) { return true; }
U:\02_daten\27_Programmierung\04_Arduino_ESP8266\06_Projekte_8266_ESPxx\13_SONOFF_Tasmota\05_sonoff_EPaper\sonoffEPaper\xplg_ws2812.ino: At global scope: xplg_ws2812:88:18: error: conflicting declaration 'uint8_t kRepeat [5]' uint8_t kRepeat[5] = {
In file included from U:\02_daten\27_Programmierung\04_Arduino_ESP8266\06_Projekte_8266_ESPxx\13_SONOFF_Tasmota\05_sonoff_EPaper\sonoffEPaper\xdrv_05_irremote.ino:74:0: D:\Users\Helmut\Desktop\arduino-1.8.8_Tasmota_242_Gemu\sketchbook\libraries\IRremoteESP8266-2.5.2.03\src/IRrecv.h:26:16: error: 'kRepeat' has a previous declaration as 'const uint64_t kRepeat' const uint64_t kRepeat = UINT64_MAX;
U:\02_daten\27_Programmierung\04_Arduino_ESP8266\06_Projekte_8266_ESPxx\13_SONOFF_Tasmota\05_sonoff_EPaper\sonoffEPaper\xplg_ws2812.ino: In function 'void Ws2812Gradient(uint8_t)': xplg_ws2812:225:48: error: invalid types 'const uint64_t {aka const long long unsigned int}[uint8_t {aka unsigned char}]' for array subscript uint8_t repeat = kRepeat[Settings.light_width]; // number of scheme.count per ledcount
xplg_ws2812:235:37: error: invalid types 'const uint64_t {aka const long long unsigned int}[uint8_t {aka unsigned char}]' for array subscript
Mehrere Bibliotheken wurden für "PubSubClient.h" gefunden Dieser Bericht wäre detaillierter, wenn die Option |
Tried again with original tasmota. I can only select Displaymodel 1-4, but not Displaymodel 5. #endif // USE_I2C // -- SPI sensors --------------------------------- #ifdef USE_SPI |
Ah, I see I forgot to change the define USE_DISPLAY_EPAPER in file xdsp_05_epaper_29.ino at line 22. If you compile yourself you might want to try to change it in
and try again. |
Hi, thanks. In which line should I enter the code? |
As Theo wrote line 22 |
Hi, I changed it, now I can select displaymodel 5. ... But I still can't display a text. Do I make something wrong? |
Congratulations!! Alas my e-paper seems to be broken. It uses a lot of current while only power is connected so I guess it's dead. Just ordered a new one... I'll update the driver file with the correct define so it will work from dev 6.4.1.4 and up. |
When I set up WeMos like @helmar74 my device reboots and deletes all pin configuration. Any idea why?
|
Delete flash with esptool erase flash. After that flash Tasmota again |
Nothing changed. Any other idea? |
You loose configs as your device does many reboots in a short period of time. If you try to get an e-paper display functional this is most likely caused by miscommunication between your device and the display. Depending on the kind of e-paper you have you might need more control over the e-paper interface. My first e-paper display contained a 5V to 3V3 converter for both power and data lines. It only needed the 3-wire SPI interface (you need to re-solder the jumper on the back of the display) to function. My seconds e-paper display does not have this voltage converter and to function it needs to control both DC and RST signal line too. I had to connect them also to as relays configured outputs. After a power on of the device you will have to tweak with these relays to get the display going. My current config looks like this: After power on nothing happens. After a restart the display is updated. Not nice but this leaves you to document a better way. |
Fix epaper driver (arendst#4785)
Same problem here as @mraczka commented. When I set up WeMos D1 mini like @helmar74 my device reboots and deletes all pin configuration. As all SSPI ports in this case are outputs only, it should be possible to save SPI setup with no display connected? I have tried that, same problem. Erasing flash doesn't help either. Used pre-compiled version 6.6.0(Display) with Core 2_5_2
|
Hi, I also have the problem that I cannot use the display. Displaymodel 5, Displaymode 0 Nothing comes of "displaytext blahblah". What am I doing wrong. Greetings Florian |
Hello @hardlog, did you manage to get the e-paper display working? Markus |
You have to use SSPI |
Hello,
no, i did not.
Gesendet: Mittwoch, 24. März 2021 um 21:44 Uhr
Von: "mercator2012" ***@***.***>
An: "arendst/Tasmota" ***@***.***>
Cc: "hardlog" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [arendst/Tasmota] 2,9" EPaper Display not working (#4785)
Hi,
I also have the problem that I cannot use the display.
I have a waeshare 2.9 V2.1 and bridge it in 3-wire SPI mode. On the ESP8266 (wemos D1) I have GND, 3.3V, CS on D8 (GPIO15), DIN (MOSI) on D7 (GPIO13) and CLK on D5 (GPIO14) as described above. Precompiled Tasmota-display.bin (9.3.1).
Configured:
Displaymodel 5, Displaymode 0
Nothing comes of "displaytext blahblah".
What am I doing wrong.
Greetings Florian
Hello @hardlog,
did you manage to get the e-paper display working?
Markus
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I am also having trouble getting a Waveshare 2.9" EPD to operate using just about every combination of ideas suggested here! This is from the console on boot: to me this is suggesting that all is well for hardware SPI. The connections are correct MOSI to DIN looks good and when I select EPAPER29 CS for the chip select line, the firmware automatically eables [displaymodel: 5] as displayed in the console output? Any more ideas? FYI: I have also tried various combinations of SSPI also... Thanks Garry |
lilygo epaper 2.9 T5 V2.2 - nach 2 Jahren noch keine Lösung für einen Betrieb mit Tasmota - oder ? |
There is an update. Don't know if other 2.9 are working with. |
without parameter column A - no function possible |
Hi,
I connected a 2.9" EPAper Display to Wemos Mini:
Here's how I connected:
WEMOS <-> DISPLAY
3,3 <-> VCC
GND <-> GND
D7 <-> DIN
D5 <-> CLK
D2 <-> CS
The Disply is set to 3-wire SPI with jumper-
Here's my Setting in Tasmota Webinterface:
My Problem is, that I can't set Displaymodel to 5:
12:37:46 CMD: displaymodel 5 12:37:46 MQT: stat/sonoffStandard/RESULT = {"DisplayModel":0} 12:37:49 CMD: displaymodel 12:37:49 MQT: stat/sonoffStandard/RESULT = {"DisplayModel":0}
When I enter 5 as Displaymodel, always 0 is shown in Webinterface.
What do I make wrong here?
Do I have to enter a Adress?
Here are my Setting in my_user_config.h:
`// -- SPI sensors ---------------------------------
#define USE_SPI // Hardware SPI using GPIO12(MISO), GPIO13(MOSI) and GPIO14(CLK) in addition to two user selectable GPIOs(CS and DC)
#ifdef USE_SPI
#ifndef USE_DISPLAY
#define USE_DISPLAY // Add SPI Display support for 320x240 and 480x320 TFT
#endif
#define USE_DISPLAY_ILI9341 // [DisplayModel 4] Enable ILI9341 Tft 480x320 display (+19k code)
#define USE_DISPLAY_EPAPER_29 // [DisplayModel 5] Enable e-paper 2.9 inch display (+19k code)
#endif // USE_SPI
`
Thanks a lot.
IMPORTANT NOTICE
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
Make sure these boxes are checked [x] before submitting your issue - Thank you!
status 0
:(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: