Posted: Thu Nov 24, 2016 8:34 am Post subject: Getting weird characters in hyper-terminal on serial connect
I have a Atmega-16 based board, connected via Max232 to pins 2,3,5 of a db-9 connector. The connector connects to a PC. I am getting weird characters on hyper-terminal instead of normal "Hello World" for the serial test program. I have set both baud rate in Atmega-16 as well as hyper terminal to be 4800. I am not getting any faults.
The Serial pins of the Atmega16 are routed through a max232 to db-9, the circuit is same as this one:
Beside the Tip from Paul:
also try to set housing (metall shield) to GND _________________ For technical reasons, the signature is on the back of this message.
Are you sure about the 2mhz?
If you use the clock from the internal RC oscillator you have to set the fuse bits(CKSEL3..0) to 2mhz, by default it's 1mhz.
Or change the value in your code to 1mhz (to test)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum