Posts

Showing posts with the label ESP32-DevKitC V4

Display on 1.28" 240x240 Round IPS LCD (with GC9A01 SPI driver) with ESP32 (arduino-esp32) using GFX Library for Arduino (Arduino_GFX)

Image
Display on 1.28" 240x240 Round IPS LCD (with GC9A01 SPI driver) with ESP32-DevKitC V4 (arduino-esp32) using GFX Library for Arduino (Arduino_GFX) Install GFX Library for Arduino (Arduino_GFX) in Arduino IDE's Library Manager. Arduino_GFX is a Arduino graphics library supporting various displays with various data bus interfaces. Open File > Examples > GFXLibrary for Arduino > HelloWorld Comment the original Arduino_GFX setting, and replace with my custom setting for GC9A01, matching with my connection.  Modified HelloWorld.ino is listed here for reference. /******************************************************************************* * Start of Arduino_GFX setting * * Arduino_GFX try to find the settings depends on selected board in Arduino IDE * Or you can define the display dev kit not in the board list * Defalult pin list for non display dev kit: * Arduino Nano, Micro and more: CS: 9, DC: 8, RST: 7, BL: 6, SCK: 13, M...

Min. exercises to display on 2.13" 250x122 3-color E-paper with ESP32-S3, using GxEPD2 and Adafruit_EPD

Image
In my former posts, show how to install library and run example to display on 2.13" 250x122 3-color Epaper with ESP32-S3, using GxEPD2 and Adafruit_EPD . Here is my minimum exercise using GxEPD2 and Adafruit_EPD libraries respectively. ESP32_GxEPD2_SSD1680.ino , using ZinggJM/GxEPD2 library. /* *Minimum exercise using ZinggJM/GxEPD2 *Run on ESP32 Dev Module *display on 2.13" 250x122 3-color E-paper (SSD1680) * * ref: GxEPD2_MinimumExample.ino * https://github.com/ZinggJM/GxEPD2/blob/master/examples/GxEPD2_MinimumExample/GxEPD2_MinimumExample.ino * */ #include <GxEPD2_3C.h> // including both doesn't use more code or ram #include <Fonts/FreeMonoBold9pt7b.h> #define EPD_CS 5 #define EPD_DC 0 #define SRAM_CS -1 #define EPD_RESET 2 #define EPD_BUSY 15 GxEPD2_3C<GxEPD2_213_Z98c, GxEPD2_213_Z98c::HEIGHT> display( GxEPD2_213_Z98c(EPD_CS, EPD_DC, EPD_RESET, EPD_BUSY)); void setup() { display.init(); display.setRotatio...

ESP32/2.13" 250x122 3-color Epaper Module using Adafruit_EPD (arduino-esp32)

Image
Last post show steps to display on 2.13" 250x122 3-color E-paper (SSD1680) with ESP32-DevKitC V4 using ZinggJM/GxEPD2 Library (in arduino-esp32 framework) . This video show using another library  Adafruit_EPD . It can be installed using Arduino IDE Library Manager. Connection Same as in previous post: e-paper ESP32 GPIO ------------------ 1 BUSY GP15 2 RES GP2 3 D/C GP0 4 CS GP5 5 SCL GP18 6 SDA GP23 7 GND GND 8 VCC 3V3 Library Search and install Arduino_EPD in Arduino IDE Library Manager. Example Open Open Example Adafruit EPD > EPDTest Edit to uncomment the line: //Uncomment the following line if you are using 2.13" EPD with SSD1680 Adafruit_SSD1680 display(250, 122, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY); and comment all others. Run it. Next: ~  Min. exercises to display on 2.13" 250x122 3-color E-paper with ESP32-S3, using GxEPD2 vs Adafruit_EPD

ESP32/2.13" 250x122 3-color Epaper Module using ZinggJM/GxEPD2

Image
Display on 2.13" 250x122 3-color E-paper (SSD1680) with ESP32-DevKitC V4 using ZinggJM/GxEPD2 Library (in arduino-esp32 framework). Visit WeAct Studio 2.13/2.9 Inch Epaper Module EPD in GitHub (https://github.com/WeActStudio/WeActStudio.EpaperModule) . It provide info and example code for WeAct Epaper Modules. We are going to use EpaperModuleTest_Arduino_ESP32 Example later, it use GxEPD2 library to control e-paper. Visit Github ZinggJM/GxEPD2 (https://github.com/ZinggJM/GxEPD2) . To download library in ZIP: Click on Code > Download ZIP Open Arduino IDE, to install download library: Sketch > Include Library > Add ZIP Library Select the downloaded ZIP file Connection To run the examples below, we follow the connection in WeAct Example: e-paper ESP32 GPIO ------------------ 1 BUSY GP15 2 RES GP2 3 D/C GP0 4 CS GP5 5 SCL GP18 6 SDA GP23 7 GND GND 8 VCC 3V3 Try WeAct Example Then copy  WeAct Example, EpaperModuleTest_Ardu...

ESP32-DevKitC V4 with ESP32-WROVER-E

Image
My dev.board: ESP32-DevKitC V4 with ESP32-WROVER-E ~  ESP32-DevKitC V4 Getting Started Guide pinout: Examples: ~  ESP32/2.13" 250x122 3-color Epaper Module using ZinggJM/GxEPD2 ~  ESP32/2.13" 250x122 3-color Epaper Module using Adafruit_EPD ~  Display on 1.28" 240x240 Round IPS LCD (with GC9A01 SPI driver) with ESP32 (arduino-esp32) using GFX Library for Arduino (Arduino_GFX)