r/CarHacking Feb 02 '17

Car Hacking Subreddit Intro

87 Upvotes

Hi rch, we have added a lot of people lately with intro posts on other subs like the one below. We also usually get about 10 subs a day from people just stumbling in here. So I wanted to create a welcome post, to kinda show them what we are about and how to get started. If anyone has anything to add please do so. If anyone has any questions about us or where to start do so here.

Our goal is to create a highly technical car subreddit, a place for automotive engineers, senior technicians, full blown car nerds, or people who are working towards one of these. We are interested in the inner workings of cars and today that often involves electronics. While we see electronics as the priority we are pretty liberal in allowing other topics as long as they somehow fit our goal of trying to understand cars. So things like DIY aero, suspension setup and other things the community is hacking on come up. In general our other tangential interests include: Modern cars, New tech, Open source hardware/software, DIY, hot rodding, eco modding, customization, security research, right to repair and more.

We started this subreddit about a year ago. Right now we have 3000 people and discussion is just starting to get good. Most of our members found us through maker or engineering subreddits. So I wanted to reach out to more of the car communities and try to grow our knowledge base.

Our name is r/carhacking and I know the term hacking can be offputting to some as it has a bad connotation. When someone says they are “hacking” their car it generally means they are trying to reverse engineer it for any number of reasons like to find security flaws, make upgrades, make repairs, or just understand how it works.

Here are a couple examples of posts that have been popular so far. A lot of our posts focus on beginner through intermediate projects using arduino and readily available hardware for the purpose of learning and or not paying a premium for things you can make yourself:

More advanced projects:

Relevant news/ research:

If your new our documentation is a good place to start

If you aren't new and you’re interested in helping out please consider:

  • Improving documentation - think about what resources have helped you
  • Spread the word - this is a niche community that is pretty spread out, but there is a lot of potential if we can get together on a third party site like this
  • Work on the theme, sidebar and flair - this is next level community stuff that isn’t necessary, but it’s fun to work on when you have the time.
  • Modding - right now we are fine, but we might need help in the future as we grow

Let me know if I missed something or got something wrong.


r/CarHacking Feb 27 '21

CAN CAN bus and car hacking getting started resources

290 Upvotes

I get asked how to get started with automotive networking, car hacking, and CAN almost weekly. I often direct people to this subreddit, so I figured I would help out and post some resources I have found and think are a good place to start.

learning resources:

Car Hacking 101: Practical Guide to Exploiting CAN-Bus using Instrument Cluster Simulator

I also direct people to the Car Hacking Village to get some hands-on experience. They put on great conference talks, demos, and contests. Looks like they are even working on some “getting started” content.

And of course, The Car Hacking Handbook is a great resource.

I will add more as I think of them. Please add your finds in the comments.

Tools:

Good wiring diagrams and car manuals are essential. This is pretty much where my research starts for each project. You see how things are networked and what to expect to find on CAN. You'll quickly learn to recognize things like gateways. You can also use the troubleshooting section to understand things. For example, what things do I need to control to start the car?

I like:

  • prodemand (I pay $170/mo for a shop subscription, I think you can purchase it for individual cars, but be careful you often have to jump around to find a year that has complete diagrams)
  • Identifix (probably what I would buy if I was starting over)

Basic hardware: Here you will be working with things like Arduino, Linux, SavvyCAN, and Can-utils. You have to learn to do a lot yourself, but these tools are more open for you to make them do what you need.

Tools designed by the community I use:

The above articles offer a pretty good step-by-step guide to getting started with the Macchina M2.

Any cheap “Amazon special” OBD2 dongle will come in handy from time to time. They are all based on something called ELM327. "ELM327 abstracts the low-level protocol and presents a simple interface that can be called via a UART". This abstraction has fundamental limitations that prevent it from being useful in most serious applications. But, it is sufficient for reading and clearing some codes and that sort of thing when you’re getting started.


r/CarHacking 20h ago

Original Project Got tired of using my phone for telemetry data (MHD app) so I made my own wireless gauge instead

Thumbnail
gallery
156 Upvotes

Connects to BMW DME via wireless ENET. Since it’s an esp-32, I can add an SD card and log live telemetry data and do a lot of real time data analysis. My goal is to make a full engine health monitor for thermal, boost, fuel, and ignition systems.


r/CarHacking 6h ago

Original Project Passat B9 Seat Massage without Car

Thumbnail
gallery
3 Upvotes

Hey guys, any idea how i can get the seat massage and the electic backseat adjustment running without a car?


r/CarHacking 8h ago

Scan Tool Sub-$500 programming tool???

1 Upvotes

I'm sure this has been asked too many times already but I need a little help. I have done all kinds of mechanical work on all of my own cars but the electrical side of things has always befuddled me. I have a basic scan tool where I can read and reset codes and do some very basic systems monitoring but I'd like to take it a step further if for only a learning opportunity.

