NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Man hooks up his 1994 Jeep Cherokee to ChatGPT (thedrive.com)
js2 1 days 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.

hnlmorg 1 days ago [-]
Back when the original RaspberryPi was released, I built an in car entertainment system that used TTS to announce artist and album names, and had physical buttons wired into the GPIO pins.

I’d have killed for something like ChatGPT back then to help with the EE.

novia 1 days ago [-]
Codex is much less annoying than Claude, but, last night it started issuing major refusals for benign tasks in a way that makes me think they also might be going down the dark path
willy_k 21 hours ago [-]
If this is on the desktop app and not the CLI, it may be a symptom of some weird sandbox changes made merging Codex and Work.
novia 9 hours ago [-]
Oh? It was. Any way to fix?
smolder 14 hours ago [-]
They're all going down the dark path eventually. "Frontier" models are just going to be as unhelpful as possible and extract money from people in a matter of years.
sandworm101 12 hours ago [-]
The frontier models will become the equivalent of MS windows or office365, used and paid for by commercial entities and sheep. Power users will run local models that suit their needs, models without silly safety features.

I was just talking to a lawyer buddy of mine. They are having significant issues with commercial models and "abuse checking" even for the allegedly "sandboxed" private services. So they are strongly looking into open-weight local-hosted models just to get away from content/abuse checking. [Lawyers deal with stuff that can be full of trigger words that upsets safety checks.]

loeg 1 days 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
1 days ago [-]
cloudfudge 1 days ago [-]
Clever trick. In case anyone else is curious, what that string evaluates to is "sh /mnt/sd[abcd]1/t"
obmelvin 1 days 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 :)

mandeepj 4 hours ago [-]
I m tempted to try this on my C6's HUD
gregsadetsky 21 hours ago [-]
I really want to get my Honda Civic 2013 to run custom code on the small info display (ie a pure software takeover). Are there any similar-ish efforts that anyone knows about?

Similar-ish thread from a month ago: "Jailbreaking my car's navigation system just so I can change the time" https://news.ycombinator.com/item?id=50339288

VladVladikoff 1 days ago [-]
Something with how my glasses and vision works but I absolutely loathe those heads up displays. I know someone with a Mazda cx30 and driving it was a painful experience. As in literally painful, it gave me a terrible headache and I can’t see well through that portion of the window. Maybe because of my astigmatism.
js2 1 days ago [-]
You can adjust its height or turn it off entirely. I wonder if it might be the refresh rate. I really miss the HUD in cars that don't have it, especially the current vehicle speed is nice to have.
fc417fc802 1 days ago [-]
Not op and no astigmatism (AFAIK) but agreed that certain flicker rates certainly bother me sometimes. Separate from that many displays have an indescribable quality to the light that I sometimes find irritating and I've heard similar things from other people. However I've never gone to the trouble of rigorously quantifying the phenomenon since it would be so much effort.
dmoy 1 days ago [-]
> I wonder if it might be the refresh rate

Having previously fought through various very-bad-astigmatism-induced headache things, I kinda doubt it.

I've had similar headaches from things with no electronics - bullseye practice with a mis-adjusted lens for astigmatism can trigger it.

Only real solution is to fix the corrective lenses (glasses, contacts, separate lens inserts, laser eye surgery, whatever).

VladVladikoff 1 days ago [-]
I need to try turning it off next time, but I think it’s not the display but the way the glass is formed to reflect the display. The whole area is harder to view out of. Just that one portion of the windshield that was designed to reflect the display, the glass is different in that part.
js2 1 days ago [-]
Interesting. I had no idea the windshield glass was special, though apparently it is. On my particular Mazda I don't discern anything different about the glass in the HUD area. I'll have to look more closely at it tomorrow!
thezachcooper 22 hours ago [-]
Actually, it is special. It's really interesting why. A windshield for a head-up display has a wedge-shaped layer between the two sheets of glass. Normal glass reflects the display twice, once off the inside surface and once off the outside, so you'd see a faint double image. The wedge tilts the outer surface just enough that both reflections land in the same spot. That's why the quality of the glass matters so much when a windshield gets replaced: without the wedge, the display ghosts. Great find on the CarPlay hack, by the way.
sandworm101 11 hours ago [-]
>> especially the current vehicle speed is nice to have.

Which is the one thing I really do not need but is the first thing every manufacturer wants to put on the HUD. Maybe it is because I own manuals, but I really don't like the distraction of a constantly changing/blinking number projected into my field of view. Also clocks. Totally useless information for a HUD.

EdwardDiego 23 hours ago [-]
Ooh, I'm reading this as I wait for my child, in my 2015 Mazda 3. Time to do some looking to see if I can do similar and dump the OS to see if I can finally disable that "Pay attention when driving you schmuck" dialog the entertainment screen always shows after booting!
js2 9 hours ago [-]
Yes that's trivial to disable. It's also easy to make the touchscreen usable when the vehicle is in motion as well as keep the entire UI usable. I'll publish my repo today and link to it from here.
js2 5 hours ago [-]
https://github.com/jaysoffian/mazda-patcher

