Go Down

Topic: Good Dispay ePaper for Arduino (Read 47588 times) previous topic - next topic

ZinggJM

The connection scheme for DESTM-S2 to any Arduino should be clear from the heading description of the source files. Standard SPI connections used, plus busy line and BS to GND. Caution: 3.3V supply, use series resistor for signal lines on 5V Arduino.

However, only Arduino Due has enough RAM for use with buffer for Adafruit_GFX.
Else only drawBitmap() can be used; modify source to remove buffer.

If you state what you would like to do in more detail, I could answer with more detail.

Jean-Marc

P.S. I do not answer personal mail usually.
No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

i0207

#16
Jun 26, 2017, 04:57 pm Last Edit: Jun 26, 2017, 05:05 pm by i0207
One more question. Good display has adapter for 24-pin 0.5 mm (step) e-ink display. All of them with low resolution quality. HD e-ink display by Good Display has 32pin connector. I think that 24 pin connector is not realy good for it. I wrote to the manufacturer maybe they has small(compact) solutions... Maybe anyone know how to connect 32 pin display to arduino or Wemos D1 mini.

ZinggJM

#17
Jun 26, 2017, 08:17 pm Last Edit: Jun 26, 2017, 08:50 pm by ZinggJM
The difference is SPI versus parallel connection. And screen resolution, which means more RAM needed for HD display to buffer e.g. bitmaps rendered by Adafruit_GFX.

I have added HD e-paper support to my GxEPD library, available on GitHub. For more information see there.

https://github.com/ZinggJM/GxEPD

Jean-Marc

P.S. and of course ESP8266 has not enough pins for parallel connection. Arduino Due has not enough RAM, and to produce the special voltages of +15, -15, +22, -22 with the correct power On timing is not easy.

See also e.g.:

http://www.good-display.com/download_detail/downloadsId=232.html
No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

ZinggJM

#18
Jul 02, 2017, 01:22 pm Last Edit: Jul 02, 2017, 01:23 pm by ZinggJM
Added display classes for Good Display 1.54 and 2.13 e-paper displays GDEP015OC1 and GDE0213B1.
And an example with SHT31 temperature and humidity sensor.

The GxGDEP015OC1 and GxGDE0213B1 classes can also be used for the Waveshare SPI e-paper display modules 1.54 and 2.13, which are easier to connect to Arduinos (with enough RAM, ~5kB).

https://waveshare-developmentkit.aliexpress.com/store/group/e-Paper-E-ink/216233_259057242.html

No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

ZinggJM

#19
Jul 05, 2017, 09:22 am Last Edit: Jul 05, 2017, 09:24 am by ZinggJM
The connection scheme for DESTM-S2 to any Arduino should be clear from the heading description of the source files. Standard SPI connections used, plus busy line and BS to GND. Caution: 3.3V supply, use series resistor for signal lines on 5V Arduino.
Code: [Select]
  DESTM32-S2 pinout (top, component side view):
       |-------------------------------------------------
       |  VCC  |o o| VCC 5V
       |  GND  |o o| GND
       |  3.3  |o o| 3.3V
       |  nc   |o o| nc
       |  nc   |o o| nc
       |  nc   |o o| nc
       |  MOSI |o o| CLK
       |  DC   |o o| D/C
       |  RST  |o o| BUSY
       |  nc   |o o| BS
       |-------------------------------------------------


No, the heading description is not clear enough. I should provide a drawing, but this is not my strength.

Note that the 5V connection is not needed. More information can be found here:

http://www.buy-lcd.com/index.php?route=product/product&product_id=56475&search=DESTM32-S2

I add a relevant part of it here for the jumper position:



