Hello Everyone.
Firstly I dont know much english... but I have a problem for my thesis.I want to explain to you , maybe you can help about
I did communication system with transmitter-receiver 433 Mhz ( Serial )
in this way..
1 arduino 1 transmitter
void setup()
{
// Initialise the IO and ISR
vw_set_ptt_inverted(true); // Required for RF Link module
vw_setup(2000); // Bits per sec
vw_set_tx_pin(3); // pin 3 is used as the transmit data out into the TX Link module, change this as per your needs
}
void loop()
{
const char *msg = "Community of Robots"; // this is your message to send
vw_send((uint8_t *)msg, strlen(msg));
vw_wait_tx(); // Wait for message to finish
delay(200);
}
1 arduino 1 receiver
void setup()
{
Serial.begin(9600);
// Initialise the IO and ISR
vw_set_ptt_inverted(true); // Required for RX Link Module
vw_setup(2000); // Bits per sec
vw_set_rx_pin(4); // We will be receiving on pin 4 i.e the RX pin from the module connects to this pin.
vw_rx_start(); // Start the receiver
}
void loop()
{
uint8_t buf[VW_MAX_MESSAGE_LEN];
uint8_t buflen = VW_MAX_MESSAGE_LEN;
if (vw_get_message(buf, &buflen)) // check to see if anything has been received
{
int i;
// Message with a good checksum received.
for (i = 0; i < buflen; i++)
{
Serial.print(char[i]); // the received data is stored in buffer
}
Serial.println("");
}
}
its working serial monitor '' Community of Robots''
so far everything good and working but I cant measure signal (dB)
reference link
I want to measure the strength of the signal in dB and, I looked in the forum about this topic; Everyone say that '' Xbee '' but I don't understood for I don't know much english
How can I measure signal beetween the two arduino ( RF-TX) I think you say that '' RSSI '' and
simply how can I see the distance between two antennas
Thank you for your help :