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 ... 14 15 [16] 17 18 ... 20
226
Vacuum Fluorescent Displays / Re: "C-20-503F" vfd NEWHAVEN
« on: May 12, 2015, 07:49:14 AM »
Hello,

Thank you for reaching out! I'm sorry, unfortunately we do not sell that particle VF-Display. However if you link the datasheet I might be able to find a comparable replacement.


227
OLEDs / Re: OLED dark horizontal bands
« on: May 08, 2015, 02:14:30 PM »
Hello Edwin,

Thank you for reaching out, a quick way to verify is to move the location of the 'balls'. If the dark horizontal bands appear in the new location there is an issue with your code.

Please post the updated pictures once the changes have been made, we can then debug further  ;)

228
Character LCDs / Re: NHD-C0220Biz and Arduino/Teensy3.1
« on: May 08, 2015, 08:19:17 AM »
Hello,

There are no discrepancies between the mechanical drawing pin connection (page 3) and pin description / wiring diagram (page 4).

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[]={"    COG  Display    "};
unsigned char text4[]={"  2x20  Characters  "};

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);
}

Please triple check your wiring and follow along with the code listed above.

Thanks!

229
Customer Projects / Re: Custom Call Blocker
« on: May 08, 2015, 07:36:23 AM »
Brilliant, thank you for sharing Mark!

230
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!

231
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.

232
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!

233
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  :)

234
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)

235
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)




236
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




237
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!

238
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!


239
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!

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

Pages: 1 ... 14 15 [16] 17 18 ... 20