Decided to run with Arduino Nano boards at either end of the canbus, have been reworking the original Kawasaki switchgear to work with a 3 wire setup to an Arduino board to read switch state and trigger the appropriate canbus message.
Thus far I have reworked the original horn switch to allow isolated current when switched rather than earthing as it did originally.
Not easy to see from the photo but the switch had to posts, one originally was blanked and the single pole earthed to the body of the switch. I drilled out the brass rivet that earthed the switch and soldered a new trace to the disabled pole from the switch contact and epoxied in place to allow current to flow from post to post.
Once that was out of the way I protoyped up now revision two of the circuit to detect switch state via a simple three wire circuit to the Arduino. This uses 5v / Ground and single analog input with resistors in parallel. This allows detection of multi switches being pressed (ie indicator and horn) also with different value resistors being used for each switch in the housing.
Next is working with resistor values to allow accurate detection of multi press and start testing with canbus messages to other Arduino which is controlling a relay board at the other end.
KZ-Cafe
Wednesday, June 1, 2016
Friday, December 4, 2015
Kicking things off.
Background...
So I had it suggested it might be worth collating some info as I progress on building up my current project a 1982 Kawasaki KZ440.
To fill in the blanks I brought the bike around 3 years ago with registration on hold and not in a good state, mainly to use as a daily commuter.
After a bit of work replacing speedo cable, rekitting the carbs and a few bulbs it was back in action and the commuting commenced.
Current State..
Sooo the decision was made to move to EFI and aid the 440cc block with a few pounds of boost courtesy of a unit from a B4 twin turbo legacy. The legacy relies on two small turbos running in parallel to provide enough air to feed the 2L and looking at inlet/exhaust compressor sizes etc should be able to get adequate boost out of the 440.To cleanup the wiring I'm moving to a canbus implementation. An arduino nano and shields providing relay triggering from can messaging, and at this point ATTiny85 + shield will provide the means to send messages on switch triggering.
Will be posting further updates and things progress.
Subscribe to:
Posts (Atom)