M캐피탈대부

본문 바로가기

자유게시판

금융 그 이상의 가치창출 M캐피탈대부

M캐피탈대부

자유게시판

I made an E-ink Display that Shows my Calendar - Stavros' Stuff

페이지 정보

작성자 Linda 댓글 0건 조회 0회 작성일 25-10-04 16:37

본문

There’s an old saying I just made up, it goes "a man has a problem. Give him a solution, now he has two problems", and that’s how I felt when I came across the LilyGo T5, a beautiful e-ink display with an ESP32 microprocessor Buy Derila Online and Orthopedic Sleep Pillow an 18650 battery holder. I needed to find something to make with it. I realized that one thing that’s missing from my life right now is more time pressure. I have a job, which got me most of the way there, but I’m bad at remembering the time of each of the twenty meetings I have every day. I really needed something that would allow me to see my daily calendar at a glance, and Experience Derila Support I realized that a 4.7" e-ink screen was the perfect thing for that use case, so I quickly started working on making this a reality. The Timeframe is a beautiful, battery-powered, high-resolution e-ink device that sits on my desk and reminds me of the inexorable grind that saps my creativity and drains me of the will to live.

45px-Comedy.png

It comes in a sleek, minimal white exterior, reminds you that you’re selling a third of what precious little time you have on this Earth to the highest bidder, and lasts for months on a single charge. I could even make something like this. I’m just saying this to build up some suspense, because it’s obvious from the photos that I did build it in the end, and it is glorious. Let’s see whether I managed to actually make this, which I did, and how! When the screen arrived, my first step was to figure out how to draw things on the screen. That meant I had to do some research. There is a custom MicroPython version that looks official. Unfortunately, when I tried it, this would fail to draw anything around 80% of the time. I never managed to find out why, so this didn’t work. There’s an e-ink library called epdiy, and it includes a very helpful and full-featured example for the LilyGo T5 that uses PlatformIO.



Unfortunately, when I tried it, it had some vertical ghosting lines on the screen, which made the image look bad. The official demo that came with the display worked fine, so I knew it wasn’t a problem with the display. It’s a shame that this doesn’t work on my display, because this library is great. I opened an issue with the developer, who confirmed that there’s no issue with his T5, so maybe it’s something with my display? I never found out. The official repository contains a working example that uses PlatformIO. It uses a customized version of epdiy that is, unfortunately, fairly old, and doesn’t support all the nice things that epdiy does nowadays, but it works! It’s landscape-only, and in one orientation, whereas the latest epdiy has four, but I decided to try drawing some things and seeing what happens. Armed with a library that could, at least, change the color of some of the pixels in some ways, I then had to figure out how to actually show a calendar, or some sort of agenda there.



One option was to fetch some details from Google Calendar in some way, either fetching an ICS file directly and parsing it on-device, or writing a small proxy that would run on my server and would pre-process the file in some way. Afterwards, I would have to come up with some sort of UI (with my dismal design skills), and draw it on the device, either by drawing lines and text manually, or by using some sort of pre-drawn images and showing those for parts of the elements. I wasn’t confident I’d be able to write, and design I wasn’t confident I’d be able to do. Also, it would require some things I wasn’t sure the library could do, e.g. showing things in landscape. The second option was to make the device download and display an image. This was very flexible, as I’d be able to show anything I wanted (e.g. photos, widgets, anything), and sounded much easier to program, but it would require an external program to somehow generate the images.



It didn’t even require the display to be able to rotate orientations, because I could just send it an already-rotated image! This wasn’t a big problem, and it meant I could do other things with the device outside working hours, such as show photos of rolling hills and calming meadows, to distract me from the fact that I would eventually die never having lived. This was very appealing, so that’s what I decided to go with. CoPilot that had as much chance to generate working code as to write insulting comments, and a desire to retire early, I began writing the code. The example included a way to draw something called a framebuffer onto something called a screen, which seemed like it did what I wanted. A framebuffer is basically a big array of pixels, which you set to the colors you want to set on the screen. You then tell the screen to display this framebuffer, and voila!


대부업등록번호 : 2020-인천계양-0008 등록기관 (인천광역시 계양구청) 상호 : ㈜엠캐피탈대부 대표자 : 김완규 주소 : 인천광역시 계양구장제로 708, 한샘프라자 403호 (작전동) TEL : 032-541-8882 Copyright ⓒ 2020 (주)엠캐피탈대부 All rights reserved.

취급수수료 등 기타 부대비용 및 조기상환조건 없음. 단, 부동산 담보대출의 경우 부대비용 및 중도상환 시 중도상환수수료 발생. (대부이자, 연체이자, 중도상환수수료의 합계금액은 연 20%이내에서 수취) ※ 부대비용: 등록면허세, 지방교육세, 등기신청수수료, 국민주택채권매입금액 및 근저당권해지비용 중개수수료를 요구하거나 받는 것은 불법. 과도한 빚은 당신에게 큰 불행을 안겨줄 수 있습니다.

하단 이미지