P-Bit User Guide

What Is the P-Bit?

The P-Bit is a mini environmental computer. You connect it, turn it on, and it starts measuring what's happening around you: air temperature, how much humidity there is, whether there's a lot or a little light, the noise level, whether a plant's soil is dry, and even the temperature of a probe you can dip into water or soil.

It has a colour screen, an LED that changes colour depending on what it detects, and a beep that warns you when something goes outside the range you configure. Everything is controlled with a single wheel: the encoder.

Input

The 6 Sensors

Measures air Temperature and Humidity (DHT11), Light, ambient Sound, Soil moisture, and liquid Temperature (DS18B20).

Outputs

LED / Screen / Buzzer

160×128 px colour TFT screen, an RGB LED that shows the status with a colour code, and an internal buzzer for navigation beeps and alerts.

Try it
P-Bit screen: Home

First Power-On

Your first minute with the P-Bit is very simple.

  1. Connect: Power it via USB-C. The screen turns on immediately.
  2. Choose the language: Turn the wheel to choose between Spanish, Catalan, or English.
  3. Confirm: Press the wheel to confirm. Done! The P-Bit will remember this forever, even if you turn it off.

The Encoder: Everything in One Button

A single rotary wheel is your entire control. It has three gestures:

TurnSwitch screens, move through menus, and adjust numeric values.
Short pressConfirm a selection or trigger a quick action (like pausing the timer).
Long press (~1.2s)Open the settings menu for the current screen.
General rule: Turn = move. Short press = confirm. Long press = open menu.

The Screen Flow

Turn the encoder to cycle through the screens. The order is always the same:

Navigation map
Try it
P-Bit screen: Home

⟳ Turning goes round the carousel in this order and, after System, back to Home.

Overview · read only
  1. 1P-Bit screen: HomeHome
  2. 2P-Bit screen: Climate LabClimate Lab
  3. 3P-Bit screen: Plant LabPlant Labonly with the soil sensor
  4. 4P-Bit screen: Thermo LabThermo Lab
Sensors · press to change view
  1. 5P-Bit screen: TemperatureTemperature
  2. 6P-Bit screen: HumidityHumidity
  3. 7P-Bit screen: LightLight
  4. 8P-Bit screen: SoundSound
  5. 9P-Bit screen: SoilSoil
  6. 10P-Bit screen: ThermometerThermometer
Tools
  1. 11P-Bit screen: TimerTimer
  2. 12P-Bit screen: SystemSystem

● Pressing on a sensor changes the view, and each sensor remembers the last one:

Main → Range → Info → Data → Curve ↺

On Sound: Main → Sound VU → Sound Wave → Range → Info → Data → Curve ↺

●● Holding for 1.2 s opens the settings menu of the sensor, Plant Lab or System. On Timer it opens the editor (or resets) and on Home it starts demo mode.

What it looks like on the P-Bit
P-Bit Home screen
Home
P-Bit Climate Lab screen
Climate Lab
P-Bit Plant Lab screen
Plant Lab
P-Bit Thermo Lab screen
Thermo Lab

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

🏠 Home → 🌦️ Climate Lab → 🪴 Plant Lab → 🌡️ Thermo Lab → 🌡️ Temperature → 💧 Humidity → ☀️ Light → 🔊 Sound → 🌱 Soil → 🌊 Thermometer → ⏱️ Timer → ⚙️ System ↺

Quick actions (without opening a menu)

ScreenWhat the short press does
Temperature, Humidity, Light, Sound, Soil, ThermometerChanges the view of that sensor (Main → Range → Info → Data → Curve). Long press opens its settings menu, where the °C/°F unit lives.
SystemTurns the beep on or off. Long press opens the System menu.
TimerStarts or pauses. Long press opens the editor when stopped, or resets it.
Home and the LabsNo short-press action. Long press: on Home it starts demo mode; on Plant Lab it opens its settings.

🌡️ Air Temperature

Measures ambient heat with a tank-style visual that changes colour: blue when it's cold, green when optimal, red when it's hot.

What it looks like on the P-Bit
P-Bit Temperature screen in the Main view
Main
P-Bit Temperature screen in the Range view
Range
P-Bit Temperature screen in the Info view
Info
P-Bit Temperature screen in the Data view
Data
P-Bit Temperature screen in the Curve view
Curve

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

SENSOR
DHT11
OPERATING RANGE
0°C to +50°C
ACCURACY
± 2°C
SAMPLING
Over 2 s between readings
P-Bit screen: Temperature, Info view
Classroom Experiment: Set a maximum limit of 24°C and take the P-Bit out to the sunny courtyard and then into the shade. Time how many seconds it takes for the temperature to jump and trigger the acoustic alarm.

Keep in mind that the internal sensor can heat up slightly from internal dissipation if the device has been on for a long time or is plugged into USB. For ultra-precise readings in direct contact, use the external DS18B20 probe.

💧 Air Humidity

Shows how much humidity is in the air with a horizontal bar. You can define what counts as "Dry" and what counts as "Very Humid".