This pinboard DESTM32-S2 is used for 1.54 inch, 2.04 inch, 2.13 inch , 2.7 inch, 2.9 inch, 4.2 inch, 7.5 inch E-paper display.
Position1.While shorting RESE and 3.0Ω resistor, this model is suitable for the following E-Paper displays:
1.1.54 inch E-Paper Display: GDEP015OC1, and GDEW0154Z04
2.2.04 inch E-Paper Display: GDE021A1
3.2.13 inch E-Paper Display: GDEW0213B1
4.2.9 inch E-Paper Display: GDEH029A1
5.7.5 inch E-Paper Display: GDEW075T8 and GDEW075Z09
Position 2.While shorting 0.47Ω resistor and RESE, this mode is suitable for the following E-Paper displays:
1.1.54 inch E-Paper Display: GDEW0154T8
2.2.13 inch E-Paper Display: GDEW0213Z16
3.2.7 inch E-Paper Display: GDEW027W3 and GDEW027C44
4.2.9 inch E-Paper Display: GDEW029T5 and GDEW029Z10
5.4.2 inch E-Paper Display: GDEW042T2 and GDEW042Z15

Jean-Marc
No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

ZinggJM

#20
Jul 13, 2017, 12:20 pm Last Edit: Jul 14, 2017, 12:05 pm by ZinggJM Reason: update
I just discovered the promotion for 4.3inch 800x600 HD e-paper display GDE043A2

http://www.buy-lcd.com/index.php?route=product/product&path=2897_8369&product_id=12515

edit: the promotion can be misleading: the price is per piece, not per lot.

and from first impression and experience, the 6inch e-paper is better!

The demo code shows some degradation of the white parts just seconds after update,
and my first attempt with my adapted display class is worse, maybe caused by timing issues.

end of edit.

This display is easy to use with the demo board DESTM32-L

http://www.buy-lcd.com/index.php?route=product/category&path=10598&page=2

which has the special connector for this display, the special voltages the display needs for update,
and a big 1MB FSMC SRAM on board. So the price of this board is justified, but still rather high (small production quantities).

I will add my ideas for a hobby solution with a black STM32F407ZE board.

https://www.aliexpress.com/item/Free-shipping-STM32F407ZET6-development-board-M4-STM32F4-core-board-arm-development-board-cortex-M4/32689262341.html

This board has smd solder pads for FSMC SRAM on the back side. With smd soldering experience it should be possible to add the SRAM. Or the manufacturer could be motivated to produce a variant with the SRAM added.

Then we would need a connection board with the ATX526124 connector and the voltage generators, e.g. for connection to the FSMC TFT connector.

I found a connection board for the connector so far, not sure if I will be able to solder the connector to it:

https://www.aliexpress.com/item/24-Pin-0-4mm-Pin-Space-Double-Row-Adapter-Board-FPC-Universal-PCB-Plate-Converter-24pin/32779467002.html

The 6inch e-paper display has a 0.5mm pitch connector; slightly easier to solder to a board.

Could be a (small) business opportunity for someone to implement these ideas.

Jean-Marc
No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

ZinggJM

The demo code shows some degradation of the white parts just seconds after update,
and my first attempt with my adapted display class is worse, maybe caused by timing issues.

The reason for this may be a wrong VCOM value setting of my DESTM32-L board for the display.
I noticed, every e-paper for the DESTM32-L has a small paper sticker on or near the connector, with a value printed on it.  Every value is slightly different, e.g. -1.90, -2.00, -2.30. I had measured a VCOM value of -3.8 on my demo board, active during update. There is a small trimm-pot on the board.

So for optimum update result the value printed on the sticker should be set on the demo board with the trim-pot, measured during update on the test point near the 6inch ATX connector.

This information seems to be missing in the specification/instruction pdf for the demo board.

The GDE043A2 display may be more susceptible for non-optimal VCOM values; I will verify this.

Jean-Marc
No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.


ZinggJM

I have experience with this display with an Wemos D1 mini ESP8266 system.
I do not yet have a ESP-WROOM-32 system, but as far as I know it contains a ESP8266, and its SPI should be able to connect to this display.

I would not recommend to try to update every second, as full screen update is ~1s.

For bitmap display and for sequential text output the Waveshare library can be used.

For graphics and text I recommend my GxEPD library that uses Adafruit_GFX.

See also:

http://forum.arduino.cc/index.php?topic=487007.0

Jean-Marc
No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

Lexander24

Hello, thx for your post.
I want to do what you do.
I have WeMos D1 R2 and 2.9" e paper display with adaptor board.

