You might have noticed that my site was down for maintenance on Wednesday, 2014-09-17. For better WordPress performance, I decided to migrate my blog to a brand-new Banana Pi server, featuring a Cortex-A7/ Allwinner A20 Dual-core CPU with Mali-400M2 GPU — that’s cheating — I know 😀.
Let’s go bananas … !
It took me a couple of hours and some tinkering to move my WordPress installation including the MySQL database onto the new server. So here are my first impressions:
Continue reading Raspberry Pi to Banana Pi migration
Time-dependent webcam control
For taking still images with a webcam looking outside my sleeping room window, I’ve attached a Logitech C510 to my RasPi. At first, I used the fswebcam program to acquire still images, which can be easily configured using a fswebcam.conf file as follows:
quiet device v4l2:/dev/video0
set "White Balance Temperature, Auto"=1
set "Exposure, Auto"=3
set "Backlight Compensation"=1
timestamp "%d-%m-%Y %H:%M:%S (%Z)"
Some settings required careful tweaking, since most webcams are optimized for indoor use. Although the settings above resulted in pictures of reasonable quality, I noticed that they were pretty much overexposed on bright sunny days. And they were far too dark at night. It turned out that the auto exposure function of my webcam is unable to deal with changing light conditions.
Therefore I did some research on how to change the settings dynamically, depending on time of day. It turned out to be a simple task using some python scripting.
An in image for your SD-card can be downloaded from Google’s Coder homepage.
If you don’t want to spend much money for a RasPi housing, the Zen X Paper Case might be something for you. All you need is a sheet of A4 paper, a cutter knife and a printer.
The construction paper can be downloaded as PDF from http://arbofaktur.de.
As reported here, I recently purchased a LiPo Rider Pro in order to charge my gadgets while I’m outdoor. I’ve connected a 2000 mAh LiPo battery and a 3W solar panel. Since the LiPo Rider Pro Board was delivered without a housing, I placed the board into a small box for protection during transport. However, the USB ports and the test button were not accessible anymore and the charge/ok status LEDs were not visible.
Therefore, I decided to build a “sandwich” structure around it, just placing two acrylic glass pieces onto top and bottom of the board.
Continue reading A simple cabinet for the LiPo Rider Pro