Go Down

Topic: 2 serial UART on 1 Arduino ? (Read 1 time) previous topic - next topic


May 14, 2011, 02:37 pm Last Edit: May 14, 2011, 03:00 pm by moshik3 Reason: 1

this is my first arduino project,
im OK with controllers, ive worked with another platform.

i need to be able to read and write data to 2 devices with 1 arduino
this one needs 38400 bps http://store.diydrones.com/ProductDetails.asp?ProductCode=MT3329-02
and this one also 38400 http://store.diydrones.com/ProductDetails.asp?ProductCode=BR-Dronecell-01

i've thought of this mini pro

but as it seems it has only one serial TX and RX...

any suggestions ?

(on the other platform every digital input can be used to read or output serial data
is it the same here, or i must use the dedicated serial port ?)


You can use NewSoftSerial, and use any pair of pins for a software serial port.

Or, you can get a Mega which has 4 hardware serial ports.


Check the docs, I'm not sure the soft serial will go that fast.

But yes, the Mega has 3 UARTS.
I write books about Arduino and Electronics: http://simonmonk.org



NewSoftSerial works up to 115200 baud.


I guess I have just demonstrated the dangers of guessing ;)

I shall go and look at new soft serial - thats most impressive.

I write books about Arduino and Electronics: http://simonmonk.org

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!

via Egeo 16
Torino, 10131