Pages: [1]   Go Down
Author Topic: Lcd display connect to Arduino Mega 2560 and Arduino Sensor Shield  (Read 2413 times)
0 Members and 1 Guest are viewing this topic.
Mexico
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an Arduino Mega 2560 connected to a sensor arduino shield, and these two plates connected an LCD display, connecting 5v, gnd, RX, TX  and show the text on the display, ("Hello world") with the next code programming

void  setup ()                     
{
  Serial.begin (9600);
}
void  loop ()                       
{
  Serial.println("$CLEAR\r\n");
      Serial.print("$GO 1 1\r\n");  // display address is : the line 1,the row 1
   Serial.println("$PRINT Hello world!\r\n");
   delay(3000);
     Serial.print("$GO 2 1\r\n");  // display address is : the line 2,the row 1
     Serial.println("$PRINT How are you!\r\n");
        delay(3000);
}

but how do for display text scrolling???  with this same connection.
what code programming used???
thanks
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 75
Posts: 7269
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Which LCD and what sensor shield?
Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 75
Posts: 7269
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please do not use PM to send me the same thing you post here. I am not interested in helping you in private. You don't provide any information what LCD you are using, on this post, you will not get help.
Logged


Mexico
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not interested in you to help me in private.

Wrong you think so.

because I'm new to this forum and is the first request help to you
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 75
Posts: 7269
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just post your links here.
Logged


Western New York, USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 4409
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are other people here who may be able to help you but they will also need to know the same information.

So, once again:
Which LCD and what sensor shield?

I won't respond to a PM either.

Don
Logged

Mexico
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I send you the link LCD and shield that I use in this project

Link: Arduino sensor shield

http://www.emartee.com/product/41953/Arduino%20Sensor%20Shield%20V5.0.

Link: Serial LCD 1602 shield

http://www.emartee.com/product/41872/Arduino%20Serial%20LCD%201602%20Shield.

Greetings
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 75
Posts: 7269
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There seems to be only 5 commands. No scrolling.

Do you mean auto scroll, like the arduino serial monitor window? When the screen is full, line one disappears and new line appears on the bottom of the screen?
Logged


Western New York, USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 4409
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You are at the mercy of the person who programmed the processor on the red 'Serial LCD' pc board.  What you need is the full instruction set for that board which may include only the five commands $HOME, $CLEAR, $GO, $PRINT, and $CURSOR that are listed.

Don
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 75
Posts: 7269
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You are at the mercy of the person who programmed the processor on the red 'Serial LCD' pc board.  What you need is the full instruction set for that board which may include only the five commands $HOME, $CLEAR, $GO, $PRINT, and $CURSOR that are listed.

Don

That's my suspicion. I followed several links and didn't see a document or anything other than 5 commands. The OP will need to use software skills to make scrolling.
Logged


Mexico
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ok, thanks
Logged

Pages: [1]   Go Up
Jump to: