Author Topic: Raspberry Pi driver for 1.8" and 2.4" TFT models  (Read 465 times)

joaBaur

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Raspberry Pi driver for 1.8" and 2.4" TFT models
« on: June 14, 2018, 01:55:15 AM »
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.

Ted_M

  • Administrator
  • Jr. Member
  • *****
  • Posts: 40
  • Karma: 3
    • View Profile
Re: Raspberry Pi driver for 1.8" and 2.4" TFT models
« Reply #1 on: June 14, 2018, 08:28:33 AM »
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,

deanflyer

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Raspberry Pi driver for 1.8" and 2.4" TFT models
« Reply #2 on: July 06, 2018, 08:54:55 AM »
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?

 

Using Linux i2cdetect with NHD‐C0220BiZ‐FSW‐FBW on Raspberry Pi

Started by russkBoard Character LCDs

Replies: 9
Views: 8225
Last post August 21, 2017, 02:11:20 PM
by Saurabh_B
MOVED: Interfacing Newheaven st7789s driver 3.5inch Lcd with iMx6Q SabreAutomotiveBoard

Started by Saurabh_BBoard Graphic LCDs

Replies: 0
Views: 2003
Last post February 13, 2017, 10:58:17 AM
by Saurabh_B
Interfacing Newheaven st7789s driver 3.5inch Lcd with iMx6Q SabreAutomotiveBoard

Started by nandishsgBoard Newhaven Engineering Projects

Replies: 0
Views: 2599
Last post January 13, 2017, 01:36:01 AM
by nandishsg
Interfacing Newheaven st7789s driver 3.5inch Lcd with iMx6Q SabreAutomotiveBoard

Started by nandishsgBoard TFTs

Replies: 0
Views: 1813
Last post January 14, 2017, 04:40:27 AM
by nandishsg
NHD-0420CW-Ax3 Driver (w/demo) written for Parallax P8X32A/Propeller MCU

Started by avsa242Board OLEDs

Replies: 1
Views: 1096
Last post January 09, 2018, 04:48:45 PM
by Paul_B