The display I am using has Part Number: WFT0213CZ16 LW, I connected it to the E-Ink Feather Friend (ThinkInk) but I have gotten nothing on the display, it does not even clear the "OK" screen that it comes with.
Any suggestions are appreciated!
Flexible Display Not Working
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Flexible Display Not Working
Is the flexible display one of ours? If so what is the product# we use for it?
- nasci003
- Posts: 11
- Joined: Fri Jul 02, 2021 3:49 pm
Re: Flexible Display Not Working
Product number 4243 with SID: 10.2.3
- nasci003
- Posts: 11
- Joined: Fri Jul 02, 2021 3:49 pm
Re: Flexible Display Not Working
We have purchased a second flexible screen from adafruit with 4262, SID 7.10.3
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Flexible Display Not Working
Let's start with the display you have now the 2.13" Flexible monochrome and the eInk Feather Friend.
Which controller are you using? Is the Feather Friend being "stacked" or manually connected?
Which example code are you running?
Which controller are you using? Is the Feather Friend being "stacked" or manually connected?
Which example code are you running?
- nasci003
- Posts: 11
- Joined: Fri Jul 02, 2021 3:49 pm
Re: Flexible Display Not Working
I am using the Elegoo Uno R3 + E-ink Feather Friend + 2.13" E-ink Monochrome Display.
Below is a picture of how connections are being made. Here is the code that I am running. Going off the Product ID: 4243, I found this: https://www.adafruit.com/product/4243
So I assumed I should uncomment either Adafruit_UC8151D or Adafruit_IL0373 since these are 212x104 and not Adafruit_SSD1680 which is 250x122.
Here is a clip of what happens when I upload this code.
https://imgur.com/gallery/gF5WF36
Thanks!
Below is a picture of how connections are being made. Here is the code that I am running. Going off the Product ID: 4243, I found this: https://www.adafruit.com/product/4243
So I assumed I should uncomment either Adafruit_UC8151D or Adafruit_IL0373 since these are 212x104 and not Adafruit_SSD1680 which is 250x122.
Code: Select all
/***************************************************
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
MIT license, all text above must be included in any redistribution
****************************************************/
#include "Adafruit_EPD.h"
#define EPD_CS 10
#define EPD_DC 9
#define SRAM_CS 6
#define EPD_RESET -1 // can set to -1 and share with microcontroller Reset!
#define EPD_BUSY -1 // can set to -1 to not use a pin (will wait a fixed delay)
// Uncomment the following line if you are using 2.13" EPD with UC8151D
//Adafruit_UC8151D display(212, 104, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
//Uncomment the following line if you are using 2.13" EPD with IL0373
Adafruit_IL0373 display(212, 104, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
#define FLEXIBLE_213
#define COLOR1 EPD_BLACK
#define COLOR2 EPD_RED
void setup() {
Serial.begin(115200);
//while (!Serial) { delay(10); }
Serial.println("Adafruit EPD test");
display.begin();
#if defined(FLEXIBLE_213) || defined(FLEXIBLE_290)
// The flexible displays have different buffers and invert settings!
display.setBlackBuffer(1, false);
display.setColorBuffer(1, false);
#endif
/*// large block of text
display.clearBuffer();
testdrawtext("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur adipiscing ante sed nibh tincidunt feugiat. Maecenas enim massa, fringilla sed malesuada et, malesuada sit amet turpis. Sed porttitor neque ut ante pretium vitae malesuada nunc bibendum. Nullam aliquet ultrices massa eu hendrerit. Ut sed nisi lorem. In vestibulum purus a tortor imperdiet posuere. ", COLOR1);
display.display();
delay(5000);
display.clearBuffer();
for (int16_t i=0; i<display.width(); i+=4) {
display.drawLine(0, 0, i, display.height()-1, COLOR1);
}
for (int16_t i=0; i<display.height(); i+=4) {
display.drawLine(display.width()-1, 0, 0, i, COLOR1); // on grayscale this will be mid-gray
}
display.display();*/
}
void loop() {
Serial.println("My msg");
display.clearBuffer();
display.setTextSize(1);
display.setCursor(0, 40);
display.setTextColor(EPD_BLACK);
display.print(" CALIFORNIA STATE UNIVERSITY, SAN MARCOS");
display.setTextSize(2);
display.setCursor((display.width() - 144)/2,55);
display.setTextColor(EPD_BLACK);
display.print("Electrical");
display.setTextSize(2);
display.setCursor((display.width() - 144)/2,73);
display.setTextColor(EPD_BLACK);
display.print("Engineering");
display.display();
delay(2000);
}
void testdrawtext(const char *text, uint16_t color) {
display.setCursor(0, 0);
display.setTextColor(color);
display.setTextWrap(true);
display.print(text);
}
https://imgur.com/gallery/gF5WF36
Thanks!
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Flexible Display Not Working
The controller you are using is 5v based so it will not be compatible with the Feather Friend you are using.
Ideally you would use a Feather based controller such as the Feather M4 Express:
https://www.adafruit.com/product/3857
Another option would be to use the non-FeatherWing form factor breakout that is 5v logic safe.
https://www.adafruit.com/product/4197
Ideally you would use a Feather based controller such as the Feather M4 Express:
https://www.adafruit.com/product/3857
Another option would be to use the non-FeatherWing form factor breakout that is 5v logic safe.
https://www.adafruit.com/product/4197
- nasci003
- Posts: 11
- Joined: Fri Jul 02, 2021 3:49 pm
Re: Flexible Display Not Working
We just ordered the Adafruit Feather M0 Adalogger Prod# 2796, will this work?
Even though the microcontroller I am using is 5V, I am using the 3.3V pin to power the Feather Friend, so shouldn't it work theoretically ? Or am I missing something?
Even though the microcontroller I am using is 5V, I am using the 3.3V pin to power the Feather Friend, so shouldn't it work theoretically ? Or am I missing something?
- nasci003
- Posts: 11
- Joined: Fri Jul 02, 2021 3:49 pm
Re: Flexible Display Not Working
We just ordered the Adafruit Feather M0 Adalogger Prod# 2796, will this work?
Even though the microcontroller I am using is 5V, I am using the 3.3V pin to power the Feather Friend, so shouldn't it work theoretically ? Or am I missing something?
Even though the microcontroller I am using is 5V, I am using the 3.3V pin to power the Feather Friend, so shouldn't it work theoretically ? Or am I missing something?
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Flexible Display Not Working
The Adafruit Feather M0 Adalogger will work.
The controller you are using is outputting 5v on all of it's GPIO pins connected to the Feather Friend so there is a risk that the Friend is already damaged from the over voltage.
The controller you are using is outputting 5v on all of it's GPIO pins connected to the Feather Friend so there is a risk that the Friend is already damaged from the over voltage.
- nasci003
- Posts: 11
- Joined: Fri Jul 02, 2021 3:49 pm
Re: Flexible Display Not Working
Arduino IDE does not seem to recognize the Feather M0 Adalogger, I have the Arduino SAMD library installed and the board i selected was Arduino M0.
The IDE doesnt leave the uploading screen. Below is a picture for reference.
The IDE doesnt leave the uploading screen. Below is a picture for reference.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Flexible Display Not Working
You have the right idea that there is a custom board library required, but you have installed the incorrect one.
https://learn.adafruit.com/add-boards-a ... v164/setup
The above link will walk you through it, but you need the "Adafruit SAMD Boards" not the Arduino one.
https://learn.adafruit.com/add-boards-a ... v164/setup
The above link will walk you through it, but you need the "Adafruit SAMD Boards" not the Arduino one.
Please be positive and constructive with your questions and comments.