Vx-1 CanBus Monitor
It is only a prototype....
... and there are a few things that need attention yet,
like it still needs a box...etc...
but here is the long awaited much anticipated
Can Bus Monitor for the Vx1...
If you like it please let me know.
I like it, A Lot, Amazing, Well done, I want one...Two actually. How much and when..How good would this be embedded into the Handle bar cover.. I have access to a 3D printer and lots of black ABS plastic.
Exceptional.
But what did it display when charging lol !
I'd buy two as well.
Several questions
Will you be selling them?
if so (and as I am ok with electronics)
1 will you be selling them as complete units
2 kits (parts ready to solder with i assume a pre-programmed pic)
3 schematics with source code ?
To be honest you have done the hard graft and I am sure many people here would love one of these and would also like to pay you for your efforts.
Well done... can i beta test it lol
Cheers
Chris
Wonderful! I need 2 of them for both Vectrix that I own.
THAT
IS
AWESOME!
Brilliant, got to get me one of those
That looks very nice, well done!
Is the trimpot used to dim the back-light?
+1 I would be interested in a few for both bikes
Very clever... but... I have a couple of questions now having seen the latest video...
In normal riding mode, (battery discharging) current is drawn from the battery and so a sign convention would be helpful here (I'm not sure if there is a recognised standard for this sort of thing yet?). If not, I would suggest as discharge is 'depleting', then the current drawn ought to be indicated as negative current value; i.e. -123A from the battery. When you then use regen, the battery is replenished with charge; so display a positive current value; i.e. 54A. Just a thought! You may not have enough characters/segments remaining to show a +ve/-ve sign on the display?
When the charging part of the video is shown, it would seem that a current value of something like 111A at 135V is obtained, shortly after switch on, when normal charging mode is established - this is surely not the case! It looks like you're reporting the speedo needle position - i.e. 111km/h. The charge scale is (as far as I'm aware) to be read on the m.p.h. scale and divided by ten. So, 111km/h is 69mph so 6.9A charge current. I may be wrong but this is the way I understood it. To test my 'what I heard', we can take a nominal charge voltage of say, 135V x 6.9A charge current. This is 931 Watts into the battery which does seem a bit low to me so my information source/calculations may well be incorrect. Even if I allow for a charger efficiency of only 70%, then power in (from mains supply) would be 931/0.7 = 1330W and I thought they (both types) were 1.6KW input chargers (at max power).
Either way, it looks like there may need to be some more number crunching somewhere along the (canbus) line.
Very impressive nonetheless!
Drew
Thinking about it some more, it may be the case that the charge current is actually km/h divided by a factor of 10... this would mean 111km/h is 11.1A charge current at nom 135V. 11.1 x 135V= 1498W. 1.6kw input (at full whallop) gives a charger efficiency of approx 94% which seems more like it to me. It also means the charger only has to dissipate 100W of losses.
Can someone tell me if this is correct?
Thanks chaps.
Best wishes,
Drew
The pic's as promised. End of charge at 140V and 1"space".7 amperes ;-)
((like I said...it's still in prototype stages so that shall be corrected))

If you look at the photo of your speedo, the needle appears to be at 107km/h so could '1' 'space' '7' be '107' without the 'zero' being displayed (for whatever reason)? I think you may just be picking up on the needle position reading, as in; indicate a value of 107 on the display, rather than a current value output? Just a thought!
Also, where did you place the current monitor? AC input or DC output side?
Good work - and I fully appreciate that it's work-in-progress!
Best wishes,
Drew
Really impressive work, congratulations!
I want one for my vectrix.
Do you have the original Nimh batteries? I've seen your vectrix going under 104 volts in a youtube video. That extreme undervoltage, allowed by early MC firmware, kills the NIMH battery very kickly. Try to keep it over 120 volts (115v min).
Very impressive - Arduino hardware? I'm trying to do the same thing, but with a slight difference - I'm trying to write values to the dash - specifically to the battery gauge - Counting amp-hours rather than voltage.
I take it you look for a certain ID in the string and strip the value? I'm stuck on the hardware for canbus to serial at the moment...
I don't have temperature sensors on the batteries (LifPo4) so things like phase current/battery current would be useful to read/intercept.
Thanks Drew - um... the ICM (instrument cluster module) is a separate entity
from the charger and motor controller (as I understand it)
Just to avoid confusion, as far as I'm aware, ICM stands for Interface Control Module - see below... hence it does more than drive the instruments alone.

The zero was left out in formatting the display to
leave out the leading zero characters when displaying a value less than ten - so
when the display went to more than 100 and less than 110 then the display looked like 1 7.
That has been corrected to display a zero when the values fall between 100 and 110.... so now its 107.
Ah, I can see why you did that now!
Also, where did you place the current monitor? AC input or DC output side?
I placed the current meter on the AC input to the bike. The display indicated more than 13 amperes.
What is your mains supply voltage - presumably 120V? This would mean a power input of 120V x 13.3A = 1596W which sounds about right. (1.6kW charger) The DC output wattage will be less due to a few losses in the charger (wasted as heat, hence fans). If we took your needle position as an indication of a dc charge current of 10.7A at 140V dc, then that is a DC power of 1498W, giving a charger efficiency of approx 94%. It does seem to stack up. It would be great if someone could shove a current meter in the DC charge line and actually measure it! Sadly, I'm not about to tear into my daily commuter to find out. I'm sure Mik or The Laird may well have done this already.
Keep up the good work! I look forward to seeing how you get on with it!
Drew
During charging, the speedo shows the charge current (DC) multiplied by 10.
During charging, the speedo shows the charge current (DC) multiplied by 10.
Using the km/h scale rather than mph? That it what seems to be the case.
During charging, the speedo shows the charge current (DC) multiplied by 10.
Using the km/h scale rather than mph? That it what seems to be the case.
That's right: Divide the km/h value by 10 to get the A (DC) going into the battery.
Sorry, I wasn't very clear there. I am trying to figure out how to read the canbus packets - I am very interested in the hardware you are using - from your comments I would be assuming its a PIC, are you using one with inbuilt CAN communications, or are you using an interface to talk between the CAN bus and the PIC?
Ie. MCP2515 to SPI? Very interested...
Stupid triple post!
Stupid triple post.




Hi Everyone....
Thank you for the positive feedback, it is most welcomed; but, alot
of the credit has to go to Mik for doing the initial legwork and posting
all of the data/comments garnered from the Vx-1 CanBus. In all honesty
I probably would not have pursued this project without it.
My apologies for the poor quality video in the garage.
((what you see in the video is the maiden voyage/1st test run))
The display is formatted as follows:
Battery-"V"oltage "F"ront (Pack C Temp/sensor readings)
Buss-"A"mperes "R"ear (Pack C Temp/sensor readings)
...during charging the values are obtained from the charger (obviously);
and, during riding the values are obtained from the motor controller....
at least all of the documentation I have used as a reference indicates
this to be so.
I have as yet to work out any details but I was hoping to
make this available for sale soon... please stay tuned...
@ BigTony: Please PM me, thanks.