Measuring density

For my own memory. A variation of Archimedes' method for digital scales.
Нужен стаканчик с водой. Взвешиваем сначала объект, потом стаканчик с водой. Потом подвесив объект на нитке, опускаем его в воду, чтобы он ни с чем не соприкасался (держим нитку в руке). Плотность воды с достаточной точностью единица, так что:
Density = weight of object / (weight of beaker with water and object - weight of beaker with water)

Simply weather station on Arduino

Simply weather station on Arduino + BME280 + OLED. Graphs of temperature, pressure and humidity.

The latest version of the sketch is — using the u8g2 library, which supports many displays. In particular: SSD1306, SH1106, HX1230. The library is installed through the arduino environment, Sketch->Connect Library->Manage Libraries. The bme280 library is installed from the same place - a variant from Tyler Glenn.

The assembly is elementary - since the display and the sensor work via I2C, just connect the SDA pins to pin A4 of the arduino, SCK (SCL) to A5, Vin to the 3.3V supply and Gnd to ground.