You are here

VESC Express - Logging

11 posts / 0 new
Last post
velolac
Offline
Last seen: 2 months 1 week ago
VESC Original
Joined: 2019-11-03 09:57
Posts: 41
VESC Express - Logging

Hi there,

 

I have been following the steps in the manual, and also checked the Express Demo video by Benjamin (https://www.youtube.com/watch?v=wPzdzcfRJ38) however I am still not able to set up the logging on an SD card. Log started and log stopped text is shown after pressing their corresponding button, but still, the connected device/filename/browse menus are all empty. What am I doing wrong?

Is there a limitation on the card size to be used? I have tried it with a 32Gb SD card, no success in any file system (exfat/NTFS/FAT32).

Thanks in advance.

 

 

velolac
Offline
Last seen: 2 months 1 week ago
VESC Original
Joined: 2019-11-03 09:57
Posts: 41

Hi,

 

I have bought a Sandisk 64Gb SD XC card and it worked right away. What is strange is that I think it was originally formatted as exfat, but after using it with the logger it became fat32. However still no success with the smaller Kingstone 32GB SD HC card.

 

I have observed that during HFI testing the log only cathes the GPRS data, probably the CPU is already fully utilised.

Another note, that the logged rate of the GPS (with the quite big trampa GPS modul, Beitian BN-280) is 500ms or 2Hz, with standard settings (10Hz log rate set up) with FW 6.00, inhouse. Will update this info if there is a difference, after I have made an enclosure for the logger modules and was able to log on the go.

velolac
Offline
Last seen: 2 months 1 week ago
VESC Original
Joined: 2019-11-03 09:57
Posts: 41

Additional thoughts on VESC Express:
Great thing to be able to log inner values, this is an important tool for improving a system, I definately recommend it.

While planning to integrate it in your system keep in mind that it has a power draw as well, heat should be shed somehow. One IC/transistor heats up to 60-65C in the open at room temperature. Vesc together with express roughly consumes 2W while logging based on voltage level drop during stand by.

Express tool connection and connection setup is still somewhat buggy (FW6.02), will post in beta forum.

MaSh
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2023-01-03 22:29
Posts: 3

same here. I can not reproduce the steps from Ben's video, e.g.

https://youtu.be/wPzdzcfRJ38?t=576

the terminal on my side offers the following commands:"ubx_poll" as mentioned by Ben is not available. This where I get stuck

Valid commands are:
help
  Show this help
threads
  List all threads
mem
  Print memory usage
can_devs
  Print all CAN devices seen on the bus the past second
hw_status
  Print some hardware status information.
can_scan
  Scan CAN-bus using ping commands, and print all devices that are found.
uptime
  Prints how many seconds have passed since boot.
nmea_info
  Print NMEA message information
ublox_reinit
  Re-initialize ublox gnss receiver
PeteL
Offline
Last seen: 3 weeks 3 days ago
Joined: 2023-11-09 00:52
Posts: 5

Hi Guys, I'm new to VESC,and having the same problem as above No GPS data.
GPS data is not available on the terminal (nmea_info), and restarting it with ublox_reinit returns "cannot set baud".
Same as above, the GPS module is a Beitian-280, it has a GPS lock according to the LED pattern.
With a CRO I can see the data on module Tx pin, and on the Rx pin of the Express module.
Is there a way to connect to the ESP's serial port with the terminal screen? So I can test that comm path?
I suspect it might be do-able with LispBM but I haven't got that far yet (not by a long way, so much to learn!).

Hope we can get this working, otherwise it'll have to be a return to Trampa.

Cheers.

Pete L.

 

PeteL
Offline
Last seen: 3 weeks 3 days ago
Joined: 2023-11-09 00:52
Posts: 5

SOLVED!

The guys at Trampa, took this up with Benjamin, (In a very unlikely place!) and got it solved with new firmware for the Express. The Beta zip file "vesc_tool_BETA_ALL.zip" has the fix bin inside the VESC-Tool code (Sorry if everyone knows this already, it confused me) Connect to the Express using this Beta version of VESC-Tool and go to Firmware, vesc_express.bin and upload. My gps started reporting data straight away.

Big thank you to Benjamin and the guys at Trampa.

Pete L.

macfly1202
Offline
Last seen: 1 week 5 days ago
VESC Free
Joined: 2023-07-01 13:47
Posts: 2

I wondering is express-logger with firmware 6.05 compatible with 6.02 vesc firmware. Really hard time try to find a compatibility matrix. Thanks for help ! 

PeteL
Offline
Last seen: 3 weeks 3 days ago
Joined: 2023-11-09 00:52
Posts: 5

Once I used the beta version which was version 6.05, the GPS worked. But I did have VESA-Tool crashing issues, so I reverted everything back to 6.02 and the GPS continued to work, so I assume the problem was with setup of the GPS, probably setting baud rate.
But now the logging on the SDcard doesn't work! Not sure why, and stopped chasing it as I started logging on the phone with the app.
There was a Discord post
"but LOGGER CAN ID must be set in logUI on '-2' and not '2' like I done."
that the poster said worked for them, but sadly not for me.
Cheers. P

MaSh
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2023-01-03 22:29
Posts: 3

thx Pete for all that Info

I first had trouble to find the Beta zip file "vesc_tool_BETA_ALL.zip" . Dave from Trampa told me "You need to log into vesc-project and then go to purchased files at the top, you should find the beta version in there. "

I could reproduce almost all steps. I could not get a fix yet as I'm still in my workshop and cant get my bike out of it.

I could test write to the SD card only when I have set Can ID in the APP-Ui to -2

will report back once I have had a fix outside of my workshop.

macfly1202
Offline
Last seen: 1 week 5 days ago
VESC Free
Joined: 2023-07-01 13:47
Posts: 2

Hi, 

I would like to know which STABLE (RELEASE) firmware version of Vesc is compatible with express logger. Currently I have on Express logger: 

Firmware : 6.5

Hardware : VESC Express T

IDF Version : v5.0.1-3-g886e98a2c1

My Vesc  firmware is 6.02 (

Firmware: 6.2

Hardware: 75_300_R2) 

and it seems that I have missing value on logs file. What is the recommendation please ?  

electricfox
electricfox's picture
Offline
Last seen: 2 hours 1 min ago
VESC Original
Joined: 2019-01-01 17:11
Posts: 98

You can use 6.02 without issues on all devices. It's correct that some of the values in the Express log are not present which you know from the log you do while using your PC. Also valuenames are different. It's possible to add more using lisp. Benjamin describes it in one of his YouTube videos.