Pages: 1 [2]   Go Down
Author Topic: MAX232 with Arduino  (Read 878 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 116
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ha! I thought it was working!

Something strange is happening! It works at 9600, but when I put the baud speed to 57600 all the characters come out strange. On the datasheet it says it supports speeds up to 120kbit/s

I'm thinking of a couple of issues:

1. I am just pluging the wires into the serial socket. Do you think that the connection is too loose? (I don't think this is the case because the same characters come through each time)

2. I messed the chip up when trying to get it to work before (seems odd that it works at a slower speed)

3. I don't have it connected right.

4. I'm lost :S

Thanks for anyones help.

Cameron.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 116
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Mmm I just changed it from a Software Serial to the normal Serial and it worked.

So, I guess the software serial is having a problem getting up to that speed.

But, on the online docs it says it supports way higher than 57600 kbps?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26473
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

Can't help you there, never used software serial.
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.

Offline Offline
Full Member
***
Karma: 0
Posts: 116
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, Crossroads,

Thank you anyway smiley. It's not a problem because i'm going to use the real serial ports from the chip. I think that maybe because I was using both the real Serial port, and a software serial port it just maybe wasn't handling it.

If I have time i'll test it and report it back. So other people can learn.

Cheers,

Cameron.
Logged

Pages: 1 [2]   Go Up
Jump to: