Coder Social home page Coder Social logo

Comments (8)

MingyaoLiu avatar MingyaoLiu commented on August 13, 2024 1

Hey I haven't had any time to implement this, I will be looking into it again probably in July, you can close this and I will do a fork if I work on this again.

Thanks

from cale-idf.

martinberlin avatar martinberlin commented on August 13, 2024

Hi Ming,
The problem with this display is that I’ve never had one in my hand and will probably never get one since I mostly use Goodisplay epapers.
The easier and faster solution is that you make this yourself: just copy one of the existing classes, rename it everywhere the same as you can see in other displays, and implement the new class for yours, following examples from the display producer. But of course for this first you need to spend some time with IDF and get familiar with it.

The lazy take is that you send a display to me and I will do what I can for you, if I manage to get it working I will keep it as a payment for my time and you get your class that will be also open source for the rest. But I can’t guarantee that everything will work as you expect,
Partial update is not easy to get it working and I cannot even guarantee for the ones that I implemented myself.

Feel free to make your decision and let me know.

from cale-idf.

MingyaoLiu avatar MingyaoLiu commented on August 13, 2024

Cool, let me get my hands dirty on this for now, and if I can't handle it we can figure something out. Thanks.

from cale-idf.

MingyaoLiu avatar MingyaoLiu commented on August 13, 2024

@martinberlin I see 2 repos, one called cale-idf, another one is calepd, which one should I try to add the waveshare 3.7 inch epaper ? I don't quite know which one is proper for this.

from cale-idf.

martinberlin avatar martinberlin commented on August 13, 2024

I do it like this:
Develop and add new epapers in cale-idf that has the components directly there (without being linked as git submodules)
After testing and checking that everything works, then I copy the update to CalEPD.

So if you add a new epaper, just fork cale-idf anf work from there, then when it works you can make a Merge request and I will review it.
Please mind the defines to set WIDTH / HEIGHT of your display and try to use the existing nomenclatures DISPLAYMODEL_WIDTH, etc. New models also have a function called setMonoMode(boolean) on false is 4 gray mode.
4 gray uses 2 buffers like having 2 layers in the display. But do not care about 4 gray at the beginning just focus in getting monochrome working.
Check to send right SPI _wakeUp commands, to send the right framebuffer that the EPD expects and finally the right update commands and sleep. That should be mostly it at the beginning. All the rest like 4 grays and partial update can be done after that initial steps are done. Good luck!

from cale-idf.

MingyaoLiu avatar MingyaoLiu commented on August 13, 2024

Got it, I will fork cale-idf and work from there, thanks.

from cale-idf.

martinberlin avatar martinberlin commented on August 13, 2024

Hello @MingyaoLiu please keep me updated about the issues / challenges you face with this. If there is not an update in the end of May I will close the issue since it does not make much sense to keep stuff open when there is no progress.

from cale-idf.

martinberlin avatar martinberlin commented on August 13, 2024

Thanks for the update. Just reopen an issue with display model and I will try to find time to help you out with this

from cale-idf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.