Go Down

Topic: communication with more than one uart (Read 541 times) previous topic - next topic

gnanendrakumar

can any one worked on more than one uart?

i want to send and receive serial data from arduino by using more than one uart i:e i need to communicate with bluetooth, wifi, gsm, and also through internet please throw some light on this.. thanking you...

CrossRoads

One way do that is to start & stop services as you need them.

i.e.
bluetooth.begin();
//do bluetooth stuff
bluetooth.end;

// start next service

wifi.begin();
// do wifi stuff
wifi.end;

etc.

Probably better off with multiple UARTs so any data that comes while you service another interface isn't lost.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up