Comments (8)
Hello, I have here the Kaleido display https://www.eink.com/product/detail/SC1452-FOA, let me know how I can help to test this Color filter.
from epdiy.
Further color bugs:
Sometimes, not every render I think, a pixel shifts from R to G (or to B donβt really know) making this effect in the display:
FOUND what it is:
It seems for some weird reason the pattern suddenly changes after some rows, so it's half one pattern, half the other. To understand this in code:
uint8_t epd_get_panel_color(int x, int y, uint8_t r, uint8_t g, uint8_t b) {
// Crazy: Add 1 more to see the line (CFA filter has displaced colors)
uint16_t y_color_offset = 684;
/**
* @brief First 996 Y rows have: RBG pattern but the other rows have one pixel shifted to the right so the next
* 684 Y rows have: BGR pattern (So I have to make this weird conditionals to get the right color)
*/
uint8_t c = (x + (epd_height() - y)) % 3;
switch (c)
{
case 0:
if ((epd_height() - y) < y_color_offset) {
return gamme_curve[b];
} else {
return gamme_curve[r];
}
break;
case 1:
if ((epd_height() - y) < y_color_offset) {
return gamme_curve[g];
} else {
return gamme_curve[b];
}
break;
default:
if ((epd_height() - y) < y_color_offset) {
return gamme_curve[r];
} else {
return gamme_curve[g];
}
}
}
@vroland I checked this with the microscope and it does not seem that the color filter is displaced. Can be this pixel shifting something that occurs with big buffers ?
from epdiy.
Hm, maybe this is because on the frame restart hack on the LCD peripheral for displays higher than 1024 pixels? It seems weid, because in that case it should be shifted by a block of 4 pixels (1 cycle), but maybe this is correlated. What's the resolution on this display again? Right now it's set to do this after 1000 lines. Does the color line shift if you change the LINE_BATCH value in output_lcd/lcd_driver.c?
from epdiy.
Thanks for the hint. Yes this looks exactly because of this.
Resolution is: 2232x1680 (WxH)
Setting the LINE_BATCH to 840 that is exactly half of this epd_height() then this effect of color-shifting appears on the middle of the display. Trying to set it higher than 1000 it just crashes.
It seems weird, because in that case it should be shifted by a block of 4 pixels (1 cycle), but maybe this is correlated. What's the resolution on this display again?
Sure I don't really know how many pixels are, just see that is one color shifted to the right, will do more tests and let you know.
I guess it does not have anything to do with color, right? It should be possible to see a pixel shifting in any other display after certain amount of rows (Example: the 13.3" I will try that also)
We should try also on the 13.3 (The PCB I sent you has this connector) and draw some vertical lines, check if they look all plain vertical all over the display with some magnifier lens.
from epdiy.
Hello @mataide
If you have some information / datasheet please send it to me with a private email to martin [AT] cale.es and get a working epdiy v7 board. Then we can try something together. So far I had only this Wuxi Weifeng (DES) color displays that are sold by Good-Display.
from epdiy.
@martinberlin Done. Let me know if you got my email. I am very interested in making it work, and I do have contact with the EINK Engineers, so hope that I can help you with this.
from epdiy.
Is the kaleido display different from the one you have @martinberlin?
@mataide Where did you get it from?
from epdiy.
I'm quite sure the colors arrangement is not the same. But we need to try it so first thing I will do is to sell one of my v7 boards to him so he can try it out. And tonight will take a deeper look to the datasheet and check if the Pinout is the same as v7 current 16 bit, 40 pin connector.
from epdiy.
Related Issues (20)
- epdiy v7 - no border connection? HOT 8
- Cutting Legacy Features for Maintainability - Do you use any of them? HOT 6
- Out-of-date documents HOT 2
- Support for ED060KG1 screen HOT 4
- MODE_PACKING_2PPB renders "stripes" HOT 8
- Prepare v7 lcd_driver.c to be ready for IDF 5.3 HOT 5
- is lower psram usage possible? HOT 3
- Why epd_hl_update_area always redraw fullscreen in s3_lcd branch? HOT 9
- Epdiyv7 with ED060SC7
- Slack link is dead HOT 1
- Areas of the screen not in the rendering area will become lighter in color. HOT 30
- epd_renderer_init failing on v7 board HOT 6
- ED060SCL support HOT 1
- please change license to MIT HOT 3
- v7 board stack in battery charging mode HOT 1
- Errors on esp32s3 compile HOT 3
- The `ED060XC3` waveform on s3 cann't render 060XCD, 060XCH clearly with MODE_DU mode.
- It there a way to adjust vcom by code or by hand on s3 board? HOT 2
- Will epd_push_pixels_lcd in s3 support partial area?
- kicad schematics HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epdiy.