What it looks like on the P-Bit
P-Bit Humidity screen in the Main view
Main
P-Bit Humidity screen in the Range view
Range
P-Bit Humidity screen in the Info view
Info
P-Bit Humidity screen in the Data view
Data
P-Bit Humidity screen in the Curve view
Curve

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

SENSOR
DHT11
OPERATING RANGE
20% to 90% RH
ACCURACY
± 5% RH
RESOLUTION
1% RH
P-Bit screen: Humidity, Info view
Usage tip: Don't bring your hand or mouth close to the sensor if you want a stable reading — a single breath will spike the measurement to +80%. It's a great sensor for installing in terrariums or simulating a school greenhouse's climate.

☀️ Ambient Light

Measures light and automatically classifies it: Dark, Dim, Indoor, Bright, or Sunlight.

What it looks like on the P-Bit
P-Bit Light screen in the Main view
Main
P-Bit Light screen in the Range view
Range
P-Bit Light screen in the Info view
Info
P-Bit Light screen in the Data view
Data
P-Bit Light screen in the Curve view
Curve

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

SENSOR
Analog LDR / BH1750
LUX RANGE
0 to 65,535 Lux
SPECTRUM
Visible (similar to the human eye)
P-Bit screen: Light, Info view

You can calibrate the lux thresholds from the menu to adapt them to your classroom or the outdoors. By switching the Visual Mode, you can use the sensor as a photographic tool (Absolute) or a pure engineering one (Raw ADC).

Automatic LED: The P-Bit's main RGB LED turns off automatically when you enter this screen. This prevents the device's own coloured light from contaminating the light sensor's reading.

🎤 Ambient Sound

Measures the noise level picked up by the built-in microphone, shown as a VU Meter (intensity percentage).

What it looks like on the P-Bit
P-Bit Sound screen in the Main view
Main
P-Bit Sound screen in the Sound VU view
Sound VU
P-Bit Sound screen in the Sound Wave view
Sound Wave
P-Bit Sound screen in the Range view
Range
P-Bit Sound screen in the Info view
Info
P-Bit Sound screen in the Data view
Data
P-Bit Sound screen in the Curve view
Curve

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

SENSOR
Electret Microphone / INMP441
FREQ. RANGE
20Hz - 20kHz
PROCESSING
RMS over a 50ms window
P-Bit screen: Sound, VU view
Classroom Noise Traffic Light: Turn on Alerts, lower the High limit to 40%, and leave the P-Bit on the teacher's desk. If students get too loud working in groups, the device will warn them automatically.

🌱 Soil Moisture (J6 Port)

External capacitive probe. It doesn't corrode on contact with water and measures soil or pot moisture reliably.

What it looks like on the P-Bit
P-Bit Soil screen in the Main view
Main
P-Bit Soil screen in the Range view
Range
P-Bit Soil screen in the Info view
Info
P-Bit Soil screen in the Data view
Data
P-Bit Soil screen in the Curve view
Curve

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

TYPE
Crowtail Capacitive Moisture V2.0 (Elecrow)
CONNECTOR
HY2.0-4P, 2.0 mm (IO35, red)
SUPPLY
3.3–5 V
P-Bit screen: Soil, Info view
Why do you need to calibrate? Every type of soil or substrate has a different density. The two-point calibration process (0% and 100%) ensures the percentage bar is fully accurate for your specific experiment.

Hardware care: Remember that the electronics at the top of the probe (where the wires are) are NOT submersible. Sink the probe into the soil only up to the white dividing line.

🧊 DS18B20 Probe (External Temp.)

Waterproof stainless-steel probe (black cable). Used to measure temperature in liquids, deep soil, or ice. It is Elecrow's Crowtail One Wire Waterproof Temperature Sensor 2.0: a 6 × 30 mm stainless-steel tube on a 90 cm cable. The chip reads up to 125°C, but the manufacturer advises staying below 100°C because the cable is PVC.

What it looks like on the P-Bit
P-Bit Thermometer screen in the Main view
Main
P-Bit Thermometer screen in the Range view
Range
P-Bit Thermometer screen in the Info view
Info
P-Bit Thermometer screen in the Data view
Data
P-Bit Thermometer screen in the Curve view
Curve

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

PROBE TYPE
Digital One-Wire
MEASUREMENT RANGE
-55°C to +100°C (cable limit)
ACCURACY
±0.5°C (-10 to +85°C)
P-Bit screen: Thermometer, Info view
Thermal Comparison: With the internal DHT sensor and the DS18B20 probe running at the same time, students can design experiments that measure the thermal differential: why is the soil in the sun at 35°C if the courtyard air reads 25°C?

⚙️ System and Sleep (ZZZ)

Manages the device's overall behaviour and power saving.

What it looks like on the P-Bit
P-Bit System screen
System

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

How it is set on the P-Bit
P-Bit screen: System › Sleep
System › Sleep
P-Bit screen: Choose the time: 30 s, 1, 2, 5 or 10 min, or never
Choose the time: 30 s, 1, 2, 5 or 10 min, or never
P-Bit screen: Notice on going to sleep
Notice on going to sleep

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

