RN-41 Timeout

Dear All,

I’m using the Arduino to Serial.print() data to my computer for wireless data logging. Right now, I have a SparkFun Bluetooth Module Breakout - Roving Networks (RN-41 v6.15) connected to my Arduino Uno. I’m using a Bluetooth USB Module Mini to enable Bluetooth on my computer and receive the data. I’m using Hyperterminal to read the data I’m sending in order to determine sample rates. However, when I connect for 10 seconds to 1 minute, my RN-41 will lose connection with my computer. I’m not sure why that’s happening.

Here is my code:

void setup()
{
Serial.begin(115200); //Setting the Baud Rate
pinMode(2, INPUT); //RTS is tied to pin 2
}
 
void loop()
{
if(digitalRead(2)==LOW){ //if RTS is low
  Serial.print(1); //Send the number 1
}
}

Thanks for any help you can provide!