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

EPaper 2.9 does not work #3

Open
5 of 6 tasks
chkbln opened this issue Jan 6, 2019 · 3 comments
Open
5 of 6 tasks

EPaper 2.9 does not work #3

chkbln opened this issue Jan 6, 2019 · 3 comments

Comments

@chkbln
Copy link

chkbln commented Jan 6, 2019

Make sure these boxes are checked [x] before submitting your issue - Thank you!

Hello gemu2015

I have started several times now to get an EPaper 2.9 up and running.
It does not work and I do not know why that is.
It works for you. Could you possibly provide me your branch that works for you with all the files I need to compile to provide.
In which files must be made changes. Only in the USER_CONFIG.H? The CS, MOSI and CLK terminals can be freely assigned on the ESP8266 e.g. D5, D6 and D7?
many Greetings

@gemu2015
Copy link
Owner

gemu2015 commented Jan 6, 2019

Hello chkbln

use the branch =>displays

in user_config.h
define the following =>
#define USE_DISPLAY
#define USE_DISPLAY_EPAPER29
#define USE_EPD_FONTS
#define USE_SOFTSPI
#define USE_SPI
#define SHOW_SPLASH
#undef USE_DISPLAY_MODES1TO5

now ist should compile.

in the web gui of tasmota define the pins for soft spi

SSPI_MOSI, SSPI_CS, SSPI_SCLK

assure that your epaper 29 board is jumpered to 3 wire spi

in the tasmota console =>

DisplayModel 5

should give no error

now the screen should come up with a splash message

@chkbln
Copy link
Author

chkbln commented Jan 7, 2019

Hi,
I got it now.
Your settings for the User_config.h I have adopted.

Everything else commented out.
// #define USE_DISPLAY // Add I2C Display Support (+ 2k code)
// #define USE_DISPLAY_MODES1TO5 // Enable display mode 1 to 5 in addition to mode 0
// #define USE_DISPLAY_LCD // [DisplayModel 1] Enable Lcd display (I2C addresses 0x27 and 0x3F) (+ 6k code)
// #define USE_DISPLAY_SSD1306 // [DisplayModel 2] Enable SSD1306 Oled 128x64 display (I2C addresses 0x3C and 0x3D) (+ 16k code)
// #define USE_DISPLAY_MATRIX // [DisplayModel 3] Enable 8x8 matrix display (I2C adresseses see below) (+ 11k code)
// #define MTX_ADDRESS1 0x71 // [DisplayAddress1] I2C address of first 8x8 matrix module
// #define MTX_ADDRESS2 0x74 // [DisplayAddress2] I2C address of second 8x8 matrix module
// #define MTX_ADDRESS3 0x75 // [DisplayAddress3] I2C address of third 8x8 matrix module
// #define MTX_ADDRESS4 0x72 // [DisplayAddress4] I2C address of the fourth 8x8 matrix module
// #define MTX_ADDRESS5 0x73 // [DisplayAddress5] I2C address of fifth 8x8 matrix module
// #define MTX_ADDRESS6 0x76 // [DisplayAddress6] I2C address of sixth 8x8 matrix module
// #define MTX_ADDRESS7 0x00 // [DisplayAddress7] I2C address of seventh 8x8 matrix module
// #define MTX_ADDRESS8 0x00 // [DisplayAddress8] I2C address of eigth 8x8 matrix module

#endif // USE_I2C

// - SPI sensors ---------------------------------
// # define USE_SPI // SPI using library TasmotaTFT

// # 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 // [DisplayModel 5] Enable e-paper display (+ 19k code)
// # endif // USE_SPI

In the directory of the esp-epaper-29-ws-20171230-gemu-1.0 library, I have copied the library.properties file from the Arendst Branch. This will also clear the error message of the Arduino IDE that an invalid library was found.

Does the Arendst Branch also work or is your work not yet fully implemented?

Best regards and thank you

@gemu2015
Copy link
Owner

gemu2015 commented Jan 7, 2019 via email

gemu2015 pushed a commit that referenced this issue Apr 17, 2019
Renamed SM16716 select and added our enhancement to feature list
gemu2015 pushed a commit that referenced this issue Apr 17, 2019
gemu2015 pushed a commit that referenced this issue Oct 10, 2019
gemu2015 pushed a commit that referenced this issue Dec 26, 2020
gemu2015 pushed a commit that referenced this issue Feb 2, 2021
gemu2015 pushed a commit that referenced this issue Jan 30, 2022
commit 5563b50
Author: Max <[email protected]>
Date:   Wed Jan 26 12:03:21 2022 +0300

    Update xsns_95_cm1107.ino

commit fbcfccb
Merge: a7a792f 62458e3
Author: Max <[email protected]>
Date:   Wed Jan 26 09:44:09 2022 +0300

    Merge pull request #3 from arendst/development

    Add command ``SspmEnergyTotal<relay>``

commit a7a792f
Merge: a419912 d7664c0
Author: Max <[email protected]>
Date:   Tue Jan 25 18:48:12 2022 +0300

    Merge remote-tracking branch 'upstream/development' into CM11_sensor

commit a419912
Author: Max <[email protected]>
Date:   Tue Jan 25 18:38:35 2022 +0300

    CM11

commit ff0c88b
Author: Max <[email protected]>
Date:   Tue Jan 25 18:37:23 2022 +0300

    Create xsns_95_cm1107.ino
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

2 participants