Pages: [1]   Go Down
Author Topic: SERIAL COMMUNICATION  (Read 748 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how do i implement Serial communication between two arduino uno R3
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 107
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Connect TX of one to RX of the other, and vice versa.  Then write code to send and receive data as necessary.  Without knowing more about what you want to do, it's not possible to be more specific in an answer.
Logged

Norfolk UK
Offline Offline
Faraday Member
**
Karma: 70
Posts: 2592
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how do i implement Serial communication between two arduino uno R3
Depends on how far apart they will be from each other...
A few centimetres, use digital I/O pins
A few meters, use RS232 chips
A few hundred meters, use RS485 chips
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

first of all i would like to thank you for replying to my questions


i would specify my question as :


i want to establish communication between two ardunios using rf module (434MHZ)

i want to send analog values ranging from 0 to 1023 from one ardunio uno to second ardunio uno
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Connect TX of one to RX of the other, and vice versa.  Then write code to send and receive data as necessary.  Without knowing more about what you want to do, it's not possible to be more specific in an answer.

Dont forget that you must also connect the grounds.
Logged

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

Quote
Dont forget that you must also connect the grounds.

Wouldn't that defeat the object of the new requirement to use RF modules?
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 107
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you have a particular RF module in mind?  Link, maybe?
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i want to establish communication between two ardunios using rf module (434MHZ)

That would usually be referred to as wireless communication rather than serial communication, I suggest you update the topic heading to reflect that.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here i guess wireless communication is achevied by serial pins
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 644
Posts: 50452
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Here i guess wireless communication is achevied by serial pins
Yes, but those pins can be the hardware serial pins or any two software serial pins.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here i guess wireless communication is achevied by serial pins

Some serial pins might be involved - along with lots of other parts - but that is not what your question is really about.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pages: [1]   Go Up
Jump to: