VESC Open Source - Android App Features?!?!

Lightweight / Folding / Portable EVs - seats optional
pf26   100 mW

100 mW
Posts: 39
Joined: Nov 17 2014 1:37pm

Re: VESC Open Source - Android App Features?!?!

Post by pf26 » Oct 26 2015 2:05pm

I think your initial value should be 0 for CRC, not 0xffff.

User avatar
j3tch1u   10 kW

10 kW
Posts: 687
Joined: Dec 26 2008 2:09pm
Location: Taipei, Taiwan

Re: VESC Open Source - Android App Features?!?!

Post by j3tch1u » Oct 26 2015 2:09pm

you are absolutely correct! i am now getting the correct CRC checksum values using 0x0 as the first byte. thanks very much...now onto the deserialization... :)
pf26 wrote:I think your initial value should be 0 for CRC, not 0xffff.

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: VESC Open Source - Android App Features?!?!

Post by hillzofvalp » Oct 26 2015 4:32pm

:mrgreen: NERDS will/are rule/ruling the earth. I'm really interested in trying to make this work with my controller..

pf26   100 mW

100 mW
Posts: 39
Joined: Nov 17 2014 1:37pm

Re: VESC Open Source - Android App Features?!?!

Post by pf26 » Nov 16 2015 1:28pm

@j3tch1u: did you start getting some results on this bluetooth connection ?
I'm still looking for an Android based display (mostly to check battery state of charge) and logger for VESC.
Can you post what your code if you think it might be reusable, at least the bluetooth part ? Thks.

Elon Musk   100 µW

100 µW
Posts: 8
Joined: Jan 16 2016 3:42am

Re: VESC Open Source - Android App Features?!?!

Post by Elon Musk » Feb 15 2016 10:58am

What there any progress in the Android app?
Interested to see if anyone was able to harvest the telemetry info from VESC.

torqueboards   100 MW

100 MW
Posts: 2940
Joined: May 27 2013 10:02pm
Location: San Francisco, CA
Contact:

Re: VESC Open Source - Android App Features?!?!

Post by torqueboards » Feb 15 2016 12:58pm

I know, jacobbloy is working on an Android App with VESC. It's looking pretty nice.
DIYElectricSkateboard.com Electric Skateboard Kits

jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Feb 15 2016 4:13pm

Yes I can get full real time data from the vesc, and it will be incorperated into the app, I am also porting the wii nunchuk code to arduino for every one

RollingGecko   100 W

100 W
Posts: 110
Joined: Jul 14 2015 2:20am

Re: VESC Open Source - Android App Features?!?!

Post by RollingGecko » Feb 15 2016 6:09pm

Hi,

If you are looking for a Arduino implementation just take a look here: http://rollinggecko.github.io/ArduBoardControler/

If you only need a UART implementation for Arduino look here: https://github.com/RollingGecko/VescUartControl

Here is also a running thread to: https://endless-sphere.com/forums/viewt ... 35&t=73812


Cheers

Andy
Github: https://github.com/RollingGecko
ArduBoardControl: The Nunchuk Arduino implementation for the VESC: https://github.com/RollingGecko/ArduBoardControler
Berlin Custom Boards: All around DIY longboards: https://www.facebook.com/berlincustomboards/

jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Feb 15 2016 7:12pm

Yes I have seen your work, I have spent a lot of time with vedders code now, and he has his USB bridge that works through the can bus protocol so it is a lot easier to pull data from the vesc.

For the mobile add I just use direct spi any way

User avatar
Montiey   10 W

10 W
Posts: 89
Joined: Dec 10 2015 6:23pm

Re: VESC Open Source - Android App Features?!?!

Post by Montiey » Feb 15 2016 9:10pm

Just a thought.. Once the Android / iOS apps are functional, may I throw the idea of a smartwatch link out here? I have a Pebble Time, and all the apps that "do stuff" like gopro (camera remote) , or uber, need phone connectivity. So, communicating with a phone is natively supported, and easily, to. What if you had the watch display voltage, distance, speed, etc.? Writing pebble apps (VV Link VV) seems simple enough.
https://developer.pebble.com

