First release of BMW E46 package for the S54 was released, so that's now off my plate for a short while. Back to debugging the transmission control on the 330 next.
However, one thing that annoyed me was I was unable to get the steering wheel controls going.
Well, with some horribly written Arduino code, I got it going. Yay! So now I will have cruise control again on the Motec. Just need to spit out the data over CAN. Simple 8 bit data protocol, not hard to get going. Exercise left to the user.
I got a MoTeC native implementation of it done, but it's...even worse than my Arduino code. There's nothing fast enough to capture the pulses except..a pulse buffer. But, it's tied to engine rotation, and thus it's not going to work with my eventual EV conversion package. So I'll lean on the Arduino code in a nicer fashion. But, for now, it does work, just need to tune the cruise control. It's pretty neat, it targets a given acceleration rate and uses a simple Integral controller. By default it uses the Throttle Aim, but because I have my torque model, I hacked it (this is not normally modifiable) to use the throttle pedal instead. Since it's just using the error to calculate the change, it should work fine. And it seems to work reasonably well.
So a little bit of tuning on that, then waiting for feedback on the S54 stuff. But I'm going to fix the wiring to work on the M130 for the 330 so I can start testing things again.
Other items of note:
I got the CHAdeMO port (along with a J1772 port) from a LEAF.
Seller must sell a bunch of electronics stuff given the amount of times the box was used already.
Packaged well.
Dirty as usual.
It got a little broken. You can also see the covering connector which pretty easily came off.
It cleaned up pretty well.
Part number.
I'm looking for the mating connector to this, so I can hook it up to the CHAdeMO cable...
As you can see it fits well enough for a 5 minute test session to log data. Need to figure out how to log the SWCAN side too. (Chademo, SWCAN, Car CAN all at the same time should prove to be fairly illuminating.)
I picked up a US spec charge port controller as well. Need to figure out what connectors to use.
Then it was my birthday on Sunday, so took Monday off and went to the Oregon coast. It was nice.
That brings us up to date (except for the LG batteries in the next post...too many pics per post?).
Next items:
* 330 transmission debugging
- Be less aggressive about following requested torque
- When monitoring data looks as close as possible, test again.
* Battery interconnects
- I have no idea what to buy for this.
* BMS wiring
- Need a molex-compatible crimper...the official ratcheting one is nice, but...$300
My crimper 'worked' on the test wires I did on the SimpBMS (hey, an Arduino board
), but I'd rather a better one.
-Matt