I currently need to write my VIN to a donor Jeep PCM (2005) for testing purposes. I've seen videos where folks do it in seemingly no time with a programming tool (one was an Autel Maxiim and another was a Daigun IV) but I can't make heads or tails of all the options out there. Is there a sub-$500 tool that I can get to do this and learn some other stuff while I'm at it? Thanks in advance for any helpful replies!


r/CarHacking 9h ago

Original Project Need to control diesel injector using microcontroller

1 Upvotes

Hi Guys,

Previously I have posted a question but due to the circuit diagram in the post, it deviated from the original question. If you haven't seen the previous post, it's fine. I'll explain everything clearly below.

I'm working on a project where I need to control a diesel injector. This is an academic project, if it goes well it shall get into industry level, so looking for a standard Good approach.

The diesel injector is activated by an Arduino(this is the initial setup, and will soon switch over to stm32). The diesel injector is outside the engine in a separate setup which gets supplied by a constant pressure fuel pump driven by an ac motor(const speed). I'm using a MOSFET to control the injector. The MOSFET I'm using is IRLZ44N. The drain of the MOSFET is connected to negative terminal of the injector and source of the MOSFET is connected to the negative terminal of the injector's power supply (i have added flyback diode for safety circuit for injector). The Arduino controls the injector via the gate pin of the MOSFET. The power supply for injector is 12v SMPS.

The Arduino gets signal from the injector's supply and control wires, we tapped these 2 wires and gave them to an optocoupler pc817. This optocoupler's output is given to the digital pin of Arduino. Arduino mirrors this signal to the gate pin of the MOSFET. You might wonder why I'm using Arduino, if the setup goes well, I will alter the pulse in future. So that's why I'm using it.

Issues faced:

1) this setup worked as intended, but after sometime, that is, after 2-3 weeks of testing this setup, the injector has gone. We didn't notice any smoke or smell, but the injector stopped actuating. We lost 2 injectors in this journey.

2) we started the engine and maintained in idling for 60seconds and started our injector setup, we collected around 90ml of fuel at idling, which feels abnormal.

Now, I need a reliable approach for this project. It would be really helpful if someone can come up with some idea for this.

Thank you in advance


r/CarHacking 20h ago

CAN Qashqai J12 1.3 DIG-T (2021+) — Injector +12V missing, need correct wiring diagram

Post image
7 Upvotes

Qashqai J12 1.3 DIG-T (2021+) — Injector +12V missing, need correct wiring diagram

Car: Qashqai J12, 1.3 DIG-T, 04/2021, IPDM 284B7-6RA0B (HS)

Problem: Cranks, all sync OK, rail pressure 214 bar, but injectors have 0V pin-to-pin during crank (ground present, no +12V supply). Fuel Injection Amount = 0 g.

Ruled out: SRS clean (no crash event), no immobilizer codes, ECM has no injector circuit faults, fuel pump runs fine.

Need: Actual J12 1.3 DIG-T IPDM / engine room fuse box wiring diagram showing which output pin/circuit supplies +12V to the injectors. The IPDM has ACTUATOR1–5 but labels don't specify which is injectors.

Thanks.


r/CarHacking 22h ago

CAN Decoding my 2010 Mazda 6

7 Upvotes

Pi 3A+ and a dual MCP2515 hat on both buses, cantools and savvycan for analysis.

2.5L engine with 6 speed manual, base model

I could not find anything on my particular gen Mazda, all the love is on the newer ones.

Skyactiv and RX-8 databases don't transfer (RX-8 has RPM on 0x201; mine has the accelerator pedal there).

Bytes 0 and 1 of the 8-byte frame, read together as one 16-bit value.

A few so far:

0x201 b0-1; engine RPM, 0.25 rpm/count

0x39E : door lock status

0x082 : brake pressure, two channels, different gain

0x420 b0 : coolant temp, -40 offset

0x290/0x291 : head unit display text as raw ASCII, 7 chars + 5 chars even though the display on mine only does 7 total, I think there are models that can display more maybe?

0x080 b0-1 is steering angle (super cool!)

Body/BCM and cluster are on the 500k bus with powertrain, not a separate MS-CAN like most cars this era.

The headlight stalk position aren't on CAN at all. Turn signal status is however.

Haven't logged a drive yet, so speed, wheel speeds and gears are still open.

Having fun in the garage!


r/CarHacking 20h ago

Original Project GR Viewer example run

Thumbnail
youtu.be
1 Upvotes

So I've been working on trying to intergrate with a GR branded race recorder which is a JDM optional accessory that seems to be intended to work with Track days and such.

I posted about this a while back but maybe a video of it working a bit would bring more intrest.

