Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

two uart ports in atmega 16

Status
Not open for further replies.

rajnandeshabhi

Newbie level 4
Newbie level 4
Joined
Feb 2, 2013
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,363
hello everyone,

Actually i am working on survillance robot...in that i have interfaced a gps module through serial port..

but, now i want to send that data remotely to another device using rf module...

so i need another uart port to make that happen(as far as my knowledge)..

is there any way we can do that..

i am using atmega16 microcontroller...

is there any mc from atmega which has 2 serial ports??


regards...

Abhiraj
 

yes. First you could find a micro-controller with two uarts. Second you could put another micro-controller in order not to change your hardware too much and communicate with the second micro and the second micro provide the extra uart you need. Secondly you could use a RS232 translator such as max232 which has 2 uart receivers and transmitters. So you could with the help of one extra pin to connect the first or the second pair of translators and communicate with solid state relay or regular relay or a multiplexer.
You have a lot of choices.
 

I faced the same problem... This could be done with one UART port itself. Use a relay. Made the connection like below.
Connect the Tx of GPS& GSM to Rx of the micro controller through a relay.
connect the Rx of GSM to Tx of the micro controller.
By switching between the Tx pins of GPS and GSM you could get data from both..
I have done this with PIC 16F877A which has one UART.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top