Go Down

Topic: Using serial port on Uno (Read 747 times) previous topic - next topic

pjchant

Is it possible to use the serial usart on an Uno for TTL level serial comms?  I suspect the only way to do it would be to cut the tracks to the ATmega8U2 - thus disabling the USB connectivity - something I don't want to do - defeats the object of it being a dev board.

Work-around is likely putting the a micro-controller on some strip board and swap between a GPS module and a FDTI usb / serial cable using a 3.5mm jack.

Thanks

Pete

PaulS

Why not connect the GPS to two digital pins, and use NewSoftSerial to read the GPS?

pjchant

Code: [Select]
Why not connect the GPS to two digital pins, and use NewSoftSerial to read the GPS?

Eventual plan is to make a datalogger / autopilot.  Therefore I need to do stuff continuously, the old software serial would hang awaiting input.  The website for NewSoftSerial is down at the moment but I would expect it to do the same?

Pete

retrolefty

The latest NSS library uses interrupts and a received character buffer to handle incoming serial data, just like the hardware serial handler.


pjchant

Thanks,  I'll have to have a play.

Pete

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