+233 20 936 2757 Same-day dispatch in Accra for orders before 14:00 · Free delivery over GH₵1000
Nauvitel Electronics

ST188 Reflective Infrared (IR) Photoelectric Sensor – Obstacle / Line Detection

GH₵11.00

The ST188 is a small reflective IR sensor. It has an infrared LED and a phototransistor side by side in one 4-pin package. It detects objects, black and white lines, and reflective marks at short range, which makes it a good fit for line-following robots, RPM counters and position sensing.

In stock · 100 availableShips from Accra · Fast delivery across all 16 regions of Ghana and beyond!
  • Same-day dispatch in Accra for orders before 14:00
  • Pay securely with Mobile Money or card
  • Genuine parts, tested before dispatch

Overview

The ST188 works by reflection. The built-in IR LED shines on a surface, and the phototransistor next to it picks up the light that bounces back. Light-coloured or shiny surfaces reflect strongly and turn the phototransistor on. Black or dark surfaces absorb the light and leave it off. That makes the ST188 a simple, low-cost way to tell black from white, count rotations on a marked wheel, or sense when an object is close.

This is the bare sensor, not a module. You'll need a current-limiting resistor for the LED (around 150–220 Ω at 5 V) and a pull-up resistor on the phototransistor (around 10 kΩ). You can read the output with an Arduino or ESP32 analog pin, or feed it to an LM393 comparator for a clean digital signal. The through-hole pins fit breadboards, perfboards and custom PCBs.

Specifications:

SpecValue
TypeReflective photoelectric sensor (IR LED + phototransistor)
Detection distance4–13 mm (best around 8–10 mm)
IR wavelengthapprox. 940–950 nm
LED forward voltageapprox. 1.2–1.5 V
LED forward current20 mA typical, 50 mA max
OutputPhototransistor (open collector)
Pins4 (LED anode, LED cathode, collector, emitter)
MountingThrough-hole (THT)
Body sizeapprox. 10 × 6 × 7 mm

Applications:

  • Line-following and maze robots
  • Tachometers and motor RPM measurement
  • Rotary encoders and wheel speed sensing
  • Pulse counting on water and electricity meters
  • Paper and object detection in printers and vending machines
  • Edge and proximity detection

Package includes: 1 × ST188 IR reflective sensor (or the pack quantity selected)

Pairs well with

Related products

New parts, restocks and project ideas

Join our list — one useful email a month, no spam.