Announcement

Collapse
No announcement yet.

Create an OBD Trouble Code?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create an OBD Trouble Code?

    I just finished building my OBD reader program for the ELM chip and I now need to test the Mode 3 and 4 functions for it that query and reset trouble codes. Anyone know of the easiest way to create a trouble code in my car so I can test reading and resetting the trouble codes.

    Preferably something easy to do that won't damage anything?
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

  • #2
    I was thinking about doing that too, and would assume you could just unplug the mass air flow sensor and turn the key on without cranking the engine. You could probably do that with temp sensors as well. Anyone know for sure?

    Comment


    • #3
      I know on a lot of new cars that if you dont tighten the gas cap all the way you will get a code. You might want to try that

      Comment


      • #4
        Thanks, for your replies.

        Looks like disconnecting the MAF is the way to go.
        http://g35driver.com/forums/showflat...sed&sb=5&part=
        StreetDeck.com Developer (I am Chuck)
        Get StreetDeck at http://www.streetdeck.com
        The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

        Comment


        • #5
          The air intake temperature sensor is an easy one too.

          Comment


          • #6
            You can also take off the gas cap, don't even have to open the hood for that one.

            Comment


            • #7
              The gas cap deal isn't instant. There is some tolerance to the ECU reacting.
              another good bet is the coolant temp sensor. This will throw the vehicle into "limp mode" and launch a DTC (diagnostic trouble code). Of course, you will need to clear the code once you are done testing and plug the sensor back in or you will have a sick running car for a while.

              Comment


              • #8
                Disconnecting the MAF worked like a charm, took about 2 seconds to do and immediatly caused the car to generate a trouble code. Took me about another hour to figure out why I couldn't read it... Turns out you have to send a mode 1 pid 1 message first to read the number of codes before you can send a mode 3 request, otherwise the mode 3 request will respond that the mode 3 request was successful, but won't return the trouble code.
                StreetDeck.com Developer (I am Chuck)
                Get StreetDeck at http://www.streetdeck.com
                The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

                Comment


                • #9
                  Originally posted by god_of_cpu
                  I just finished building my OBD reader program for the ELM chip and I now need to test the Mode 3 and 4 functions for it that query and reset trouble codes. Anyone know of the easiest way to create a trouble code in my car so I can test reading and resetting the trouble codes.

                  Preferably something easy to do that won't damage anything?
                  I hope you can clear it.
                  Disconnecting the battery may not clear it.
                  AtmosUSA.biz, E-Cig Mods
                  "A great smoking alternative"

                  Comment


                  • #10
                    He's got the admin password and Mode 4 access rights. I'm sure he can clear it.

                    Comment


                    • #11
                      Removing the fuel cap won't always set a MIL (check engine light). It depends on if the ECM is running a EVAP monitor test a senses a leak twice.
                      The easiest fault I do is pull an injector plug while the car is running.

                      Comment


                      • #12
                        Wouldn't removing the O2 sensor do it?
                        CarPC install is starting to come along again...

                        Comment


                        • #13
                          Not always, some things will immed. set a code (such as a misfire, bad MAF). Some codes are called "two-trip", meaning that the computer needs to see that fault twice to set a code.

                          Comment


                          • #14
                            Originally posted by god_of_cpu
                            I just finished building my OBD reader program for the ELM chip and I now need to test the Mode 3 and 4 functions for it that query and reset trouble codes. Anyone know of the easiest way to create a trouble code in my car so I can test reading and resetting the trouble codes.

                            Preferably something easy to do that won't damage anything?
                            Hi!!!!



                            I need your help please!!!!

                            I am writing code in Visual Basic in order to communicate to the ECU with ELM interface. I donít know very well how to write and read the commands I have to send/receive to talk to the ECU.

                            Could you help me please?

                            Iíll appreciate your help!!!

                            Regards


                            e-mail:[email protected]
                            Esteban

                            Comment


                            • #15
                              estaban2:
                              Any reason why you posted the same message like a dozen times? It's a waste of everyone's time to reread the same post.

                              Comment

                              Working...
                              X