Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

2,9' E-paper display library

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Mon Feb 05, 2018 9:56 pm    Post subject: 2,9' E-paper display library Reply with quote

2.9 inch E-paper display 296x128 (IL3820 controller):

[/img]

Library support standard text, BGF & BGL pictures, rotation 180, SPI3 & SPI4 mode. (SPI mode selects with jumper on back of display)
Video - https://youtu.be/1POmR_bclfE

This display with resolution 296x128 not fit in BGF-picture format. So...
For pictures larger than 255x255 I introduce BGL-picture file format. It support resolution up to 65535x65535 pixels. BGF/BGL converter included in attachment (in evident reasons application has limit 8192x8192):

Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5205
Location: Holland

blank.gif
PostPosted: Fri Feb 09, 2018 3:12 pm    Post subject: Reply with quote

Hello Mrshilov

Great to see support for the eInk display.
It seems to work better than my ereader.
As usual, all is inside the zip. And i see there is now also a BGL converter. Very Happy
Thanks for the video and for sharing.

_________________
Mark
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5205
Location: Holland

blank.gif
PostPosted: Fri Feb 09, 2018 3:12 pm    Post subject: Reply with quote

Hello Mrshilov

Great to see support for the eInk display.
It seems to work better than my ereader.
As usual, all is inside the zip. And i see there is now also a BGL converter. Very Happy
Thanks for the video and for sharing.

_________________
Mark
Back to top
View user's profile Visit poster's website
olhexy

Bascom Member



Joined: 03 Apr 2011
Posts: 180
Location: Tilburg, Netherlands

netherlands.gif
PostPosted: Sat Feb 24, 2018 6:19 pm    Post subject: Reply with quote

I just bought the 1,54" 200x200 version of this.
I am hasitating to try it because it is 3.3V, but they also tell on their wiki howto connect it with Arduino Uno.
Uno has a 3.3V supply pin available, but works on 5V.

But the Waveshare wiki FAQ says:
Question:
1. Why the e-Paper cant work with Arduino?
Answer:

The I/O level of Arduino is 5V, and the e-Paper should be driven with 3V3. If your Arduino cant drive the e-Paper successfully, please try to convert the level to 3.3V

You can also try to connect the Vcc pin to the 5V of Arduino to see whether the e-Paper works, but we recommend you not to use 5V for a long time.


I see a contradiction, so what is the right answer?
I want to use it with a 5V AVR and can provide 3.3V to the display. Is it safe then to connect the data lines to 5V AVR?

NOTE:
I have looked for a plugin-ready level converter board, but didn't find one with the connections on the right place.
Ideally it is small, should have 5 > 3.3V LDO and something like TXB0106 IC and be plug compatible by soldering 8pin female and male headers on it.
I hope somebody will offer it soon Wink

EDIT(1):
I passed this question to Waveshare. They replied:
Hello,

Sorry for the mistake on the wiki page. We will modify it. In fact, the Arduino UNO on wiki page we said is our UNO plus and we mistake it. I'm sorry. As our UNO PlUS could switch to 3.3V/5V. If you use the e-Paper on 5V board, you need to add a level convertor, and I'm sorry that we have no plugin-ready board.


EDIT(2):
It is not so clear to me what Waveshare (they do not say it is IL3820 controller, on 2.13" drawing says IL3895) wants me to do with the BUSY an RST pins, but I see how Mrshilov's IL3820 library uses them.
I found additional info about this and VCOM, Waveform, OTP at https://seeeddoc.github.io/2.04inch_E-ink_Display_Shield/ It is a 172x72 e-ink. It uses SSD1606 controller.
Datasheet: https://seeeddoc.github.io/2.04inch_E-ink_Display_Shield/res/SSD1606_Datasheet.pdf
Back to top
View user's profile
hobby

Bascom Member



Joined: 12 Apr 2004
Posts: 109
Location: Brussels

belgium.gif
PostPosted: Wed Dec 26, 2018 11:06 pm    Post subject: Reply with quote

Hi,

Tested with Mega 2560 @ 16Mhz, works perfectly.

Very Good Job.
Many Thanks
Olivier
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum