Проблема при подключении HC-05

Hampines
Offline
Зарегистрирован: 17.05.2015

Доброго времени суток. Пытаюсь подключить Bluetooth-модуль HC-05 (полный, вместе с Base Board) к Arduino Uno. Сопряжение с телефоном проходит нормально, но когда пытаюсь загрузить скетч:

int cnt = 0;    // счетчик
 
void setup() {
   Serial.begin(9600);   // инициализация порта
}
 
void loop() {
   cnt++;
   Serial.print("Hello BB from Arduino! Counter:");  // выводим надпись
   Serial.println(cnt);    // выводим значение счетчика и переводим на новую строку
   delay(1000);   // ждем 1 секунду
}

вылезает это:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
 
Подскажите чайнику в чем проблема) Другие модули работают нормально, скетчи загружаются
 
jeka_tm
jeka_tm аватар
Offline
Зарегистрирован: 19.05.2013

кабель плохой