Meet our team in San Diego, United States, from Tuesday 23 until Thursday 25 of April at XPONENTIAL, booth 4700

Update (24/04/2024): We have plenty of stock of all our products, find us also in and    Shop now

Meet our team in San Diego, United States, from Tuesday 23 until Thursday 25 of April at XPONENTIAL, booth 4700

How to connect simpleRTK2B/3B RTK receiver to Arduino

Some users have asked us how they can connect their simpleRTK2B or simpleRTK3B boards to an Arduino and we have prepared this guide to show all the necessary steps.

Notice that there are many different models of Arduino. We have used Arduino Uno R3 to prepare this tutorial.

Required hardware:

  • simpleRTK2B or simpleRTK3B receiver (we use simpleRTK2B Budget and simpleRTK3B Pro in this tutorial)
  • an Arduino board (we use Arduino Uno R3 in this tutorial)
  • USB-A to USB-B cable to connect Arduino to your computer
  • Arduino Headers (optional, in case your RTK receiver has no headers soldered)
  • Computer for connection / configuration (we use Windows 10 for this tutorial)
  • a cable to connect RTK receiver to your computer for configuration (USB-A to mini USB cable for simpleRTK2B Budget or USB-A to USB-C cable for simpleRTK3B Pro)

Required software:

How to do it?

Firstly, we need to configure your RTK Receiver (the baudrate and the messages you want to receive).

Once you have your ArduSimple RTK Receiver configured, take the following steps.

  1. Connect your Arduino board to your computer using USB-A to USB-B cable.
  1. Open Arduino IDE oftware.
  2. Go to the Tools —>Board —>Arduino AVR Boards and choose your Arduino board that you have. In our case we choose Arduino Uno.
  1. Go to the Tools —>Port—> and choose the port you want to use. In our сase it is COM3 (Arduino UNO).
  1.  Type the following code or your own code that you want to upload to your Arduino board. This is a script that will read informaiton from the RTK Receiver and send to your PC:
				
					void setup() {
    Serial.begin(38400);
}

void loop() {
    while ( Serial.available () )
    {
        Serial.write( Serial.read() );
    }
    delay(100);
}
				
			
  1. Press Upload.
    Note: RTK receiver should be unplugged when uploading. Otherwise, it will fail.
  1. If it is succesful, you will see the notifications that it is succesfully completed like on the picture.
  1. Plug the GNSS antenna to your ArduSimple receiver, place your  antenna in a location with good view of the sky, or near a window for testing the functionality.
  1. Connect ArduSimple receiver to your Arduino board (use Arduino Headers if needed).
  1. Open Arduino IDE software and go to the Tools—> Serial Monitor and choose the baudrate your RTK Receiver and Arduino Uno configured. You should see incoming NMEA messages like in the picture.
  1. Congratulations, you can read GNSS data streams in your Arduino board now!

If you liked this content, you can follow us on Twitter, YouTube, Facebook or LinkedIn to stay updated of content like this.

Got any questions or requests?
Contact us! We'll answer <24 hours!

Icon
Contact ArduSimple
Close

Want to learn more about GPS/RTK?

1. Our engineering team will contact you to solve any questions
2. We will keep you updated about promotions and new product releases
3.You will only hear from us when we have important news, we won’t spam your email