SHT31/What is on the board/04. The slot round the sensor
What is on the board · 04 of 11

The slot round the sensor

There is an arch of missing board round the sensor, a millimetre wide, leaving it on a tongue joined to the rest only at the header end. It is the one feature of this board that is about physics rather than about circuits, and it is the difference between measuring the room and measuring the board.

What you are looking at

Turn the board over and there is an arch of nothing round the middle: a slot one millimetre wide, running up one side of the sensor, across the top and down the other side. What it leaves behind is a tongue of board 4.9 mm wide, with the sensor on the end of it, joined to the rest only at the header end.

That arch is in the board outline file — the same file the fabricator uses to cut the outside edge. It is not a crack and it is not a scratch. It was drawn on purpose.

Where the board's heat goes
This board
Board width
23.2 mm
Tongue
4.9 mm
Path to the sensor
round the arch
Press the button. Heat enters through the header pins, which are the only solid connection the board has to anything else, and climbs.

The problem it solves

A temperature sensor measures the temperature of itself. That is not a limitation of this part, it is what "temperature sensor" means: the element reports how warm the element is, and you are trusting that the element is as warm as the thing you wanted to know about.

A circuit board is a sheet of fibreglass with copper on it. Copper carries heat thousands of times better than air does, and even the fibreglass carries it about ten times better. So a sensor soldered to a board that is plugged into a project is thermally connected to the regulator turning spare volts into heat, the USB socket, and the microcontroller — all of them warmer than the room, and all of them reaching the sensor faster through the board than the room reaches it through the air.

Without the slot, all 23.2 mm of board width is a path. With it, the only path is 4.9 mm of tongue, and the heat has to travel further to use it. A fifth of the cross-section and a longer route means most of it is lost sideways into the air before it arrives.

What it does not solve

Everything off the board. The slot stops the board conducting heat to the sensor; it does nothing about the sensor sitting in the warm air above your project, which is usually the larger effect.

So the slot buys you the right to care about placement:

  • Get the board out of the breadboard, on four long jumper wires.
  • Keep it away from regulators, LEDs, displays and anything else warm, and below them rather than above if you have the choice: warm air rises into whatever sits over it.
  • Give it a few minutes after moving it. Temperature takes a couple of seconds to catch up and the board it is bolted to takes longer.
  • Leave the slot unobstructed. It is a thermal break, and a blob of hot glue or a cable tie across it puts the path back.

Why the tongue cannot be cut free

The obvious next thought is to finish the job and snap the tongue off. It does not work: the sensor's five connections — SDA, SCL, VCC, ground and ADDR — all run up that tongue as copper traces. It is the only reason it is still attached at all, and the isolation stops exactly where the wiring has to begin.

When it does not work

Is the slot a manufacturing fault?

No. It is in the board outline file, which is the same file the fabricator cuts the outside edge from — a deliberate 1 mm routed arch, not a crack or a scratch. Every one of these boards has it in the same place.

It reads two degrees warmer than my room thermometer.

The sensor is measuring its own surroundings, and its surroundings are your project. Sitting in a breadboard next to a regulator, a USB socket and a microcontroller, two degrees high is normal. Move it off the breadboard on four long jumper wires, away from anything warm, and give it a few minutes.

Can I snap the tongue off to isolate it completely?

No — all five of the sensor's connections run up that tongue as copper traces. Break it and the part is disconnected as well as thermally isolated. The slot already goes as far as the isolation can while the sensor is still wired to anything.

Does the slot let air at the sensor better?

A little, and that is a side effect rather than the point. Air reaching the element is what sets the 8-second humidity response time, and the slot helps by letting the tongue sit in moving air on more than one side. The main job is stopping heat conducting along the copper.

Where this goes next

Two solder pads on the back, one closed and one open, and between them they decide whether two of these can share a bus.

The two jumpers

Edit this page — content/books/sht31/the-slot-round-the-sensor.mdx

Community

Questions about this product

See what other owners have asked, and read their solutions.

Ask a question ↗

SHT31 Temperature and Humidity 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.

Browse Modules and blocks on the forum