Nano 33 BLE Not Able to Communicate using TX/RX

Hello!

I'm working on a project where I have a Nano 33 BLE that is suppose to send data to a TTL->RS232 converter and then the RS232 signal is sent to other hardware, but the TX pin doesn't seem to send any data.

I'm very confident that the converter works and it seems like this is a problem with the Nano. I currently have 5V going into the VIN pin and ground is hooked up too so it shouldn't be attempting to send the data over a usb cable. When I do have a USB cable attached, it prints to the serial monitor just fine. Here's some code I've used to test it:

void setup() {
  Serial.begin(9600);
  while(!Serial)
  {
    delay(50);
  }
}

void loop() {
  Serial.println("Hello World!);
}

With this code running, it doesn't seem like anything is sent by the TX pin. If I hook up a multimeter to the TX pin then it always reads 3.3V (Which I believe means that it's done sending data or not sending data at all) and it doesn't fluctuate at all.

Is there something special in code that I need to do? Is this a hardware problem?

Thank you for your help!

On the Arduino Nano 33 BLE and IoT Serial is used by the virtual COM over USB. USB is handled by the microcontroller directly. If you want to use the hardware UART you need to use Serial1.

Klaus_K:
On the Arduino Nano 33 BLE and IoT Serial is used by the virtual COM over USB. USB is handled by the microcontroller directly. If you want to use the hardware UART you need to use Serial1.

That worked! Thank you!