https://github.com/jaysoffian/mazda-patcher/blob/fdef8b88883...

Dumping the original OS is trivial. Grab `cmu150_NA_74.00.324A_update.up` from the internet (widely available), assuming that's your FW version. That's just a zip file. Its password is here:

https://www.mazda3revolution.com/threads/mazda-up-filw.25078...

The clankers can take it from there.

The entertainment system is mostly a bunch of javascript running under opera.

shostack 1 days ago [-]
How badly does this void the warranty cause any issues with insurance and the like?
AngryData 1 days ago [-]
Well they would have to know you did it. And automobiles in the US can't have warranties invalidated unless they can prove your modification was the cause of failure.

Vehicle modifications by consumers in the US is kind of like the Wild Wild West though. Nobody really gives a crap except cops looking to write nuisance tickets for noise, or in a handful of states passing an occasional emissions test. And if someone really wanted to do something wild they will just find an old 1950s VIN tag, slap it on their home built contraption, and register it as a modified 1950s vehicle that had worse emissions than a modern weed wacker and no factory seatbelts so there is essentially zero restrictions on anything except overall size and weight limits.

onionisafruit 1 days ago [-]
A nice thing about a 10 year old car is you don't have to worry about voiding the warranty
FartyMcFarter 1 days ago [-]
You do have to worry about insurance though.
EdwardDiego 23 hours ago [-]
I've never seen an insurance policy that include sentertainment devices in the list of aftermarket modifications / accessories you need to disclose.
1 days ago [-]
syntaxing 1 days ago [-]
Super cool, is the HUD stock or is it after market?
js2 1 days 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.
idontwantthis 23 hours ago [-]
Is it hard to reset to factory if you screw something up badly?
js2 22 hours ago [-]
Not particularly. You can go through the firmware upgrade process to restore the original firmware. This modification isn't particularly intrusive in any case, not like some of the original Mazda AIO tweaks were.
fnord77 20 hours ago [-]
thank you for reminding me. I want to get car play to display song lyrics on my HUD
Sharlin 15 hours ago [-]
Singing karaoke while driving sounds… distracting.
maxgashkov 1 days ago [-]
holy shit, will try it on my mazda3 2019
bishop_mortimer 1 days ago [-]
I was working on software on the radio for the Jeep and other Fiat (Chrysler) vehicles back in the early 2010s. My company doing infotainment, the OS was from RIM (Blackberry), Built-in network radio from Sprint. Somebody made some mistake somewhere at RIM, and you could find any car with the software on the local Sprint network and get into the Canbus. You could, for example, deploy the brakes.

https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...

I'm mostly glad it wasn't our fault.

The OS was Odd. Same Java UI as BlackBerry. Our software was in a sandbox which was a little rough. Based on a coworker's calculation every web request we made had exactly a 1 second delay, like someone left a sleep(1000) statement in.

ehnto 1 days ago [-]
Dang, that's bad. Was it resolved by Jeep?

I worked on a vehicle telematics platform that was read-only on the CAN bus, and the idea of OTA updates gave me the chills.

This was a fairly novel application and it's essentially running on a mirrored CAN bus in a subsytem so there is no way it can go haywire and impact the actual running vehicle. But it would probably only take a couple of mistakes from future devs and integrators for thst to not be the case.

theoreticalmal 24 hours ago [-]
What telematics platform? I am deep in the vehicle telematics industry on the consumer side and have always wanted to hear from engineers on the ground
ehnto 23 hours ago [-]
It's a one-off application for a prototype vehicle, more or less. It does cover the full stack from telematics collection, transmit, database, processing and real time display. I'd be happy to chat about what I can, I don't have any public contact credentials but I can reach out to yours if you like?
treetalker 2 days 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>

tantalor 1 days ago [-]
Faster, Knightboat, we got to catch those starfish poachers.

https://www.youtube.com/watch?v=uoV1-fsFCmw

