Pedelec Dashborad

Jochen Kudicke shared this question 4 months ago
Answered

Hello, I use this tool very often with my shelf made pedelecs base on VESC with BLE feature. My request is a Dashboard were I can display my pedelec data like Cardance, Battery Voltage, Assistancelevel (Watt) etc. All this data are available and can transmit via BLE to locus. Is it possible or can I programm a dashboard overlay? if yes with which IDE/Tool Kind regards Jochen Kudicke

Comments (8)

photo
1

Hi Jochen,

Dashboards are easy to make from within Locus: https://docs.locusmap.eu/doku.php?id=manual:user_guide:tools:dashboards

photo
1

Hi Jochen,

this is not possible with standard Locus interface/features. However, there are advanced customization options. You may try https://docs.locusmap.eu/doku.php?id=manual:advanced:customization:screens or https://github.com/asamm/locus-api/wiki to reach your goal. Good luck!

best regards

Michal, Locus team

photo
1

Hello Locus Team

Your support is fine and fast  thank you for this priviate effort. I Get closer and closer to my target. I you last comment you descripe how to brew your own dasboard with eclipse. Now what is still open is how i get my Bluetooth low Energy data send from a nrf52840 device (watt, battery voltage, Phase current etc) to Locus in a dashboard.  

It seem that i cannot receive ble Messages from a ble Sender direct such as standarized heardrate or a cardance ble device via ANT service?

Do you have any idea how i can solve this. Im farmiliare with embbeded programming so you can give me ideas?

Kind regards Jochen Kudicke

Gesendet von Mail für Windows 10

Von: Locus Map

Gesendet: Montag, 4. Mai 2020 14:30

An: Jochen Kudicke

Betreff: New Comment in "Pedelec Dashborad"

photo
1

Hello Jochen,

as an app developer, I'll try to help you here. Unfortunately, it's not clear to me, what exactly is a problem you try to solve.

Jiří M. aka Menion

photo
1

Hello Jiri,

sorry for me late response. I have try to solve this by myshelf but I stuck. Following situation: I have several ebike with an low energy blutooth sender (NRF52840). The sender provide different inportant information regarding my ebike control state which I want display in a dashboard in Locus during navigation. The most important data are:

1: Asistanc level - A number between 0 - 7


2: Battery Voltage: A number between 30-58V

3: Poower: A number between 0-1500 Watt

4: Cadance: A number between 0-150 rpm

5. Consumed WattHour: A number between 0.- 25.0 Ah Resolution 0.1 Ah (Optional)


My first idea was to use the ble services with are already implemented like cycling speed and cadance for instance, but my prefered solution is to implement a custom ble service sever to transmit this data to my android cell phone. The problem by this solution is that Locus can not read the data form a custom ble service, it can read only data from some predefind sensors.


Solution 1: (using existing ble services) I had the problem to display the asistance level and the battery level. For Battery level their exist a ble service but is not support by Locus as sensor


Solution 2: (using cusomized ble services) I need at least the Locus support to display at least this four upper discribed values


Or you have another solution.


Kind regards Jochen Kudicke

photo
1

Hello Jochen,

thanks for the precise explanation. This is quite a complex "problem".

I see the main problem in the fact, that Locus Map does not work with something like "device". It currently just receive various data and attach them to the current users location. So for example, it is not possible to pair "battery level/voltage" with some "eBike". Currently, there are also not supported values for assistance level, power, and consumed energy of the device.

I believe that pretty soon, I'll have to improve the current old system and allow to define my own device even over API, but for now, I do not have enough time for this.

So I'm sorry, but it is not easily possible. There is no option to extend the current ANT/BT manager system with its own device or own variables, the app is just not ready for this task.

Only what you may do I think, is to create the own application that will have own floating window with these values, independent on the Locus Map app. Quite a lot of work, sorry. As I wrote, we will have to add support for eBike variables soon, but ... not yet. Thanks for understanding. If there will be something more I may help with, feel free to write to me.


Menion

photo
1

Hello Menion,

thankyou for this extensive answer. Is it really not possible to add the standard BLE Services shown in the Android_NrfToolbox.png from Nordic Device?


The other picture show a test connection bewteen the Vedder VESC 4.12 BLCD Controller via UART to the NRF52840 BLE device which control a LCD Display. This display I want to replace with Locus and Dashboard.


Kind regards Jochen Kudicke

photo
1

Hello Jochen,

it is not just about reading variables from the sensor, but also about the support of these variables in recording panels, dashboards, charts etc. It is all doable, just not an easy task for one evening and I'm currently a little bit out of free time, sorry.

I have a personal "BT task-list" where I collect interesting ideas related to BT system. So once I start to rewrite it (hope it will be this year), I'll let you know here when something changes. Thanks for understanding.

Menion