Seamless Temperature & Humidity Monitoring on Raspberry Pi with EzTemp
Step 1: Wiring the EzTemp Sensor
The EzTemp sensor communicates over the Raspberry Pi’s UART interface. Follow the pinout below to establish a reliable connection.
- RPi GND → EzTemp GND
- RPi Tx (GPIO 14) → EzTemp Rx
- RPi Rx (GPIO 15) → EzTemp Tx
- RPi 3.3 V → EzTemp 3.3 V
Notice that a Tx pin must connect to a Rx pin and vice‑versa. Once wired, the sensor is ready for use.
Purchase the EzTemp on Tindie
Step 2: Disable the Default Serial Console
By default, Raspberry Pi reserves the UART for the serial login prompt. To free it for the EzTemp sensor, you need to disable the serial console.
Method 1 – raspi-config
sudo raspi-config
Navigate to Advanced Options > Serial and answer No to “Enable the serial console”. Reboot the Pi before proceeding.
Method 2 – rpi-serial-console Script
sudo wget https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console && sudo chmod +x /usr/bin/rpi-serial-console
rpi-serial-console status # shows current state
sudo rpi-serial-console disable # turns the console off
sudo rpi-serial-console enable # restores the console (if needed)
After toggling the state, reboot the Pi.
Method 3 – Manual Edit
sudo nano /boot/cmdline.txt
Remove any reference to ttyAMA0 so the line looks similar to:
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
Then edit /etc/inittab and comment out the line:
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Reboot the Raspberry Pi.
Purchase the EzTemp on Tindie
Step 3: Install the Example Python Script
Download the official Python client that reads data from the EzTemp sensor:
wget https://raw.githubusercontent.com/CAIMANICS/EzTempRH-for-Raspberry-Pi/master/software/EzTempRH.py
Run the script with:
python EzTempRH.py
Typical output:
EzTemp&RH build 2 Temperature: 24.0C Humidity: 48.0% External: 1018 / 2048 counts Version: 2
With the script verified, you can integrate the sensor into your own applications.
Purchase the EzTemp on Tindie
For more detailed guidance, refer to the full “Easy Temperature and Humidity on Raspberry Pi” documentation.
Manufacturing process
- Raspberry Pi Temperature & Humidity Network Monitor – DIY Setup Guide
- Build a Remote Temperature Sensor with Raspberry Pi and Python – Step‑by‑Step Guide
- Build a Multi‑Sensor Temperature & Light Monitoring System with Raspberry Pi & DS18B20
- Build an Automated Aeroponics System with Raspberry Pi and Humidity Sensor
- Build a Raspberry Pi Home Temperature Monitor with MCP9808, InfluxDB & Grafana
- Arduino Temperature & Humidity Logger Using DHT11 and Ethernet Shield
- Display BME280 Temperature, Humidity & Pressure on a Nextion Touchscreen
- Bolt IoT: Advanced Humidity & Temperature Monitoring with DHT11 and Arduino
- Arduino Weather Clock – Real-Time Date, Time, Temperature & Humidity Display
- Premium Walnut‑Case Humidity & Temperature Sensor Kit – Arduino + NeoPixel + TFT Display