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.

Noise or random characters displayed while using UART in Atmega 16

Status
Not open for further replies.

Adithya N

Newbie level 2
Newbie level 2
Joined
Jul 12, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
17
I have interfaced max232 with a atmega 16 microcontroller.I am using usb to serial adapter and have connected pins 2,3 and 5 of the serial adapter to max232 using jumper wires and connecting wires in a breadboard.I am using hyperterminal.When pins 2 and 3 are shorted the characters are displayed on the screen,meaning that the max232 circuit is working.But when i interface it with atmega 16 no characters are displayed on my hyperterminal.My program should return the character with a '()' symbol.But when i disturb the RX,TX or ground wires i see some random characters on the screen.What could be the problem?


Thank you :)
 

Are you absolutely sure you configured the ATMega correctly? In most cases you need to change the appropriate DDR register to set the serial TX pin as an output.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top