Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul_B

Pages: 1 ... 11 12 [13] 14 15 ... 17
181
Character LCDs / Re: NHD-C0220BiZ-FSW-FBW-3V3M I2C not working.
« on: May 06, 2015, 10:32:35 AM »
Hello Fraryb,

Below is some example code for that display written for the Arduino  ;)

Code: [Select]
#include <Wire.h>

int RES = 22;
int ASDA = 20;
int ASCL = 21;

unsigned char text1[]={"  Newhaven Display  "};
unsigned char text2[]={" Clear Display Test "};
unsigned char text3[]={"   March 27, 2014   "};
unsigned char text4[]={"   Michael LaVine   "};

const char slave2w = 0x3C;  //3E for CiZ (0x7C shifted over 1 bit)  //3C for BiZ (0x78 shifted over 1 bit)
const char comsend = 0x00;
const char datasend = 0x40;
const char line2 = 0xC0;

void show(unsigned char *text)
{
  int n, d;
  d=0x00;
  Wire.beginTransmission(slave2w);
  Wire.write(datasend);
  for(n=0;n<20;n++)
  {
    Wire.write(*text);
    ++text;
  }
  Wire.endTransmission();
}

void nextline(void)
{
  Wire.beginTransmission(slave2w);
  Wire.write(comsend);
  Wire.write(line2);
  Wire.endTransmission();
}

void cleardisplay(void)
{
  Wire.beginTransmission(slave2w);
  Wire.write(comsend);
  Wire.write(0x01);
  Wire.endTransmission();
}

void CiZ_init()
{
  Wire.beginTransmission(slave2w);
  Wire.write(comsend);
  Wire.write(0x39);
  delay(1);
  Wire.write(0x14);
  Wire.write(0x70);
  Wire.write(0x5E);
  Wire.write(0x6D);
  Wire.write(0x0C);
  Wire.write(0x01);
  Wire.write(0x06);
  Wire.endTransmission();
}

void setup()
{
  pinMode(RES, OUTPUT);
  pinMode(ASCL, OUTPUT);
  pinMode(ASDA, OUTPUT);
  digitalWrite(RES, HIGH);
  //delay(10);
  //digitalWrite(ASCL, LOW);
  //digitalWrite(ASDA, LOW);
  //delay(10);
  Wire.begin();
  delay(10);
  CiZ_init();
  delay(5);
}

void loop()
{
  show(text1);
  nextline();
  show(text2);
  delay(1500);
  cleardisplay();
  delay(2);

  show(text3);
  nextline();
  show(text4);
  delay(1500);
  cleardisplay();
  delay(2);
}

Finally double check that your connections are correct, see page 4 in the displays datasheet.

http://www.newhavendisplay.com/specs/NHD-C0220BiZ-FSW-FBW-3V3M.pdf

Please keep us posted on your progress!

182
Character LCDs / Re: NHD-0216SZ-FSW-FWB incorrect connection
« on: May 01, 2015, 09:50:04 AM »
Hello,

If you have an oscilloscope handy that will do the trick  ;)

Since the display was operating normally before you misaligned the connector unfortunately it would appear that your microcontroller is at fault.

183
Character LCDs / Re: NHD-0216SZ-FSW-FWB incorrect connection
« on: May 01, 2015, 08:32:06 AM »
Hello,

It is definitely a possibility, how long did you have the misaligned connector on your PIC microcontroller?

Thanks!

184
Character LCDs / Re: NHD-0216SZ-FSW-FWB incorrect connection
« on: April 30, 2015, 07:54:15 AM »
Hello,

I recommend testing the continuity of your display and connector using a DMM.

Please let me know the results of your test  :)

185
Customer Projects / Re: Parallax Bs2P serial LCD code
« on: April 28, 2015, 12:35:35 PM »
Hello Chris,

Thank you so much for sharing! I'm sure your sample code will come in handy for Parallax users  8)

186
OLEDs / Re: Continuation Bit SSD1305
« on: April 28, 2015, 08:33:27 AM »
Hello,

The CO (Continuation) signal is just telling the display that there is going to be continuous I2C transmission. Rather than sending a start condition before each byte.
 
You can think of CO as a short cut,  e.g. instead of sending a start condition every time you wish to send continuous data you just set CO.  8)




187
Graphic LCDs / Re: Backlight current limiting resistor
« on: April 28, 2015, 08:20:38 AM »
Hello,

NHD-C12864A1Z-FS(RGB)-FBW-HT1 is a COG display, however the glass is attached to a pcb which contains current limiting resistors, please see page 3 in the displays datasheet.

http://www.newhavendisplay.com/specs/NHD-C12864A1Z-FSRGB-FBW-HT1.pdf




188
Graphic LCDs / Re: NHD-C12864A1Z-FS(RGB)-FBW-HT1 heater
« on: April 28, 2015, 08:03:48 AM »
Hello,

Thanks for reaching out. There are multiple ways to control the displays heater.

1. The simplest method is to apply +12V to pin 14 and Gnd to pin 1.

2. Second you can use an external circuit to control the heater (see page 5), using a heater circuit can be energy efficent and can be configured to accommodate a variety of energy requirements.

Hope this helps!

189
Graphic LCDs / Re: NHD-C12864A1Z-FS(RGB)-FBW-HT1 contrast setting
« on: April 28, 2015, 07:57:20 AM »
Hello Rob,

Thanks for reaching out. NHD-C12864A1Z-FS(RGB)-FBW-HT1 contrast can be controlled via software using the Electronic Volume Commands and V5 Voltage Regulator Internal Resistor Ratio Set. Please refer to page 37 - 38 in the displays controller datasheet.

http://www.newhavendisplay.com/app_notes/ST7565.pdf

Hope this helps!


190
Character LCDs / Re: NHD-0108bz-fsy-33v3
« on: April 23, 2015, 04:32:05 PM »
Hello,

I recommend double checking your initialization, please use our example initialization sequence in the display's datasheet, page 8.

http://www.newhavendisplay.com/specs/NHD-0108BZ-FSY-YBW-33V3.pdf

If possible can you please provide your code, thanks!

191
OLEDs / Re: NHD-0420DZW-AB5 Pixel Issues
« on: April 23, 2015, 02:23:34 PM »
No problem, please keep us posted  ;)

192
OLEDs / Re: NHD-0420DZW-AB5 Pixel Issues
« on: April 23, 2015, 08:38:47 AM »
Hello,

Thank you for the additional information. Your display appears to be hooked up correctly which is good! The fading could have been caused due to exposure of moisture.

The steam radiator heating system or having the unit placed closely to leaky doors / windows could slowly cause fading of the pixels. I recommend trying to seal the enclosure a little better just as a precaution.

Hope this helps!

193
OLEDs / Re: NHD-0420DZW-AB5 Pixel Issues
« on: April 22, 2015, 07:46:46 AM »
Hello,

This is not typical behavior, can you please tell me how you are driving the display?

Can you also list what kind of environment this display is in?

Thanks!

194
OLEDs / Re: NHD-0240CW-AR3 runs very hot with 5V supply
« on: April 15, 2015, 10:19:50 AM »
The specs have been updated. Please clear your browsing history and load again to view the updated datasheets.  8)

Thanks!

195
OLEDs / Re: NHD-0240CW-AR3 runs very hot with 5V supply
« on: April 15, 2015, 09:40:16 AM »
Hey Matthias,

NHD‐0216CW‐AB3 and NHD‐0216CW‐AR3 will be updated shortly  :)

Pages: 1 ... 11 12 [13] 14 15 ... 17