Author Topic: NHD-1.5-128128UGC3 + Beaglebone Black  (Read 3130 times)

parsec

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
NHD-1.5-128128UGC3 + Beaglebone Black
« on: September 17, 2015, 10:01:25 AM »
I'm about to wire up my newly acquired NHD-1.5-128128UGC3 to a Beaglebone Black using 3 or 4-wire serial. Wondering if anyone can point me to any C/C++ code that demonstrates basic initialization and communications under Debian, or any Linux distro for that matter? Or any C/C++ code that could easily be ported to compile under gcc?

Googled a lot on this and having a hard time finding good tutorials. I want to learn and know what I am doing, in what order things have to be done to make it work properly, not just copy-pasting stuff. Found some Arduino code on this website but tbh the code structure and commenting leaves a lot to be desired.

Thanks!

Paul_B

  • Administrator
  • Sr. Member
  • *****
  • Posts: 248
  • Karma: 16
    • View Profile
Re: NHD-1.5-128128UGC3 + Beaglebone Black
« Reply #1 on: September 17, 2015, 04:36:59 PM »
Hi Parsec!

I highly recommend you check out this link  ;)

http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2014/01/04/bbb--small-oled-graphic-display


Please note the following write up uses the SEPS525 controller (same as our 1.69" Color OLED: NHD-1.69-160128UGC3). You will need to modify the initialization sequence and other various parameters if you would like to use NHD-1.5-128128UGC3.

Hope this helps!

parsec

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: NHD-1.5-128128UGC3 + Beaglebone Black
« Reply #2 on: September 18, 2015, 06:47:56 AM »
Hi Paul_B,

Thanks, definitely a good starting point! I coincidentally discovered BBB iolib a few hours after posting my question here but wasn't sure if it was usable in this context.

I see in the comments section some guy Paul with a Newhaven display being addressed by the author. Was that perhaps you?  :) Did you have any success in getting it to work in the end?

Quote
You will need to modify the initialization sequence and other various parameters if you would like to use NHD-1.5-128128UGC3

Any idea where I can find more information about this?

Paul_B

  • Administrator
  • Sr. Member
  • *****
  • Posts: 248
  • Karma: 16
    • View Profile
Re: NHD-1.5-128128UGC3 + Beaglebone Black
« Reply #3 on: September 24, 2015, 08:14:33 AM »
Hi Parsec!

A great place to start is by viewing our example Arduino code:

https://github.com/NewhavenDisplay/NHD-1.5-128128UGC3_Example/blob/master/examples/test/test.ino

You will need to modify the initialization sequence in the BBB iolib to match the NHD-1.5-128128UGC3 parameters.

Be sure to have the NHD-1.5-128128UGC3 example code open and scroll down until you see the "Initialization Start", see lines 1055 - 1106 and modify the appropriate files in iolib  ;)

Hope this helps!

 

NHD‐1.5‐128128UGC3 Scanning between functions

Started by josephchrzempiecBoard OLEDs

Replies: 3
Views: 1898
Last post July 27, 2015, 09:58:39 AM
by Saurabh_B
NHD‐1.5‐128128UGC3 some commands not working

Started by lordavonBoard OLEDs

Replies: 4
Views: 2293
Last post January 07, 2016, 10:58:36 PM
by lordavon
NHD-1.5-128128UGC3 Maximum Frame Rate

Started by rbairos@gmail.comBoard OLEDs

Replies: 1
Views: 1481
Last post February 09, 2016, 08:51:29 AM
by rbairos@gmail.com
New 7" BeagleBone Capes

Started by Bridgette_EBoard New Product Releases

Replies: 0
Views: 1141
Last post March 27, 2017, 10:40:28 AM
by Bridgette_E
Beaglebone LCD cape.

Started by vserovBoard Customer Projects

Replies: 6
Views: 7313
Last post Today at 07:42:09 AM
by tolikkk