Parts · Sensors
Ultrasonic sensor for 3.3 V (HC-SR04P)
HC-SR04P, also sold as HC-SR04 2020/2021, 3-5.5 V
Looks like the HC-SR04, often with the same print, but it also works on 3.3 V. Its Echo is as high as its power.
Parts · Sensors
HC-SR04P, also sold as HC-SR04 2020/2021, 3-5.5 V
Looks like the HC-SR04, often with the same print, but it also works on 3.3 V. Its Echo is as high as its power.

| Pin or leg | What it is for |
|---|---|
| VCC | 5 V (the class rule), or 3.3 V from the 3.3 V regulator |
| Trig | a Micro:bit pin, e.g. P1: straight |
| Echo | a Micro:bit pin, e.g. P2: through the divider on 5 V, straight on 3.3 V |
| GND | GND |
Good to know: Sellers often print "HC-SR04" on the front, the same as on the classic one: look at the back. Kitronik's 46114 was this kind, but it is discontinued and its datasheet is the one of the classic HC-SR04.
The idea behind it, step by step: Ultrasonic distance sensor
No project uses it yet.
| Power | 3-5.5 V (some 2.8-5.5 V), about 2-3 mA |
|---|---|
| Range | about 2-400 cm on 5 V, a bit shorter on 3.3 V |
| Echo | as high as its power: 3.3 V on 3.3 V, 5 V on 5 V |
| On the back | an RCWL chip (RCWL-9206, RCWL-9300, RCWL-9610) or a CS100A, no 16-pin MAX232; often M1 and M2 pads; sometimes "+" or "2021" |
| On the front | often no crystal (the RCWL chip has its own clock); some boards have one: a hint, not proof |
| HC-SR04 (classic) | 5 V only; three chips on the back, one a 16-pin MAX232 (or no name) |
|---|---|
| HC-SR04+ (4tronix) | the same 3-5.5 V kind |
| Kitronik 46114 | a 3.3 V-tolerant board sold before; Kitronik lists it as discontinued |