Go Down

Topic: communication with more than one uart (Read 553 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.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up