The four pins
Four pins, three of them wired. GND and VCC power the block, SIGNAL tells your board whether the lever is in, and NC is connected to nothing. A hit reads HIGH: the board has a pull-down, not a pull-up.
What is on the board
A lever microswitch lying flat along the top edge, two small resistors, a red LED, and a four-pin header along the bottom edge. The header is right-angled, so the pins point out past the edge of the board and it lies flat on a robot's deck or in a breadboard.

The switch is a Usakro UK-E0516, 12.7 mm long, with a lever that reaches past the board's top edge. It is the tallest part, 7.3 mm from the bottom of the board. Under it, the two resistors are the 10 kΩ pull-down, on the left, and the 1 kΩ for the LED, on the right. The LED sits between them and the header.
The four names
GND is on the square pad. The pull-down and the LED both return here.
VCC goes to one contact of the switch and nowhere else. Whatever you connect to VCC is what your pin receives when the lever is pushed in, which is why VCC sets the voltage has its own article.
NC means not connected, and on this board it means it literally: no trace reaches that pad. The switch also has a contact called NC, which is a different thing. COM, NO and NC untangles the two.
SIGNAL is the output. At rest it sits at 0 V and your board reads LOW. Pushed in, the switch joins it to VCC and your board reads HIGH. HIGH means the bumper is touching something.
The same wiring as the push button
The circuit is the TK04 push button's: a switch from VCC to SIGNAL, a 10 kΩ pull-down, a red LED behind 1 kΩ. Only the switch differs. So the pins, the sketches and the pin numbers in this book are the push button's, and a sketch written for one works on the other.
The back of the board

Turned over, the order reverses. The square pad is on the right, and it is still GND. The back prints TK17, the number on the box.
When it does not work
Hold the board with the switch at the top and the header pins pointing down. Read GND, VCC, NC, SIGNAL from left to right. GND is also the square pad, which is the one mark that survives when the labels are hidden in a breadboard.
No. It is connected to nothing on the board. It is there so every TinkerBlock block has the same four-pin header and one cable fits all of them. Wiring it does no harm and changes nothing.
Turned over, the order reverses: SIGNAL is on the left and GND on the right, and GND is still the square pad. The back prints TK17 COLLISION SENSOR and DETECTS IMPACTS instead of the names. Count from the square pad and you cannot get it backwards.
No. There is no potentiometer on the board, and nothing to adjust: the switch clicks when its lever has moved about a millimetre and a half, and that is set by the switch. What you can change is what presses on the lever, and how long your sketch waits before it believes a hit.
The switch's own three contacts, and why only two of them are used.
COM, NO and NC →Edit this page — content/books/collision-sensor/the-four-pins.mdx
Questions about this product
See what other owners have asked, and read their solutions.
Collision Sensor
Loading discussions…
Discuss this article
Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.