I'm having one last problem for my project which is connecting Arduino Mega (A+B) through an access point and adafruit cc3000 wireless shields. I need to assign Arduino A as an output board for relays switching On and Off and Arduino B as an input board for push Buttons
right now i have Arduino A ( output ) working perfectly and my problem is how to make a bridge between Arduino A and B without the need for a computer or using internet page.
Arduino Mega (A+B) Adafruit cc3000 wireless shields
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 3
- Joined: Sat Jan 18, 2014 3:09 pm
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields
Make one a TCP server and the other a TCP client. Then they can talk to each other.
-
- Posts: 3
- Joined: Sat Jan 18, 2014 3:09 pm
Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields
Thanks Rick but:adafruit_support_rick wrote:Make one a TCP server and the other a TCP client. Then they can talk to each other.
This is the only instance in the cc3000 library .. Adafruit_CC3000_Client client = cc3000.connectTCP(ip, port);
there is no choice to assign the TCP as server
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields
Check out the echoserver and chatserver sketches for examples of TCP servers.
-
- Posts: 32
- Joined: Thu Feb 02, 2012 1:03 am
Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields
You need to google easy transfer /arduino ...very easy protcol to get two megas talking thru their serials k
Please be positive and constructive with your questions and comments.