hi . i would to ask some opinion why the voltage value transmit through an offset circuit cannot receive and not appear in serial monitor . idk if my coding could be a problem . i test by wireless without offset circuit the receive show voltage value .I also attach the figure of offset simulation .
TRANSMIT CODE
#include<SoftwareSerial.h>
SoftwareSerial mySerial(2 , 3 );//TX,RX
const int analogInPin = A0;//Analog input pin that the potentiometer
const int analogInPin1 = A1;
// the setup routine runs once when you press reset:
void setup() {
 // initialize serial communication at 9600 bits per second:
 pinMode(A0,INPUT);
 pinMode(A1,INPUT);
 Serial.begin(9600);
 mySerial.begin(9600);
Â
}
// the loop routine runs over and over again forever:
void loop()
{
int sensorValue1 = analogRead(A0) ; //value read from the pot
int sensorValue2 = analogRead(A1) ;
float voltageValue1 = sensorValue1 * (5.0 / 1023.0); //value outputto the PWM(analog out)
float voltageValue2 =Â sensorValue2 * (5.0 / 1023.0);
Serial.print("\n\nsensor1 = ");
mySerial.print("\n\nsensor1 = ");
Â
 Serial.print(sensorValue1);
 mySerial.print(sensorValue1);
Â
 Serial.print("\t voltage1 = ");
 mySerial.print("\t voltage1 = ");
Â
 Serial.print(voltageValue1);
 mySerial.print(voltageValue1);
Â
 Serial.print("\nsensor2 = ");
 mySerial.print("\nsensor2 = ");
Â
 Serial.print(sensorValue2);
 mySerial.print(sensorValue2);
 Serial.print("\t voltage2 = ");
 mySerial.print("\t voltage2 = ");
 Serial.print(voltageValue2);
 mySerial.print(voltageValue2);
 //wait 2 miliseconds before the nect loop
delay(1000);Â Â Â Â // delay in between reads for stability
  }
RECEIVE CODE
#include<SoftwareSerial.h>
#include<string.h>
SoftwareSerial mySerial(2 ,3 );//TX,RX
void setup() {
 mySerial.begin(9600);
 Serial.begin(9600);
Â
}
void loop ()
{
Â
   String text = mySerial.readString();
   int data = mySerial.read();
  Â
   Serial.println(text);
   Serial.print(data);
   mySerial.flush();
   delay(3);
}