#konahacking — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #konahacking, aggregated by home.social.
-
Well this sucks.
The Hyundai Kona battery pack I have in my shed needs a BMS software update or the cells might catch fire. This is on a battery pack that was already replaced under a different recall!
I don't think I'm likely to convince Bendigo Hyundai to let me trundle in a loose battery pack for a standalone update, much less a hacked together Hilux.
I haven't done much #KonaHacking in over a year now, for a few different reasons, but I hadn't given up. Now I think this might be the end of my ambitions to reuse the full Hyundai OEM system in an EV conversion. 😿
-
Put the lid back on the can until I get a chance to rethink logistics.
Still, after an unexpectedly intense year it feels good to make any progress on this at all.
-
Clean room assembly, meet my dusty shed.
Plan for today was to remove the bus bars and seal it up again, so next time I don't need as much PPE. But (unlike the last time I did this) the bus bars aren't readily accessible...
-
New post in my Hyundai Kona Electric reverse engineering series: introducing the Fakon project
https://www.projectgus.com/2024/12/fakon/ -
In all seriousness I am amazed at the absolute crimes you can commit against modern communication protocols like USB and CAN and they just keep on going.
Pretty decent engineering.
(This was me splitting out the CAN junction that joins all the individual CAN buses of the Kona's motor stack together. By bridging them in one at a time I was able to identify which modules send a few of the remaining unknown CAN bus IDs.)
-
Spent a bunch of time today refactoring the Fake Kona firmware to use dynamic dispatch in #Rust. It now has ~25% smaller binary (less monomorphisation) and is clearer structured.
However, was just reading the new glue code and immediately realised I'm passing around *way* too much mutable state. No wonder this was so fiddly to do!
Old habits die hard, and I've accidentally gone and recreated the original Python architecture of this program in Rust. With Rust quietly pushing back at every step! 🤦♂️
-
New blog post with latest update of my Hyundai Kona Electric reverse engineering odyssey...
-
Back in the shed wrestling the Bench Kona this afternoon. Hyundai's Vehicle Control Unit (VCU) is now satisfied that it's seeing a (non-existent) brake controller. 🎉
Only one stray fault code left, as it still complains that it can't see the main vehicle gateway.
This has been a case of taking the long route on the long route to what already would have been a huge project anyway, but maybe starting to get somewhere!
-
Spent the afternoon in the shed gradually pulling the unused wires out of the Bench Kona's rats nest to get something tractable.
Getting there, moving one wire at a time to the discard pile... and it all still seems to be working.
-
New post in Kona EV reverse engineering series. Nothing super huge to report this time, although there are some short videos with graphs of underdamped motor controller behaviour...
-
Got to do some "bush mechanics" style Kona EV investigation yesterday.
The runaway motor speed behaviour happens even in a real car with everything operating normally apart from the front wheels off the ground!
Even if you put it in Neutral, it will still spin up to max rpm until you apply the brakes. It's a very small amount of torque, but no rpm limit at all!
Best guess, this is intentional to pre-load the drivetrain while stationary and avoid wear.
Although it's kind of wild that Hyundai engineers don't seem to be worried about the case that a mechanic puts it in Drive on a hoist to check something, or a driveshaft breaks...
-
New blog post: getting my crashed Hyundai Kona EV's motor to turn outside of the car.
https://www.projectgus.com/2024/01/kona-motor-turns/
(Also: wires. So many wires!)
-
-
Not particularly spectacular, but I made the first visible progress on my "Bench Kona" after many months tinkering around the edges...
It went into Drive! 🕺 (More importantly, it closed the HV battery contactors - but that's harder to photograph!)
Now all the components are letting me read diagnostic trouble codes, which means the "car" can once again tell me what it thinks is wrong instead of just staring at me silently while I guess.
The motor hasn't yet turned, but I'm 99% sure this is because I'm sending it fake static brake controller data so it thinks my foot is hard on the brake at all times.
-
Published make_cabana_route, a tool to import locally captured CAN logs into comma.ai's Cabana tool for analysis. https://github.com/projectgus/make_cabana_route/
Plus a blog post about the overall challenge of analyzing CAN logs from these Kona EVs:
https://www.projectgus.com//2023/10/kona-can-decoding/ -
Pulled some Kona EV modules out on the bench this weekend and got them talking over CAN. For example, the quite simple Shift Selector Switch (literally four buttons with LEDs!) Now with some DBC file entries at https://github.com/projectgus/hyundai-kona-ev-can-logs/tree/main/dbc
and a very basic control program at
https://github.com/projectgus/car_hacking/blob/main/hyundai_kona_ev/shift_select_switch.py -
Have been playing around with Cabana, the web-based open source CAN reverse engineering tool that comma.ai make.
I've gotten it to run locally without any of comma.ai's API, and with locally hosted videos and logs (nothing I'm doing is self-driving related so it's a poor fit for comma.ai's model, but it's still a good tool for syncing CAN log data with videos of us mucking around in our crashed Konas).
Finally got that working pretty well (see screenshot). Then today I realised that Comma.ai have deprecated this web-based UI and have a new Qt-based Cabana with a bunch of extra features, and official support for locally stored data (albeit still in their log format). 🤦♂️
-
Another blog post in this series on dismantling a Kona Electric for future EV Conversion use: https://www.projectgus.com/2023/03/ev-conversion-two/
-
Published a new blog post about ongoing EV conversion project:
https://www.projectgus.com/2023/03/ev-conversion-one/Still back a bit in the past, but caught up to about two months ago now...
-
This counts as progress! #KonaHacking #EVConversions
-
Auspicious day[*], we're going to start dismantling the crashed Kona!
I've started a thread on OpenInverter about where we are up to, as well:
https://openinverter.org/forum/viewtopic.php?t=3045[*] Also the first day under 30 this week
-
Took the opportunity to CAN log a short DC fast charge session before we took Oli's smashed Kona off his truck. Should come in handy later. #EVs #EVConversions #KonaHacking
-
Local EV conversions may be coalescing around Hyundai Kona parts after my mate Oli got a 2021 model as salvage for a very reasonable price. Here we are picking it up in his 1974 model Toyota Dyna.
Hopefully this gives me the nudge I need to finish figuring out the control protocols for my crashed 2019 model...