Davega problems or questions

So I’ve had a Robogotchi on the other port for awhile. I’ve never noticed anything wrong, but then again, I haven’t been looking for laggy data.

I just swapped the Robo and DAVEGA ports, on the bench, and ran a quick log.

Here’s the Robo graph:


Looks surprisingly spiky. The wheels were spinning constantly, and I wasn’t aggressively full-throttling.
Full log:
2022-07-01T00 17 50.csv (5.9 KB)

Yeah… very spikey
image
Although at least this appears to be reporting every second (which itself seems slow), whereas the Davega sometimes freezes for multiple seconds at a time.

Possible there’s an ESC-wide issue with TX & RX on the MakerX DV6 - any suggestions on how to test?

Edit: Tested again.

This time I tried to hold a constant speed to try to ensure a smooth graph and make laggy data more obvious. And while I was doing it, I noticed the Davega was getting a good connection! Green dots! No red dots. Interesting…

The data log was smoother, but doesn’t seem to do a good job of representing the speeds I was able to hold the throttle at (based on watching the now-updating Davega)…

Seems like I need to go for a full ride with these ports swapped and check the Davega and the Robo behavior. Will report back.

1 Like

Thanks for the details.

You could also try increasing the update interval on DAVEGA. Maybe the VESC is unhappy about being polled too frequently. Go menu > misc > update interval and increase to something like 500 ms.

1 Like

Sorry to resurrect your post, but I too am having the same exact issue as you seemed to have experienced with your DeVega; ie speed not displaying with acceleration. Did you ever figure out what the underlying issue was?

1 Like

Nope. I haven’t tried Jan’s latest suggestion - i would start there.

I’ve been working on a few other improvements, so i i haven’t had a chance to get back to troubleshooting. But it’s still a definite problem. Now i even sometimes have the whole Davega freeze and the only solution is to power cycle the board.

There’s a few variables here:

  • Which ESC are you running?
  • Is there a second port you can swap to?
  • Do you have any other wires (power especially) running right next to the Davega wires?
  • Is the Davega wire kinked or bent aggressively or cut?
  • Is your Davega showing the red blinking light at the top to indicate bad connection?
  • Make sure you have the latest firmware and the correct settings according to the website instructions
1 Like

@janpom i have recently installed a couple of davegas (the latest hw) on maker x d75s with fw 5.3.

The refresh rate between the esc and the davega is incredibly slow and inconsistent on both boards. Is there anything I can check to see why this might be happening?

Hard to really see in the video but the little packet indicators at the top are just red most of the time while the board is actually moving

2 Likes

@JoeyZ5 had a similar issue with his metr not refreshing properly.

With his D100? So likely a hw problem on the esc side you think?

1 Like

Does it only happen while riding or do you get red blinks even while resting?

Do you have any other DAVEGA that you could connect and see if that makes any difference?

While resting its all good. As soon as there is motor input it goes to shit. I’ll get a better video.

I do have another davega but its the same hw version and this is happening on two different boards, same setup.

1 Like

sound on so you can hear the motors

I see. Thanks for the vid. Do you have any other UART device that you could connect and test? Metr, Robogotchi?

@Oliver recently reported a similar kind of issue and he’s using the Trampa 75/300 VESC. I wonder if there’s something about these high voltage VESCs that’s causing issues in the UART communication.

1 Like

The d75 and the d100 both use 100/250 FW, not sure about the d60.

I really don’t want to open these boards again but they both have bluetooth modules… i will watch the RT data in vesc tool while doing some zoomies and report back.

1 Like

You could connect something to the DAVEGA cable (with a little adapter that I’m sure would be easy for you to make).

I just quickly checked with @rpasichnyk and he also had issue reports on Metr Pro (UART) with 75/300 VESCs so maybe there’s something wrong with the UART there. No reports for Metr Pro CAN so it sounds like a UART-only issue, but the evidence is still limited for being certain.

1 Like

That’s fucking genius. Ok, let me do some poking around.

1 Like

Yeah. He switched to a metr pro can and it was all good.

Yeah I think the D60/75/100 UART kinda sucks with some devices.

My metr pro UART didn’t work consistently
Metr CAN worked
My Flipsky nrf51 worked
MPU6050 IMU didn’t work consistently

This is exactly the behavior ive been getting for a few months with my DV6. Tried almost everything and i couldn’t fix it. After a long enough ride, this behavior led to complete freeze of the Davega screen.

@Oliver just PM-ed me that his DAVEGA is not working well with VESC 75/300 when under throttle but when he switched to 100/250, all is well, so this indeed looks as a problem with some VESC types.

We also discovered that DAVEGA FW v5.04 has a nasty bug that causes an infinite loop (freeze) when you press a button while riding. (While it’s rare that anyone would try to press buttons while riding, a button press may also be triggered when you hit a bump.) So if anybody is having freezing issues on FW v5.04 please update to the latest FW where it’s already fixed.

Running a BioX
14/67 gear drives
Davega FW 5.05

16S
190KV
175mm

RAMM calculator puts unloaded top speed at 46mph.
eskate calculator puts it at 48mph.

On the bench the Davega is displaying 42mph top speed.

Any guesses as to why this is lower than the calculators?

Took it for a test ride and RIDE GPS says I went 34.8mph while the Davega says 37mph. I know there is always a discrepancy between GPS and Davegas but that made me start looking at bench speeds.

This is what I’m getting for your specs on ESN calc.
I find its pretty accurate for loaded top speed.
I’ve never used the Ramm one.

One thing that helps narrow that gap is to measure your tires as they are not always the spec diameter.
5mm swing either way can be noticeable.

1 Like