Recent Posts

Pages: [1] 2 3 ... 10
1
Graphic LCDs / bayern munich vs slovakia
« Last post by RandallKit on Today at 01:56:28 AM »
2
OLEDs / juventus vs russia
« Last post by RandallKit on Today at 01:54:42 AM »
everton vs inter milan http://iparte.com/blogs/14479/14130/real-madrid-troja-halilhodzic-p-fredag-varnade-sina-spelare

wales vs bvb borussia dortmund http://playeatpartyproductions.com/groups/completi-da-calcio-sharyn/

bvb borussia dortmund vs sweden http://weddingplanner-net.com/groups/karen-fotball-drakter-orval/

denmark vs olympique de marseille http://www.snseysin.com/modules.php?name=Your_Account&op=userinfo&username=CortezNepe

bayern munich vs belgium http://www.telcotogether.org/UserProfile/tabid/61/UserID/5216/Default.aspx

spain vs usa http://www.weekly-ads-usa.com/walgreens-weekly-ad/walgreens-weekly-ad-for-next-week-valid-to-128-2017.html

belgium vs slovakia http://mecawear.com/index.php?title=billiga_fotbollstr%C3%B6ja_TedGainzo__LenaHilla__Benjaminc

slovakia vs romania http://www.5tww.com/home.php?mod=space&uid=11091&do=profile&from=space

germany vs valencia http://omarwebsite.com/UserProfile/tabid/61/userId/9609/Default.aspx

chelsea vs liverpool http://www.fukkard.com/10-romantic-lines-from-bollywood-made-our-hearts-flutter/

germany vs denmark http://netzhk.com/forum/home.php?mod=space&uid=704761&do=profile

wales vs romania http://www.wiki.mrmoseley.co.uk/Paris_saint_germain_fodboldtr%C3%B8je_fodboldtr%C3%B8je_KirkDicke

arsenal vs manchester united http://petstomeet.com/groups/fotbollstroja-barn-deidrecla/

bvb borussia dortmund vs poland http://www.pkinc.biz/UserProfile/tabid/157/userId/440666/Default.aspx

los angeles galaxy vs barcelona http://classteachernotes.com/members/margerypurves/profile/

4
Character LCDs / Re: NHD-0240A2 Can't write to location 30 in either row
« Last post by RS3800 on June 28, 2017, 03:17:06 PM »
This code is not complete!  There are parts of it that are not being used.

The LCD section is run from CALLs on page 3

The problem I am Having is on page 6, LCD_Upper & LCD_Lower address DF or row 1 address 9F.  If I use any other addresses it will work.

5
Character LCDs / Re: NHD-0420D3Z-FL-GWB-V3 no I2C code example for Arduino??
« Last post by BenB2000 on June 28, 2017, 03:07:20 PM »
Hi I am using the Newhaven NHD-0216S3Z-FL-GBW-V3 16x2 Character display
using an Arduino Leonardo, with I2C communication

For this display it is important to set the Arduino's I2C communication speed to 100Khz

One way to do this is with the following statement, in void setup():

   TWBR = 100000; //sets I2C spaeed to 100kHz very important

The NHD-0216S3Z-FL-GBW-V3 manual states the default I2C address is 0x50, but it was actually 0x28

This code works for the NHD-0216S3Z-FL-GBW-V3 on the I2C bus:

// ----------------------------------------------------------------
#include <Wire.h> //I2C library
const byte LCDa = 0x28; //LCD address on I2C bus

void setup()  {
   TWBR = 100000; //sets I2C speed to 100kHz very important
   
        LCDclear();
        delay(500);     // for observation only can be removed
         
        LCDline1col1(); // position cursor Line #1, col#1
       
        Wire.beginTransmission(LCDa); // Write to LCD Line #1, col#1             
        Wire.write("Hello World 2017");     
        Wire.endTransmission();
     
         LCDline2col1(); // position cursor Line #2, col#1
               
        Wire.beginTransmission(LCDa); // Write to LCD Line #2, col#1               
        Wire.write("Welcome Home eh?");             
        Wire.endTransmission();

  }

void loop()
  { 
  }

  // Clear the NHD Extended LCD Screen
void LCDclear() {
  Wire.beginTransmission(LCDa);
  Wire.write (0xFE);
  Wire.write(0x51);
  Wire.endTransmission();
  delay(2);
}

  // Set Cursor to Line #1, Col #1 NHD Extended LCD Screen
