Hi,
I'm working with two Arduinos -- I have several stepper motors hooked up to each one using shields. Is there any way to program the Arduinos to communicate with each other. Basically, I'd like one Arduino to go through its program and then have the other Arduino do the same right afterward. Is there a device or wifi device I could use to make this happen. Or some other way to do it?
Thank you!
get two Arduinos to communicate
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- btreichel
- Posts: 79
- Joined: Tue Jul 25, 2017 3:00 pm
Re: get two Arduinos to communicate
simplest would be to use one of the digital pins to output a high or low signal to an input digital on the other board. Board two does it thing when board one sets its output to either high or low
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: get two Arduinos to communicate
The simple way is to just use a digital pin to signal as described above.
For more sophisticated communication schemes, you can set them up as an i2c master/slave:
https://www.arduino.cc/en/Tutorial/MasterWriter
https://www.arduino.cc/en/Tutorial/MasterReader
For more sophisticated communication schemes, you can set them up as an i2c master/slave:
https://www.arduino.cc/en/Tutorial/MasterWriter
https://www.arduino.cc/en/Tutorial/MasterReader
Please be positive and constructive with your questions and comments.