KayWerks   1 mW

1 mW
Posts: 16
Joined: Feb 16 2016 1:45am

Re: VESC Open Source - Android App Features?!?!

Post by KayWerks » Feb 16 2016 2:03am

jacobbloy wrote:Yes I can get full real time data from the vesc, and it will be incorperated into the app, I am also porting the wii nunchuk code to arduino for every one

Can we has the build for the app so far? I am super super interested in how to get Real Time Data from the VESC.
Image

jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Mar 12 2016 9:14pm


jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Apr 01 2016 3:35pm

hi so i have fixed ble working perfect now with the the HM-10 chip,

one big problem with these chips is that you can't do write with response (unless its a fake) so when writing data you are limited to a 20 byte write.
i changed the bldc code so this isn't a problem any more and did some vesc firmware changes that help the whole thing work.

i got real time data to run smoothly and know i just need to finish my FOC tab and I'm done.

Ptown_Cruiser   1 mW

1 mW
Posts: 19
Joined: Feb 18 2015 2:10pm

Re: VESC Open Source - Android App Features?!?!

Post by Ptown_Cruiser » Apr 01 2016 9:27pm

jacobbloy wrote:hi so i have fixed ble working perfect now with the the HM-10 chip,

one big problem with these chips is that you can't do write with response (unless its a fake) so when writing data you are limited to a 20 byte write.
i changed the bldc code so this isn't a problem any more and did some vesc firmware changes that help the whole thing work.

i got real time data to run smoothly and know i just need to finish my FOC tab and I'm done.
Woohoo! Can't wait for this! All the work you have put into this is awesome!

Pantologist   1 mW

1 mW
Posts: 14
Joined: Apr 06 2016 9:45pm

Re: VESC Open Source - Android App Features?!?!

Post by Pantologist » Apr 10 2016 1:51pm

Ptown_Cruiser wrote:
jacobbloy wrote:hi so i have fixed ble working perfect now with the the HM-10 chip,

one big problem with these chips is that you can't do write with response (unless its a fake) so when writing data you are limited to a 20 byte write.
i changed the bldc code so this isn't a problem any more and did some vesc firmware changes that help the whole thing work.

i got real time data to run smoothly and know i just need to finish my FOC tab and I'm done.
Woohoo! Can't wait for this! All the work you have put into this is awesome!
He also started working on a way to operate the board through the app, which should be awesome!

jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Apr 10 2016 5:03pm

And Iv finished that part and it works great, I'm now started trying to attach the volume buttons to also control your speed but that is proving harder then I though through qt!

Pantologist   1 mW

1 mW
Posts: 14
Joined: Apr 06 2016 9:45pm

Re: VESC Open Source - Android App Features?!?!

Post by Pantologist » Apr 10 2016 5:18pm

jacobbloy wrote:And Iv finished that part and it works great, I'm now started trying to attach the volume buttons to also control your speed but that is proving harder then I though through qt!
Oh nice!

That is really an extra though. I don't think that would work on iOS would it?

Wouldn't it be hard to brake/slow down with clicking so much on the volume keys?

Maybe a cruise control activation would be nice for the volume buttons. Up Volume to Activate at current speed and down button to disable.

jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Apr 13 2016 2:07pm


pete1990   100 µW

100 µW
Posts: 8
Joined: Aug 10 2016 12:22pm

Re: VESC Open Source - Android App Features?!?!

Post by pete1990 » Aug 10 2016 12:36pm

Hey,

as I couldn't find an android app for logging the VESC Data, I made one myself. My goal was to see live data over bluetooth and to save it in a file. So my app is very simple with not a lot features other than logging as you might see in the screenshots. It also still has some bugs, but it works for me for now. The data may be evaluated in Microsoft Excel afterwards (at least thats what I did).

