How can I make serial connection with rfd868x

Hello guys, I want to communicate the rfd868x that I connected to the Arduino with the rfd868x (my own computer) on the ground station. How do I do this and how do I send simple data (For example initial pressure) from the sensors to the ground station

#include <SimpleKalmanFilter.h> //kalman 
#include <TinyGPS++.h> //gps
#include <EEPROM.h> //eeprom 
#include <Wire.h> // 
#include <MPU9250_asukiaaa.h> //mpu9250
#include <MQUnifiedsensor.h> // mq-135
#include <MS5611.h>
#include <SPI.h>

double referencePressure;
MPU9250_asukiaaa mySensor;
float aX, aY, aZ, aSqrt, gX, gY, gZ, mDirection, mX, mY, mZ;

// GPS 
static const uint32_t GPSBaud = 9600; 
const long SERIAL_REFRESH_TIME = 10;  
long refresh_time, lastTransmission = 0;

void setup() {
  Serial.begin(9600);
  Serial1.begin(GPSBaud); 


  Serial.println("Initialize MS5611 Sensor");
  while(!basincsensor.begin())
  {
  Serial.println("Could not find a valid MS5611 sensor, check wiring!");
  delay(500);
  referencePressure = basincsensor.readPressure(); // reference pressure
  }



   //NOW I WANT TO SERIAL CONNECTİON WITH RFD868X
}

void loop() {
  // put your main code here, to run repeatedly:

}

Be sure to use a level converter to adapt from the Arduino's 5V to the 3.3V of the modem.

BTW, you failed to provide a link to your hardware!

Given that you connected both modems to the appropriate hardware correctly the serial transfer should be transparent to the code.

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