Tag: raspberry-pi
-
Read-only Root Filesystem
In my previous posts about ramdisks and persistent storage on my Raspberry Pi, I explained my goal to reduce write access to the sd card as far as possible. The last step is to mount the sd card read-only, so its filesystems can almost never get damaged. This is the …
-
Persistent storage with ramdisks
As written in the last post about ramdisks, it is good to reduce the number of write cycles to the sd card of the Raspberry Pi, to prevent damage to the filesystem and the sd card. But what to do with data that is regularly written and that you want …
-
Measuring temperature with the Raspberry Pi
One of my Raspberry Pi is running as a headless device measuring the room temperature. It uses a DS1820 sensor, which is directly attached to the i/o connector of the raspberry and uses the 1-Wire bus. The temperature sensor connected to the 1-wire bus The measured temperature values can …
-
Ramdisks for the Raspberry
If you use your Raspberry Pi as a standalone (headless) device, e.g. to measure and log the room temperature, there is no need to write all log files etc. to the SD card. Instead you can mount ramdisks into the relevant directories. This reduces the number of write accesses …
-
Automatic check for package updates in Raspbian
Since a few days I have a Raspberry Pi continuously running and at the moment measuring the room temperature. Since I do not log in regularly to the system to check for operating system (Raspbian) updates, I wanted to get notified by mail when there are updates available. There is …
-
Sending mail with the Raspberry Pi
Raspian, the default linux distribution for the Raspberry Pi does not install a mail server by default, so the raspberry cannot send mails. For raspberries running headless, i.e. without a monitor attached, mailing would be a good feauture, e.g. to report pending package updates, etc. So here is …