Sensors and the electronic control unit – Garage Basics motor mechanics lesson
Lesson 41 of 70 in the Garage Basics course (ages 11–16)
US version. US spelling and words (tire, gasoline, hood) and US rules such as state inspections. · UK version
Find out how sensors turn temperatures, speeds and positions into electrical signals, and how the electronic control unit uses them to run the engine.
- Time
- 40 minutes + 10 min homework
- Course
- Garage Basics (ages 11–16)
- You need
- Paper, a pencil and this page. No tools and no vehicle
- Graded
- Instantly, with explanations
Education and interest only. Classfern teaches motor mechanics as a school subject. It is not a training program or a certification, and nothing here replaces an accredited automotive program, ASE certification or a qualified technician. Never work on a real vehicle without a qualified adult, the right protective equipment and safe equipment. High-voltage parts of electric and hybrid vehicles are for trained technicians only.
For parents: how to use this lesson
No car is needed. The key idea is the input → process → output pattern, which your child will also meet in computing and design and technology. Every answer is graded straight away with a worked explanation.
- Read what your child will learn and the big ideas.
- Press Start the lesson below for the teaching, worked examples and practice (Getting started, On track or Challenge).
- Finish with the exit ticket and the talk question: “Why do you think modern cars need so many sensors compared with cars from 50 years ago?”
- Later: the homework, then the practice test.
Watch out for
- Thinking a fault code tells you exactly which part to replace. A code points to a circuit or a reading. A technician still has to test to find the cause.
- Thinking the control unit works out everything from scratch. It follows a program and tables of data set by the manufacturer, adjusting from sensor readings.
- Forgetting to subtract the lowest voltage. If a sensor starts at 0.5 V, not 0 V, subtract 0.5 V before working out the percentage.
Hands-on: Draw an input → process → output diagram for something at home: a central heating thermostat, an automatic door or a toaster. Then draw one for a car's cooling fan: coolant temperature sensor → control unit → fan. Add a note saying what the control unit decides.
What your child will learn
- I can describe a car control system as input → process → output.
- I can name common sensors and say what each measures.
- I can turn a sensor voltage into a reading, such as a percentage.
- I can calculate pulse rates from a rotating sensor.
- I can explain what the engine warning light and fault codes are for.
Key words
- sensor
- A device that measures something (temperature, position, speed, pressure) and turns it into an electrical signal.
- electronic control unit (ECU)
- A small computer that reads the sensors, decides what to do and controls the actuators. The one that runs the engine is often called the engine control module.
- actuator
- A part that the control unit switches or moves, such as a fuel injector, an ignition coil or a fan.
- oxygen sensor
- A sensor in the exhaust that measures leftover oxygen, so the control unit can keep the fuel mixture right. It is also called a lambda sensor.
- fault code
- A stored code that records which sensor or circuit the control unit found a problem with.
The big ideas
A modern car has many small computers. The most important runs the engine. The US Department of Energy describes the electronic control module of a gasoline car as controlling the fuel mixture, the ignition timing and the emissions system, while also monitoring the car, protecting the engine from damage and detecting faults.
Every control system follows the same pattern: input, process, output. Sensors are the inputs. They measure things such as engine speed, coolant temperature, how far the gas pedal is pressed, how much air is coming in, and how much oxygen is left in the exhaust. The control unit processes these signals, following a program and tables of data written by the manufacturer. Then it sends outputs to actuators: it tells each fuel injector how long to spray, and tells each spark plug exactly when to spark.
This happens hundreds of times a second. If a sensor reading is impossible, for example a temperature of −40 °C (−40 °F) in a hot engine, the control unit stores a fault code and may light the engine warning light. A technician then reads the codes with a diagnostic tool as a first step in finding the fault.
Read-through: the teaching steps
Input → process → output
- Input: sensors measure and send signals.
- Process: the control unit compares the signals with its stored data and decides.
- Output: actuators such as injectors, ignition coils, fans and valves do the work.
The main parts you can find on almost every car. Common sensors
- Crankshaft position sensor: engine speed and the exact position of the pistons.
- Coolant temperature sensor: how warm the engine is.
- Accelerator pedal position sensor: how much power the driver wants.
- Air flow or pressure sensor: how much air is going in.
- Oxygen (lambda) sensor: oxygen left in the exhaust.
- Wheel speed sensors: used by ABS and the speedometer.
Turning a voltage into a reading
Many sensors give a voltage between about 0 and 5 V. For example, an accelerator sensor might give 0.5 V with the pedal up and 4.5 V fully down. Halfway is 2.5 V.
percentage = (reading − lowest) ÷ (highest − lowest) × 100
At 2.5 V: (2.5 − 0.5) ÷ (4.5 − 0.5) × 100 = 50%.
Counting pulses
Speed sensors count teeth passing a magnet. If a crankshaft wheel has 60 tooth positions and the engine turns at 3,000 rpm (50 revolutions per second), the sensor sees 60 × 50 = 3,000 pulses each second. The control unit turns pulse rate into speed.
Keeping the mixture right
The control unit sets the fuel to match the air coming in. The oxygen sensor checks the result: too much oxygen left means too little fuel, too little oxygen means too much. The control unit adjusts the fuel many times a second, which also lets the catalytic converter clean the exhaust properly.
Warning lights and fault codes
When the control unit detects a problem, it stores a fault code. Serious or emissions faults light the engine warning light. The code tells a technician which circuit to test; it does not always name the broken part, so testing following the manufacturer's data comes next.
The lesson, step by step
| Part | Time | How it is checked |
|---|---|---|
| Starter: warm up | 4 min | Graded by Classfern |
| Teaching and hands-on task | 12 min | Not assessed, self-checked |
| Worked examples and guided practice | 8 min | Graded by Classfern |
| Independent practice (three levels) | 11 min | Graded by Classfern |
| Exit ticket and talk question | 5 min | Graded by Classfern, self-checked |
Make my lesson plan Opens this lesson in the free Lesson Plan Maker, filled in and ready to change, print or save.
The lesson
It runs here on the page. No sign-up and no names – progress is kept only in this browser.
Homework
About 10 minutes: 6 questions and a one-line reflection, all graded instantly.
More practice
More Electricity in the car lessons · Garage Basics course · All motor mechanics practice tests · Motor Mechanics Department
Sources and curriculum
Facts in this lesson were checked against:
Our lessons and questions are our own. They are not written or endorsed by ASE, NHTSA, any state agency, any college, testing agency or exam board.