Kwp2000 Plus Serial Programming Guide
Modifying your OBD-II system to a non-certified state is considered a.Federal Offense.(The information provided is only intended for reading from the OBD-II spec. Hack at your own risk! The DefinitionSo what exactly is the OBD specification, and why do we care? According to the Environmental Protection Agency's:On-Board Diagnostics, or 'OBD,' is a computer-based system built into all 1996 and later light-duty vehicles and trucks, as required by the Clean Air Act Amendments of 1990. OBD systems are designed to monitor the performance of some of an engine's major components including those responsible for controlling emissions.In other words, OBD is the language of the Engine Control Unit (ECU), and it was designed to help fight emissions and engine failures.Saving the planet is great (shout out to you citizen scientists!), but what this also means is we can access other features of the car and collect information from and on those parts.
The KWP2000 Plus ECU Flasher lets you improve your car's fuel efficiency, responsiveness, power. Splitters OBD2 to Serial Cables Open End Cables Pigtails Motorcycle Cables. KWP2000 Plus OBD2 ECU Chip Tuning Flash Programmer. KWP2000 Plus Software Installation and Operating Guide PDF.
Learning how to work with those protocols also means that you can determine what that Malfunction Indicator Light (MIL) (aka the Check Engine Light) on your dash is referring to when it tells you there's an engine problem. If you or your mechanic has ever read the DTCs (Diagnostic Trouble Codes) on your vehicle, they are using OBD-II.Unfortunately, the actual protocols themselves are not available publicly (if only they'd open source!), but we've attempted to collect and clarify as much as possible. The HardwareAny vehicle manufacture from 1996 or later is required by law to have the OBD-II computer system. You can access this system through the Data Link Connector (DLC).
It is a 16 pin connector that can tell you which protocol your car communicates with, depending on which pins are populated in it. TerminologyBefore we get too much farther, let's make sure we understand all the keywords used in these protocols. Engine/Electronic Control Unit (ECU)The ECU can refer to a single module or a collection of modules. These are the brains of the vehicle. They monitor and control many functions of the car. These can be standard from the manufacturer, reprogrammable, or have the capability of being daisy-chained for multiple features. Tuning features on the ECU can allow the user to make the engine function at various performance levels and various economy levels.
Engine Code Kwp2000
On new cars, these are all typically microcontrollers.Some of the more common ECU types include:. Engine Control Module (ECM) - This controls the actuators of the engine, affecting things like ignition timing, air to fuel ratios, and idle speeds. Vehicle Control Module (VCM) - Another module name that controls the engine and vehicle performance.
Transmission Control Module (TCM) - This handles the transmission, including items like transmission fluid temperature, throttle position, and wheel speed. Powertrain Control Module (PCM) - Typically, a combination of an ECM and a TCM.
Kwp2000 Code Ford
This controls your powertrain. Electronic Brake Control Module (EBCM) - This controls and reads data from the anti-lock braking system (ABS). Body Control Module (BCM) - The module that controls vehicle body features, such as power windows, power seats, etc.Diagnostic Trouble Code (DTC)These codes are used to describe where an issue is occurring on the vehicle and are defined by SAE (you can find the whole spec for a cost). These codes, can either be generic or unique to the vehicle manufacturer.These codes take the following format. OBD-II ProtocolsThere are five different communication protocols available under the OBD-II spec. Like so many things, manufacturers tend to have their preferences and think their protocol is best, hence the variation. Here's a quick overview of each and a description of the pins used on the DLC for each.
SAE J1850 PWMThis signal is, which runs at 41.6 kbps. This protocol is generally used on Ford vehicles.SAE J1850 PWMFeatureDescriptionBUS +Pin 2BUS -Pin 1012VPin 16GNDPins 4, 5Bus State:Active when BUS + is pulled HIGH, BUS - is pulled LOWMaximum Signal Voltage:5VMinimum Signal Voltage:0VNumber of bytes:12Bit Timing:'1' bit - 8uS, '0' bit - 16uS, Start of Frame - 48uSSAE J1850 VPWThis protocol is Variable Pulse Width, which runs at 10.4 kbps. GM vehicles typically use this version.SAE J1850 VPWFeatureDescriptionBUS +Pin 212VPin 16GNDPins 4, 5Bus State:Bus idles lowMaximum Signal Voltage:+7VDecision Signal Voltage:+3.5VMinimum Signal Voltage:0VNumber of bytes:12Bit Timing:'1' bit -HIGH 64uS, '0' bit -HIGH 128uS, Start of Frame - HIGH 200uSISO 9141-2If you have a Chrysler, European, or Asian vehicle, this is your protocol. It runs at 10.4 kbps and is asynchronous serial communication.ISO 9141-2FeatureDescriptionK Line (bidirectional)Pin 7L Line (unidirectional, optional)Pin 1512VPin 16GNDPins 4, 5Bus State:K Line idles HIGH. Bus is active when driven LOW.Maximum Signal Voltage:+12VMinimum Signal Voltage:0VNumber of bytes:Message: 260, Data: 255Bit Timing:UART: 10400bps, 8-N-1ISO 14230 KWP2000This is the Keyword Protocol 2000, another asynchronous serial communication method that also runs at up to 10.4 kbps. This also is used on Chrsyler, European, or Asian vehicles.ISO 14230 KWP2000FeatureDescriptionK Line (bidirectional)Pin 7L Line (unidirectional, optional)Pin 1512VPin 16GNDPins 4, 5Bus State:Active when driven LOW.Maximum Signal Voltage:+12VMinimum Signal Voltage:0VNumber of bytes:Data: 255Bit Timing:UART: 10400bps, 8-N-1ISO 15765 CANThis protocol has been mandated in all vehicles sold in the US from 2008 and later. However, if you have a European car from 2003 or later, the vehicle may have CAN.
It's a two-wire communication method and can run at up to 1Mbps.ISO 15765 CANFeatureDescriptionCAN HIGH (CAN H)Pin 6CAN LOW (CAN L)Pin 1412VPin 16GNDPins 4, 5Bus State:Active when CANH pulled HIGH, CANL pulled LOW. Idle when signals are floating.CANH Signal Voltage:+3.5VCANL Signal Voltage:+1.5VMaximum Signal Voltage:CANH = +4.5V, CANL = +2.25VMinimum Signal Voltage:CANH = +2.75V, CANL = +0.5VNumber of bytes:LBit Timing:250kbit/sec or 500kbit/sec. Using a SimulatorWhile these protocols are great for collecting data from your vehicle, it can be a real pain when prototyping to have to sit with a computer, various electronics, and cables running all over the place in the front of your car. Luckily, there are many simulators out there that allow basic prototyping and testing of OBD-II systems.We have a few different simulators laying around here that are useful for working with these protocols.
We'll update this section if/when we get our hands on any additional ones. This ECU simulator is designed and manufactured by the lovely folks over at. You can view all of the product information over at their product page.To get started using this simulator, you must make the following connections:.
Plug a USB cable in to the simulator and the computer. Reading ECUsim 2000 protocol settings.This shows that the simulator is currently set to the ISO 15765-4 protocol (a.k.a CAN), with an 11 bit ID type and is running at 500 kbps.If you then need to send data from your simulator to a device such as the or for testing, you can use the transmit command SOMT,. For example, if we want to send the command that the engine fuel pressure is 100kPa, we would send SOMT followed by the Parameter ID (PID) for fuel pressure, which is 0A, and follow that with the hex value for 100 ( 64) in this case. In 2003, CU student Nate Seidle fried a power supply in his dorm room and, in lieu of a way to order easy replacements, decided to start his own company. Since then, SparkFun has been committed to sustainably helping our world achieve electronics literacy from our headquarters in Boulder, Colorado.No matter your vision, SparkFun's products and resources are designed to make the world of electronics more accessible.
In addition to over 2,000 open source components and widgets, SparkFun offers curriculum, training and online tutorials designed to help demystify the wonderful world of embedded electronics. We're here to help you start something. SparkFun Electronics.