Feel free to download it. Still not perfect and still some bugs, but you can check it out if you want. Feedback is always welcome.
https://play.google.com/store/apps/deta ... er_monitor
Screenshot_2016-08-08-06-31-49.png
Screenshot_2016-08-08-06-31-49.png (98.37 KiB) Viewed 2548 times
Screenshot_2016-08-08-06-32-01.png
Screenshot_2016-08-08-06-32-01.png (96.48 KiB) Viewed 2548 times
Screenshot_2016-08-08-06-32-09.png
Screenshot_2016-08-08-06-32-09.png (103.17 KiB) Viewed 2548 times
excel.PNG
excel.PNG (80.16 KiB) Viewed 1036 times

jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Aug 10 2016 7:26pm

Good job mate. The fact my app dones basically every thing BLDC tool does makes Have so much more potential for bugs

Pimousse   10 mW

10 mW
Posts: 23
Joined: Jun 28 2016 7:36am

Re: VESC Open Source - Android App Features?!?!

Post by Pimousse » Aug 11 2016 1:52am

@pete1990 : that looks really great !!
What do you use as bluetooth device on the VESC side ?

@jacobbloy : all VESC configuration in an app is also cool !
Is your app also available somewhere to try ?
What kind of hardware requirement do you have ?

Thanks guys !

jacobbloy   100 W

100 W
Posts: 237
Joined: Feb 12 2013 4:45pm

Re: VESC Open Source - Android App Features?!?!

Post by jacobbloy » Aug 11 2016 2:19am

Pimousse wrote:@pete1990 : that looks really great !!
What do you use as bluetooth device on the VESC side ?

@jacobbloy : all VESC configuration in an app is also cool !
Is your app also available somewhere to try ?
What kind of hardware requirement do you have ?

Thanks guys !
mine needs some firmware modification to work correctly.

pete1990   100 µW

100 µW
Posts: 8
Joined: Aug 10 2016 12:22pm

Re: VESC Open Source - Android App Features?!?!

Post by pete1990 » Aug 11 2016 3:41pm

Pimousse wrote:@pete1990 : that looks really great !!
What do you use as bluetooth device on the VESC side ?


Thanks guys !
I just used some standart bluetooth to serial adapter I had lying around. Something like this: http://www.ebay.de/itm/Bluetooth-Serial ... 3641.l6368
But I guess almost all of this kind should work fine.

User avatar
myzter   1 kW

1 kW
Posts: 403
Joined: Aug 08 2008 11:30am
Location: Van, B.C.
Contact:

Re: VESC Open Source - Android App Features?!?!

Post by myzter » Aug 18 2016 1:03am

I will try your APP .. soon!!
thankyou

User avatar
pavlik1   10 W

10 W
Posts: 88
Joined: Aug 02 2010 2:31am
Location: Switzerland

Re: VESC Open Source - Android App Features?!?!

Post by pavlik1 » Aug 24 2016 6:15am

pete1990 wrote:Hey,

as I couldn't find an android app for logging the VESC Data, I made one myself. My goal was to see live data over bluetooth and to save it in a file. So my app is very simple with not a lot features other than logging as you might see in the screenshots. It also still has some bugs, but it works for me for now. The data may be evaluated in Microsoft Excel afterwards (at least thats what I did).

Feel free to download it. Still not perfect and still some bugs, but you can check it out if you want. Feedback is always welcome.
https://play.google.com/store/apps/deta ... er_monitor
Excelent :D thank you

tested and working with BT HC-05 at 115200bps.

What is the chance to see VESC configuration option? Also slider with current limit will be very handy.

Thanks again for the good app.
1st radiator fan motors, 20km/h stolen after 2 days
2nd 250W-24V eZiplike motor with gear. 36V, 8Ah, peak 1000W, 40km/h
3rd GM 48V 1000W, 16S 20Ah WinForce Lipo. speed over 72km/h - LiPo FIRE
4th Recumbent HS3540 2X16s BMSbattery 48V 20Ah
5th Haibike Attack FX, e-novation M15 13S LiIon
6th 26'' with e-novation M15 10S, VESC and throttle
7th City-El 16S WBLYP100AHA TTL140B

Post Reply