How to send data from Arduino Nano 33 BLE to Arduino Nano?

Hi,

I need to send a string (something like "&field1=7000&field2=1000") from Arduino Nano 33 BLE to Arduino Nano (one way communication). I know the operational voltage for these two boards are different (3.3V vs 5V). Also, the BLE board does not support SoftwareSerial. I need help for the items below:

  1. Which pins of these boards should be connected to send the string?
  2. Any code example in this regard?

I appreciate any help in advance.

Abbas

The Nano33BLE has a second hardware serial port accessed as Serial1 on two pins labeled Rx and Tx on the pinout diagram. This is independent of the USB Serial.

https://content.arduino.cc/assets/Pinout-NANOble_latest.pdf

To send from the Nano33 BLE to the Nano connect the Tx pin of the Nano33BLE to a software serial Rx pin on the Nano. Because you are sending only, you don't need to do any level shifting.

You may find this Serial Input Basic tutorial useful for ways to send and receive data.

Hi cattledog,

Thank you so much for your help. I tried it and it is working now.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.