Resizing A BTRFS Filesystem

My OEL6 VM ran out of disk space in its root filesystem, so I had to resize the disk. Most of the howto’s are out-of-date or assume if you’re using cryptsetup you’re using LVM or use GParted which doesn’t handle LUKS, or assumes you’re using ext4 not BTRFS. Actually it was pretty easy once you ignore all of those incorrect tutorials. Resize the VirtualBox VDI file to 40Gb: VBoxManage modifyhd oracle62.

SparkFun Pro Micro's

I wasted a lot of yesterday playing with my new SparkFun Pro Micro development boards. I ordered some to try to debug all the issues reported to Arduino-Makefile regarding resetting ATmega32u4 boards (e.g. Arduino Leonardo): Upload to Arduino Micro from Raspberry Pi failed with ‘programmer is not responding Makefile does not detect change in com port when Leonardo is resetted Reset of Leonardo boards So the fix I’m currently suggesting is going back to using Python for the reset script like we did before with ard-reset-leonardo, but merging in the functionality of ard-reset-arduino so we still have on script to reset “regular” Arduino’s using DTR twiddling and 32u4’s using the 1200baud open/close routine.

Tiny LED Strip Driver

I ordered a 5m strip of 5050 RGB analog LED’s – not the digital individually addressable ones, just the ones that the whole strip changes at once. So I’ve combined my ATtiny85 plus ULN2803 project with my RGB LED project and came up with a tiny LED driver. Essentially we have a 12V power supply that is tapped off into a 7805 to provide 5V to the ATtiny85 and ULN2803, and the raw 12V powers the LED strip:

Weather Station Mk2

I’ve redesigned my Arduino weather station to incorporate a P-channel MOSFET to switch power to the peripherals on and off to hopefully save battery life. The ATmega328P always gets 3.3v, but then uses Sleepy() to conserve power anyway, but the DHT11, BMP085, DS18B20 and nRF24L01+ get powered off when not in use. Oddly enough the voltage seems to drop to 0.7v rather than 0v completely, but I guess no current flows.

Pi Radio Redesign

I’ve redesigned my internet radio project – now it features an amplifier with 12v 2A power supply, which is split off to a 5v UBEC to power the Pi via its GPIO pins. The amplifier powers the speakers so the only USB connections are the DAC and wifi dongle. The sound is much louder and there is no hum or whine like before – I think that was a ground loop or antenna issue with all the USB cables and hub.