not_a_bot_4sho 1 days ago [-]
Look! A canal.
potmat 1 days ago [-]
There's always a canal!
bigfishrunning 1 days ago [-]
Or a fjord!
shagie 1 days ago [-]
Danger Boat from The Tick ( https://youtu.be/1cFNKnNfCYs - voiced by Alan Tudyk who really does sound like David Daniels / KITT).
nunez 18 hours ago [-]
Tudyk is amazing. The perfect weird sci-fi voice actor. He's excellent in Resident Alien!
arlattimore 23 hours ago [-]
The Zero To 60 guys in Australia put a modern X5 engine and BMW sedan shifter into an old Toyota Landcruiser. They used OpenAI to intercept the CAN bus messaging, decode it all, build an ESP and make it shift like it was always meant to be there.

https://www.youtube.com/watch?v=O4lU_VAxRmY

rootsudo 1 days ago [-]
This was posted before on HN: https://news.ycombinator.com/item?id=50463399 the comments were different.
wpm 1 days ago [-]
The top comment there is spot on, handing the keys over to a real "thing" to one of these is awesome in the "awesome power" kind of way, not in the "totally tubular" sense.

I hooked up a weird proprietary serial printer and a webcam to a linux host that was also running a Windows 2000 VM in qemu and told an LLM to reverse engineer the ancient drivers for it. Hearing the printer print jobs the LLM sent totally on its own was a penny drop moment for me.

joshstrange 13 hours ago [-]
Mine is not an example of reverse engineering, but every time Clause starts up a print job (3D, laser, or thermal) I somehow ascribe more to that then the billions of tokens of code it’s written (or re-rewritten) for me.

The other day I was organizing all of my electronics (ESP32 boards, sensors, LEDs, etc) and once we agreed on where everything was going to go, and I had loaded labels into my label printer, it kicked off a job and just spit out all the labels I needed, which is not that impressive in and of itself, but something about when Claude reaches into the physical world is so cool.

threetonesun 11 hours ago [-]
I suppose it depends on how many little blackboxes you may or may not understand the details of running in your life. I think a lot of car guys see this in a 94 Jeep Cherokee, one of the easiest cars to physically work on, and wonder why you'd add it there. Also the original issue was getting around a California emissions issue in a very in a way many of us were skeptical of.
ehnto 1 days ago [-]
I let it resolve some linux driver issues for a connected force feedback steering wheel, and when it got it working and the wheel starting spinning on its own, I felt like I was in a 90s ghost film.
harrylepotter 1 days ago [-]
as a homeassistant user who's connected and automated almost every dumb device in their home using esp32s (like many have), I can't help but feel slightly underwhelmed by this article.
kqr 1 days ago [-]
Sorry, do you have more information on this? I lack the imaginination to understand how someone would automate dumb home devices with microcontrollers.
ssl-3 1 days ago [-]
I couldn't fall sleep the other night and it was cold in my bedroom, so I got up for a bit.

I thought about plugging in a space heater, but those suck for a few important reasons that anyone who has ever used one can probably relate to. One of those reasons is that the temperature regulation they provide for the room that they're in is usually very lousy, since the location of their integrated thermostat is right next to their source of heat.

On a whim, I decided to improve that thermostat. I already had a bag of cheap DS18B20 temperature sensor clones and some Raspberry Pi Pico Ws that had been looking for a project for years. I soldered those two things together and had Codex configure and install ESPHome for it, and tie that to Home Assistant.

That process went fast (only about 15 minutes) and provided a responsive wifi temperature sensor that was powered by a random USB wall-wart. Easy-peasy.

I also found a disused smart plug in the box of random electrical widgets.

The next move was to set up the Generic Thermostat card in Home Assistant. It reads the probe, and it switches the relay in the smart plug to turn the heater on and off.

This left me a heater over there (gestures) where sleeping-me won't be able to toss my bedclothes onto it or anything. That heater is ultimately controlled by a little sensor-probe on the nightstand next to my head, and a dial on a screen on my phone.

The room warmed up quickly and the temperature leveled off. Safety was maintained (the heater and its own thermostat are unmodified). Sleep came easily. Data was logged.

---

(It could have stopped there, and I might guess that most people would have been satisfied with the performance.

But the data showed that the DS18B20 clone was very noisy on the LSB regardless of sample bit-depth. That noise looked a lot like PWM to me so I had the bot concoct a 10-second rolling average for samples in ESPHome which solved the noise well-enough.

And the Generic Thermostat card is pretty dumb, as the name suggests. It just responds to observed temperature with a deadband around the setpoint, which works... But PID is better, so I've spent some time on that because I think PID is fun.)

naftalibeder 13 hours ago [-]
This is one of my favorite HN comments possibly ever. Thank you :)

(Reminds me a bit of https://xkcd.com/196.)

ssl-3 6 hours ago [-]
XKCD 196 is closer in spirit to a different thing I did last week.

While analyzing my power usage (mostly to quantify the running expense of the space heater vs. other real things) I noticed that it was cheaper to buy another smart plug than to run the power amplifiers at my desk 24/7 for yet another month.

So I set up a thing that watched for pipewire activity. It would switch on a smart plug when there was audio happening and then just switch it back off after a time of being idle. This worked, but switch-on latency for that plug wasn't very good (tens-of-milliseconds was common).

To fix that, I rearranged things to use a hackable plug running ESPHome and made the turn-on command a one-shot UDP packet that I put right into the IP handler[1], which resolved the latency pretty well.

Except: I noticed that it wasn't working. It stayed on and it never turned off.

After half an hour of figuring out that this was because of a tab opened with AliExpress that was "Checking" my "browser" by faffing about with audio every 477 seconds (for anti-bot, fingerprinting, literal spying, or some other needless dark pattern), I realized that we were all just doomed and started thinking about Amish potato farmers. I reckoned that they probably sleep pretty well at night.

[1]: oh noes the evil haxxors are going to get into my network, turn my stereo off, and overflow my buffers

rennie76q 12 hours ago [-]
As an example I hooked up a ESP32 and a relay to my dishwasher door switch so I can turn it on at night when electricity is cheaper. Cost about £2 and took 20 minutes to wire up.
oculetteai 1 days ago [-]
microcontroller-powered MCP Cameras allow you to read arbitrary state which is pretty nice, and actuating depends on the device. I used a microcontroller-powered MCP IR blaster + microcontroller-powered MCP camera to automate fixing my AC.
kqr 12 hours ago [-]
Hm. I suppose it's not the sensor side that confuses me as much as the actuator side.

All dumb appliances I have require complicated hand movements to actuate the way I desire. (Floor heating in bathroom has a complicated button panel, radiators have a high-friction screw thing, washing machine has a full front panel full of stuff, fridge also has a screwy thing with ambiguous numbers on.) There's no obvious place to plug in electrical inputs, and attaching a servo assembly seems overkill.

_joel 11 hours ago [-]
Depends how dumb, if you just want to turn stuff on and off you can get zigbee (sonoff) relay controllers. Simplest for adding remote power control over something dumb. Like others have said, esp32/s3 or rp2040 with gpio/i2c if you want to do something more interesting.
knodi123 1 days ago [-]
aren't you just tired of manually pressing the lever on your toaster?
ssl-3 5 hours ago [-]
It's almost as exhausting as hearing the old men yell at clouds.
skullone 20 hours ago [-]
I wonder if this opens up new stuff. Say, Subaru ECUs, to unrestrict CVT performance, or even reprogram ECU to accept a 6 speed manual transmission swap instead of CVT. All this stuff is just code more less (except if you swap to a manual, then there's more obv) but the entire car is the ECU and TCM, plus a body control module and CAN bus
ssl-3 20 hours ago [-]
A lot of what this dude did was wire a bunch of relays and stuff into various dumb on/off circuits in his 1994 Jeep. A modern Subaru doesn't communicate that way.

Cars were different back then.

When I swapped my 1995 BMW's auto gearbox for a manual, that only took two wiring changes: Hooking the clutch switch to where the neutral safety switch used to be at the gear selector (so it would start sensibly), and cut (splice? I forget) one wire at the ECU harness so it always used the in-gear engine map instead of the park/neutral engine map once it was started. It was amendable to being hacked and behaved extremely well. (Oh, and one more wiring hack for the reverse light switch -- the total is now 3 wiring hacks to replace a computer-controlled 4L30E with ~any dumb manual gearbox that can be made to physically work.)

On my more-modern (but still old -- 2012!) Honda, things generally communicate over serial data buses instead of simple low-speed binary on/off one-wire-per-function stuff. The fun stuff (including the bits for deleting their badly-implemented cylinder deactivation system) is encrypted and locked down.

Can that encryption be broken? Why, sure it can! But it's still not the same kind of thing that hacking a car from the middle part of the 1990s is.

bovermyer 14 hours ago [-]
I would be much more interested in seeing if AI can help produce a universal car diagnostic system that's actually affordable for Joe-on-the-street.
t1234s 1 days 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.
smileysteve 3 hours ago [-]
The better outcome would be if the op upgraded from pre-1996 OBD1 throttle body injection to post-1996 port injection; bonus if they go post 2003 for a wideband o2 sensor setup.

The gains of port injection and a wideband are about 20% power and better emissions and logevity.

SecretDreams 1 days ago [-]
Retro future cars where the voice that talks to you might sound like a genius, but the interior feels like something nice from a simpler time?

Count me in!

schwap 1 days ago [-]
Not to be dismissive, but the only impressive part of this article is that AI enabled a layman to do this.

Nothing he did is novel from an aftermarket perspective. Aftermarket remote start or wiring harnesses to retrofit head units have been around for decades. So has aftermarket ECU reprogramming.

Edelbrock sells their own ECUs, they employ plenty of people capable of this.

shortcrct 9 hours ago [-]
I think the point is a company like Edelbrock would be well served to employ someone with this level of tenacity and agency not so they can implement this same solution for more XJ Jeep Cherokees, but perhaps for another car where the process is much more complicated and more profitable.

You may be right about him being a "layman" (the YouTube description of the previous video linked in the Drive article shows that he himself says he's "not a mechanic") but I don't see anyone else doing this to their Jeep.

Grazester 4 hours ago [-]
I share the same sentiment.
potmat 1 days 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.
Zak 1 days ago [-]
Cars didn't have terms of service until recently, and even those only show up when activating certain networked or subscription features.
ehnto 1 days ago [-]
That threw me through a little existential crisis, like my car-brain and tech-brain collided. Cars having a ToS did not compute.

Voiding a warranty though, that's something thst has been around for a while.

Zak 1 days ago [-]
I imagine most products from Edelbrock, a manufacturer of performance-enhancing car parts, have the potential to void a warranty.

I say potential because in the USA, it's still on the manufacturer to prove that the aftermarket part or improper installation caused the failure: https://en.wikipedia.org/wiki/Magnuson%E2%80%93Moss_Warranty...

ehnto 16 hours ago [-]
That's oddly consumer friendly. I see most parts in the performance parts industry get sold as "motorsport only" parts, which presumably removed them of liability for SMOG or related emissions, even safety testing. In Germany you can get TUV approved parts, which is at least a step toward still having road legal parts. In Australia you can get parts "engineered", tested and certified but it's expensive. $800 to certify new coilover suspension for example.
Zak 4 hours ago [-]
"Motorsport only" doesn't necessarily mean it's illegal to use on the road in most US states. It means the manufacturer doesn't want to think about whether it's safe or legal for road use.

For the most part, car modifications are legal in the USA unless explicitly forbidden, and many of those aren't very strictly enforced.

potmat 9 hours ago [-]
Ok ok, TOS is the wrong "term". Sorry guys.
Choad_20261104 13 hours ago [-]
TOS==auto liability insurance policy

...if something goes wrong, World of Hurt

trollbridge 12 hours ago [-]
Not really. I have extensively altered old vehicles and it’s not a problem at all to insure them.
Choad_20261104 3 hours ago [-]
no, I mean if your hack causes an accident and your insurance finds out you may not be able to defend the claim if an alteration you made causes a loss and it's not specifically known by insurance
mmmlinux 5 hours ago [-]
And a lot of those modifications have "off road use only" disclaimers in the fine print.
ionwake 3 hours ago [-]
super mega based
kaeland 1 days ago [-]
Man, this is so cool! Would love to see the process of him integrating some of the other features he mentioned later in the video too.
nathannaveen 1 days ago [-]
Don't get me wrong, this is really cool! But I just can't help thinking this is a bad idea from a security perspective.
stronglikedan 1 days ago [-]
No one is gonna steal a 30 year old jeep, or even waste their time robbing someone that does. It would be like punching down, lol.
eventualcomp 1 days ago [-]
The assumption you're making is that the only threat is a robber, which I think is hopeful.

Not to mention that punching down is fun to some people, that's what bullies do.

amrogad 17 hours ago [-]
The future is here
vachina 17 hours ago [-]
Though a lot more subtle, I added wireless CarPlay to my headunit that had no business running CarPlay with the help of Gemini.

Gave it the SoC's BT SDK and the OTA firmware image and went to town.

personjerry 1 days ago [-]
"They were so preoccupied with whether or not they could, they didn't stop to think if they should."
schaefer 1 days ago [-]
artificial life finds a way.
qevra 16 hours ago [-]
[dead]
andgrocon 1 days ago [-]
[dead]
tmysl 1 days ago [-]
We're missing the chat-JEEP-T pun here.
CoastalCoder 1 days ago [-]
As a dad, I approve of this pun's quality.
alnwlsn 1 days 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 days 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.

switchbak 1 days ago [-]
As someone who has just done a lot of LLM-guided hardware hacking myself - that sounds like the typical mismash of good and bad advice you'd get from a model like DeepSeek.
dpeckett 1 days ago [-]
I suspect his agentic workflow probably plays a role. There seems to be a lot of missing context between the various agents.
knodi123 1 days ago [-]
> typical mismash of good and bad advice you'd get

As someone who just did a major carpentry project with Claude, I wish I'd known how common a problem that was before I started. Enough good advice to make a novice like me think it was a good plan/blueprint, so I went off to the races.... But I kept running into a roadblock and asking the AI "wouldn't it have been simpler to [...]" and it kept saying "Yes, absolutely, here's a modified simplified plan that is objectively better in several ways."

I pulled a lot of hair out on that project.

ehnto 1 days ago [-]
An insight I have had is that LLMs feel like they think in retrospect, or backwards. That gets hidden by agentic harnesses and reasoning traces often thede days, but still rears it's head the quicker something is done.

So it's worth having a separate context or even separate model evaluate things first (or use your wrinkly meat model, no use if you're a novice).

_carbyau_ 1 days ago [-]
Nothing beats having an actual helpful, knowledgeable person - if only because they can own stuff and they might let you borrow some required tools.

AI gives us enough rope hang our projects on. But after hanging one or two projects, you learn and sometimes that's fun too.

knodi123 1 days ago [-]
Absolutely. Failing at building that project has taught me way more than I expected, and all it cost me was lumber, screws, and time. I also learned a lot about how to frame problems so as to get better results from an AI. I'm sure my next project will go better, if I ever get free time again.
JoeAltmaier 2 days ago [-]
"Make the necessary adjustments to pass the smog test."

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

metalman 2 days 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 2 days 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 1 days 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 2 days 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 1 days 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.
porkshoe 1 days ago [-]
Not many on the road, and also they aren't likely to drive as many future miles, which limits the cumulative damage.
ehnto 1 days ago [-]
How does anyone run cool modified cars there? I see them all the time on the internet but it sounds like they coukd never pass SMOG
dlcarrier 8 hours ago [-]
You only have to test it once every other year, so you undo the mod, test the car, then re-do the mod.
hnav 1 days ago [-]
Not for a 1994. OBD2-only tests are for 2000+.
mmmlinux 1 days ago [-]
1996+, that's when OBD2 became required.
hnav 1 days ago [-]
96-99 are held to a different standard than later ones, they get to fail readiness on any 1 monitor but still get a sniffer test.
ErroneousBosh 1 days ago [-]
I'm genuinely surprised no-one's just made a little board that you wire to the OBDII socket that just goes "yeah everything fine here nothing to see".

Here in the UK with a 30-year-old Range Rover, it gets tested on exhaust pipe emissions with the "sniffer", but it always passes because it's been converted to dual-fuel. If it's put in for a test on LPG, it gets tested on LPG.

I did one manage to take a roadside stop-and-check station out of action because they insisted on testing it anyway. I did say to them that it was gas and not petrol, but they went right ahead.

"But we can't test gas emissions"

Yeah, that's a you problem.

"It needs to be running on petrol so we can test it"

It doesn't run on petrol at the moment, I've got the tank out while I wait for a new fuel pump. (This broke their brains entirely)

"Well we have to test it so it needs to be on petrol"

It won't run on petrol, there's no petrol, it's running on propane.

"The tester's not working, it's shut down when we tested your car and says it needs calibrated"

Yeah, again, you problem. Here's the printout of the emissions sheet from the last MOT. Bye!

Idiots.

switchbak 1 days ago [-]
"I lost my keys over there"

"But there's no light over there, let's search here under this light instead".

VladVladikoff 1 days ago [-]
Maybe you should actually fix the problem that is causing the check engine light to come on??
dlcarrier 20 hours ago [-]
It's a bit of a design problem that means one of the sensors easily goes out of spec, so I can either replace it often or baby it, and I chose the latter. It works fine as long as I keep it cool, and driving on the freeway heats it up quickly, but city driving doesn't.
toast0 1 days 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

ErroneousBosh 1 days ago [-]
Yes, but why not just plug your own OBD2 diags in, read the faults, clear them, see what comes back, and then go and buy a new lambda sensor because it's nearly always that?

Not only would the warning light be off but your engine ECU won't be in limp-home mode any more.

toast0 1 days ago [-]
Eh, in my experience, it's always a evap circuit error. I'm not sure how much fixing that is worth ... until it escalates to being unable to put gas in the tank.
bombela 25 minutes ago [-]
And if the OBD code shows the evap pump as not working, it might simply be a dead back EMF diode for the pump solenoid. Instead of buying a new $400 pump, splice in a diode (or a couple, why not) on the wires as close as possible to the pump solenoid.

Detailed explanation follows.

The gas tank is connected to a canister full of activated charcoal to capture the fumes when the car is off. While driving, the car engine sucks up fresh air through the charcoal canister to burn the stored fumes.

By law the car just periodically verify that the fumes cannot leak out. The common solution is to close off the canister, and pump a bit of air into the system and measure how long the pressure holds. The engine light turns on if a leak is detected. A big leak is often interpreted as a loose gas cap for example. The car will also only run this test under some conditions, usually when the engine is cruising and the gas tank is not completely full. Hence why driving on the highway will either trigger or correct the engine light. Some cars will wait for 3 successful pressure test before turning off the engine light.

The pressure is built up with a diagram pump that converts the engine vacuum into pressure. It is cleverly designed to measure the pressure via a single switch and a calibrated spring.

A solenoid is activated to actuate a valve, which allow the engine vacuum to pull the diagram against the calibrated spring. When the diaphragm is fully up, it triggers a switch, confirming the spring is compressed. The solenoid is relaxed, the valve drops the vacuum and the diaphragm goes down under the force of the spring. And switch triggere the other way. A set of one way valve ensures the spring is pushing the diagram to build up pressure in the system.

The clever part is that as the cycle repeats and the pressure builds up, the spring works harder until it cannot even push the diaphragm down anymore. This effectively means the pump frequency represent the speed at which the system builds up pressure and then how fast it leaks.

A solenoid is an electromagnet, a coil of copper wire; also called an inductor; and when current in the coil is interrupted the magnetic field collapsed and produces a electric current. Long story short, if not managed, this becomes a voltage spike. Adding a so called freewheeling diode will allow the current to loop within the coil and dissipate as heat instead of voltage spike.

The engine computer is robust against voltage spike. But the voltage spike will couple to the wire that signals the switch status. The engine computer will observe the wrong pattern and deduce the pump is broken.

You usually cannot open the evap pump to replace the burnt diode as it's all epoxy potted and not designed to be opened anyways.

But it is easy enough to splice in a diode on the wires as close to the solenoid as possible. I fixed my 1999 Dodge Dakota like that. I confirmed the diode was dead by manually powering the solenoid while connected to an oscilloscope and observing the voltage spike.

jnellis 1 days ago [-]
In CA you're allowed one system monitor check to fail (which is usually evap related) and still have them perform the smog check. On my 99 town car, there's a circus act of things the vehicle has to do on the freeway to get the evap monitor to go green. It's nearly impossible, and thus why they allow one monitor as pending before they do the smog check.
Scoundreller 1 days ago [-]
In a cold climate it can take months for the evap self-test to hit the eligibility criteria to run. Rules might be different in different locales. You do need the light to be off so a $20 reader can save a lot of cash.
ErroneousBosh 17 hours ago [-]
> until it escalates to being unable to put gas in the tank.

Wait what, how does that happen?

toast0 8 hours ago [-]
When you put gas in the tank, the air that the fuel displaces has to go somewhere. Some of it might go out the filler tube, but most of it goes out through the vapor canister and then through the purge valve.

If the purge valve gets stuck closed, it's very hard to fill up. Or your vapor canister can get clogged.

Either failure is likely to throw evap codes, although maybe not evap leak.

MSFT_Edging 1 days 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.
smileysteve 3 hours ago [-]
Opposite other answers; the biggest changes are

1. Throttle Body (pre 1996) -> Port (1996- ~2010) -> Direct injection (port is bolt on, a 15-20% relative power and efficiency increase)

2. Wideband O2 sensors (standardized ~2003) (potentially bolt on with a computer) allows the computer to monitor exhaust accurately more often than a continuous speed; (~5% efficiency improvements)

3. Static Valve Timing -> Variable Valve Timing (~2000 for DOHC engines) -> Variable Valve Duration (~2005 for DOHC engines) (10% efficiency gains through better torque curves)

switchbak 1 days ago [-]
You ask, and YouTube provides: https://www.youtube.com/watch?v=jZ38C-M3tyk

Spoiler: not much!

Also - that's a really fun video if you're into enthusiastic amateur wrongheaded inspiring hacks.

MSFT_Edging 13 hours ago [-]
There's also another youtuber, I think thunderhead something who put a lawn mower carb on a ford 302 and by essentially starving the engine running really lean, he was able to get some really good mileage with a lot of lost power.
dghlsakjg 1 days ago [-]
He had another video where he went through troubleshooting a smog test failure with Claude. That's what that is about.

He got it to pass by having Claude remap the fuel delivery system for the test. Its cool from a technical perspective that claude could do that, but the bigger issue is that he was failing his smog test likely due to a failing physical component causing high NOx. While he faked his way to passing a smog test (and likely documented committing a crime on youtube by tampering with emissions equipment), there is still the underlying part failure causing his engine to run incorrectly.

Zak 1 days ago [-]
It would be a hard sell to a jury to argue that making adjustments which resulted in reduced harmful emissions is tampering with emissions equipment even if technically true.
smileysteve 3 hours ago [-]
Nox and Hydrocarbons are inversely related; Nox happens when you run too lean and hot, Hydrocarbons + CO happens when you run too rich and cold catalyst.

On an individual level, air fuel mixture controls are relatively common for obd1 systems (and are enforced only in CARB and inspection states)

But the reason to be concerned is less likely to be legal; and more likely to be life of the Catalytic converter and valves; If you fix Nox with fuel, just enough to stay under the hydrocarbon limit, then your valves/egr and cat will develop more carbon buildup.

Source, I owned a late 80s Mazda RX-7, used a air/fuel computer to run leaner; which worked great until i popped the engine running lean. (emissions tested in a South Eastern state and no inspector cared, as long as it passed the rolling sniffer test)

seabird 22 hours ago [-]
It's an incredibly easy sell. It is cut-and-dry tampering. The equipment was emissions certified with the map that was shipped on the ECU and any modifications are a departure from that certified configuration. The jury isn't instructed to make a determination on whether or not that's good or bad, only whether or not it happened.
Zak 4 hours ago [-]
I couldn't find any cases with a similar fact pattern with a quick search, which suggests to me nobody is especially interested in prosecuting people for making old cars run cleaner even by means which arguably violate the letter of the law.

It's not cut and dried from my perspective. "Tampering" to me means making it not perform its intended function. Making it perform better is enhancement, not tampering. Current EPA policy seems to agree - they would not prosecute this case: https://www.epa.gov/sites/default/files/2020-12/documents/ep...

California, on the other hand has laws requiring pre-approval for engine modifications. They'd probably get a conviction in a trial decided by a judge, who would likely feel compelled to apply the letter of the law. It would be a harder sell to a jury, some members of which would likely feel the case is absurd.

dghlsakjg 53 minutes ago [-]
Search “Volkswagen diesel fraud”. It’s a pretty well known case if you’re looking for something similar.

He is doing a substantially similar thing by modifying a car that would otherwise fail to pass and then disabling the modifications.

In any case, the law prohibits tampering. It does not distinguish between tampering for a positive or negative outcome, and reprogramming the system to make a defective part pass is a pretty obvious tampering. He, in all likelihood, won’t be prosecuted, but if a prosecutor wanted to, this would be a slam dunk case. A jury is not instructed to bring feelings into their decision. They are instructed to ignore feelings, and stick to facts and law. It’s pretty cut and dry that he modified (tampered) with an emissions control system for the purpose of passing a test, which is what the law says is illegal.

From a common sense perspective, it’s silly. The law does not really leave room for premeditated and obvious crimes to be found innocent no matter how silly. Sentencing is where impact is considered.

mmmlinux 1 days ago [-]
Yeah that's what i want to know. its a 94 so that predates OBDII for emission diagnostics. And if its managing to do anything regarding controlling the fuel system wouldn't that make the car no longer compliant?

Ill admit i'm at work and did not watch the video, but the text body mentions nothing about the title.

ehnto 1 days ago [-]
Yes despite the outcome at the tailpipe, the modifications would be illegal in a lot of countries.

The testing places don't check the hash on your ECU firmware though, so they would never know. So long as it tests properly I would feel zero morale concern.

mmmlinux 5 hours ago [-]
Neither did Volkswagen.
ehnto 43 minutes ago [-]
Fair call. I did mean tests properly because it operates properly, not just at test time. Though my right foot could negate the whole aparatus.
cesnja 18 hours ago [-]
Hey Claude, let's do a Dieselgate.
gpderetta 1 days ago [-]
Maybe they Volkswagened it?
port3000 14 hours ago [-]
Brave man to stand right in front of the jeep while he asks it to turn on the engine
stefap2 9 hours ago [-]
Run out of gas... Hey chat, you said we have a full tank. Sorry, and that was my fault.
mmmlinux 5 hours ago [-]
It's funny how the responses are different for this because it was one guy being scrappy and doing something with an LLM to get one over on the man. vs when Cobb Tuning got hit and everyone was all "emissions defeat bad, how dare people tune their cars" [0]

https://news.ycombinator.com/item?id=41580073

1970-01-01 1 days ago [-]
What could possibly go wrong with a two ton vibe coded computer rolling down the freeway?
deadnomore 1 days ago [-]
Plenty! It's a wild time to be alive. It's a good reminder to drive defensively and give way to people because their car might just be hallucinating.
twobitshifter 1 days 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 1 days 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.

switchbak 1 days ago [-]
There's a video of this guy who brings in a broken tractor, used an LLM to diagnose the problem. Mechanic takes a look - it's blown a piston into orbit. The guy gets angry, simply will not accept that the LLM is wrong.

AI psychosis is everywhere. Even among people who own very expensive, very nice farming tractors, apparently.

sedatk 20 hours ago [-]
Better software than BMW's for sure.
bguberfain 10 hours ago [-]
ChatJEEP-T
cvanelteren 21 hours ago [-]
This dude talks like Claude
IshKebab 1 days ago [-]
Cool project. Title is unnecessarily awestruck though - obviously you can do this.
johnea 1 days ago [-]
Well, that's some kind of demo.

But I do have to think: y'all should get outside more 8-/

I don't think anyone really needs an agentic model to roll down the windows in their car.

Just maybe consider stepping away from the computation and living real life for a change...

(Yes, typing at a computer is a form of real life, I'm suggesting trying some OTHER kind of real life)

hectdev 1 days ago [-]
It's fun to tinker and explore even if the ends don't justify the means. Besides, in his case, its less the AI and more the API. Throw in a wireless hotspot, and he can have his car auto start and warm up before driving in cold climates or cool in hot. Something common in many cars now.
LegitShady 1 days 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 1 days 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 1 days ago [-]
A 1994 Jeep does not even have OBD-II, much less a CAN network. He built a bespoke relay interface for the car.
1 days ago [-]
IgorPartola 12 hours ago [-]
[dead]
jmspamerton 1 days ago [-]
[dead]
viccis 1 days ago [-]
>Though given my software and coding knowledge, I’m definitely not qualified to gauge which of these two projects was more difficult and/or fun.

Maybe don't cover this story then?

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 01:35:41 GMT+0000 (Coordinated Universal Time) with Vercel.