I've included CAN, GPS, and these VDV files installers for the applications, and AI translated manuals because I'm not fluent in moon runes.

GitHub


r/CarHacking 1d ago

Original Project c207 CarPlay & DTS Monaco 8.16

1 Upvotes

Recently just found out I can flash the firmware on my car to have car play enabled. I was able to enable engineering mode via ENET cable. Running into the issue of finding a key for DTS 8.16.

Hoping someone here can help with that or guide me through what I need to do next.

Cheers


r/CarHacking 2d ago

Community Question: Subaru wrx ESP / VDC reverse engineering

7 Upvotes

Hello Everyone,

Currently I've started looking into a project involving a reprogramming / tuning of the Vehicle Dynamics Control model to be better optimized for Track / off-highway driving use. My current plan as of right now is just to source a spare vdc computer to dump firmware and use as a testbench as well as tapping the drivetrain side can lines. The idea would be to either modify or tune the current parameters for the esp system or implement a custom esp control algorithm depending on the difficulty.

To add, I come from a vehicle dynamics and controls background but am new to embedded systems reverse engineering. But if anybody would be able to comment on the feasibility of this project in addition to some of the resources that would help me it would be greatly appreciated.


r/CarHacking 2d ago

Original Project 2000 Sambar TT2 Diagnostic port protocol?

Post image
3 Upvotes

Looking for some technical details on the 9 pin SSMx port on a 2000 Subaru Sambar TT2.


r/CarHacking 3d ago

Original Project I got Wired Android Auto running directly on a PS Vita

Post image
575 Upvotes

I’ve been working on a project that turns a my Vita into a wired Android Auto head unit.

Currently working:

  • Plug Vita into hub with Android Phone + a power source (I have not been able to get the Vita to act as a true host but when there is external power supplied it works)
  • Android Auto authentication handled natively on the Vita
  • 720p scaled down to 960×544
  • Touchscreen works fully
    • D-pad, analogue sticks and physical media controls
    • Bumpers skip songs
    • Triangle for play pause
    • Square of Google assistant

It’s still very hacky I only got stable video with inputs today. I need to improve the USB Kernel as its very buggy and needs hard resets if connection drops or if you exit app and many many more issues.

The idea came from seeing people put carplay headunits into PSP shells don't own a psp so said I'll give it a go on the vita and so far good results. But for a POC pretty cool I think!


r/CarHacking 2d ago

Scan Tool 2002 Toyota Alphard | Techstream | Unable to make changes to customise features.

2 Upvotes

Hi,

I am unable to make changes to the customise features table for my 2002 Toyota Alphard. When I open a feature the table is blank.

I have done everything I can think of:

  • I have tried 5+ different versions of Techstream ranging from the lowest version I could find to the latest
  • Tried different options when connecting
  • Changed location but kept it Japan for most troubleshooting. I did mess around with dealership or repair shop
  • Tried different drivers
  • Tried VirtualBox with Techstream on there. Had issue with picking my vehicle model because the location didn't have it.
  • Extracted the software used in the VirtualBox onto my local desktop and tried it there

Nothing I do works and I'm almost given up. The vehicle is ON with engine OFF. I have done a Windows reset to ensure everything is done on a clean setup.


r/CarHacking 2d ago

Community Wiring schemes

1 Upvotes

I have looked everywhere, and i just cant find any diagrams for my car, its a Peugeot 206 1.9 XRD diesel 2001. Any help on where to search, i have downloaded some peugeot licensed apps made for mechanics, and couldn't find this car. Does anyone know where else to look, or does someone have wiring diagrams for my car and is generous enough to share them with me. Thanks in advance.


r/CarHacking 2d ago

Original Project l0destar - a fully open source ultra low power vehicle tracker that anyone can build and use

3 Upvotes

Hello,

I'm building a fully open-source (hardware and software) vehicle tracker that anyone can build and use: https://l0destar.com designed to work with the Makerdiary nRF9151 Connect Kit: https://wiki.makerdiary.com/nrf9151-connectkit/hardware/

The KiCAD projects, firmware and server software for it are all completely open, free and on github. Enclosures for it will be very soon as well.

It has two main principles of design: extreme power efficiency and it will always be possible to self-assemble at home with relatively inexpensive tooling. Currently tested prototypes have a sleep current of 120 µA with the accelerometer armed.

Features also include ignition sensing, car battery voltage monitoring, an advanced 6-axis automotive grade IMU accelerometer enabling engine-off impact and movement detection, hardware overvoltage protection for the MCU (not yet tested), firmware-switchable auxillary power rails with fault detection for ultra low power consumption, LTE-M and NB-IoT via the Connect Kit for cross-network cell coverage and support for both CAN-FD and ISO-9141 OBD interfaces.

