Man Hooks Up His 1994 Jeep Cherokee to ChatGPT

(thedrive.com)

50 points | by thehoff 22 hours ago

8 comments

  • js2 51 minutes ago
    Yeah, well, I have Apple CarPlay feeding directions to the head-ups display on my 2016 Mazda CX-9 when running either Apple or Google Maps. I also made the physical mute button pause/un-pause whatever media is playing. By, "I", I mean that I worked with Claude and Codex. The "hook" to get the Mazda entertainment system to run your own code when you plug in a USB thumb drive is having an empty file on the drive named like so:

      $(awk -v f=%c 'BEGIN{s=f f f f f f f f f f f f f f f f f f f;system(sprintf(s,115,104,32,47,109,110,116,47,115,100,91,97,98,99,100,93,49,47,116))}').up
    
    The entertainment system (running Linux) sees an *.up file as an update file, which it tries to unzip and in so doing passes the filename to the shell, which runs the awk script, which runs `/mnt/t` and away you go. The filename needs to be FAT-32 compatible, hence encoding it in awk.

    (There's a separate flaw that lets you run whatever javascript you want using mp3 files on the USB with titles that aren't properly escaped before the entertainment system displays them. Both of these incredibly primitive flaws trigger Claude Fable's safety controls to terminate the session, so I ended up doing most of the work with Codex, which btw, is so much less annoying than Claude in every possible way.)

    Based on this work:

    - https://github.com/KidMixer/mazda-carplay-hud

    - https://mazda-toolkit.monodev.org/

    Adapted for North America, and my own particular sensibilities about what I wanted displayed on the HUD.

    That Jeep Cherokee is a fantastic vehicle. A 1996 Cherokee Limited w/Upcountry suspension was the first vehicle I purchased new. Finally sold it when it was old enough to drink.

    • obmelvin 13 minutes ago
      OMG. I have long wished that my '21 CX-5 would show the CarPlay directions in the HUD in addition to the built-in maps.

      This is amazing. Thank you so much for posting. Excited for this project :)

    • loeg 26 minutes ago
      As usual, motorcycles are 10 years behind cars, but you can cast CarPlay/Android Auto to stock Yamaha motorcycle displays with Pillion: https://github.com/alexandrevega/pillion
    • syntaxing 35 minutes ago
      Super cool, is the HUD stock or is it after market?
      • js2 34 minutes ago
        Stock HUD. It displays navigation instructions via the built-in Mazda nav system, but when Mazda added CarPlay support, they didn't tie it to the HUD. Turns out it's relatively straightforward to read directions from CP (or AA) and send them to the HUD.
  • treetalker 22 hours ago
    Made me think that installing a local model with text-to-speech could give us a real-world KITT from Knight Rider.

    <begins searching for used Trans Ams>

  • t1234s 28 minutes ago
    Wouldn't be surprised if this guy gets job offers by edelbrock or similar companies that are in the market of making upgrades for older cars. Modules to add the tesla-app like functionality to older electro-mechanical cars is kinda cool idea.
    • potmat 1 minute ago
      Really doubt Edelbrock would ever release a hack like this as a real product. It's impressive but almost certainly violates some TOS somewhere.
  • tmysl 1 hour ago
    We're missing the chat-JEEP-T pun here.
    • CoastalCoder 3 minutes ago
      As a dad, I approve of this pun's quality.
  • alnwlsn 32 minutes ago
    There is something immensely amusing about having a fancy video with animations and all this advanced AI technology paired with a rats nest wiring harness, cheap relay boards and the finest copper-clad-alunimium Dupont jumpers you can buy.
    • dpeckett 1 minute ago
      The choice of relays was ... special. That 32 channel waveshare modbus unit was an excellent choice but then like 4-6 of the cheapest aliexpress relay boards possible? Then all the cable tapping rather than just splicing into the connectors etc, OMG.

      I guess the fact it mostly worked is impressive in its own way and a testament to just how far you can get with modern AI.

  • JoeAltmaier 22 hours ago
    "Make the necessary adjustments to pass the smog test."

    A curious statement. Does that mean, fudging the log?

    • metalman 21 hours ago
      no, actualy passing would be easier, as they do a physical sampling of what comes out the tail pipe. modern ignitions and injection systems are mostly software, and modifying the injection and spark timing to the very specific readings from o², mass air, and whatever else is availible on the car, if all else is in good shape should give a cleaner burn than factory new. modern motors with VVT are doing some funky stuff with ignition timing and injection, almost diesel, but with gas, and with the right data and modified software, you could get some of that with an older fixed cam motor, especialy if you have direct fuel injection, or at least indipendent injectors. 94 so there is probably a knock sensor which would work as a crude exhaust temp, and run it always nibbling on knock for a lean burn, your nox goes up at WOT, but they dont test for that, so likely cleaner overall, more power everywhere and better fuel milage. I am only an enthusiast, but know some top shelf engineers in the engine world who will likely be looking at this sort of thing to help with r&d for injection and ignition systems for after market use in varios motor sports. waste fuel means reduced range, greater heat which decreases performance and reliability while increasing maintenance, not to mention the polution and noise. as they say, the best place to take care of emmisions, is in cylinder.
      • dlcarrier 21 hours ago
        At least in parts of California, they don't test the exhaust any more. Every other year, I have to clear the logs and stay off the freeway for a few days, until all the tests are ready, then get a SMOG check. Once it passes, I can go back on the freeway, and my check engine light will instantly turn back on.
        • MSFT_Edging 51 minutes ago
          I know someone who had a car that lived its life in florida, and for whatever reason the emissions self-test is totally broken and can't get into a testing mode. The car would probably pass with a tailpipe sensor but the law says if it has a self test, it has to pass it, so no shop will pass it.
        • mehjustmeh 19 hours ago
          OBD2 cars will self-test the emissions system and a smog check is just reading the ECU. Older cars still need to have the tailpipe checked because they can't do that.

          The fun part is finding a shop that still does tailpipe testing.

          • js2 28 minutes ago
            In NC they used to just stop testing emissions after the vehicle reaches a certain age (20 years?) which kinda defeats the purpose, but I guess they figure there's not enough on the road at that point.
        • hnav 32 minutes ago
          Not for a 1994. OBD2-only tests are for 2000+.
        • VladVladikoff 48 minutes ago
          Maybe you should actually fix the problem that is causing the check engine light to come on??
          • toast0 5 minutes ago
            The smog check peeps are supposed to verify the check engine light turns on during the lamp test, so you can't just remove it. :P

            They also connect to the OBD-2 port, so the light doesn't really matter. :P

      • MSFT_Edging 52 minutes ago
        I've been wondering how much more efficient you can make an early EFI engine with the better knowledge we have today. I've got a car with an old ford 2.3 lima. It can in theory get 30mpg if you treat it right.
    • gpderetta 29 minutes ago
      Maybe they Volkswagened it?
  • twobitshifter 1 hour ago
    If you have seen the video, this guy is in full on AI psychosis believing everything the AI hallucinated as to why it could not fix his car.
    • dpeckett 6 minutes ago
      Not to mention he still hasn't addressed the original gasket issue that was causing the vehicle to fail its smog tests in the first place.

      Its certainly interesting to watch and I think we're going to see a lot of great AI assisted projects like this but boy does this one hurt to watch at times.

  • LegitShady 34 minutes ago
    Meh these kinds of articles are repetitive and useless at this point.

    He needs the llm to run his windshield wipers and turn on the headlights? My 15 year old car has remote start.

    Just tiresome. Who cares? It can read canbus congrats.

    • cmiles8 8 minutes ago
      I care. I find a letting AI loose on old hard-to-access tech is a solid use case. Things I’ve wanted to do but can’t because there’s no documentation or things are locked up in proprietary nonsense are now very possible by just asking AI to write custom code to sort through the mess.

      This guy is demonstrating exactly that use case.

    • buildsjets 20 minutes ago
      A 1994 Jeep does not even have OBD-II, much less a CAN network. He built a bespoke relay interface for the car.