i am using rf module that i bought from robokits
http://robokits.co.in/shop/index.php?main_page=product_info&cPath=7&products_id=414
i have read its product manual and done according as it is given in manual but i am not able to properly make communication between two trans receivers .
i am using arduino uno and duemilanove.
code for transmitter is:
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.println(40);
delay(2000);
}
code for receiver is:
void setup()
{
Serial.begin(9600);
}
void loop()
{
if(Serial.available()>0)
{
int a = Serial.read();
Serial.println(a);
}
Serial.flush();
}
i am getting only junk values in serial monitor.
additional info: i am using it in default mode i.e baud rate :9600 , powering up using arduino and connecting only gnd,vcc txand rx. I have made proper connections as given in manual.