You are here

Problem with Bluetooth connection (HM-10)

10 posts / 0 new
Last post
squdowx
Offline
Last seen: 4 years 6 months ago
Joined: 2018-07-07 17:35
Posts: 2
Problem with Bluetooth connection (HM-10)

Hello. I'm trying to connect to the vesc by hm-10 module. Everything is wired like on image below. Red led on module is blinking quite slowly. VESC tool mobile is recognizing module, but after clicking "connect" nothing happens, just red led stops blinking and flash constantly for about 1 sec. Tried on 2 phones- Xiaomi mi 5s plus and Huawei p9 lite- both the same. After many tries i got such information (2nd image below). What i can do now? Is anyone knows what that error means?

jzy1115
Offline
Last seen: 18 hours 26 min ago
VESC Free
Joined: 2018-03-19 07:14
Posts: 10

bq.jpg1.png

Ukesu
Ukesu's picture
Offline
Last seen: 1 year 11 months ago
VESC Free
Joined: 2018-07-24 15:53
Posts: 1

Same thing as squdowx.

jzy1115 post makes no sense to me to be honest because changing to PPM and Uart does nothing. I use 2 vesc and BL dongle is connected to Slave.

squdowx
Offline
Last seen: 4 years 6 months ago
Joined: 2018-07-07 17:35
Posts: 2

jzy1115 
Everything on this app is possibly to save AFTER connection, while we can't even connect via bluetooth to modul. APP CFG means vesc app configuration, . not this android app configuration.

jzy1115
Offline
Last seen: 18 hours 26 min ago
VESC Free
Joined: 2018-03-19 07:14
Posts: 10

The UUID of VESC tool is different from HM10, and my VESC tool is modified by UUID.

jzy1115
Offline
Last seen: 18 hours 26 min ago
VESC Free
Joined: 2018-03-19 07:14
Posts: 10

I used the official source code to modify the UUID and recompile it.

Pimousse
Offline
Last seen: 2 months 17 hours ago
VESC Original
Joined: 2017-05-24 12:15
Posts: 101

AFAIK, Vesc Tool mobile app is only compatible with NRF51 with custom FW written by Ben ( https://github.com/vedderb/nrf51_vesc ).

frank
Offline
Last seen: 6 days 22 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 846
portnawake
Offline
Last seen: 3 years 7 months ago
Joined: 2018-03-29 02:03
Posts: 9

Hi, trying to follow the instructions on  https://github.com/vedderb/nrf51_vesc to program some generic NRF51822 boards. 

The upload_merged script meant to offer a precompiled hex references a hex/nrf51_vesc_ble.hex that isn't provided 

There's only a nrf51_vesc_ble_wt.hex which probably doesn't apply to the pictured BT module.

Any help would be much appreciated!

-- Edit : Found that file in the GIT history. Hopefully that does the job

CTSchorsch
Offline
Last seen: 3 months 4 weeks ago
VESC Free
Joined: 2018-07-13 09:55
Posts: 101

Hi,

my nrf51822 was also not working with this hex file and is not recognize by the vesc-tool. It is a "Waveshre Core51822" Module, ordered by the german shop eckstein. It is a module with 256k flash and 16k memory. i got it up and running by programming the nrf51_vesc_ble_32k_16m_rx11_tx9_led3.bin file from the build_all folder with the following command:

openocd -f openocd.cfg -c "program build_all/nrf51_vesc_ble_16k_16m_rx1_tx2_led3.bin verify reset exit"

using a st-link 2

Maybe this will work for you also

Regards

Georg