Raspberry Pi driver for 1.8 and 2.4 TFT models
So after the FPGA drivers I went for something easier, and connected the TFTs to the Raspberry Pi's GPIOs.
Repo for the NHD-1.8-128160EF TFTs:
https://github.com/joaBaur/RaspberryPi-NHD-1.8-TFT
Repo for the NHD-2.4-240320CF TFTs:
https://github.com/joaBaur/RaspberryPi-NHD-2.4-TFT
Both drivers are native C, they map the main display's internal framebuffer (/dev/fb0) to memory, read the pixels' RGB values and bit bang them to TFT via the GPIOs.
The frame rates are ok, about 20 fps on the 2.4" and 34 fps on the 1.8" display.
-
Thanks for posting the drivers for the Rasberry Pi! They will be very useful for many users.
We look forward to seeing more of your postings in the future.
Best Regards,0 -
Just came across this post. Ive been messing around with theNH 2.4" sunlight readable TFT and the raspberry pi. Unfortunately I managed to short it out, so need to order another one
I'm more of a software guy. What im looking for is a small 2.4-3.5" TFT that I can drive at up to 60fps. It needs to be sunlight readable though i.e. ~1000CDM, hence looking at the Newhaven 2.4" displays.
Not 100% tied into Raspberry Pi, as long as I can develop c/c++ code on a SBC and interface it, I'd be happy.
Any thoughts before I order another TFT?0
Please sign in to leave a comment.
Comments
2 comments