Hello,
First I apologize if i'm not very clear with my instructions, i'm trying my best with english ![]()
Well, i have a study project to do before June and i've reach some problems of comprehension with my tools, i'm sendind a message with the VirtualWire library at the frequency of 433MHz (and of course with a Tx module), there is my code :
#include <VirtualWire.h>
#define TxPin 12
void setup()
{
pinMode(13, OUTPUT);
pinMode(12, INPUT);
Serial.begin(9600); // Debugging only
Serial.println("Setup Transmitter");
// Initialise the IO and ISR
vw_set_ptt_inverted(true); // Required for DR3100
vw_setup(2000); // Bits per sec
}
void loop()
{
const char *msg = "Bonsoir tous le monde";
digitalWrite(13, true); // Flash a light to show transmitting
vw_send((uint8_t *)msg, strlen(msg));
//vw_wait_tx(); // Wait until the whole message is gone
digitalWrite(13, false);
delay(200);
}
And i have to receive the message i've send earlier with a SDR Antenna and the software URH or SDR# depends on what i prefer. But the things is that, i can send a message, because i can see the wave moving up and down at 433Mhz every 0,2 s ~.
Therefore what at receive when i decode the binary train is not at all the message i've send previously, there is what I receive with URH and what i can decode with CyberChef ![]()
(I prefer to blur a part of the output, just in case whe never know..)
More informations :
I'm a beginner with Arduino and maybe the solutions can be found in the code, i'm not sure if the loop() function is really good, but it seems to work, and yes i have my Tx PIN plug in pin 12. Last thing is that i don't have an antenna in my Tx module, but i've saw that it's not necessary if i'm not to far the the Rx antenna.
So i need to completly understand why i can't receive the message i want to send, if someone could help me it would be amazing !!!


