BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       👉 SKETCH BUILDER

[SOLVED] HM-10 BLE disconnect after 5sec

Hy guys, need help with my project, i have hm-10 BLE module connected to arduino nano.
After successful connection with my Blynk app everything is working fine for about 5sec, then automatically disconnets and in the app says arduino nano is offline. Please help :slight_smile:

Can you post your sketch, schematic and debug output?

debug

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware “C:\Program Files (x86)\Arduino\hardware” -tools “C:\Program Files (x86)\Arduino\tools-builder” -tools “C:\Program Files (x86)\Arduino\hardware\tools\avr” -built-in-libraries “C:\Program Files (x86)\Arduino\libraries” -libraries “C:\Users\wasd\Documents\Arduino\libraries” -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10609 -build-path “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp” -warnings=all -prefs=build.warn_data_percentage=75 -verbose “C:\Users\wasd\AppData\Local\Temp\arduino_modified_sketch_724472\Serial_HM10_HC08.ino”
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware “C:\Program Files (x86)\Arduino\hardware” -tools “C:\Program Files (x86)\Arduino\tools-builder” -tools “C:\Program Files (x86)\Arduino\hardware\tools\avr” -built-in-libraries “C:\Program Files (x86)\Arduino\libraries” -libraries “C:\Users\wasd\Documents\Arduino\libraries” -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10609 -build-path “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp” -warnings=all -prefs=build.warn_data_percentage=75 -verbose “C:\Users\wasd\AppData\Local\Temp\arduino_modified_sketch_724472\Serial_HM10_HC08.ino”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\WidgetRTC.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\utility\BlynkDebug.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\utility\BlynkHandlers.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\utility\utility.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -Wall -Wextra -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\sketch\Serial_HM10_HC08.ino.cpp.o”
In file included from C:\Users\wasd\Documents\Arduino\libraries\Blynk/Blynk/BlynkApi.h:15:0,

             from C:\Users\wasd\Documents\Arduino\libraries\Blynk/BlynkApiArduino.h:14,

             from C:\Users\wasd\Documents\Arduino\libraries\Blynk/Adapters/BlynkSerial.h:18,

             from C:\Users\wasd\Documents\Arduino\libraries\Blynk/BlynkSimpleSerialBLE.h:23,

             from C:\Users\wasd\AppData\Local\Temp\arduino_modified_sketch_724472\Serial_HM10_HC08.ino:29:

C:\Users\wasd\Documents\Arduino\libraries\Blynk/Blynk/BlynkDebug.h:160:14: warning: ‘void blynk_dbg_print(const char*, …)’ defined but not used [-Wunused-function]

     void blynk_dbg_print(const char* BLYNK_PROGMEM fmt, ...)

          ^

Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\WidgetRTC.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\utility\BlynkDebug.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\utility\BlynkHandlers.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\utility\utility.cpp.o
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc” -c -g -x assembler-with-cpp -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S” -o “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_pulse.S.o”
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\WInterrupts.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\hooks.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_analog.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_digital.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_shift.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\CDC.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\PluggableUSB.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\Print.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\Stream.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\Tone.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\USBCore.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\WMath.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\WString.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\abi.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\main.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\new.cpp.o
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_pulse.S.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\WInterrupts.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\hooks.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_analog.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_digital.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_pulse.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\wiring_shift.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\CDC.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial0.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial1.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial2.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\HardwareSerial3.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\IPAddress.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\PluggableUSB.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\Print.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\Stream.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\Tone.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\USBCore.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\WMath.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\WString.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\abi.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\main.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\core\new.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc” -Wall -Wextra -Os -Wl,–gc-sections -mmcu=atmega328p -o “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp/Serial_HM10_HC08.ino.elf” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\sketch\Serial_HM10_HC08.ino.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\WidgetRTC.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\utility\BlynkDebug.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\utility\BlynkHandlers.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp\libraries\Blynk\utility\utility.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp/core\core.a” “-LC:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp” -lm
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp/Serial_HM10_HC08.ino.elf” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp/Serial_HM10_HC08.ino.eep”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -R .eeprom “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp/Serial_HM10_HC08.ino.elf” “C:\Users\wasd\AppData\Local\Temp\build315af92bcb07438ec8ddad4612f89d5f.tmp/Serial_HM10_HC08.ino.hex”
Using library Blynk at version 0.3.7 in folder: C:\Users\wasd\Documents\Arduino\libraries\Blynk

