Pages: [1]   Go Down
Author Topic: Baudrate mismatch between board and serial monitor  (Read 384 times)
0 Members and 1 Guest are viewing this topic.
unprobable country named Belgium
Offline Offline
Sr. Member
****
Karma: 4
Posts: 263
Ga bu zo
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I have an Arduino Pro Mini connected to a Mac computer over a FTDI to USB converter. I set my program to send data to the serial port at a rate of 9600 kbps. However I need to set the serial monitor to 4800 kbps to get a correct display (Arduino 1.05).

What's wrong ?

Thank you in advance.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13471
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

9600 kbps or 9600 bps?

if you use 1.0.4 or another serial terminal app, does it show the same factor?

Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 515
Posts: 26261
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is that  3.3/8MHz Promini? That with a 16 MHz bootloader would have that effect.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

unprobable country named Belgium
Offline Offline
Sr. Member
****
Karma: 4
Posts: 263
Ga bu zo
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure, it's bps, not kbps.

The board is a Watterott clone, Wattuino 5V/16 MHz with 328 and I choose the correspondant Pro/Pro Mini setting in the software.

The mismatch happens also with Arduino 1.04.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 515
Posts: 26261
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Your description sounds like you got the 8MHz promini and not the 16 MHz promini.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

unprobable country named Belgium
Offline Offline
Sr. Member
****
Karma: 4
Posts: 263
Ga bu zo
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there any way to test the board to check it doubtless ?
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like there is a box they tick on the back. Conceivably they got it wrong.

Can you see a frequency printed/stamped on the resonator?
Logged

unprobable country named Belgium
Offline Offline
Sr. Member
****
Karma: 4
Posts: 263
Ga bu zo
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nick, do you have any idea where the resonator is on the board and how it looks like ?
Logged

unprobable country named Belgium
Offline Offline
Sr. Member
****
Karma: 4
Posts: 263
Ga bu zo
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The resonator is a silver component located besides the AVR. However it's so tiny I can't see the figures on top.

I had another suggestion: measuring the voltage between VCC output and GND. And indeed the board is a 3.3 version. But in between I have checked my orders and discovered I had indeed ordered 3.3V boards, not only 5V boards. I couldn't check visually because the board's bottom is covered with Velcro to tie the board to cloth. So I guess there's no error from the maker but from me only. Duh.  smiley-red
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think it's the silver thing directly above the RST pin.
Logged

Pages: [1]   Go Up
Jump to: