Search found 15 matches

by Hugh-maingauche
Mon Mar 28, 2022 9:13 pm
Forum: Drivers for External Components
Topic: 8-bit parallel TFT driver for micropython ?
Replies: 21
Views: 103260

Re: 8-bit parallel TFT driver for micropython ?

Hello scaron, I see that your device is using an ILI9486 driver, the driver i coded only works with IL9341. In order for you to adapt my library to your device, I suggest you to start with the library writen in c here , just as I did, and see what are the commands specific to this driver. You can al...
by Hugh-maingauche
Mon Mar 28, 2022 8:52 pm
Forum: Programs, Libraries and Tools
Topic: Simple VGA driver using Pico and micropython
Replies: 4
Views: 3857

Re: Simple VGA driver using Pico and micropython

Hello andypiper, there is no VGA board, the pico GPIO pins are connected directly to the VGA cable via 300ohms resistors to drop the 3.3V to 0.7V on the red/blue/green inputs, and 47ohms resistors for impedance adjustment on the Hsync/Vsync inputs. It is connected to the VGA cable via a simple heade...
by Hugh-maingauche
Wed Mar 09, 2022 10:32 pm
Forum: Programs, Libraries and Tools
Topic: Simple VGA driver using Pico and micropython
Replies: 4
Views: 3857

Re: Simple VGA driver using Pico and micropython

Hello pythoncoder, well when i see you guys on this forum i really feel like i am a beginner. This thing took me 2 weeks and a lot of thinking (and also a scope). I turned 50 recently and I am totally amazed by the capabilities of such a small device. I think this pico can do more than the CPC 464 i...
by Hugh-maingauche
Sun Mar 06, 2022 5:34 pm
Forum: Programs, Libraries and Tools
Topic: Simple VGA driver using Pico and micropython
Replies: 4
Views: 3857

Simple VGA driver using Pico and micropython

Hello All, I came out with this simple driver, writen entirely in micropython, (v1.18 pico firmware), allowing to use a VGA screen with a 640x480 resolution and 3 bits per pixel (8 colors). My purpose was just to learn how to use PIO programming and synchronization with DMA, but I might as well shar...
by Hugh-maingauche
Mon Jan 03, 2022 4:31 pm
Forum: Drivers for External Components
Topic: 8-bit parallel TFT driver for micropython ?
Replies: 21
Views: 103260

Re: 8-bit parallel TFT driver for micropython ?

New version using assembly code with the asm_pio decorator. Replaced 3 micropython_viper functions by pio statemachines. A bit of improvement in terms of speed (mostly for the fillscreen and fillrect methods) but nothing spectacular. Use of the assembly code does not allow complex operations for dra...
by Hugh-maingauche
Mon Dec 27, 2021 10:47 pm
Forum: Drivers for External Components
Topic: 8-bit parallel TFT driver for micropython ?
Replies: 21
Views: 103260

Re: 8-bit parallel TFT driver for micropython ?

I posted this library on Github, for ESP32 and RPI microcontrollers.

You'll find also a dedicated help in the Github Readme page.

https://github.com/HughMaingauche/ILI93 ... icropython

I hope it can be usefull for you
by Hugh-maingauche
Sat Oct 16, 2021 9:27 pm
Forum: Drivers for External Components
Topic: 8-bit parallel TFT driver for micropython ?
Replies: 21
Views: 103260

Re: 8-bit parallel TFT driver for micropython ?

Thank you Jackli, but I finally made it with my "parralel only" TFT screen, I even succeded in having the touchscreen to work.

Have a nice day !

Hugh
by Hugh-maingauche
Sun Sep 26, 2021 10:40 pm
Forum: Drivers for External Components
Topic: 8-bit parallel TFT driver for micropython ?
Replies: 21
Views: 103260

Re: 8-bit parallel TFT driver for micropython ?

I'm answering myself here just to let you know that I finished the job. I implemented all the major features including the touch capability and a few fonts. See the calibration procedure in the video here . I lost quite a few hours before I realized that with micropython on ESP32 you only have 2 pin...
by Hugh-maingauche
Sun Sep 12, 2021 12:49 pm
Forum: Drivers for External Components
Topic: 8-bit parallel TFT driver for micropython ?
Replies: 21
Views: 103260

Re: 8-bit parallel TFT driver for micropython ?

Well, viper is really fast ! in the video posted here , you'll see a speed test of graphics drawing and screen filling. corresponding results on the video are: Figures Drawn in 488 ms Faded blue screen in 103 ms Faded green screen in 104 ms Faded red screen in 99 ms and this is still not fully optim...
by Hugh-maingauche
Tue Sep 07, 2021 7:57 pm
Forum: Drivers for External Components
Topic: 8-bit parallel TFT driver for micropython ?
Replies: 21
Views: 103260

Re: 8-bit parallel TFT driver for micropython ?

Hello, I finally succeeded in implementing a "fillscreen" method. The difference when using the mem32 or viper code is just huge: using mem32, the screen is filled in 34s ( :shock: ) using a bit of viper code : 63 ms ( :D ) -> almost instantly for human eye here is my piece of viper code : @micropyt...