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 ... 13 14 [15] 16 17 ... 20
211
OLEDs / Re: OLED dark horizontal bands
« on: May 14, 2015, 08:15:23 AM »
Hello Edwin,

Since these OLEDs are passive matrix displays unfortunately there will always be slight banding. You can reduce the effect by adjusting the registers like you previously stated.

212
TFTs / Re: NHD-5.0-800480TF-ATXL#-CTP backlight Driver
« on: May 13, 2015, 05:05:39 PM »
Hello,

There are no discrepancies within the NHD-5.0-800480TF-ATXL datasheet.

The backlight supply current values are: Min - 45, Typ. - 60 and Max. 75 mA

There must be an issue with your wiring or backlight circuit. Please note you have to limit your current. The reason your display is getting hot is because the supply current is 250mA.  :o





213
Character LCDs / Re: NHD-C0220Biz and Arduino/Teensy3.1
« on: May 13, 2015, 07:52:28 AM »
Hello,

I'm sorry to hear about the issue you encountered. We have a set quality control process that is followed for every part so I'm not sure how this one got through, but we will make a note to double-check this type of issue during our QC inspections. I apologize for the inconvenience.

Please contact:

quality@newhavendisplay.com

Thanks!

214
TFTs / Re: NHD-2.4-240320SF-CTXI#-FT1
« on: May 12, 2015, 02:15:46 PM »
Hello,

Pin 14 (DB0) is the LSB (least significant bit) of the data byte.

Pin 29 (DB15) is the MSB (most significant bit) of the data byte.

Hope this helps!

215
Vacuum Fluorescent Displays / Re: "C-20-503F" vfd NEWHAVEN
« on: May 12, 2015, 12:24:53 PM »
Hello,

Thank you for the datasheet! This was a custom design which is why I did not recognize the part number.

Please note this is a non-stocked part, there will also be a MOQ (Minimum Order Quantity) when placing an order.

If you would like more information please contact me below:

pbartek@newhavendisplay.com

Thanks!

216
OLEDs / Re: NHD-0420CW With PIC32MX Controller
« on: May 12, 2015, 09:37:32 AM »
Excellent, thank you for the clean wiring diagram  ;)

The good news is that your wiring is correct, the issue must be within your code.

Your initialization appears to be correct, I suspect the problem is how your SPI is configured.

SPI Example:

Code: [Select]
case 2:   
              temp = 0xF8;
              for(i=0;i<8;i++)
              {
                digitalWrite(SCLK, LOW);
                if((temp&0x80)>>7==1)
                {
                  digitalWrite(SDIN, HIGH);
                }
                else
                {
                  digitalWrite(SDIN, LOW);
                }
                temp = temp << 1;
                digitalWrite(SCLK, HIGH);
              }
 
              for(i=0;i<4;i++)
              {
                digitalWrite(SCLK, LOW);
                if((c&0x01)==1)
                {
                  digitalWrite(SDIN, HIGH);
                }
                else
                {
                  digitalWrite(SDIN, LOW);
                }
                c = c >> 1;
                digitalWrite(SCLK, HIGH);
              }
              for(i=0;i<4;i++)
              {
                digitalWrite(SCLK, LOW);
                digitalWrite(SDIN, LOW);
                digitalWrite(SCLK, HIGH);
              }
              for(i=0;i<4;i++)
              {
                digitalWrite(SCLK, LOW);
                if((c&0x01)==1)
                {
                  digitalWrite(SDIN, HIGH);
                }
                else
                {
                  digitalWrite(SDIN, LOW);
                }
                c = c >> 1;
                digitalWrite(SCLK, HIGH);
              }
              for(i=0;i<4;i++)
              {
                digitalWrite(SCLK, LOW);
                digitalWrite(SDIN, LOW);
                digitalWrite(SCLK, HIGH);
              }
              break;
  }

If you have an oscilloscope on hand I highly recommend checking your data lines and posting some screen shots.

217
TFTs / Re: Enabling Built In Self Test - BIST
« on: May 12, 2015, 09:08:29 AM »
Hello,

I'm sorry, the BIST (Built In Self Test) pin is not accessible through the FPC cable.

218
OLEDs / Re: NHD-0420CW With PIC32MX Controller
« on: May 12, 2015, 08:05:22 AM »
Hello Docmur,

Thank you for reaching out, can you please post your full pin-out.

Based on the configuration you listed below it would appear that you have forgotten to Gnd BS0-BS2 (MPU interface pin selection).

Next, your LCD init function does not appear to be complete. I recommend taking a look the the following example Arduino code for that particular display.

https://github.com/NewhavenDisplay/NHD_US2066

Hope this helps!



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


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

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

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

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

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

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

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