Recent Posts

Pages: 1 ... 8 9 [10]
91
OLEDs / Arduino demo code for running the NHD-0420DZW-AB5 OLED display via SPI
« Last post by llamero on February 14, 2018, 07:09:28 PM »
I worked out a few functions that allow the NHD-0420DZW-AB5 OLED display to be controlled via SPI on an Arduino.  The catch is that the 2-bit RsRW header means that communication requires bitbanging rather than using the SPI library, since the SPI library can only send 8-bit blocks.

The demo code will initialize the display, load up a splash screen, and then show animated arrows.  The CS pin is pin 9, and all the other pins are the standard SPI pins.  One note, bitbanging is much slower than the built in SPI bus (2MHz vs 20MHz), so you can use SPI.end() and SPI.begin() to toggle the SPI bus off and on (the SPI bus has to be off to allow the bitbanging function to work, and on to allow the SPI library to work).

The code can be found at: https://github.com/Llamero/OLED_Display_Demo/blob/master/Minimal_display_code/Minimal_display_code.ino

If anyone has improvements, please feel free to create a fork.

Cheers,
  Ben Smith
92
OLEDs / Re: NHD-0420CW-A*3 VDD Voltage level
« Last post by JBDynamics on February 14, 2018, 04:35:24 PM »
Thanks, that is a huge relief. I assumed it would and created a schematic based on the fact it would, and I routed and designed the PCB and ordered them to be made. Then I was going back over the documentation to build a prototype to write the code for it, and realized a half of a voltage is a pretty big difference so I thought it would be prudent to double check this will work.
93
Evaluation Tools / Re: NHD-7.0CTP-CAPE - BBB does not start up properly
« Last post by Paul_B on February 14, 2018, 03:27:08 PM »
Afternoon Hendrik,

I've completed testing on the NHD-7.0CTP-CAPE utilizing the new BeagleBone Black Wireless and managed to replicate the issue you are experiencing. The issue seems to stem from the OSD3358 power management chip exclusively on the new BeagleBone Black Wireless model.

If you are having this issue, please see the work-around below:

Disclaimer:Modified product will void warranty.

  • Cut pins 7 & 8 on connector P1_B
  • Solder a 0 Ohm resistor (or solder bridge) between pins 5 & 7

This enables the backlight circuit to run off VDD_5V (main power supply from the DC input jack) instead of SYS_5V (main rail for the regulators on the main board).
94
Evaluation Tools / Re: NHD-FT81x-SHIELD
« Last post by Paul_B on February 14, 2018, 09:20:01 AM »
Please see the topic below:

https://www.newhavendisplay.com/NHD_forum/index.php?topic=7826.msg15514#msg15514

Quote
Since you are utilizing the Arduino Due you can safety interface directly to the EVE2 TFT Modules without a logic level converter.

Please note that the NHD-FT81x-SHIELD features a logic level converter for the classic Arduinos (UNO/MEGA/Diecimila). If you utilize the shield this will be redundant since the Due's logic is already 3.3V.

The EVE2 example code on our Github page was originally written for the classic Arduinos (UNO/MEGA/Diecimila... etc). I believe the example Sketches use direct pin manipulation to make things faster. However the Due is a completely different architecture to the Uno, so direct pin manipulation is done differently. Modification to the example code maybe required in order for it to compile.

95
TFTs / Re: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP
« Last post by Paul_B on February 14, 2018, 09:14:18 AM »
Since you are utilizing the Arduino Due you can safety interface directly to the EVE2 TFT Modules without a logic level converter.

Please note that the NHD-FT81x-SHIELD features a logic level converter for the classic Arduinos (UNO/MEGA/Diecimila). If you utilize the shield this will be redundant since the Due's logic is already 3.3V.

The EVE2 example code on our Github page was originally written for the classic Arduinos (UNO/MEGA/Diecimila... etc). I believe the example Sketches use direct pin manipulation to make things faster. However the Due is a completely different architecture to the Uno, so direct pin manipulation is done differently. Modification to the example code maybe required in order for it to compile.
96
OLEDs / Re: NHD-0420CW-A*3 VDD Voltage level
« Last post by Ted_M on February 14, 2018, 09:03:49 AM »
3.3V is ok to use for VDD on this display.
97
TFTs / Does NHD-FT81x-SHIELD support Arduino due ?
« Last post by mrupprath on February 13, 2018, 01:21:17 PM »
Does the  NHD-FT81x-SHIELD support the Arduino due, and do i have to make changes on the example code when using the icsp header for SPI ?

Thanks
98
Evaluation Tools / NHD-FT81x-SHIELD support for Arduino DUE
« Last post by mrupprath on February 13, 2018, 01:18:41 PM »
Hello,
does NHD-FT81x-SHIELD support Arduino due,
do i have to make any changes to the examples library for the 7 inch displays from your github repository, when using the ICSP header for SPI ?

Thanks inadvance

Marc
99
OLEDs / Re: Question about 256x64 sample code
« Last post by semed on February 13, 2018, 10:50:59 AM »
hi Doug

did you ever find the missing pieces of the code for SSD1322 for  PIC microcontroller
I am having the same issues with Shift and Ascii_1 not defined I am interfacing with a PIC32
if you did please share
thanks
semedxy@gmail.com
100
OLEDs / NHD-0420CW-A*3 VDD Voltage level
« Last post by JBDynamics on February 13, 2018, 10:23:28 AM »
I am integrating this character OLED into a custom automotive gauge board. I need to know if VDD has to be exactly 2.8V or if the 3.3V I/O and power supply from an MCU/MPU like a Teensy 3.5 will work as well? If not would it be better to translate to 5V? I already have 3.3V->5V translation in the schematic to begin with so that would be easiest to implement. If it makes a difference, I am using the SPI interface.
Pages: 1 ... 8 9 [10]