Sketch uses 6,586 bytes (21%) of program storage space. Maximum is 30,720 bytes.
Global variables use 287 bytes (14%) of dynamic memory, leaving 1,761 bytes for local variables. Maximum is 2,048 bytes.

sketch

//#define BLYNK_DEBUG
#define BLYNK_PRINT Serial

#define BLYNK_USE_DIRECT_CONNECT

#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “19031d7c9724fc5a2e8044cdc2dc9cd”;

#define SerialBLE Serial // Set Serial object

void setup()
{
// This is for debug prints
Serial.begin(9600);

SerialBLE.begin(9600); // Set Serial baud rate
Blynk.begin(auth, SerialBLE);
}

void loop()
{
Blynk.run();
}

shematics

I have connected HM-10 Master Slave Module with arduino nano TX-RX, RX-TX, GND-GND, VCC-3.3V

is that what you are asking?

tnx 4 help

Code snippets should be formatted. Edit your post!

Wrap the code by adding 3 Backtick: ``` symbols:

Example:

 ``` <--put 3 backticks BEFORE your code starts

   //Your code
   //goes
   //here

 ``` <--insert 3 backticks AFTER your code

**This makes your code readable and with highlighted syntax, like this:**
//comment goes here 
void helloWorld() { 
   String message =  "hello" + "world"; 
}

sketch

//#define BLYNK_DEBUG
#define BLYNK_PRINT Serial

#define BLYNK_USE_DIRECT_CONNECT

#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "19031d7c9724fc5a2e8044cdc2dc9cd";

#define SerialBLE  Serial      // Set Serial object

void setup()
{
  // This is for debug prints
  Serial.begin(9600);

  SerialBLE.begin(9600);        // Set Serial baud rate
  Blynk.begin(auth, SerialBLE);
}

void loop()
{
  Blynk.run();
}

debug

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware “C:\Program Files (x86)\Arduino\hardware” -tools “C:\Program Files (x86)\Arduino\tools-builder” -tools “C:\Program Files (x86)\Arduino\hardware\tools\avr” -built-in-libraries “C:\Program Files (x86)\Arduino\libraries” -libraries “C:\Users\wasd\Documents\Arduino\libraries” -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10609 -build-path “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp” -warnings=all -prefs=build.warn_data_percentage=75 -verbose “C:\Users\wasd\Documents\Arduino\Serial_HM10_HC08\Serial_HM10_HC08\Serial_HM10_HC08.ino”
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware “C:\Program Files (x86)\Arduino\hardware” -tools “C:\Program Files (x86)\Arduino\tools-builder” -tools “C:\Program Files (x86)\Arduino\hardware\tools\avr” -built-in-libraries “C:\Program Files (x86)\Arduino\libraries” -libraries “C:\Users\wasd\Documents\Arduino\libraries” -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10609 -build-path “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp” -warnings=all -prefs=build.warn_data_percentage=75 -verbose “C:\Users\wasd\Documents\Arduino\Serial_HM10_HC08\Serial_HM10_HC08\Serial_HM10_HC08.ino”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\WidgetRTC.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\utility\BlynkDebug.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\utility\BlynkHandlers.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\Documents\Arduino\libraries\Blynk\utility\utility.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -Wall -Wextra -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Users\wasd\Documents\Arduino\libraries\Blynk” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\sketch\Serial_HM10_HC08.ino.cpp” -o “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\sketch\Serial_HM10_HC08.ino.cpp.o”
In file included from C:\Users\wasd\Documents\Arduino\libraries\Blynk/Blynk/BlynkApi.h:15:0,

             from C:\Users\wasd\Documents\Arduino\libraries\Blynk/BlynkApiArduino.h:14,

             from C:\Users\wasd\Documents\Arduino\libraries\Blynk/Adapters/BlynkSerial.h:18,

             from C:\Users\wasd\Documents\Arduino\libraries\Blynk/BlynkSimpleSerialBLE.h:23,

             from C:\Users\wasd\Documents\Arduino\Serial_HM10_HC08\Serial_HM10_HC08\Serial_HM10_HC08.ino:29:

C:\Users\wasd\Documents\Arduino\libraries\Blynk/Blynk/BlynkDebug.h:160:14: warning: ‘void blynk_dbg_print(const char*, …)’ defined but not used [-Wunused-function]

     void blynk_dbg_print(const char* BLYNK_PROGMEM fmt, ...)

          ^

Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\WidgetRTC.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\utility\BlynkDebug.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\utility\BlynkHandlers.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\utility\utility.cpp.o
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc” -c -g -x assembler-with-cpp -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S” -o “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_pulse.S.o”
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\WInterrupts.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\hooks.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_analog.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_digital.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_shift.c.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\CDC.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\PluggableUSB.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\Print.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\Stream.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\Tone.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\USBCore.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\WMath.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\WString.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\abi.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\main.cpp.o
Using previously compiled file: C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\new.cpp.o
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_pulse.S.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\WInterrupts.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\hooks.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_analog.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_digital.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_pulse.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\wiring_shift.c.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\CDC.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial0.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial1.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial2.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\HardwareSerial3.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\IPAddress.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\PluggableUSB.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\Print.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\Stream.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\Tone.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\USBCore.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\WMath.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\WString.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\abi.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\main.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar” rcs “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\core.a” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\core\new.cpp.o”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc” -Wall -Wextra -Os -Wl,–gc-sections -mmcu=atmega328p -o “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.elf” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\sketch\Serial_HM10_HC08.ino.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\WidgetRTC.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\utility\BlynkDebug.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\utility\BlynkHandlers.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp\libraries\Blynk\utility\utility.cpp.o” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/core\core.a” “-LC:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp” -lm
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.elf” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.eep”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -R .eeprom “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.elf” “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.hex”
Using library Blynk at version 0.3.7 in folder: C:\Users\wasd\Documents\Arduino\libraries\Blynk

Sketch uses 6,586 bytes (21%) of program storage space. Maximum is 30,720 bytes.
Global variables use 287 bytes (14%) of dynamic memory, leaving 1,761 bytes for local variables. Maximum is 2,048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM24 -b57600 -D -Uflash:w:C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

     Using Port                    : COM24
     Using Programmer              : arduino
     Overriding Baud Rate          : 57600
     AVR Part                      : ATmega328P
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PC2
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : Arduino
     Description     : Arduino
     Hardware Version: 2
     Firmware Version: 1.16
     Vtarget         : 0.0 V
     Varef           : 0.0 V
     Oscillator      : Off
     SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: reading input file “C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.hex”
avrdude: writing flash (6586 bytes):

Writing | ################################################## | 100% 1.88s

avrdude: 6586 bytes of flash written
avrdude: verifying flash memory against C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.hex:
avrdude: load data flash data from input file C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.hex:
avrdude: input file C:\Users\wasd\AppData\Local\Temp\build0ee2afc9e1cb9d7180f1f1332d08ac4f.tmp/Serial_HM10_HC08.ino.hex contains 6586 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.41s

avrdude: verifying …
avrdude: 6586 bytes of flash verified

avrdude done. Thank you.

shematics

I have connected HM-10 Master Slave Module with arduino nano TX-RX, RX-TX, GND-GND, VCC-3.3V

better?

I think you need to use Software Serial either to communicate with HM-10 or to print debug logs.
With your code, both debug prints and Blynk data go to Serial, which is wrong configuration.

I have been removed code for print debug logs and nothing happened, arduino nano disconnects again after 5 sec. can you send me any good sketch to test arduino/hm-10/blynk
thanks in advance

#define BLYNK_PRINT Serial

#define BLYNK_USE_DIRECT_CONNECT

#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

#define SerialBLE  Serial      // Set Serial object

void setup()
{
  SerialBLE.begin(9600);        // Set Serial baud rate
  Blynk.begin(auth, SerialBLE);
}
void loop()
{
  Blynk.run();
}

Hey, you didn’t remove it completely. it should be:

//#define BLYNK_PRINT Serial   <------ comment here

#define BLYNK_USE_DIRECT_CONNECT

#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

#define SerialBLE  Serial      // Set Serial object

void setup()
{
  SerialBLE.begin(9600);        // Set Serial baud rate
  Blynk.begin(auth, SerialBLE);
}
void loop()
{
  Blynk.run();
}

Thank you very much, that helped :smiley: