MicroSD Cards Performance

I read about this “A1” specification on microSD cards: it’s supposed to be “App Performance” and is technically a minimum read and write IOPS. So I got one to find out how much of a difference it makes in an OrangePi Zero running Armbian. Simple test: Prepare an existing microSD card (I-O Data, Class 4,Continue reading “MicroSD Cards Performance”

BME280 and Node.js on OrangePi

I got some more sensors, like an Bosch BME280 which uses I²C bus. Neat as it can measure temperature, air pressure and humidity. Using it on an OrangePi Zero is simple: Enable the I2C-0 module: in /boot/armbianEnv.txt add “i2c0” (or use i2c1 or i2c2) to the overlay. Create /etc/udev/rules.d/60-i2c-tools.rules with the following content: KERNEL==”i2c-0″ ,Continue reading “BME280 and Node.js on OrangePi”

Reading Temperatures from many DS18B20 via Node.js

The easiest way: harald@opz2:~$ cat /sys/bus/w1/devices/28-*/hwmon/hwmon/temp1_input 21812 22375 23375 The problem is that each sensor takes about 800ms (750ms according to data sheet) conversion time. Making this better and reading them concurrently via Node.js: That’s reading all in parallel (plus about 600ms startup time): harald@opz2:~$ node read-temp.js hwmon0 (28-80000004215e): 23.312 hwmon2 (28-0316884578ff): 21.812 hwmon1 (28-0316884fabff):Continue reading “Reading Temperatures from many DS18B20 via Node.js”

OrangePi Zero + DS18B20

Making my OrangePi Zero useful (again) with updating it to the latest Armbian and connecting a 1-Wire DS18B20 temperature sensor to it. Installing Get a microSD card and install the latest Armbian image for your Zero. Boot and do the usual setup: set root password, create a new user, copy ssh keys etc. Hardware RelatedContinue reading “OrangePi Zero + DS18B20”

Making JetBrain’s IDEs less sluggish

WebStorm works on my Chromebook in Crostini. I’m happy it works. It’s a bit sluggish, but I attributed this to the CPU (m3), the many pixels on the screen (2400×1600) and/or Crostini itself. It’s fine as I won’t run thousands of lines of code here. On my home Linux desktop (i7-4510U) it’s much better. NotContinue reading “Making JetBrain’s IDEs less sluggish”

Create your website at WordPress.com
Get started