The screen has no hardware brightness control, so there is no brightness setting in this menu. There are no Wi-Fi or Bluetooth options either: this firmware version does not include them.

What it looks like on the P-Bit
P-Bit screen: Timer, ready
Ready
P-Bit screen: Timer, stopwatch running
Stopwatch running
P-Bit screen: Timer, paused
Paused
P-Bit screen: Timer, duration editor
Duration editor
P-Bit screen: Timer, countdown
Countdown
P-Bit screen: Timer, alarm at the end
Alarm at the end

Screens generated from the firmware code (version of 12 October 2026) with sample values, at the screen's real resolution (160 × 128 pixels).

Try it: the real Timer
P-Bit screen: Timer
P-Bit screen: Temperature, Curve view

🔔 Global Alert System

Critical Alarm Simulator

Press to see how the P-Bit reacts when a threshold is exceeded.

RGB LED
🔕
🔔
SCREEN
SYSTEM NOMINAL

This happens even if you're on the Light or System screen. The P-Bit is always measuring everything in the background.

Hardware, Ports & Logic

The P-Bit is built with a Maker philosophy. It's fully transparent.

USB-C Port

Mainly for charging and updating the P-Bit's firmware. It can also power it from a computer. It exposes no file-editing mode, so nothing can be deleted by accident in the classroom.

I2C Bus (Blue)

Expansion ports for smart sensors. Industry-standard protocol for maximum compatibility.

J6 Port (Yellow)

High-precision analog input dedicated to the capacitive soil moisture probe.

Wi-Fi and Bluetooth

The ESP32 has Wi-Fi and Bluetooth in hardware, but this firmware version has no network settings or Bluetooth pairing. The P-Bit works completely on its own, with no connection and nothing to install.

Hard Reset

Physical rear button. Restarts the operating system without affecting settings or calibrations.

The parts of the P-Bit, one by one

Photos of a real P-Bit v3, with the model of each part and a link to its manufacturer's documentation. Where a figure in this guide differs from the manufacturer's, the manufacturer's is the one that counts.

Microcontroller

ESP32 · Espressif

The brain of the P-Bit. It has Wi-Fi and Bluetooth, which the current firmware does not use. It cannot be seen in the photos of the board.

1.8-inch TFT screen of a P-Bit switched on at Home, showing temperature, air humidity, light and sound readings

Screen

TFT 1.8" · 160×128 · ST7735 (Sitronix)

1.8-inch colour screen in landscape, connected over SPI. No touch and no brightness control.

Blue DHT11 sensor on the P-Bit board, under its TH Sensor label

Air temperature and humidity

DHT11 · Aosong

The blue part with a grille. It measures air temperature and relative humidity, and takes a few seconds to settle after switching on.

LDR photoresistor on the P-Bit board, under its LDR label, between the microphone and the buzzer

Light

LDR · GPIO39

A photoresistor: its resistance drops the more light it receives. The P-Bit switches its LED off while measuring light so it does not skew the reading.

Electret microphone with its Mic label and, above it, the LM358 amplifier chip, on the P-Bit board

Sound

Electret GM19767P + LM358

Electret capsule with an LM358 amplifier (the black chip above it). It measures relative noise level, not calibrated decibels.

Capacitive soil moisture probe in a cup of soil, connected to the P-Bit

Soil moisture

Crowtail Capacitive Moisture V2.0 · Elecrow

Red capacitive probe that goes into the soil up to the marked line; it is not submersible. It plugs into the red port (IO35) and must be calibrated dry and wet.

Temperature in liquids

Crowtail One Wire Waterproof 2.0 · Elecrow · DS18B20 chip

Waterproof 6 × 30 mm stainless-steel tip on a 90 cm cable. It plugs into the black port (IO33). Keep it below 100°C: the cable is PVC.

5 mm RGB LED lit on the P-Bit board, under its RGB LED label

Status LED

LED RGB 5 mm · GPIO5/17/16

A three-colour LED that mirrors the screen colour, so you can read the P-Bit's status from a distance.

Black passive buzzer on the P-Bit board, under its Buzzer label

Buzzer

Passive buzzer · GPIO18

Passive buzzer for navigation beeps and alarms. Each can be switched on or off separately in System.

Rotary encoder with push button on the P-Bit board, under its ENCODER label

Control wheel

Rotary encoder · GPIO14/12/13

Rotary encoder with a push button: turn it to move through the menus and press it to choose. It is the P-Bit's only control.

The P-Bit's six coloured ports with their labels: I2C0, I2C1 and I2C2 in yellow, IO33 in black, IO32 in blue and IO35 in red

Expansion ports

HY2.0-4P · 2.0 mm × 6

Six 4-pin connectors, compatible with Grove and Crowtail: three I2C (yellow), soil (red), thermometer (black) and one free (blue).

The P-Bit's battery holder open in the magenta case, with its four AAA slots empty

Power

4 × AAA · USB-C

It runs on 4 AAA batteries, preferably rechargeable. The USB-C port is for firmware updates and can also power it.