Go Down

Topic: 2 serial ports (Read 433 times) previous topic - next topic

fubbi


I would like to send/receive serial from a roomba over the tx/rx pins on a bluetooth arduino and use the bluetooth connection to send me serial monitor feedback.

Is it possible to write serial commands to two different outputs? And how do I address them individually?

thank you

fubbi

mromani

Look for SoftwareSerial, or use a Mega board, which has 4 hardware serial ports.

HTH

fubbi

Hi

Is mega the only board that can do multiple serial?

thanks

fubbi

dxw00d


fubbi

#4
Feb 17, 2012, 02:08 pm Last Edit: Feb 17, 2012, 02:13 pm by fubbi Reason: 1
Hi

I looked at the (new)softWareSerial, that would do the trick I suppose.

So the BT interface and the tx/rx pins on a bluetooth arduino just mirrors each other?

Maybe somebody can recommend the right solution:

I need to send and receive serial from the roomba over a cable and pass on commands and feedback wirelessly to/from my computer.

I thought a BT arduino would be perfect, but maybe better with a Mega with a zigBee or BT shield?

thank you

fubbi

dxw00d

I can't see any reason why software serial wouldn't work for this application.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy