recycling unity BLE module, what am i doing wrong ?

Bluetooth connection is an amazing feature and we got really quickly dependent…

So lately i was messing arround with my test board (flipcheap 4.12), and i said to myself : “hey! this is the perfect time for using that unity BLE module who seats on my desk since i got my Metr receiver!”

I quickly soldered some jumper cables, plugged it, enjoyed the bluetooth detection (unity BLE 1.1), installed the VESC app and tryed to connect …

well, basically it says that the connection is successfull but that it can’t read the firmware version (wich is not a problem on the windows software)

Uart is enabled, baudrate is 115200 bdp, i’m alimented in 3v3, the esc does it’s work without problem…

(tryed to switch the ADC and ADC2 connections that i was not 100% sure of, doesn’t change a thing)
(isn’t the BLE module using only TX and RX anyway ?)

On the module side: i get led2 solid green, and led1 slowly flashing blue, nothing else

Am i missing something ?

unity is a bit different from other vescs or should i say vesc based escs haha

i guess thats the reason

3 Likes

I was thinking about this. interested to know why it doesn’t work.

2 Likes

sure, but i don’t know why the bluetooth module would be different from the usual ones, it was nothing special in sé

1 Like

What firmware version is on your esc?

the last stable one the vesc tool gave me, i have to check

Please help, did you get this fixed?

1 Like

no, I realised I had other ble modules laying around and I lost interest,
I don’t remember exactly it was a long time ago, there was two possible explanations :

  1. I’ve read somewhere that the unity needs a different ble firmware than other vesc compatible hardware, so maybe you could manage toflash it ?
  2. it could have been a compatibility issue with the vesc configurator
1 Like

Would I be able to reflash a xiaoxiang bms BLE module?

ok, I’m far far from being an expert and this is the result of a wild guess and some googling, maybe @b264 have the answer ?

from what I’m seeing on github Vedder code works with nrf51 and nrf52 chips
the xiaoxiang bms BLE seems to be based on the CC2541 so it’s not likely than it is doable without “a bit” of codding

maybe you can post a picture of the bms’ module so we know for sure what chip it’s based on ?

EDIT: did you try if it works as is ?

1 Like

@Scepterr

I did not try yet, as I still had a spare metr. Will test soon!