Xenobius
Member level 5
Hi, I have an application where I need 2x Arduinos to communicate together using Serial. Sure enough its easy RX to TX and TX to RX however I have 3 questions.
I did some research and it looks like it is possible using RS232 and so I tried to focus on MAX232 being very common and all that. However I simply cannot find a simple circuit to help me understand how to connect them which has now made me doubt if I am on the right track.
I need some guidance as to where to look for more information. Is this the way to go? Will the MAX232 help me achieve long distance serial communication between 2 arduinos? and finally if I use twisted pair will it help with interference from the 230vac?
Thanks a lot
- I will need to pass the cables in the same trunk along with other 230V AC wires (can I solve this problem using twisted pair)?
- I need at most 15 metres of distance
- Assuming 2 separate power sources one on each end of the arduino, will I also need to ground the 2 supplies together?
I did some research and it looks like it is possible using RS232 and so I tried to focus on MAX232 being very common and all that. However I simply cannot find a simple circuit to help me understand how to connect them which has now made me doubt if I am on the right track.
I need some guidance as to where to look for more information. Is this the way to go? Will the MAX232 help me achieve long distance serial communication between 2 arduinos? and finally if I use twisted pair will it help with interference from the 230vac?
Thanks a lot