Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: g44 on January 24, 2010, 09:10:49 AM
-
AVR micro controller
-
Datasheet for a specific ATmegaXXX
Equation for calculating Baud Rate:
Three(3) operating mode and this is one of them.
Asynchronous Normal mode (U2Xn=0)--> BAUD= Fosc / 16(UBRRn+1).
This is for the ATmega168. An easy search for your microcontroler
-
Thanks pierre
-
To know about Baud rate would be that you are looking to use UART. You will look for the least amount of error on the Baud rate you take(look for the table on UBRRn. Important to use the same Baud Rate for the microcontroler and your laptop.
What are the 3 operating mode
1. Asynchronous Normal mode;
2. Asynchronous Double Speed mode; and
3. Synchronous Master mode.
Look for the tutorial on UART. ;) Hope this will help you a little
-
Thanks pierre
-
g44, is this what you meant to ask for?
http://www.societyofrobots.com/microcontroller_xtal.shtml (http://www.societyofrobots.com/microcontroller_xtal.shtml)