Go Down

Topic: software serial with MAX202 (Read 964 times) previous topic - next topic


Trying to set up a software serial using MAX202 processor on this adapter: http://www.robotshop.com/productinfo.aspx?pc=RB-Dfr-165&lang=en-US

I'm following the directions in this tutorial: http://arduino.cc/en/Tutorial/ArduinoSoftwareRS232

So far no luck! I have tried a few different digital IO pins including pins 0 (RX) and 1 (TX). They all send nonsense to the port using the software serial program from the tutorial.

HOWEVER, using the Serial.write and Serial.read() functions works fine when I connect the adapter pins RXD --> digital IO pin 0; TXD --> digital IO pin 1.

So is there a bug in the tutorial code? Why doesn't it work on the digital IO pins?


Why not dispense with all that nonsense and use SoftwareSerial, just like the HardwareSerial instance (Serial)?


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131