Search found 182 matches
- Mon May 06, 2024 8:26 pm
- Forum: General
- Topic: Improve documentation with help of AI
- Replies: 4
- Views: 210
Re: Improve documentation with help of AI
Chat would be awesome. AI could be fed with the code and forum discussions, and you could just ask questions from it.
- Thu May 02, 2024 7:46 pm
- Forum: Projects
- Topic: [WIP] BMW E6 - 2002 Touring
- Replies: 4
- Views: 568
Re: [WIP] BMW E6 - 2002 Touring
Cool project, thanks for sharing! Which SimpBMS hardware with Teensy4.1 do you use? It's hard to keep an overview of (working) projects. Thanks! Plan is to control everything via canbus. Also adding some VCU functions to that Teensy and add a relay board to switch 12V to different devices. So only ...
- Wed May 01, 2024 7:47 pm
- Forum: Projects
- Topic: [WIP] BMW E6 - 2002 Touring
- Replies: 4
- Views: 568
Re: [WIP] BMW E6 - 2002 Touring
Type 2 charge port installed. Really nice fit. Need to invent something for attaching the original chrome cap to that plastic one.
- Mon Apr 29, 2024 7:45 pm
- Forum: Projects
- Topic: [WIP] BMW E6 - 2002 Touring
- Replies: 4
- Views: 568
Re: [WIP] BMW E6 - 2002 Touring
Motor removed.
- Sun Apr 28, 2024 7:39 pm
- Forum: Projects
- Topic: [WIP] BMW E6 - 2002 Touring
- Replies: 4
- Views: 568
[WIP] BMW E6 - 2002 Touring
Starting a project to convert BMW 2002 Touring from -73. Tesla SDU to the back, X5 pack to front, Outlander dc-dc and charger, Simpbms with Teensy 4.1 for BMS. IBooster and maybe Mini R56 electric steering rack.
- Wed Apr 24, 2024 9:36 am
- Forum: Battery Managment (BMS)
- Topic: Simp BMS
- Replies: 643
- Views: 245197
Re: Simp BMS
these forks are not affiliated with simp or tom, we are doing out own thing, unless you know what you are doing i would recommend buying either a real simp bms or the newer evs-bms from toms suppliers. Yeah, well aware of that. Though, I would probably buy that evs-bms (or discontinued simpbms) if ...
- Tue Apr 23, 2024 9:24 pm
- Forum: Battery Managment (BMS)
- Topic: Simp BMS
- Replies: 643
- Views: 245197
Re: Simp BMS
There seems to be many forks and copies of Simpbms git repo for different Arduino platforms (eg teensy 4, esp32) and chargers that are not supported by the official software. I plan to use my Teensy 4.0 (as 3.2 is no longer available) with X5 pack and Outlander charger. I've seen outlander support o...
- Sun Apr 14, 2024 11:09 am
- Forum: Hyundai/Kia
- Topic: 800V Hyundai Ioniq 5 Battery
- Replies: 14
- Views: 6858
Re: 800V Hyundai Ioniq 5 Battery
I'm also pondering about buying 16x EV6 modules and having 400V pack. Any ideas how many amps those can push out?
Bad thermal stability .. so cooling is a must, I guess? I'm currently happily running Model S modules without cooling and they don't get hot at all.
Bad thermal stability .. so cooling is a must, I guess? I'm currently happily running Model S modules without cooling and they don't get hot at all.
- Wed Apr 03, 2024 6:54 pm
- Forum: Inverters / Motor Controllers
- Topic: Accelerator pedal dead zone
- Replies: 104
- Views: 43378
Re: Accelerator pedal dead zone
Ok. That looks simple and easy to understand. Good to get rid of that dead zone with the official firmware too :). Hopefully I made it bit easier for you :) I agree that my code was bit difficult to read and maybe not as simple as I would liked it to be, but it works very nicely. Thought, just found...
- Tue Apr 02, 2024 5:28 pm
- Forum: Inverters / Motor Controllers
- Topic: Accelerator pedal dead zone
- Replies: 104
- Views: 43378
Re: Accelerator pedal dead zone
That looks completely wrong. Also the acceleration looks off, as it should be linear. Are you sure it's the right code? How do you test? Can I replicate that test somehow? What maxregentravelhz have you set? How about what rotor hz are you passing? If rotor hz is 0, it calcThrottle will return the s...
- Thu Mar 28, 2024 9:45 pm
- Forum: Inverters / Motor Controllers
- Topic: Accelerator pedal dead zone
- Replies: 104
- Views: 43378
Re: Accelerator pedal dead zone
Snow & ice has finally melted from the roads so I was able to take the first drive and properly test that throttle/regen code (https://github.com/jsphuebner/stm32-sine/pull/42/files). It works beautifully! Didn't drive too many kilometers yet, but the feel is very good. I would even say it's bet...
- Mon Mar 25, 2024 5:44 am
- Forum: Tesla
- Topic: How hard is it to kill a Tesla LDU encoder?
- Replies: 4
- Views: 820
Re: How hard is it to kill a Tesla LDU encoder?
I have tested encoder with wires the wrong way and the right way. It survived :) Easy to test with just basic multimeter too. Give it 5V and put some metal against side of it. Reading the signal wire and ground will change when close to metal. Other channel shows 5V when you bring metal close and ot...
- Tue Jan 09, 2024 8:17 am
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
It has standard caster angle & trail, and on standard steering-box cars it returns to center very well. There is +8,14 degrees of caster, so that should not be the problem (ideal is 3-5). It's been aligned and adjusted many times, trying to find what's wrong. Not binding, struct bearings checked...
- Mon Jan 08, 2024 11:05 pm
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
Yes, I'm planning to use it on my non-Mini car. Currently I have Citroen C2 EPS in my bmw that I got working with can, with speed data sent to it. Mini R56 rack is narrow enough to fit that 70s car. My problem with Citroen rack is, that it won't return to center properly. (Everything is checked, ali...
- Mon Jan 08, 2024 8:29 pm
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
What are you trying to do? Telling people what to post or not? Tell that what they do, is not worth it? Blaming for spamming? I feel forums are the place to openly write your findings, that might help other people. I explained above what I'm trying to do - to find how checksum is calculated for spee...
- Mon Jan 08, 2024 5:10 pm
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
Now when playing with that, it can be simplified to just summing up the 7 bytes and subtracting 604 from that. It will give you correct checksum. Like this uint8_t calculate_checksum(const uint8_t data[7], uint8_t can_msg_id) { uint16_t sum = 0; // Sum the first 7 bytes of data for (int i = 0; i < 7...
- Mon Jan 08, 2024 3:23 pm
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
After hours of trying different checksum calculation methods, with varying parameters none of them worked. Then Googling for some more checksum calculations, I found one checksum solution hidden in bimmerforums. Formula was: (<sum of bytes 1 - 7> - (0xFF - <can message id>) ) % 0xFF I tried this and...
- Sun Jan 07, 2024 9:06 am
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
Oh, very nice that DBC file, so much data to use with the log!
I guess I just need to do some brute force calculation to find that checksum. Trying all different combinations of data and can id, with all possible CRC checks and see what matches
I guess I just need to do some brute force calculation to find that checksum. Trying all different combinations of data and can id, with all possible CRC checks and see what matches
- Sun Jan 07, 2024 8:53 am
- Forum: Projects
- Topic: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE
- Replies: 409
- Views: 31327
Re: 1984 Voltswagen Rabbit
Tesla small drive unit between rear wheels? Too much work?
- Sat Jan 06, 2024 11:00 pm
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
It’s assisting alright, but my point was just to figure out how the checksum is calculated, as I’m sending current speed to it. But I think it’s not needed, ecu does not care about the checksum.
Thanks for the dbc file. Need to check it out. Does it have checksum calculation explained?
Thanks for the dbc file. Need to check it out. Does it have checksum calculation explained?
- Sat Jan 06, 2024 10:03 pm
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
Actually, I think it works without checksum after all. I did another test, by sending just static uint8_t speedData[1] = {0xff}; .. I could barely turn it by hand.. then doing another test with just this static uint8_t speedData[1] = {0x00}; .. it was lighter. Maybe the difference is more clearer wh...
- Sat Jan 06, 2024 9:41 pm
- Forum: General
- Topic: electric power steering mini cooper (R56) [SOLVED]
- Replies: 19
- Views: 2721
Re: electric power steering mini cooper (R56) [SOLVED]
Heya! I'm experimenting with this Mini R56 steering unit. Here's some more info that wasn't previously posted here: Yellow cable is ignition. Yellow/black is can high. Yellow/brown is can low. Can speed is 500kbs. To have it working, send these: every 100ms : id: 0x130 data: 0x45 0x41 0x21 0x8F 0x24...
- Sat Jan 06, 2024 11:09 am
- Forum: Honda
- Topic: I bought a Honda CR-V iBooster Gen 1 - Now what?
- Replies: 64
- Views: 20223
Re: I bought a Honda CR-V iBooster Gen 1 - Now what?
What happened to this project? Were you able to get it to work? I'm wondering if I should swap my manual brakes to ibooster ones ..
- Fri Dec 29, 2023 11:22 am
- Forum: Inverters / Motor Controllers
- Topic: Accelerator pedal dead zone
- Replies: 104
- Views: 43378
Re: Accelerator pedal dead zone
Attached a plot from my test. Not related to code changes - but if you're wondering - wheel start rotating only when potnom is higher than 6%. I've tried to overcome this by increasing ampmin to 18. But increasing that closer to 20, it starts to accelerate by iteself .. so I had to tune it down from...
- Thu Dec 28, 2023 4:47 pm
- Forum: Inverters / Motor Controllers
- Topic: Accelerator pedal dead zone
- Replies: 104
- Views: 43378
Re: Accelerator pedal dead zone
Just flashed this to my LDU and tested it in garage. Car is sitting on jacks, but wheels turn, throttle commands and plot looks very good. It's working nicely! Road testing it more when this snow melts and roads dry up.
Created pull request here: https://github.com/jsphuebner/stm32-sine/pull/42
Created pull request here: https://github.com/jsphuebner/stm32-sine/pull/42