Problems_Serial1

Status
Not open for further replies.

DIego

New member
Hi,
I was testing the serial1 teensy 3.0 with the following code:

Code:
void setup()
{  Serial.begin(9600);
   Serial1.begin(9600);
   
};
void loop(){
Serial.println("arduino");
Serial1.println("arduino");

delay(1000);
};

I used the trendnet TU-S9 to read the serial1 and get this:
serial.png

i dont understand why write that. I'm printing "arduino"

Thanks for any help
 
Teensy 3.0 has 3.3V TTL level signals.

The TU-S9 has +/- 12V RS232 level signals.

Are you using a MAX232 or similar TTL to RS-323 chip to convert Teensy's signals to the type needed for that RS232 cable? This serial monitor output looks like the small signal from Teensy3 is being received by the TU-S9, but the TTL level output uses the opposite polarity. Even just a logic-level inverter might do the trick, if you don't have a proper RS-232 driver chip.
 
I am also this type of problem, shall i provide my string here
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top