Hi! i don't know if this is the right section, but i try anyway, let me know if i have to change
i have a problem with Arduino UNO and my BT module:
i connect the module to the computer, it found all and it result to be connected to the serial port COM5 (i use win8 -_-)
but when i try this little sample program the serial monitor window and the window of the program stops working:
char val;
int ledpin = 13; //Impostate il pin LED che preferite
void setup() {
pinMode(ledpin, OUTPUT);
Serial.begin(9600);
}
void loop() {
if( Serial.available() )
{
val = Serial.read(); }
if( val == 'L' ) {
digitalWrite(ledpin, HIGH);
}
else {
digitalWrite(ledpin, LOW); }
delay(100);
}
and the BT module appear offline.
I try all the things possible and i don't know what to do!! is it possible that i have to change something on my win8 properties? any suggestion or solution?
no, module is the bluetooth module, i put the BT on my Arduino, i connect gnd vcc and rx tx pins on Arduino board and attach the alimentation (not trough the pc but trough an external cable) i search with the pc the bluetooth devices and it found "linvor" that is the bt. i insert the key "1234" and connect to the pc the bluetooth that appear connected to the COM5. but when i go to check the bluetooth evices connected my linvor appear offline. i think that "offline" means that it is in standby state.