Show Posts
Pages: [1] 2
1  Topics / Education and Teaching / Re: Android Bluetooth to Arduino on: September 03, 2013, 01:55:13 pm
Hey Jon17,

If you have the project with this code and its other parts available could you post a link to download it? I'm having some problems getting mine to not crash when it opens.
2  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 17, 2013, 04:47:44 pm
Yeah not sure why the arduino code comment was the way it was.

Code:
//LiquidCrystal lcd(RS,RW,Enable1,Enable2,data4,data5,data6,data7);
should be correct. maybe this lcd is slightly different than the standard.

no reason to not spam the screen with a 400ms delay in there smiley-razz

TheCoolest it wouldn't hurt posting the fast code you mentioned in case someone else looking at this thread may want to try it.

Thanks for the help debugging guys.

3  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 17, 2013, 02:40:56 pm
Oh my god.. i switched all the pins to be in the other order and its working!

so the correct order should be:

lcd pin 1 to 45 on arduino
lcd pin 2 to 43 on arduino
lcd pin 3 to 41 on arduino
lcd pin 4 to 39 on arduino

data3 = db4
data2 = db5
data1 = db6
data0 = db7
4  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 17, 2013, 02:32:00 pm
Using pins 1-4.

I connected:
lcd pin 1 to 39 on arduino
lcd pin 2 to 41 on arduino
lcd pin 3 to 43 on arduino
lcd pin 4 to 45 on arduino

so looking at this code:
Code:
//LiquidCrystal lcd(RS,RW,Enable1,Enable2,data3,data2,data1,data0);
LiquidCrystal lcd(31,33,35,37,39,41,43,45);

data3 = db7
data2 = db6
data1 = db5
data0 = db4

correct?
5  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 17, 2013, 01:48:58 pm
Here are some pictures. The LCD is upside down btw. The one with the two lines is what happens when i use pins 5-8 and the other image with the weird characters is when i use pins 1-4. However now after i turned off the lcd and still using pins 1-4 it just shows a single blinking square in the middle of the screen. So maybe the weird characters were just temporary. I've also included an image of the pins from the datasheet.

Does this help anyone?
6  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 17, 2013, 12:52:55 pm
have you tried the standard LiquidCrystal library? It would work on half of the display, but should still let you test whether your display is good or bad.
Unless the controller on it is not HD47780 compatible.

Yea i posted about that up on replay #10. I will probably redo my tests again using all the libraries just to make sure i didn't do something wrong. That would suck if it was a bad lcd to begin with but I don't think it is considering it does show the two dark lines across the screen whenever the VO pin is grounded.
7  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 17, 2013, 12:41:28 pm
Yeah, he hasn't been on since 2012. I doubt I'll have any luck finding him.

I could not find a datasheet other than the one I found that i posted on the first post. I did find the two controller datasheets.

Controller Information
Built‐in SPLC780D. Download specification at http://www.newhavendisplay.com/app_notes/SPLC780D.pdf
Built‐in ST7066U. Download specification at http://www.newhavendisplay.com/app_notes/ST7066U.pdf

Do you know why there are two different controllers and how do you select which controller to use when you want to display information on the lcd?
8  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 16, 2013, 12:57:08 pm
The reason my code is the way it is is because once the first row is filled up it will go to the next and so on(right??). So there shouldn't be a problem with how I have the lcd.print in the loop() instead of in the setup(). I've tried all the basics like using the normal liquidcrystal library and running half and half. So 40x2 with one enable pin and another 40x2 with the other enable pin. Nothing at all works. I've used pretty much all the libraries in the downloads link you suggested floresta.

I have a feeling your right when you said: "Many of the New Haven displays use a controller that has an instruction set based on that of the Hitachi HD44780U but the instructions are not identical nor are the timing requirements.  It is likely that the library would have to be modified to work with those displays."

So that leaves coding the library which I don't have a clue on. Is there a chance we can get someone to help with modifying the 40x4 library to work with the controller used in this LCD? That would be a great service to myself and anyone else who purchases this LCD considering its on digikey and easy to purchase.
9  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 15, 2013, 12:00:58 pm
Anyone know someone who may be able to help with the coding to get this LCD working?
10  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 12, 2013, 12:31:21 pm
You need to either hook up a POT or hook up Vo to ground, this is the contrast pin, without doing so you will not see anything on the display.

So the lcd should have these 2 rows that are dark square blocks? That's normal?
11  Using Arduino / Displays / Re: Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 12, 2013, 11:49:42 am
When you only apply power to the LCD, do you see 2 white lines?
Have you connected Vo (contrast) to a POT? Try to connect Vo to GND.

I dont see any lines when i power the lcd. I do see two # lines when i connect Vo to ground or set the 20k pot all the way up. Does this mean something?

Quote
I'm trying to get the lcd working with LiquidCrystal440.
Have you tried the updated version?  The original LiquidCrystal440 library was written for the earlier versions of the Arduino IDE (pre v1.0) .
To get a copy start here:--> http://code.google.com/p/liquidcrystal440/ and follow the Downloads link to get to the latest version.


Quote
The 40x4 LCD I'm using is :NHD‐0440WH‐ATFH‐JT#
Many of the New Haven displays use a controller that has an instruction set based on that of the Hitachi HD44780U but the instructions are not identical nor are the timing requirements.  It is likely that the library would have to be modified to work with those displays.

Don

I have modified my liquidcrystal440 to work with the new software. simply changed two void functions to return the correct values and replaced a library to be arduino.h

I did go to the link but are you referring to liquidcrystal440 that was released in april 2010? Is that the newest? Should i try any of the other libraries there?
12  Using Arduino / Displays / Interfacing 40x4 LCD (SPLC780D or ST7066U) on: July 11, 2013, 02:14:40 pm
I'm trying to get the lcd working with LiquidCrystal440.

Here is the code im using:

Code:
#include <LiquidCrystal440.h>

//LiquidCrystal lcd(RS,RW,Enable1,Enable2,data3,data2,data1,data0); // for 40x4 lcd
LiquidCrystal lcd(31,33,35,37,39,41,43,45);

void setup()
{
  lcd.begin(40,4);
}

void loop()
{
  lcd.print(" Testing ");
  delay(400);
 
}

Problem is, nothing is appearing on the lcd. Has anyone tried interfacing with this model or similar?

The 40x4 LCD I'm using is :NHD‐0440WH‐ATFH‐JT#
http://www.newhavendisplay.com/specs/NHD-0440WH-ATFH-JT.pdf


13  Development / Other Hardware Development / Re: Arduino Laser Range Finder on: August 20, 2012, 11:35:01 pm
Very interested in this. Let me know how i can get my hands on one of these!
14  Forum 2005-2010 (read only) / Troubleshooting / Re: 20+ i/o pin connectors on: December 01, 2010, 11:03:26 am
Alright thanks for all the help. I should be set now. I'm glad we were able to find a solution to my wiring problems smiley-grin
15  Forum 2005-2010 (read only) / Troubleshooting / Re: 20+ i/o pin connectors on: November 30, 2010, 01:36:32 pm
That cable in your image was exactly what i was trying to get. Looks like i will need to buy the female crimp pins to make the housing into a female housing to accept the male pins that will be on the board.

Also pololu doesnt have uncut wire rolls so ill probably look at radioshack for the wire. what size wire are you using in that first image you showed me with all the wires all over the place?
Pages: [1] 2