Arduino + RN2903

(Kramer92) #1

Hello, I would like to know if I can use the RX and TX (D0 and D1) of arduino uno, to communicate with RN2903.
I saw some examples but they were using RX and TX as ports D10 and D11.

When I get the module before using with arduino, do I need to write the bootloader in RN? or apneas communicate with the arduino?


The RN2903 comes with buildin firmware and an uart port.
So theoretically you can connect it with 4 wires, + - Rx Tx , but be carefull, the voltage level of the signals is 3V.

The arduino uno has only one hardware uart on D0/D1 and this uart is connected onboard to the USB connector, so you need a library named software serial, that can create a virtual uart port on other free ports, which ports you write in your arduino sketch.

again, this will be a 5v virtual uart and must be connected through a levelshifter with the RN2903.

this is a dual levelshifter as example, you can buy levelshifterboards everywhere

(Kramer92) #3

or need to put the levelshitffter, and still from what I understood the image, the arduino’s TX connector on the RX2903’s RX?


(Kramer92) #5

Thanks BoRRoZ

(Kramer92) #6

Do I need to limit the RX and TX voltage as well? 3V?
The link you sent is not limited.


you should use a levelshifter on the 3v rn2483 when connected to a 5v device.

(Kramer92) #8

For initial communication tests I will use the Dragino LG01-P single channel gateway. The gateway is now online and can be viewed on my profile.

(Robo14850) #9

I’ve found the Arduino Pro Mini 3.3V, 8MHz works well. Directly connected software serial and can power the RN2903 from the onboard regulator. Using 3.7V LiPo as raw voltage into Pro Mini.