Thanks so much for the response; looking forward to the KB write-up, Will contribute feedback best am able to.
Qt bringing flashbacks from some time back but at least it’s not TCL/Tk ;) (Did mostly backend from system services to middleware, APIs, etc. Was never a fan of front end coding, although can recognize good/poor UX and have run a few of those teams…am halfway surprised the UI isn’t a JS framework but also glad it’s not.. )
That’s great everything is or will be merged back to main; also reduces the sometimes insanity of long-running branches becoming effective forks and all the added maintenance.
I’m not expecting huge M600 power - physics has limits, but true programmability is a huge win. I think I saw reference somewhere to you using one of your controllers on a boat at crazy power levels? (‘crazy’ relative to todays factory ebike motors :) )? Sounds like you’re having fun, which is great!
Sounds like the M600 variant will support a gear or brake sensor cutoff then?
A random Q - technically it’s possible to blend inputs between cadence and torque sensors (possibly even accelerometer from the phone as unsure if controller or motors have one?). It seems like at least Innotrace takes this approach from what I can tell, with some adjustability. Will the blend of inputs be user accessible?
I suspect its only a matter of time before an Ultra-capable controller is released; will be happy with the M600 one for some time, but a fast(er) commuter may become a project down the road.. ;)
I saw a LUNA_<something> constant which is for the controller vs motor I’m assuming? Is the M600 v2 code merged at this point? Will pull the code down and see if I can find common definition files somewhere e.g for motor variants.
Will pipe down now and will keep my eyes open for the new KB updates and thanks again!
Announcement
Collapse
No announcement yet.
Luna BBSHD Ludicrous V2 controller documentation
Collapse
This is a sticky topic.
X
X
-
Thanks for the kind workds rtp, and congrats on your new X2 purchase!
Now that the X2 is out we are going to make another knowledge base thread this week for the M600 Ludi v2, but meanwhile I can tell you that the m600 v2 inherited the bbshd v2 schematic, with 12 fet instead of 18 fet and with canbus instead of serial (for the display) and an encoder. Torque sensing is another pretty major feature as well.
I tried the M600 v2 controller at 150Amps like the bbshd but we are talking about different motor and battery sizes so the bbshd comes with significant more punch (but not the ultimate punch as I've tested this same base schematic at 1000 Amps).
The same GUI source code builds the android, windows, linux, mac and (supposedly) IOS binaries, its the magic of Qt libraries. Code is here: https://github.com/vedderb/vesc_tool
The "luna edition" has minor usability changes that will be merged in the vanilla repo mostly because it solves a big headache for me that is distributing the android app, and solves an even bigger headache that will be IOS distribution. Hopefully we will have an IOS app for our luna bikes, but it doesn't depend on me so I'd rather not promise anything yet :)
M600 and BBSHD firmware is essentially the same, with #define switches to add or remove particular blocks of code and a different default motor parameters and limits.
- Likes 1
-
Soon-to-be X2 (M600-based) owner here. Read the entire thread including comments, a couple of Marcos PRs and article, VESC site, …
Hats odd to you, Marcos - I had some concerns on what the programmability of the M600 would really look like, but this is really impressive work (former sw engineer, have managed a couple of large embedded and firmware projects)!
I got my head wrapped around the axle a bit looking for commits to vesc-project but then saw the bldc repo…
I’m assuming the Ludiv2 controller for the M600 is the same board, or next revision of the BBHSD LudiV2, and generally similar overall on the app level aside from the added tq sensor input?
Is the Android app source somewhere in bldc? (haven’t pulled it down yet but year-end ‘take vacation or lose it’ is coming…)
I also saw recent notes in vesc project about proposing an alternate license for Apple.IOS approval - as a long time Unix/Linux geek, I sort of ‘should’ like Android, but … … - if that happens, would it apply to the Android app or only vesc tools core? (as mentioned, haven’t browsed the repos much yet).
Keep up the good work - this is exciting stuff!
- Likes 1
-
Originally posted by MattBzuraIs anyone willing to take my Ludi V2 controller and flash it/re-program it? It’s been sitting on a shelf since summer because I tried upgrading the firmware, and it stopped communicating via Bluetooth after it was finished. I probably made a mistake somewhere in the process, and it’s a brick now.
I contacted Luna, and I got some instructions that didn’t help me get any further. They said they can’t do it for me though, and I just can’t afford to spend any more time trying to learn what to do myself. I am knowledgeable in a lot of things, but this just ain’t one of them.
I’ll pay a reasonable service charge for for someone competent to help me get this sorted out. And to make the process even easier I’ll include a pre-paid return label with the package so you can just pack it back up, slap
on the label and put it in your mail box to return to me.
Thanks.
Matt
- Likes 1
Leave a comment:
-
Marcos, I will try to get the log from the android , and posted here
And yes I saw it on the android app, turn yellow first and them red and motor stop until get cooler, I pretty sure i need to program the controller better, but let me see how I can get the logs out of the phone and put in my laptop, using Mac , and never have an android .
Still love the controller, i have 2 luna bananas, one 1 of them have the ludi2, and I can see the difference . But I am sure I doing something wrong, because after 2 miles it stop because the temperature
- Likes 1
-
Hi Maro, here are some questions:
1) Was that 120°C?
2) Controller temperature or motor temperature?
3) Can you get a log of that?
I assume you saw 120°C in the android app gauges, that's motor temperature and I think is possible, kinda strange from PAS only but I guess possible if gearing was low. 50Amps for enough time can get the motor to 120°C
So yeah I would need to see some logs to see if there is a problem or not, and you would learn a lot from your own logs to optimize your power delivery as well.
- Likes 1
-
My luvi2 get to hot to fast, I drove 2 miles and controller get to 120 and shut down, even if I only pedal, Any one know what is wrong?? or where I can find the best set up??
Which tempeture you guys get on the controller??
Which is a good average tempeture??
- Likes 1
Leave a comment:
-
One side project at a time
I've been doing an stm32 based radio linked remote sensing system for "fun" and stm32 failure analysis for business... but it's likely a good time to go hunting for a ludi2 code development platform - please let me know if you hear of anything
Leave a comment: