- #1
taylaron
Gold Member
- 397
- 1
Greetings!
I'm working on a project involving multiple different Arduinos spaced about 500 feet apart. I have a master Arduino which I plan on being an Arduino Mega and 5-8 separate slave Arduinos (probably Arduino Nanos) which feed basic data like switch values to the master. I would like to use RS232 as my communication protocol, using 1 serial port on the master Arduino per slave. My problem is there are only 4 serial ports on the Arduino Mega. I was curious if anyone knows of a way to rig more digital I/O pins as serial outputs or if there is something I hadn't considered.
note: I'm fixed on using wired communication, and my speed doesn't need to be very high- 9000 baud is plenty.
I had considered using RS485, but I'm trying to minimize device size and hardware as well as keeping the system simple.
Kind regards
I'm working on a project involving multiple different Arduinos spaced about 500 feet apart. I have a master Arduino which I plan on being an Arduino Mega and 5-8 separate slave Arduinos (probably Arduino Nanos) which feed basic data like switch values to the master. I would like to use RS232 as my communication protocol, using 1 serial port on the master Arduino per slave. My problem is there are only 4 serial ports on the Arduino Mega. I was curious if anyone knows of a way to rig more digital I/O pins as serial outputs or if there is something I hadn't considered.
note: I'm fixed on using wired communication, and my speed doesn't need to be very high- 9000 baud is plenty.
I had considered using RS485, but I'm trying to minimize device size and hardware as well as keeping the system simple.
Kind regards