void LCDline1col1() {
  Wire.beginTransmission(LCDa);
  Wire.write (0xFE);
  Wire.write(0x45);
  Wire.write(0x00);   
  Wire.endTransmission();
  delay(2);
}

  // Set Cursor to Line #2, Col #1 NHD Extended LCD Screen
void LCDline2col1() {
  Wire.beginTransmission(LCDa);
  Wire.write (0xFE);
  Wire.write(0x45);
  Wire.write(0x40);   
  Wire.endTransmission();
  delay(2);
}


Scanner code to read all I2C devices attaced that worked for me is:

/*****************************************************
 * name:I2C_Address
 * function:read the address's of the I2C devices
 * Connection:
 * I2C                 Leonardo
 * GND                 GND
 * VCC                  5V
 * SDA                  2 Leonardo (UNO A4) (pin20 in mega2560)
 * SCL                  3 Leonardo (UNO A5) (pin21 in mega2560)
 ********************************************************/

#include <Wire.h>

void setup()
{

  TWBR = 100000; //sets I2C spaeed to 100kHz very important
 
  Wire.begin();
  Serial.begin(9600);
  Serial.println("\nI2C Scanner");
}
void loop()
{
  byte error, address;
  int nDevices;
  Serial.println("Scanning...");
  nDevices = 0;
  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Write.endTransmisstion to see if
    // a device did acknowledge to the address.
    Wire.beginTransmission(address);
    error = Wire.endTransmission();
    if (error == 0)
    {
      Serial.print("I2C device found at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.print(address,HEX);
      Serial.println(" !");
      nDevices++;
    }
    else if (error==4)
    {
      Serial.print("Unknow error at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.println(address,HEX);
    }
  }
  if (nDevices == 0)
    Serial.println("No I2C devices found\n");
  else
    Serial.println("done\n");
  delay(5000); // wait 5 seconds for next scan
}

Newhaven should publish better Arduino Code examples, and reminding people that the manual states 100Khz max,

I spent several hours on this before I found this on the Arduino Forum

  TWBR = 100000; //sets I2C speed to 100kHz very important

6
Character LCDs / Re: NHD-0240A2 Can't write to location 30 in either row
« Last post by RS3800 on June 28, 2017, 02:59:29 PM »
Here is the photo.  The problem is the character after the #4 in the row 2.  I found this problem while testing.

I am trying to make the characters (b thru h) in row 1 change from upper & lower case if an input is active or not.

7
Character LCDs / Re: NHD-0240A2 Can't write to location 30 in either row
« Last post by Saurabh_B on June 28, 2017, 11:31:56 AM »
Would it be possible to get a picture of your display and the code you are using?

I would like to see if we can recreate the same problem.
8
Graphic LCDs / Re: 1.8V IO on NHD-2.4-240320CF-CTXI-F
« Last post by Saurabh_B on June 28, 2017, 11:30:55 AM »
While the controller for the display (ST7789S) Can work with a 1.8V system, the display will need 3.3V.
Because of this you CAN  use 1.8V on the IOVDD and 1.8V Logic with the data lines (DB0-15, /CS, D/C, /WR, /RD, /RES, IM0)
However you would need to apply 3.3V to the VDD for the LCD circuit. Is it possible for you to supply the +3.3V for the LCD alone?

The logic voltage should be related to the IOVDD, i will make this correction on future spec upgrades.
9
Character LCDs / NHD-0240A2 Can't write to location 30 in either row
« Last post by RS3800 on June 28, 2017, 09:42:27 AM »
I have a 2 row 40 character display and I don't know what's going on here but I can't write a single character to location 30 in either row 1 or 2 addresses 9F & DF.  I can write strings of characters but not one character at a time to those locations.  I can write single characters to other addresses but not those two.  I have another NH display that I tried and I have the same problem with that display also.

Any Ideas, Thank You
10
Evaluation Tools / Re: NHD-7.0CTP-CAPE-N no picture
« Last post by gguinchard on June 28, 2017, 07:23:45 AM »
Hello,
I just got a NHD-7.OCTP-CAPE-N-ND, and I'm unable to get a documentation to install on my beaglebone black. The link mentioned above does not answer : http://www.newhavendisplay.com/userguides/NHD-7.0CTP-CAPE_User_Guide.pdf
Could you send to me or say me wehere I can download.
Thanks in advance
Pages: [1] 2 3 ... 10