user-img

Ignas Bu

  • 1 Projects
  • 2 Followers
  • Jan 06,2025
+ Follow

Elecrow 5.79" screen library for Micropython

I have prepared Micropython library for Elecrow 5.79" screen for easy display management. Challenge was to make both SSD1683 chips work in sync.

Elecrow 5.79
 
  • thumbnail-img
 

Story

This is a framework for future project- I have prepared Micropython library for controling your CrowPanel 5.79" screen (based on two SSD1683 chips). Library is based on FrameBuffer- allowing you for easy manipulation and wide tools created.

My Love-Hate Relationship with the Elecrow CrowPanel 5.79" e-Paper Display

The Elecrow CrowPanel 5.79“ e-paper display initially seemed like a dream come true. A large, high-resolution display for all my e-ink project ideas? Sign me up! However, my journey with this display was a rollercoaster of emotions, filled with both excitement and frustration.

How it begun

Few weeks ago in Facebook Micropython group I've saw invitation to win E-Paper device based on ESP32 and gave it a go- filled in form. Only name and email was required. We live in spam world already, so I've decided to give it a go. To my surprise, I have received email asking me what model would I like to receive. Decided to try my luck on Elecrow CrowPanel 5.79. To my surpize- I have received parcel in my mail box. Unexpected, but very pleasant. In exchange for item, Annie from Elecrow marketing asked me to share project on it. Searching for any library for this screen- nothing was found on the web. As it was not available- I've decided try and create it myself. Already had some experience on python coding, but writing low level communication for chips using non-full documentation and poorly documented code (but working Arduino samples from Elecrow website helped a lot) was challenging task. Begun working on it and stumbled on fact, that screen is controlled by two SSD1683 chips. Read more on my website

Flash Micropython

To use library on your device:

Download newest Micropython firmware for ESP32-S3 from official website

Choose Bin release from "Firmware (Support for Octal-SPIRAM)"

As a flasher, ESPTool must be used. You can get it from https://github.com/espressif/esptool/releases As I am windows user, I have downloded "esptool-v4.8.1-win64.zip". From archive I have extracted esptool.exe file to directory, where firmware will be kept. No need to install or anything.

Open command prompt and navigate to your directory, where ESPTool is saved together with your downloaded firmware

Before burning new firmware- you need to clear you chip from any previous software. Use following command on your command prompt

esptool.exe --chip esp32s3 --port COM4 erase_flash

* COM port may have different number. Easiest way to discover what COM port is used, open Device manager from start menu and expand section "Ports (COM & LPT)"

Device Manager

After cleaning chip, You need to flash downloaded firmware with following command:

esptool.exe --chip esp32s3 --port COM4 write_flash -z 0 ESP32_GENERIC_S3-SPIRAM_OCT-20241129-v1.24.1.bin

* Make sure file name is correct according to what version you have downloaded

Command prompt window

You should get something similar as screenshot above.

Upload library

I've set up Micosoft VS Code as my micropython development environment. Plugin for to work with board is Pymakr

If you like working with other tools (Thonny, Arduino IDE, etc) its up to you.

Future

Updates for library will be added. In my todo list:

  • SDCard support
  • Buttons
  • CrowPanel 4.2" E-Paper library (I dont have it on hand, can not test). Writting code purely from Arduino samples proven to be wrong approach when I've been working on CrowPanel 5.79"

Most recent version will be available on my website Wecome to come and look around

Code
  • Library and sample code

    http://bukys.eu/components/crowpanel_5_79
    View
  • Code sample with library

    Elecrow_579_1863115504677c42f856c2b.zip
    Download(1)

Elecrow 5.79" screen library for Micropython

I have prepared Micropython library for Elecrow 5.79" screen for easy display management. Challenge was to make both SSD1683 chips work in sync.

435
 
3
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 3 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.