Bluetooth Frame. Uploading skatches via bluetooth.

Dear support,

I've bought seeeduino Film and Bluetooth Frame module. They are nice and connect to each other well. I just want to ask you - whether it is possible somehow to upload sketches via bluetooth frame? I've tried to do it in Arduino IDE. I plugged Film, then chose correct port, then pushed upload button but got the following message:

avrdude: stk500_getsync(): not in sync: resp=0x00

Am I doing something wrong? Does Buetooth Frame support uploading sketches?

Yours sincerely,
Vlad.

:slight_smile: Hi there,
Do you select Board->Arduino Pro or Pro Mini(3.3V,8MHz)w/ATmega168 ?
Suggest you to try to download code without bluetooth Frame by read this wiki.
http://www.seeedstudio.com/wiki/index.php?title=UartSB_Frame#Usage

Deray

Thank you for your prompt reply,

of course I read this wiki page. I can upload sketches whithout bluetooth frame well (using UART programmer).

BTW, I noticed that Bluetooth Frame has a pin which is connected to 9th Film pin. As far as I can understand, this pin is the RESET pin of the SPP (Serial Port Profile). So, this pin may be used to reset arduino in order to upload sketches. But, I do not understand why this pin is connected to 9th Film pin but not to RESET pin of arduino?

I tried to solder this pin to RESET pin of arduino, but I faced with another problem: when I set boudrate to 19200, Bluetooth Frame becomes not visible (e.g. I cannot connect to it, PC basically does not see Bluetooth Frame). The official documentation states that Bluetooth Frame supports 19200 boudrate. What is wrong? I have the following code:

Does Bluetooth Frame really support 19200 boudrate?

void setup() {      
    Serial.begin(19200);
    delay(1000);
    setupBlueToothConnection();    
}

void loop() {
  
  if (Serial.read() == 'a') {
    Serial.println("You are connected to Bluetooth Frame");
    //You can write you BT communication logic here
  }
 
 
}

void setupBlueToothConnection() {
 
    sendBlueToothCommand("+STWMOD=0");
    sendBlueToothCommand("+STBD=19200");
    sendBlueToothCommand("+STNA=SeeeduinoBluetooth");
    sendBlueToothCommand("+STAUTO=0");
    sendBlueToothCommand("+STOAUT=1");
    sendBlueToothCommand("+STPIN=0000");
    delay(3000); // This delay is required.
    sendBlueToothCommand("+INQ=1");
    delay(3000); // This delay is required.
 
}
 
void sendBlueToothCommand(char command[]) {
 
    Serial.println();
    delay(200);
    Serial.print(command);
    delay(200);
    Serial.println();
    delay(1000);   
    Serial.flush();
}