It's still fairly young and unproven, I discovered a fairly bad problem in recent board versions but I'm hoping it will eventually be the go-to open source vehicle tracker for nerds, enthusiasts and hackers. I have been using one in my car for several weeks without any problems but obviously that is no guarantee of anything and anyone considering doing this should very much do their own research first (please read the full disclaimer on the website!).

If anyone has any thoughts, feedback or ideas about any aspect of the project the input would be very much appreciated. I have several videos on youtube ranging from an introduction to it and why I'm building it, all the way up to a full 3h 20m board assembly and bench test demo.

I would be particularly interested in any feedback on this video: https://www.youtube.com/watch?v=ODXxfuoN3ls where I go through the ISO 16750-2 and ISO 7637-2 standard tests for automotive electronics and evaluate as best I can how l0destar currently holds up to them. Most of this is theory because I don't have the kind of test rigs it would take to test for them but if anyone can share any useful insight or advice on where to buy or how to construct suitable test rigs it would be very much appreciated.

Thanks!


r/CarHacking 2d ago

Community Alguien puede ayudarme a descargar el xentry passthru con el tactrix openport 2.0?

1 Upvotes

Alguien puede ayudarme a descargar el xentry passthru con el tactrix openport 2.0?


r/CarHacking 2d ago

Cool Project Find Hyundai i30 GD 2015 Instrument Cluster 94003-A6510 – Pinout & CAN IDs

Thumbnail
1 Upvotes

r/CarHacking 2d ago

Cool Project Find Hyundai i30 GD 2015 Instrument Cluster 94003-A6510 – Pinout & CAN IDs

Thumbnail
1 Upvotes

r/CarHacking 2d ago

Cool Project Find Hyundai i30 GD 2015 Instrument Cluster 94003-A6510 – Pinout & CAN IDs

1 Upvotes

Hi everyone,

I'm building a 1:1 interior simulator of a 2015 Hyundai i30 GD and I'm currently trying to get the instrument cluster working outside of the car.

The cluster is:

Hyundai i30 GD
Part number: 94003-A6510
2015
36222098 (AK212)

I'm looking for the pinout of the cluster connector, ideally all pins or at least the important ones for power, ground, ignition and CAN bus.

I'm also looking for the CAN IDs needed to make the cluster work.

If anyone has a wiring diagram, pinout or CAN information for this exact cluster, I would really appreciate it.

Thanks in advance!


r/CarHacking 2d ago

CAN Is there any UK or even online training courses for CAN sniffing?

1 Upvotes

I genuinely love the whole thing of CAN sniffing and want to learn more about it for my industry.


r/CarHacking 2d ago

CAN Subaru CANBUS

2 Upvotes

Hey all, I’m looking to design and produce a custom double din radio for my 2018 wrx. My current plan includes four analog gauges running off of a microcontroller, as well as a single din kenwood stereo- both mounted in a custom 3d printed replacement frame. My current dilemma is that I’m not entirely sure how to access parameters like boost, afr, etc without going through the obd2 port. I do own a tactrix which has always been reliable, but I’d rather not have something permanently occupying the obd. I’ve looked online, and there seems to be a lot of different answers about how / if it’s even possible or worth it to access the CAN, and I’m more just wondering if it’s something I should consider, or if it’s just gonna save me a lot of headache to route the cable under the dash from the obd2. Previously, I installed an idoing android head unit which required a special canbus adapter specific to my model with a harman kardon sound system. If anyone has any advice or tips, let me know!


r/CarHacking 2d ago

Scan Tool Launch CReader elite V2.0 vs Carista

1 Upvotes

Can anyone with experience with both of these give me a reason to not go with the Launch CReader?

I've been a jeep guy for a long time, and I just got a new 26 Tacoma. I used JScan for the Jeep which was. It let me customize all the dealer settings like windows down if you hold the unlock on the fob, and high beams with fog lights etc etc....

I've only seen recommendations for carista here, but I hate they want a monthly/yearly subscription for it. JScan let you buy your own Bluetooth OBD dongle, then buy the license for your vin. $25 for the OBD dongle and $25 for your license, and your good for life.

Screw the subscription greed....


r/CarHacking 3d ago

Community What tool do I get sinceTactrix Openport 2.0 is no longer available? (2015 Accord)

1 Upvotes

I am somewhat new to this stuff, as in I have been reading online and researching for many years but just now actually starting to do stuff.

I see that everyone used to use the Tactrix Openport 2.0 but that it's no longer available and that everyone is still waiting on the 3.0.

So in the meantime what is everyone using? What should I get?

I have a 2015 Honda Accord Sport for reference.


r/CarHacking 3d ago

Original Project simos.app: VAG Simos 18 and DSG Tuning Suite

Thumbnail
0 Upvotes