Greetings to all.
I am in process of repurposing a couple of VX-1
components from my crashed and salvaged bike. I really
would rather keep them out of the local landfill.
The components I am using:
Instrument Control Module
Complete Wire Harness with Throttle/LEDs/Switches
Temperature Sensors with associated CAN Comm boards
((additional C.O.T.S. components not listed))
The project which utilizes these components requires
a conversion of the throttle digital signal to an
analog 0-5vdc signal. I have completed this task,
and it works very well thank you, but I still am struggling
with getting the turn signals to blink when the handle
bar switches are manipulated. I know the ICM in question
is in full working order because I can install it into
my working VX-1 and all is copacetic; however, when I put
it on the bench it just wont cooperate.
My questions relate to the ICM communication between
VX-1 modules and am hoping there is still someone around
whom may provide assistance.
The specific question(s):
1.) Is the ICM capable of working stand alone? (blinking leds etc)
2.) Does the VX-1 can bus utilize RTR messaging?
If so, which messages are required, what
responses are expected, and in what order?
3.) Is there a hardware/electrical signal needed
to "enable" the ICM: i.e. A dc level from a
divider which is used as an "enable" input to
the ICM circuitry.
If necessary please PM me... thank you.
Galago
What does your test setup consist of?
Test setup:
Vx-1 wire harness with Sensors, LEDs, switches and handlebars (jumpers on MC and Charger conn's)
12v 10ahr Li battery connected to ICM power supply pins,
edit: of course, the ICM itself....
Prototype circuit board (converts can throttle to 0-5vdc) includes 5vdc reg and provides 5vdc output.
One Tektronix 500mhz O'scope
One CanMon can bus monitor
couple of multimeters
I have a Can adapter but have not connected it.
PicKit3/MPLABXv5/XC8v2/laptop
various test leads/jumpers
Are you connecting both front and rear LED blinkers? Power forms a loop,ICM to front blink, front to back blink, back to ICM. And they are LED drivers not a 12V power source.
Also try connecting your CAN adapter. The CAN interface might be getting hung up. Set it to 250Khz
Front and Rear LEDs are connected.... The connectors only attach
in one orientation but is it possible to have them connected backward? (i.e. rev polarity)
Get a Brake light when brake levers are pulled but no Tail light nor Position light nor Plate light.
CanMon sees all Temp Sensors.
Prototype board gets the can throttle value, it also monitors a
couple switch status so at least reception is at, or very
close to, 250khz. Only have Listen Only Mode 1 enabled; although,
the thought did cross my mind to try and emulate the MC and/or
Charger hence the questions... but first things first......
I'll have to go searching for that Can adapter... it is here somewhere....
Connected the Can/USB adapter with the viewer and see all the data
as it updates and appears in my code. Having done this is a real
eye opener: Thank you X Vectrix.... I would not have do so without your input.
Further: and it is just as I suspected: thee.... um, ahem... *secret* code
must be sent from the MC before the ICM will activate the lights. This is
exceptionally easy to do from within the can viewer; and, once I did this
the lights now go blinky blinky ... sort of like Xmas on my bench :-))
Thanks again....
Now I just have to figure out how to send this msg from within my code....0x15
CHEERS!
oh yeah, it may default to charging mode w/o CAN message which disables some lights etc. ... completely forgot that.
Glad to here you got it running