Industrial sensors and 4-20 mA lesson plan
The sensors on a real machine and tank: proximity switches, NPN against PNP, floats, pressure transducers and the 4-20 mA loop that carries a reading across a plant. Ends with a tank controller and every interlock it needs.
Objectives and materials
By the end, students can
- A box counter, its output, its range, and the four families.
- Sinking and sourcing sensors, and the pairing that never turns on.
- Floats, off delays, high-water alarms and fail-safe NC contacts.
- Offset and span, psi and bar, and pressure as depth.
- Live zero, the receiver, loop resistance and a broken loop.
- Milliamps to percent to engineering units, and faults that are not numbers.
- Floats, a hatch interlock, pressure and quality checks, your own limit.
Materials for the whole unit
- Arduino Uno R3
- Bench power supply
- Buzzer
- Character LCD with I2C backpack
- Current sensor, ACS712
- Float switch, ZP4510 x 2
- Full-size breadboard
- Half breadboard
- IR proximity switch, E18-D80NK
- LED
- Mini water pump
- Multimeter x 2
- Op-amp
- Potentiometer
- Pressure sender, 0.5-4.5 V
- Pushbutton
- Relay module
- Resistor x 6
- Slide switch x 2
- Transistor (NPN or PNP) x 2
- Water quality sensor, pH, TDS, EC, DO, NTU
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
Proximity sensors
A box counter, its output, its range, and the four families.
| Lesson | Time | What students do |
|---|---|---|
| Proximity sensorsAn infrared proximity switch counts boxes on a conveyor. What its output does, how its range is set, and which industrial type, inductive, capacitive, photoelectric or ultrasonic, you would fit for each job. | 45 min |
|
Materials
- Arduino Uno R3
- Buzzer
- Character LCD with I2C backpack
- Half breadboard
- IR proximity switch, E18-D80NK
Check for understanding
Each student finishes "Proximity sensors" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Which sensor for which job".
NPN vs PNP
Sinking and sourcing sensors, and the pairing that never turns on.
| Lesson | Time | What students do |
|---|---|---|
| NPN vs PNPBoth output stages at 24 V with the PLC inputs they drive: a sinking sensor into a sourcing input, a sourcing sensor into a sinking one, the 5 mA an input card draws, and the wrong pairing that never turns on. | 55 min |
|
Materials
- Bench power supply
- Multimeter x 2
- Resistor x 4
- Slide switch x 2
- Transistor (NPN or PNP) x 2
Check for understanding
Each student finishes "NPN vs PNP" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Choose and check".
Level switches
Floats, off delays, high-water alarms and fail-safe NC contacts.
| Lesson | Time | What students do |
|---|---|---|
| Level switchesA sump pump controller with two float switches: pump on at one level, off after a delay, a high-water float that forces the pump on, normally open against normally closed, and a current check that proves the pump really runs. | 55 min |
|
Materials
- Arduino Uno R3
- Buzzer
- Current sensor, ACS712
- Float switch, ZP4510 x 2
- Full-size breadboard
- LED
- Mini water pump
- Pushbutton
- Relay module
- Resistor
- Slide switch
Check for understanding
Each student finishes "Level switches" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Other ways to sense level".
Pressure transducers
Offset and span, psi and bar, and pressure as depth.
| Lesson | Time | What students do |
|---|---|---|
| Pressure transducersA 0 to 100 psi transducer on a water line: 0.5 to 4.5 V ratiometric output, offset and span, psi to bar, and reading the depth of water from the pressure at the bottom of a tank. | 45 min |
|
Materials
- Arduino Uno R3
- Character LCD with I2C backpack
- Half breadboard
- Multimeter
- Pressure sender, 0.5-4.5 V
Check for understanding
Each student finishes "Pressure transducers" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Gauge, absolute and installing one".
4-20 mA loops
Live zero, the receiver, loop resistance and a broken loop.
| Lesson | Time | What students do |
|---|---|---|
| 4-20 mA loopsA transmitter, a 24 V supply, a series meter and a 250 ohm receiver. Why a current, why 4 and not 0, what the receiver sees, how much cable a loop can drive, and what a broken loop reads. | 55 min |
|
Materials
- Bench power supply
- Multimeter x 2
- Op-amp
- Potentiometer
- Resistor x 6
- Transistor (NPN or PNP)
Check for understanding
Each student finishes "4-20 mA loops" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Two-wire, four-wire, HART".
Scaling
Milliamps to percent to engineering units, and faults that are not numbers.
| Lesson | Time | What students do |
|---|---|---|
| ScalingThe same loop into an Uno: milliamps back from the receiver volts, percent of span, and engineering units set by typing a range, including one that does not start at zero, plus a loop fault that refuses to print a number. | 45 min |
|
Materials
- Arduino Uno R3
- Bench power supply
- Multimeter
- Op-amp
- Potentiometer
- Resistor x 6
- Transistor (NPN or PNP)
Check for understanding
Each student finishes "Scaling" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "A loop fault is not a number".
Boss: a tank controller
Floats, a hatch interlock, pressure and quality checks, your own limit.
| Lesson | Time | What students do |
|---|---|---|
| Boss: a tank controllerFill a tank between two floats with every interlock a real one has: a proximity sensor proving the hatch is shut, a pressure transducer catching a dry run and a blocked discharge, a TDS probe holding off bad water, and a high float wired fail-safe. Then set your own limit. | 60 min |
|
Materials
- Arduino Uno R3
- Float switch, ZP4510 x 2
- IR proximity switch, E18-D80NK
- Mini water pump
- Pressure sender, 0.5-4.5 V
- Relay module
- Water quality sensor, pH, TDS, EC, DO, NTU
Check for understanding
Each student finishes "Boss: a tank controller" on their own, without opening the hints. The simulator checks 8 of its 8 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours: set the limit".
Teach this unit as a class
Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.