Go Down

Topic: SERIAL COMMUNICATION (Read 823 times) previous topic - next topic

bench

how do i implement Serial communication between two arduino uno R3

danb35

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.

Riva


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

bench

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

MikMo

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.

dxw00d

Quote
Dont forget that you must also connect the grounds.


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

danb35

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

PeterH


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.
I only provide help via the forum - please do not contact me for private consultancy.

bench

Here i guess wireless communication is achevied by serial pins

PaulS

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.

PeterH


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.
I only provide help via the forum - please do not contact me for private consultancy.

Go Up