Arduino Mega (A+B) Adafruit cc3000 wireless shields

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
nerohiti
 
Posts: 3
Joined: Sat Jan 18, 2014 3:09 pm

Arduino Mega (A+B) Adafruit cc3000 wireless shields

Post by nerohiti »

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.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields

Post by adafruit_support_rick »

Make one a TCP server and the other a TCP client. Then they can talk to each other.

nerohiti
 
Posts: 3
Joined: Sat Jan 18, 2014 3:09 pm

Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields

Post by nerohiti »

adafruit_support_rick wrote:Make one a TCP server and the other a TCP client. Then they can talk to each other.
Thanks Rick but:

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

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields

Post by adafruit_support_rick »

Check out the echoserver and chatserver sketches for examples of TCP servers.

thinwing
 
Posts: 32
Joined: Thu Feb 02, 2012 1:03 am

Re: Arduino Mega (A+B) Adafruit cc3000 wireless shields

Post by thinwing »

You need to google easy transfer /arduino ...very easy protcol to get two megas talking thru their serials k

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”