Pages: 1 ... 4 5 [6] 7   Go Down
Author Topic: Serial Communication  (Read 4073 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So what does reply #68 mean?
If your responses were less monosyllabic and more forthcoming with useful, relevant information, I'd be more inclined to be more forthcoming with useful replies.

Have you contacted user jeet_jawi?
S/he is in the same part of the world as you, and has astonishingly similar software and problems to you.
« Last Edit: March 06, 2012, 05:32:17 pm by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well now it means nothing Reply #68
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Reply #68 was one of your replies, so if you don't understand it, we're pretty well buggered, aren't we?

Shall I just delete this thread now, and we can restart on some more sensible footing?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

no but my issue remains the same its not transmitting from one board to other its just communicating with the PC and  board, and i want to do work on  Board to Board communication
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
my issue remains the same its not transmitting from one board to other
Please show your evidence for this assertion.

Please understand that you have a very large credibility gap in this thread, starting as it did with an assertion that code that could not possibly even compile, did, according to you, compile.
« Last Edit: March 06, 2012, 05:18:01 pm by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.youtube.com/watch?v=DRGePv2Y-Dw&feature=youtu.be
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great camera work.*
How about posting some code?




*Not

Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
#include <LiquidCrystal.h>
#include <NewSoftSerial.h>

LiquidCrystal myLCD = LiquidCrystal(12, 11, 5, 4, 3, 2);


// khali pin 6
void setup() {
  Serial.begin(9600);
  myLCD.begin(16,2);
  //pinMode(13, OUTPUT);  // diagnostic led on Wiring-board
  //pinMode(6, OUTPUT);
  myLCD.print("Arduino");
  delay(1000);
  myLCD.clear();
  myLCD.home();

}
void loop() {
 
  if (Serial.available()>0){
  char ch=Serial.read();
  if(ch=='A')
  {
     myLCD.setCursor(0,1);
    myLCD.print("Cutebuddy6");
  }
  }
 
 
  if (Serial.available())   {
    float z= Serial.read();
    myLCD.setCursor(0,0);
    myLCD.print(z);


  }
}

Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
float z= Serial.read();
You really aren't listening, are you?

Why don't you enter the following into the search box, up there on the right:
"PaulS SOP EOP"
and watch the magic unfold.
« Last Edit: March 07, 2012, 03:05:31 am by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i am sorry actually i have not saved the code sorry
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 504
Posts: 19106
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm sorry that you are sucking in some top technical experts on this forum to try to answer your questions when you are not paying the slightest bit of attention to what they are saying. Five or six pages of wasted time, when you haven't attempted to answer a question on page 1 of this thread. It isn't that you don't understand. The problem is that other people, who need answers to their questions, and who are prepared to listen, might be overlooked.

I pointed out a page or so ago that you can't read a float like that, but you persist in doing so.
Logged


Offline Offline
Full Member
***
Karma: 0
Posts: 196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sir its requested that i am paying 100% on you Questions which type of DATA variable should i use
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You're not paying us anything.
Money or attention.

Now, the question of reading ASCII representations of numbers comes up here on the forum at least once a week.
There is plenty of code and advice posted on the subject, so go look for it using the search terms I've already posted.
When you've got some actual questions and results, come back and post them.
If they work, we'll be happy for you, because you'll have learned a valuable lesson.
If they don't work, we'll help you fix them, but, as Mike pointed out in the very first reply to this thread WE WON'T WRITE IT FOR YOU.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

which type of DATA variable should i use

What does Serial.read() return? For a clue, read the reference page for it.

Why don't you enter the following into the search box, up there on the right:
"PaulS SOP EOP"
and watch the magic unfold.

Have you done this? It's very important that you do, which is why I mentioned Paul's username as a place to start in reply #29 (good grief, that was 60 replies ago, and no further forward).
« Last Edit: March 07, 2012, 03:31:02 am by dxw00d » Logged

Pages: 1 ... 4 5 [6] 7   Go Up
Jump to: