RN-XV module On this page we@ll use a RX-XV as a wireless communication module for our teensy.

The piece of code to be loaded in the Teensy is very similar to the previous one, but this time, the UART1 is used:

const int baudrate = 57600;

		void setup()
		{
			Serial.begin(baudrate);
			Serial1.begin(baudrate);
		}

		void loop()
		{
			if (Serial.available() > 0)
				Serial1.write(Serial.read());
			if (Serial1.available() > 0)
				Serial.write(Serial1.read());
		}

Using a serial monitor, you can input commands as well. The first step is the same: send $$$, again without any carriage return or new line, to enter command mode. The module will respond with CMD. The following commands shall be sent with a new line.

In order to get a working setup, this tutorial is very useful.

The complete list of the commands can be found in this documentation.

Back

RN-XV WiFly Wi-Fi Module
Tagged on:     

One thought on “RN-XV WiFly Wi-Fi Module

Leave a Reply