Clean Handlebars on my CAN Bus scoot
.
.

.
.
I have been looking at alternatives for clean handlebars.. the difficulty for all of us who ride CAN Bus Softails is the fact that there is no complete solution in the market for clean hand control switches.. ... sure.. there is Gripace.com .. but they do not make a CAN Bus version... also.. there is the CAN Bus controller from namzcustoms (http://www.namzcustomcycleproducts.c...ontroller.html ) however, it is just the controller, no switches..
Soo.. I put my knowledge in electronics and computer science to work.. and I built my own custom made CAN Bus controller.. how? first.. I hacked the CAN Bus network using electronic and computer tools.. once I identified how the HD CAN Bus works I built the CAN Bus Controller.. here is a pic:
.
.

.
.
.
I had to also hack the gripace switch assembly to get it to work with my CAN Bus controller.. it was a painful process.. but the switches work as intended.. here is a pic:
.
.

.
.
.
I installed the custom made CAN Bus under the tank.. here is a pic ( this is a prototype, I am planning on making a much smaller version):
.
.

.
.
The operation is simple... the innermost switch is horn, second is right turn, third is left turn, fourth is for toggling the high/low beam... to turn on the engine I press both first and second buttons at the same time..
It all works really well.. I am pleased with the looks of the clean bars.. the brake assembly is a cheap-o Ebay radial master cylinder.. I am planning on replacing it with a quality one like Brembo or Racing master...
Now.. for the real kicker!!.. while playing with the CAN Bus controller circuitry I started thinking "What else can I do with it??" .. I have experience working with Android phones, electronics and robotics.. and I thought.. "man... I pretty much have control of the bike... how about remote control??".. well.. after tinkering with the ignition switch and start sequence.. I decided that I can perhaps I can use some Bluetooth trickery.. below is a video of the result.. pretty cool uh??.
I'm trying to do some CAN bus sniffing on my 2012 Dyna, but can't get any data.
Would you mind sharing some info on how you managed to get connected to HD-LAN?
Which baudrate should I use?
Does HD-LAN requires the termination resistors?
Any help would be appreciated.
Thanks!
to sniff the data I used this:
http://www.microchip.com/Development...artNO=apgdt002
The unit works well.. the software is basic and obsolete.. but it gets the job done... the HD-LAN is basically the same as in a car.. OBD-II running at 500kbps.. no need for resistors..
I connected the Microchip module to the "Diagnostic Connector" under the seat:
Here is a company that makes cables that fit the connector (I made my own.. the connection is simple... CAN_LOW connects to CAN_LOW and CAN_HIGH to CAN_HIGH... plus Ground of course)
http://ecmcable.com/
.
.
.
to sniff the data I used this:
http://www.microchip.com/Development...artNO=apgdt002
The unit works well.. the software is basic and obsolete.. but it gets the job done... the HD-LAN is basically the same as in a car.. OBD-II running at 500kbps.. no need for resistors..
I connected the Microchip module to the "Diagnostic Connector" under the seat:
https://www.youtube.com/watch?v=EUW9dKjnCFU
Here is a company that makes cables that fit the connector (I made my own.. the connection is simple... CAN_LOW connects to CAN_LOW and CAN_HIGH to CAN_HIGH... plus Ground of course)
http://ecmcable.com/
.
.
.
I am using arduino and a CANBUS shield and couldn't get any data back.
Then you stated "plus Ground of course".
All of a sudden I am feeling so dumb...
I will try again tonight after work, but I think you have nailed it.
Thanks a lot!
I tried using the OBD service mode 01 with data byte 0x0C and 0x0D for rpm and speed , (Basically send OBD command 0x03 0x01 0x0C through CAN frame 0x7DF) but the response I got from it was negative ie 0x03 0x7F 0x01 0x11 through the CAN frame 0x7E8. Basically it means the function not supported. So did you actually get the data through OBD commands or directly reading any particular CAN frame data?
I am trying to display the speed/rpm on an LCD instead of the analog HD speedo on a 2013 Fatboy. Does Harley support streaming data through CAN for standard OBD information like the ones available in cars?
.
.
I tried using the OBD service mode 01 with data byte 0x0C and 0x0D for rpm and speed , (Basically send OBD command 0x03 0x01 0x0C through CAN frame 0x7DF) but the response I got from it was negative ie 0x03 0x7F 0x01 0x11 through the CAN frame 0x7E8. Basically it means the function not supported. So did you actually get the data through OBD commands or directly reading any particular CAN frame data?
I am trying to display the speed/rpm on an LCD instead of the analog HD speedo on a 2013 Fatboy. Does Harley support streaming data through CAN for standard OBD information like the ones available in cars?
The CAN bus data being generated in the Harley machines is not standard packets.. I never captured Speed/RPM data (at least I have not done it yet).. right now I am at odds about further developing the module.. mine is 2011, but 2016 have different ECM and also throttle-by-wire and cruise control, and now with the introduction of the 2018 models I am certain is another ECM / BCM combo with different codes.. I wish I had the money to buy 2016 and 2018 models and hack them and produce the modules.!!!... I think it is time for me to pitch this idea Shark Tank.. lol
.
.
.
.
.
The Best of Harley-Davidson for Lifelong Riders
BTW you should actually commercialize what you have developed and make some money out of it. Or else the effort you spend would not reap any benefit. I guess with right strategy you could make much more than what a 2016 model cost.
Also for development, you could rent out a 2016 model for a few days, right?
Good luck with hacking. I shall let you know about my progress. Right now not spending much time on it though.





