Wednesday, June 1, 2016

Minor bits and pieces...

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.

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.




After about 18 months the motorcycle bug had bitten, having been into doing up cars I decided I wanted to do a cafe style build with the KZ and started off with a few tweaks, bolting on a set of drag style bars, new mufflers, and dropping the front ride height which made things a lot nicer on the mainly open road riding I was doing.




A few months later the engine started showing signs of being in an unhappy state so a good opportunity to kick things off properly.

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.




I already had a MegaSquirt EFI controller I had assembled for a previous project which has been reverted to stock firmware and board layout and setup for the twin, once things are startable will work on adding spark control. Serial comms have been moved to onboard bluetooth to allow cableless tuning.



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.