i have a question, i try your GxEPD_SPI_TestExample but the display only show black border and white screen. Can you tell me where i'm wrong?

other things, can you tell me how to connecting board with wemos? the information not clear enough

ZinggJM

Hi

I assume you have the bare 2.9inch e-paper display and the DESTM32-S2 adapter board.
I only have the 1.54inch as bare display, but I have the Waveshare 2.9inch e-paper display.

From my Waveshare SPI topic http://forum.arduino.cc/index.php?topic=487007.msg3337120#msg3337120

IoT example wiring 1.54inch e-Paper to Wemos D1 Mini:

BUSY->D6(MISO), RST->D4, DC->D3, CS->D8(SS), CLK->D5(SCK), DIN->D7(MOSI), GND->GNG, 3.3V->3.3V

SHT_SCL->D1, SHT_SDA->D2, 5V->300k->A0, D0->0.1k->RST(deep sleep wakeup)

BUSY wired to MISO to free D2 for 2-wire SHT31

2.9inch example:

BUSY->D2, RST->D4, DC->D3, CS->D8(SS), CLK->D5(SCK), DIN->D7(MOSI), GND->GND, 3.3V->3.3V

BUSY->D2, RST->D4, DC->D3, CS->D8(SS), CLK->D5(SCK), DIN->D7(MOSI), GND->GND, 3.3V->3.3V

you need to connect BS to GND in addition, and make sure the jumper is set correct for your display.

No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

Lexander24

Yes SIR,
I use https://www.aliexpress.com/item/2-9-inch-eink-display-with-Connector-Board/32812881045.html?spm=a2g0s.9042311.0.0.gvFATX

Thx for your help, now i can show the font to the display.

I have other question,
1. How to convert image to show at display?
    i try using internet converter and the image show very random.
2. Are you ever try upload image via WiFi (ESP8266)?


ZinggJM

Yes SIR,
I use https://www.aliexpress.com/item/2-9-inch-eink-display-with-Connector-Board/32812881045.html?spm=a2g0s.9042311.0.0.gvFATX

Thx for your help, now i can show the font to the display.

I have other question,
1. How to convert image to show at display?
    i try using internet converter and the image show very random.
2. Are you ever try upload image via WiFi (ESP8266)?


Thank you for the feedback. So https://www.aliexpress.com/item/2-9-inch-eink-display-with-Connector-Board/32812881045.html works ok.

1. have you asked for the documentation? Image converter and its usage is explained there.
    see also http://www.good-display.com/download_index.html

2. no, but should be quite easy. May try this and SPIFS later.

No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

Lexander24

1. have you asked for the documentation? Image converter and its usage is explained there.
    see also http://www.good-display.com/download_index.html

For image converter after searching and trying the best software that complatible with your module was Image2Lcd
here is the link for dowload : https://www.dropbox.com/sh/9o65oqp8hk5j20c/AACptq14IQnU5fI5ao_theKPa?dl=0


Quote
2. no, but should be quite easy. May try this and SPIFS later.


can you give me some explanation about update the picture using Wi-Fi? because i didn't found any work example upload code OTA to esp8266

other question :
how to show red colour on the display? i have other 2.9" display that can show red color.

ZinggJM

Image2lcd is the image converter mentioned in the Good Display documentation.
So far I use e-paper displays for text only, so I have no experience with Image2lcd.

As a consequence, I currently transfer text only over WiFi, by requesting a pure text page from my ESP8266 based IoT webserver. The ESP8266 Arduino package comes with WiFi examples, so you should be able to achieve picture download yourself.

As you can see in my GxEPD library, I have one e-paper display with black/white/red so far.
I do not (yet) intend to use a black/white/red 2.9inch e-paper in my IoT network, so I have no display class for it. For every new e-paper display I need to start from a demo example, to know the wave table to use (aka LUT table) in the initialization code. AFAIK Good Display intends to add actual demo code examples to their download page. You can ask for the demo code for your red 2.9 display, and use it to create a display class, taking the GxGDEW027C44 as an example.
No personal message please; any question may be useful for other users. Use code tags for code. Make links clickable with URL tags. Provide links to the product in question.

Go Up