You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
layout: default
title: BME280 Free Pascal Driver for Raspberry Pi
description: Free Pascal driver for BME280 sensor measuring temperature, humidity, and air pressure. Includes accurate dewpoint calculation.
BME280 Free Pascal Driver for Raspberry Pi
This is a Free Pascal driver for the BME280 sensor that measures temperature, humidity, and air pressure. The driver supports both default and user-configured settings and includes accurate dewpoint calculation.
📄 Introduction
This driver provides functions for interacting with the BME280 sensor via I2C on the Raspberry Pi. It offers two initialization methods: one with default settings and one for user-defined configurations.
🛠️ Features
Supports both I2C addresses $76 and $77.
Two initialization functions: one with default settings and one for custom configuration.
All parameters are defined as constants for ease of use.
Simple integration with Raspberry Pi (requires I2C enabled).
🛠️ Funktionen
Unterstützt sowohl die I2C-Adressen $76 als auch $77.
Zwei Initialisierungsfunktionen: eine mit Standardeinstellungen und eine für benutzerdefinierte Konfiguration.
Alle Parameter sind als Konstanten definiert, um die Verwendung zu erleichtern.
Einfache Integration mit Raspberry Pi (erfordert aktiviertes I2C).
🧰 Installation
Enable I2C on your Raspberry Pi (run sudo raspi-config, then navigate to Interfacing Options → I2C and enable it).
Initializes the BME280 sensor with default settings.
functionInitbme280_WithDefaults: integer;
🔒 License / Lizenz
MIT License
Copyright (c) 2025 [Your Name]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is provided to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
🌐 Other Projects by the Author
pibackup – Portable live backup and restore tool with GUI, Zstandard compression, auto-shrinking (resize2fs) and flexible restore options.