Monday, 27 March 2017

Gambas cli programming: ncurses text based user interface

Many command-line programs are more than just one liners.


They often need to display data and allow users to interface by both viewing data and making selections.


In this post I look at the Gambas component gb.ncurses and attempt to make an interactive display.

Friday, 24 March 2017

Using a Wacom tablet on Linux

The CAD boys used graphics tablets back in the days when I still worked in industry.


Using a pen with a tablet provides a very precise input method for controlling a computer application.


But are these low cost Wacom tablets any good, and do they work on a Linux computer?

Wednesday, 22 March 2017

Internet Radio example using Gambas cli

Now that I'm taking Gambas command-line programming more seriously, I thought I might rewrite the software on my internet radios.


As mentioned in a recent post, Gambas can be used to write cli programs (command-line interface) as well as the more usual gui (graphical) applications.


So this post just describes the software aspects of this project, while the other design details can be found in earlier posts.

Saturday, 18 March 2017

Ethereum: what's happened to Ether?

Since I purchased a small number of ETH last July, the quoted price has bounced along, not doing a lot.


But in the last 3 weeks, both trading volume and ETH value have increased dramatically.


So what is going on?

Wednesday, 15 March 2017

Gambas: command-line programming

I must have been using Gambas for small projects since I fully switched to Linux for my home computing needs almost 10 years ago.


Gambas was a natural choice for me as I'd spent several years in industry using Visual Basic, Delphi and Turbo Pascal.


But up until quite recently, it had not occurred to me that there might be some benefit in using Gambas for command-line programming.

Thursday, 9 March 2017

Is it damp under my house? ...part 2

It is now 5 months since we nailed down oak flooring in our ground floor living rooms after extensive maintenance and re-decoration.


I've been monitoring the under floor temperature and relative humidity ever since to determine whether we had fixed our damp and ventilation problems.


So now that I have data, what does it all mean?

Tuesday, 7 March 2017

BirdBox2017: a few problems

This system was deployed just over a month ago and has been visited by blue tits almost every day.


It is basically doing its job by recording lots of video clips of both the inside and outside views of the bird box, which is mounted on the side of our pergola.


However, it does have a couple of problems that are rather annoying.

Thursday, 2 March 2017

Raspberry Pi 3: integral wifi problems

A couple of days ago I was given a nice new Pi 3.


I already have one other Pi 3 (and 14 other non-Pi 3 models) but it developed a fault, so this new one was a welcome birthday present.


Unfortunately it took most of yesterday afternoon to get the integral wifi for work!

Wednesday, 1 March 2017

Launching & Closing Apps via Gambas

It is really easy to launch and close applications on Linux using Gambas.


This may be useful if you need to run an application when certain conditions are met, and shut it down when conditions change.


An example is my BirdBoxMonitor program that needs to load a browser and display video streams.

Saturday, 25 February 2017

The Gimp: basic photo editing

There are probably a few steps you need to go through when returning home from a day of picture taking.


The real no-hopers can be deleted straight away, but the rest should be downloaded and at least given a second chance.


So this post suggests a few basic techniques that may be applied to any potential "keepers".

Thursday, 23 February 2017

The Gimp: replace that boring sky

Getting the exposure right for landscape photography can be challenging.


You may end up with your subject just right but the sky burnt out, or an interesting sky but a foreground that is too dark.


Or you could just cheat by combining 2 images using a photo editor.

Sunday, 19 February 2017

Millers Wood: a great place for bird photography

Although bird photography can be a very rewarding activity, it can also be frustrating.


Your attempts to get a perfect shot can often be spoilt by visual obstructions like branches, or distracting backgrounds like buildings or litter, or just the long distance between you and your target bird.


Then there may be noisy dogs or unruly children to contend with (...or vice versa).

Monday, 13 February 2017

Finding the IP on a Pi using hostname

I was looking for a really easy method of finding the IP address on a Raspberry Pi.


I wanted a method I could use in a program to tell which bird box was returning data asynchronously.


And I was hoping to avoid having to hunt for the IP address string, buried somewhere in a block of text created by a command like ifconfig.

Saturday, 4 February 2017

BirdBox2017: double Zero deployed!

I attached the new bird box & external camera to our pergola late yesterday afternoon, and by 8:30 this morning we had our first visitors.


Blue tits are very inquisitive, and certainly do not require a couple of months to get used to a new box (as some tv experts would have you believe).


So the 2017 season appears to have got off to a good start!

Saturday, 21 January 2017

File system repair: forcing fsck on Linux/Raspberry Pi

I lost remote (VNC) contact to my Pi at a critical time and could not even get a response to ping!


So I had no option but to break the connection to its supply, a 12Volt battery.


Result; corrupted files and a damaged file system.

Wednesday, 18 January 2017

BirdBox2017: using motionEye & streamEye

After a couple of weeks of investigation, procrastination and frustration, I think I have reached a decision.


I am going to use motionEye to stream and display video to a remote laptop.


But this has meant a lot of upgrading to the heart of (what was) my 2015 bird box.

Monday, 9 January 2017

Garmin eTrex 10: what's your position buddy?

It's struck me once or twice, when out walking, that I don't know exactly where I am.


Imagine that there is some kind of medical emergency, and I need to call for an ambulance.


"Where are you sir?"

Thursday, 5 January 2017

BirdBox2017: a new year, a new birdbox?

Well, not exactly. No plans to build a new box, but I would like to add a second camera.


As well as the main event inside the bird box, there is often quite a bit of action on the outside, especially during the early weeks, and at the end, when the chicks fledge.


So with only a few weeks left until I need to deploy my two Raspberry Pi powered bird boxes, I need to get on with development.

Tuesday, 3 January 2017

Pi Zero: adapting the USB socket

Although the Raspberry Pi Zero is about half the size of a credit card, the connectors stick out sideways, which affectively increases the boards footprint once connected.


To make matters worse, the USB socket is the micro version, so you need an adaptor if you only have a standard USB wifi dongle.


So in order to make a really small, headless Zero system, you need to do something radical.