MO Datalogger serial issue

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
MikeSBlankenship
 
Posts: 56
Joined: Sat Nov 07, 2015 5:32 pm

MO Datalogger serial issue

Post by MikeSBlankenship »

Hi,
I am having an issue with a SAMD21 module from Adafruit with the serial port(M0 Datalogger). I am using the built in TX/RX hardware port and I can see all my data in the serial monitor. However I have the TX/RX pins connected to a MAX3232 driver IC. I am not able to see ANY data on the physical TX pin.

I then tried another Module with no MAX3232 chip and I still cannot see any data

Below is the sample I am using. I even tried to use Serial.Write, and like before it shows up in the serial monitor but there is no data on the actual TX pin. I am using 9600 baud, and I have set the scope to 100uS sweep time. Im thinking it uses the USB UART, but how do I set this to transmit directly out of the Physical TX pin?

Code: Select all

void setup(){
  Serial.begin(9600);
}

void loop(){
  Serial.write(45); // send a byte with the value 45

   int bytesSent = Serial.write("hello"); //send the string "hello" and return the length of the string.
}
Attached is my setup, any help is appreciated.

Thanks

mike
ToForum.JPG
ToForum.JPG (111.26 KiB) Viewed 146 times

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: MO Datalogger serial issue

Post by Franklin97355 »

The hardware serial pins are Serial1.

User avatar
MikeSBlankenship
 
Posts: 56
Joined: Sat Nov 07, 2015 5:32 pm

Re: MO Datalogger serial issue

Post by MikeSBlankenship »

Thanks Franklin that fixed it!

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”