Category Archives: Battling with Tech

How to do things with your gadgets – usually learned the hard way

Update on Hardware & Software for making demo videos

I said I would update my previous post when I’d made a couple of videos.  Well, I have made four short videos, so here is a follow-up.

I have found OBS studio to be fantastic! I hardly need to say more.  It’s true that it doesn’t come with instructions, but there is plenty of help available on the web and anyone with some familiarity with Windows will soon find the best way of using it.  I set up OBS studio to record mp4 videos as these are quick to edit and easy to upload to YouTube.

I don’t pre-script my videos, although I do think about what I want to show and how I’m going to present the demo – I do a lot of live demos.  However, I’m often a bit hesitant in my speech, having to think how to do something whilst talking about it.  So I cut out the mistakes and dead space using Adobe Premiere Elements, which is very quick with mp4 videos.  I also shorten them all to about 12 minutes, which is probably enough for anyone to absorb in one sitting.

Regarding the microphone, I have decided that I like the £24 KLIM better than the £85 Blue Yeti.  Whilst the Blue Yeti probably has a better frequency response, the KLIM has a power on-off switch which means I can leave it plugged into the computer.  Also it is better at rejecting the fan noise of the computer (I use a powerful tower machine as I do a lot of CAD work and because my present work space is cramped, I can’t escape from the fan noise). It doesn’t pick up too many breathing sounds or desk bumps. And it is smaller and lighter, again important on my cramped desk.  I think the sound is excellent – I don’t have to be too close and I think my voice sounds quite good.

I can recommend this as an excellent and productive combination that will encourage me to make more demo videos.

Fixing Windows Update – manual installation

Updates repeatedly failing

For some months I have been struggling with Windows 10 Updates repeatedly downloading, installing, failing and reverting to the previous version.  This was infuriating, as Windows was slow and would often restart when my back was turned for a few minutes, meaning that I had to wait an hour or more before I could use the computer again.

There is no indication why it was failing. I’d been running Windows 10 since it first came out, upgrading from Windows 7.  Stupidly, when I first installed Windows 10, I decided to install the ‘N’ version, which excludes the media feature pack.  I had to add this later in order to get USB connections to cameras and other image-related functions to work correctly.  Of course after years of installing various software, hardware and peripherals, it is possible that a library somewhere had been corrupted.

Google came up with many suggestions, but either they didn’t work (like running various checking programs) or they seemed either too obvious and trivial or too complex and risky. The most sensible suggestion seemed to be to go for a complete reinstall of Windows, but I was wary in case I would then need to spend days restoring my setup and apps.  But fortunately it is very simple to reinstall Windows  without losing your current files and apps, so I am putting this here to help others in the same position.

The solution

Firstly, download and install Microsoft’s Media Creation Tool from the following link:

http://windows.microsoft.com/en-us/windows-10/media-creation-tool-install

When it has downloaded, choose
Upgrade Now.

You can choose to keep all your files and apps.  It is probably no slower than a Windows Update, but it certainly seems to have fixed my update problem  I’m now running the November 2019 version 1909 of Windows 10 and so far it is looking good.  My PC seems to have all the files and apps (although I had backed everything up first, of course).

You can use the same tool to download the ISO (i.e. a disk image) or create bootable media so you only need to do it once, and have the bootable media for repairs or possible Clean Install.

Note that this is a full and complete new copy, rather than the patched-up version created by Windows update.  Given the repeated update failure, I felt that I should keep an eye out for problems with device drivers.  Windows proudly installs device drivers for almost every conceivable peripheral.  This is an amazing achievement, but sometimes the drivers are not optimal for certain devices, for example failing to initialise special features of a scanner, and you may have to use the manufacturer’s device installation tool to restore their own device drivers.

Have I had any problems?

One thing I have noticed is that some of the Outlook folders have become unindexed and a couple of sub-folders in my inbox seem empty, so perhaps Windows has moved these to a new location.  It’s not a massive problem but I will need to deal with it.

Window Media Pack

Videos not playing

I noticed that videos on the BBC website would no longer play.  I’m not entirely surprised as it’s likely that media feature pack (which is excluded from the N versions of Windows that I have installed) would be updated at some point, and it seems quite possible that this was causing my problems with the Windows update.

Note that if you look up ‘media feature pack’ on the Microsoft Website, you will be told how to download the media feature pack for each new version of Windows 10N except the latest release, 1909 (November 2019).  What gives?

A new feature in Windows Settings
Further probing revealed that there is an important new feature available under the Windows 10 Settings menu, but it is hardly in an obvious place.  This allows you to add many features to Windows, including the Media Pack.

Open Settings, and go to Apps.
Under Apps and Features, select Optional Features

Click Add a feature, and from the drop-down select Windows Media Player

This will now download and install, but to complete the installation, you have to restart your computer.  It will then churn for a while and after that, the new Media feature will be installed.  Very neat!  Website videos now play again.

There are quite a few other useful-looking features for those who want to dabble.

 

They’re tracking you!

A year ago I mentioned how the ‘General Data Protection Regulation’ had somewhat backfired – now every website want you to agree to its ‘Privacy Policy’, which is of course ‘Newspeak’ (see George Orwell’s prophetic book ‘1984’, where Newspeak is a language designed to control the way we are allowed to think) for permitting them to intrude into our most private moments.

No-one ever reads privacy policies – they are designed to be impenetrable.  But if a privacy policy doesn’t fit onto a single page, you can be pretty sure that it is giving them all sorts of rights over your private information.

What should you do about it?  One of the most intrusive elements is the ‘tracking cookie’.  This can record pretty much anything that you have done on a website, even when you’re not specifically logged in.  If you put in health questions, this can be recorded.  Then other website, such as one selling health products, can look at this and target you with advertising.

There are various apps that let you delete tracking cookies, and I consider that this is an essential housekeeping operation that everyone should do frequently.

I’m rather annoyed with eBay right now.  Although I always buy from a local shop if I can, I needed something that I couldn’t find in after trawling round the local shops.  I do sometimes use eBay and there was a product already in my list that I’d eventually got somewhere else.  So when I selected the product that I actually wanted, to my despair I saw that instead it had placed an order for the earlier product instead!  I realised that eBay had automatically logged me in and when I went to the order screen, it whacked out that order.  OK so I was not careful enough, but I am pretty careful, and if it happened to me, it happened to lots of others.  Clearly a trick to catch people who are hesitating about placing an order!

To be fair, I was able to cancel the order quite easily, but it was still rather annoying, and clearly a deliberate design ‘feature’ by eBay.

I’ve noticed that ‘Google’ is particularly bad at offering a ‘connected’ experience, which is a Newspeak word for ensnaring you in their net.

Broadband connections

Getting temporary broadband
BT cocks up my order

I needed to temporarily relocate my office for a few months.  I need fast broadband and a ‘landline’ telephone.  I already have this in my present office, provided by BT.  My clients must not be affected by this move in any way, shape or form.  The obvious thing is to ask if BT would transfer my contract to my temporary location, and move it back when my office has been refurbished.

‘Yes’, they say, ‘No problem, and we won’t charge you.’  That’s fantastic.  The new location is only a short distance away.  ‘Sorry, Sir, that is on a different exchange.  We will have to give you a new phone number’.  ‘OK, no problem, it’s only for a couple of months.’ ‘Sorry, Sir, but when you move back, we will have to give you another new number, because we only hold them for 60 days!’

‘Oh, sugar! I exclaim, ‘So to keep my number, I need to take out a new contract and redirect my old number to the new one?’

‘Yes, that’s right.  And the minimum term for the new contract is only 12 months!’

I can’t waste time on this, so through gritted teeth, I say, ‘OK, sign me up to the new contract’.  The firm will pay and it’s one of the costs of refurbishment.

After a few days, I haven’t heard anything from them, so I ring up again.

‘Sorry Sir, but we have no record of any order from you! However, if it is only for a few months, have you considered mobile broadband?  Go into an EE shop and ask them!’

EE Mobile broadband

Well, I know that EE was bought by BT, but even so this was quite unexpected.  Off I went to the EE shop and bought a 4G Broadband Router with 100 GB of data per month for £35 per month.  Minimum term 2 months, plus £100 up front for the router.  This is very competitive with fixed-line broadband and I have to say that I’m entirely delighted with it.  I’m getting about 10 MB/s download and about 3 MB/s upload, but my router is located on a window-sill in a weak-signal part of the building.  Even so, it is fast enough to stream TV and to do normal office work.  I can get a strong signal in another location, and the data rate is faster, but it isn’t convenient for me to use that location.  I could have an external aerial, but it isn’t necessary.

EE even said that if I hadn’t been in contract with BT, I could have transferred my landline number to EE and then it would have been portable.  I’m not 100 % sure about this, but I have kept my landline number for mainly sentimental reasons, as I use VOIP for business calls, which is working well with the router.

One thing I particularly dislike about BT is that they keep changing the name of the package, but this isn’t shown on the bill, nor is the contract termination date.  Indeed, whilst I got sales calls from them at the contract termination date, none of them said that my contract was coming to an end.  They simply tried (and succeeded) to inveigle me into a new contract.

Just as I moved to my new location, I got an email on my mobile from ryml.me saying that Royal Mail had a parcel for me from BT.  Obviously a scam email coming from an address like that.  Then in the entrance lobby, I saw a package addressed to me from BT.  It was clearly a home hub.  They had spelt my name wrongly, though.  Yes, the twerps had actually placed an order from me, but owing to the incorrect spelling, I never received the confirmatory email (and I never will)  which also explains why they couldn’t find my order.  Needless to say, I have cancelled it.  I asked whether the email to my incorrect address had bounced, but they said they don’t check! Shriek! Scream!! What a way to run a business!!!

BT’s new website

When writing this post, I thought I’d check the BT website and I saw that everything has changed without warning. They have replaced their ‘connected world’ logo with a boring BT in a circle and they have changed the names of everything again.   For new contracts, landline UK phone calls are now at a flat rate of 20 p a minute on top of the line rental charge of £20 a month, but you can now buy a package of calls – 500 minutes is £5 a month extra (the cost of 25 minutes ‘pay as you go’.)  This is not cheap, but I think much more sensible than all the pesky ‘add-ons’ which put the prices up too much.

However, if you want unlimited everything, including landline and mobile calls and fast broadband, this will set you back an eye-watering £85 a month on a 24-month contract!!  That is expensive, although maybe I could have got an unlimited data sim and an unlocked 4G router.

Anyway, I absolutely HATE their new website.  They haven’t fixed all the links, so unless you go into it from a particular direction, it’s entirely sales orientated and you inevitably end up on the ordering page, even though you are trying to find information.  All these daft names, yet I can’t find basic information about my contract.

Bottom line – 4G mobile broadband seems to be the way to go, especially as an upgrade to 5G is already coming down the street.

Replacing the battery in VW Passat key fob

I was in a car park some way from home.  I could not unlock my Passat – nothing happened when I pressed the door unlock although the lock and boot unlock buttons worked fine.  What should I do?  Obviously, try changing the battery.  But it seems impossible to get the key fob apart.  If you know the secret, it is easy and quick to do.

Note: do not be tempted to lever open the bottom end of the fob cover.  It has a tempting groove, but it is not part of the cover release. You might wreck the cover and the fob won’t then go into the dash.

VW Passat Key fob, mechanical key removed
VW Passat Key fob, mechanical key removed. Metal top slid sideways towards key release button
  1. remove the plastic emergency key from the  top of the fob;
  2. slide the metal top of the fob sideways towards the emergency key release button; pull it off vertically;

    VW Passat Key fob, mechanical key removed. Metal top lifted off
    VW Passat Key fob, mechanical key removed. Metal top lifted off
  3. You will notice that one side of the plastic cover seems to have a hollow behind it.  Insert a screwdriver carefully into one side of the open end, between the side of the cover and the white plastic moulding. Carefully lever this until it unclicks.  Do the same to release the other side of the cover;

    VW Passat Key fob. Screwdriver used to lever off the cover
    VW Passat Key fob. Screwdriver used to lever off the cover
  4. You can now slide the cover downwards about a millimetre so that it releases and can be taken off.
    VW Passat Key fob. Slide cover down to release and lift it off. Battery can now be lifted out.
    VW Passat Key fob. Slide cover down to release and lift it off. Battery can now be lifted out.

    You will now see the battery which is a CR2032 (readily available in newsagents, chemists, etc) for about £4.00

  5. Lever the battery out with a small screwdriver and put the new battery in, taking care to keep finger-prints off it.
  6. Replace the cover by putting the bottom end on first, sliding upwards slightly and pressing down into place.
  7. Replace the metal top by sliding sideways into position. Replace the emergency key.

The key should now work.  I had to replace my battery after a couple of years of continuous use.  Theoretically, you can take the external key cover off the driver’s door handle and use the mechanical key, but you need to press a release button in a slot underneath the handle and this seemed to be seized up.

Also, I didn’t have a screwdriver and so I opened the key fob with a teaspoon whilst having a coffee in Costa.

Transferring data using Bluetooth

In an earlier post, we suggested transferring data from an Android phone to a Windows computer using the USB connection.  The beauty of this system is that you can manage the filing system on the phone using Windows File Explorer, which is a quick and powerful system.

File transfer system

But since most phones and computers now have Bluetooth, which is a wireless system, why not use that, instead of faffing about with cables? The answer turns out to be that Bluetooth doesn’t give you access to the filing system on either machine.  There is only a file transfer system, and a mighty slow one at that.  Indeed, it is somewhat hidden from view, perhaps to discourage its use.

The procedure is as follows.  Firstly pair the phone and computer using Bluetooth in the usual way.  Then, on the computer, go to the icon box at the right-hand end of the task bar and left-click the Bluetooth icon.  Select ‘Receive a file’

Now go to your phone and find the file you want to send.  So, to send a photo, select your photo viewing app, in my case ‘Gallery’, and click on the share icon.  Select the Bluetooth icon in the share destinations and you should find your computer name there. Start the sharing process.  On the computer, you will see the files coming through (you can share an entire folder).  It’s pretty slow, but once the files have come through, you can browse to a suitable folder on your machine and save the files there.  I doubt you’ll want to do this except when you don’t have the cable handy.

I have not tried doing this in reverse, but I assume a similar process will apply.

Other uses of Bluetooth

I have been trying to find out what else you can do with the Bluetooth connection.  You can tether the phone’s mobile data connection to your computer using Bluetooth or Wi-Fi.  I’ve always found Wi-Fi to be easier to set up and use.

I have also found that with Bluetooth you can set up something called a personal area network, although I’ve no idea how you’d use this.  It doesn’t appear in the Windows File Explorer list of connections and doesn’t give you access to the filing system on the phone.  It seems that the capabilities of a personal area network are dependent of the ‘Device profiles’ of the two connected devices, which are most likely to be specific types of peripheral rather than two computers. I suspect that Bluetooth is mainly intended for ‘simple’ communications between the device and a peripheral such as a keyboard or headphones.

Here for the long-term?

I’ve read some suggestion that Bluetooth might be a technology with limited usefulness and lifetime. I’ve found it difficult to set up – for example I could not link a Microsoft Surface Bluetooth keyboard to a Raspberry Pi.  I suspect that in automating the connection to the Surface tablet, they have made it too device-specific.

Problems of being device-specific

Microsoft do have a track record of doing this.  For example, I use a Microsoft Wireless Mouse and ‘Sculpt’ keyboard, both of which I find brilliantly functional.  However, because I got them at different times, they each need their own USB wireless dongle. This is rather wasteful of the USB connections on my PC and woe betide you if you break the dongle (not difficult because they protrude from the PC) but it doesn’t seem possible to make them use the same one.

This is because the peripheral and dongle have a specific ID code burnt in during manufacture so that they don’t interfere with others you may have in the same office. Perhaps it’s too difficult and a potential security risk to allow users to change this, although it can be done for some Bluetooth sets.

Putting a larger SD card into your Android Phone

If you take much video with your mobile phone, your phone’s internal storage will soon fill up.  You may even have filled up a small SD card and you need a bigger one.  You will no doubt be prompted to get ‘cloud’ storage, but this is not great for storing HD video that you want to view regularly, due to mobile data transfer speeds and costs.

If you google this, you will get hundreds of answers, mostly involving downloading a ‘free’ app.  Some of the apps really are free, but many carry some payload, like advertising or being free to download but needing a payment to use.  Some can carry malware.

In fact, you don’t need an app – your Windows PC has all the capability you require.

I am assuming that you’re only using the SD card to store ordinary (photo and video) files – which is usually going to be the case.  Firstly, using the USB cable, connect the phone to the PC.

Using Windows File Explorer, you should be able to find the name of the phone in the folder list under ‘This PC’. (If you are prompted to select what to do with the device, choose ‘file explore’.)

Double click on the name of the phone and you will see two folders – Card and Phone. [Your phone also has ‘memory’ storage, but this is like RAM in a computer – used by running apps to process temporary data, not for long-term storage.] These two folders represent the SD card and the phone’s internal storage.  Click on ‘Card’ and you will see several folders.

Select the data files you want to transfer – usually DCIM (Digital Camera Images).  Don’t bother with system files like Android, System Volume Information, etc.  These are created by the system and will be put onto the new card when it is initialised.

Create a new folder on your PC and copy the selected files.  This is likely to take an hour or more.  You should copy your DCIM files from both the phone’s internal storage and the SD card.

Now unmount the SD card [to disconnect it from the phone’s storage system], switch off the phone, take the card out, put the new (blank) card in and switch the phone on.

Most (micro) SD cards that you buy will already have been formatted (which means a blank filing system has been created on the card, ready for files to be written to it.) [Android uses the exFAT filing system, should you need to format a card.] The phone will recognise that a new, blank  SD card has been installed and will initialise it for use by copying some ‘system’ information, which will appear in the file called ‘Android’.  On my phone this was mainly a lot of folder names which didn’t contain anything.

Connect the phone to the PC, select the SD card and copy your data  files back from your PC to the SD card.  Again this may take a while.  If you are copying photos and videos, copy the whole DCIM folder back to the SD card. You can’t have two DCIM folders, so if you are copying from both the SD card and the internal storage, then after copying one of the DCIM folders (probably the one with most files) just copy the files from the other DCIM folder and paste into the new DCIM folder.

Using your phone, check that everything you wanted from the phone’s internal storage and the old SD card is now available on the new card.  You don’t need a ‘file manager’ program on your phone, as you can Windows File Explorer to do all this.  Using the phone, check that you find everything you expected using ‘Gallery’ or other Android application that you normally use.

Now, using Windows File Explorer, check the phone’s internal storage and delete DCIM on the internal storage (being totally careful not to delete anything on the SD card that you have just painstakingly updated).

That’s it!  You have now freed up the internal storage on your phone and created a lot more space for all those exciting new videos.  Because it is a slow process, it is probably worth getting the largest memory card that your phone will accept – you don’t want to do this again!

You can, and should, use this system to make regular backups of the SD card.  They last a very long time, but not for ever.

Setting up a new computer

Why get a new computer?

My better half has been complaining for some time that her Dell computer has become painfully slow to use.  I can’t deny that, although I think a lot of it is due to so many apps demanding to phone home when starting up – another curse of the internet age.

It is ten years old and has been upgraded from XP to Win 7 to Win 10.  The specification was decent at the time – an Intel Core 2 Duo processor running at 2.33 GHz and I upgraded it to 4 GB of RAM, running the 32-bit version of Win 10 Pro.

What to get?

She does quite a bit of photo editing and would like to do some video editing, but rather fancied a dinky little rose-gold laptop.  Readers will immediately see a problem here.  Dinky little laptops have dinky little screens and really are only suitable for cloud processing of dinky little documents, as they have dinky little SSD drives.  I decided that the best way of illustrating this was to go on a tour of John Lewis and PC World to see what was available and for how much.

Those pretty little laptops were gorgeously blingy, but their dinky little screens were mainly suitable for web-browsing, writing dinky little documents and perhaps editing some dinky little photographs.

I suppose we could have opted for cloud storage and editing, but that adds another level of complexity. Then we spotted some equally gorgeous laptops with 17.3-inch screens (I imagine that’s a sensible size in cms – yes 44 cm – but is that a sensible size?)  Not something you can put in your handbag, but that already has an iPad and smartphone in it.  We’d initially intended to buy an Asus machine, since we have several good Asus products already, but they didn’t have anything suitable for us to look at in either shop.

Our eyes alighted on an aluminium-bodied HP ENVY-17-bw0003na laptop with 17.3 ” full HD screen. It turns out that there are a zillion versions of this laptop – with different processors and storage options, and it is not easy to be sure which version you are looking at.  In the end we bought one directly from the HP store at a bargain price, as they had a special offer and extended warranty.   It has the 8th-generation Intel Core i7 8550U  4-core processor running at 1.8 GHz base frequency, up to 4 GHz with Turbo-boost. It has a 1 TB hard drive and a 16 GB ‘Optane’ flash memory for storage acceleration. It also has 4 USB 3.1 connectors and gigabit Ethernet built in, and an HDMI connector. It even has a DVD drive, which has already been worth its weight in gold.

So what do we think of it?  It looks gorgeous.  The screen is glossy – glass from edge to edge – but it is beautifully bright and sharp.  The keys are responsive, although cold to the touch (which feels odd).  In normal lighting, they are clearer if you turn the key backlighting off.

Microsoft Accounts
However, the first problem occurred on power-up.  It insisted that she needed to open her Microsoft account. A Skype account was acceptable.  So she put in her Skype name and it wanted to know the email address associated with this. So she put in her usual one.  Immediately it said that there was already an account using that email address and she must use another one. In fact it wanted her to create a new Outlook email account, but that would just give even more emails to monitor.  So she put in her alternative email address.  Unfortunately, perhaps due to unfamiliarity with the keyboard, she mistakenly hit the return key whilst entering the address, so the email address was entered with a part of it missing.

She wasn’t asked to re-enter it as a double-check: instead told her it had sent a confirmatory code to this non-existent email address, and would she please enter this code to prove ownership. Obviously it was impossible to complete this process.   But when we tried to go back, it simply told us that as we’d ‘changed the alias’, we would have to wait to change it again.  A Google search showed that we wouldn’t be waiting ten minutes or even 10 days, but 30 days!  What a dumb-ass system.  Luckily, I was able to get the account that uses her main email address, working, but it took hours and a lot of hassle.  By this time, she no longer trusted the shiny new computer. Aaargh!!! The opposite of what I, and I assume Microsoft, wanted.

Setting it up

The new laptop came with Windows 10 Home 64-bit, which I didn’t think about until I discovered this doesn’t have Remote Desktop, which I use a lot. Luckily this doesn’t matter much for my partner, but I’d miss it if I wanted to sneakily connect to the Raspberry Pi.   I’ve loaded it with MS Office and Adobe LightRoom.  The latter I’ve loaded from the DVD-ROM that it came on – hence the benefit of the DVD Drive.

Copying files

I copied the documents and photos across from the old computer.  Here, I came across a definite improvement in the latest version of Windows 10.  Now that computers tend to rely on wireless connections, you need a way to share connections easily and safely between your computers. Previously, there was the Homegroup system, which was a sort of cut-down ‘domain’ system.  If you set one up, you have to save the long password to connect each device.  But I got into a problem because I set up one Homegroup between two computers and then another Homegroup between a new computer and an existing one, partly because I couldn’t find the password for the existing Homegroup.  This resulted in conflicts between the two and I could not find any way of unwinding the situation.

I was stumped until I found that you can connect computers using the UNC (universal naming convention).  Basically, you can type the path of the computer you want to connect to.  For example, to connect to Albert’s account on computer Basher, in File Explorer you type:

\\Basher\Users\Albert

Obviously you need Albert’s login before you can connect to his account (although you may be able to connect with another login if sharing is enabled).  Sharing has to be set up on the target computer by someone with admin privileges.

This is really neat and very powerful, although sometimes the security system is very obstructive in allowing sharing, and you need to persevere to make it work.

Setting up Adobe Lightroom

Lightroom is a really good integrated cataloguing and photo editing system.  Photo editing is somewhat limited – mainly to adjusting individual photographs, rather than the full creation of photo-based artwork that Photoshop can do.  The catalogue is brilliant, but it does have some silly limitations, at least in version 4, which I have.  They tell you that you should move photos to the new location using Lightroom’s built-in move facility.  Lightroom’s built-in help is a nightmare.  In fact the help isn’t built-in, you go to a website and will find that the help is for a whole host of Adobe Photo products and isolating the help for your problem is a matter of perseverance.  For example, it’s no good looking for ‘moving files’.  The help is under ‘Manage catalogs and files’.  After pages of irrelevant help, you find that ‘You cannot copy folders in Lightroom Classic, you select the folders in the Library Module and drag to another folder.’  I don’t think I would dare to risk this for anything other than the smallest job, and certainly not for the 30,000 photos spread across several disks.

Of course, you can copy the files in Windows, which I did.  But then the Lightroom Catalog has to be adjusted to find them again.  Amazingly this is quite easy to do, except that it tells you there is a conflict in the metadata!   Basically, the Catalog has all the photo keywords like Bill, swimming, Blackpool, but the photo file contains all the other stuff like the camera, exposure, date, and GPS.  For some reason, Lightroom doesn’t put these back together – you can have either the camera stuff or the keyword tags.  This is just obtuse.  It’s not surprising that they advise you to keep the photos on an external drive and to carry it from one computer to the next.

Well, I shall now hand over to my partner and keep my fingers tightly crossed!

Feedback

Printer drivers
After a good six months, the new machine is a great success.  There was a slight issue with the printer (an HP multi-function device).  Windows helpfully instals a generic printer driver which worked quite well, but it seemed to have trouble with some fonts and did not provide access to the scanner.  Even though I’ve had the printer for 10 years, I was still able to download a full driver from the HP website.  After installing that, we now have full access to all the printer’s functions. Excellent!

Adobe Lightroom
Whilst my earlier criticisms of the shortcomings of Lightroom still remain, we have been using one really nice feature.  We had many photographs taken in South Africa on a Panasonic Lumix camera.  Unfortunately, many of them were very dull.  Perhaps this is due to a camera setting, but this camera perhaps offers too many functions, some rather obscure.  The menu system for accessing them is downright cumbersome – I would say that everyone just wants to get a perfect picture as reliably as possible. I appreciate that some lighting conditions are demanding, but bright light should be nearly ideal for ordinary snaps.  I have a feeling that the brightness was confusing the metering system.

Anyway, once you have found the right adjustment (in our case, all the photos were under-exposed, lacking in saturation and contrast), you can save it as a ‘preset’ or just copy and paste to another photo. The beauty of the adjustment system is that the adjustment is not applied permanently to the photo, which remains unchanged, so you don’t lose quality by modifying the adjustments later.  It is simply a record of the settings, which are applied when the photo is displayed or exported.  If you want the adjustment to be permanent, you have to export the photo to another file.  This could be slightly inconvenient, but when you’re creating a slide-show, you need to export the photos anyway.

 

Raspberry Pi Enclosures

A change of subject today.  Raspberry Pi enclosures.  There are an awful lot of them about.  This is not a scientific review but describes my experience with a few that I have tried out.

Raspberry Pi B
Raspberry Pi B

The first one was the Pimoroni, made of  multi-layered, multi-coloured Perspex sections, held together with long nylon bolts at the four corners.  It was fine and I used it in my Barometer.  The only trouble is that you have to undo the bolts to gain access, which can be inconvenient, but they give you a groovy little ‘spanner’ to assist, and if you connect a ribbon cable, you’ll rarely need to do this.  So it’s great fun.  I fixed it to the Barometer casing by replacing the nylon bolts with brass ones, taking care to insulate the circuit board where the bolts passed through. It has plenty of ventilation.  Perhaps not the most convenient project enclosure and not the cheapest at around £11 +VAT.

Pink and white enclosure
Pink and white enclosure

The second one was the ‘Official Raspberry Pi’ raspberry pink and white groovy-shaped box. Around £5.50 +VAT from RS Components. It is easy to clip and unclip the lid, the sides and the inner cover, and to get access to the GPIO pins. It has soft plastic pads on the base, but with the Pi being so small and light, it won’t stay on your desk if there is any tension on any of the connecting leads.  There are no fixing holes. You’d need to take the lid off if ventilation was an issue.  A very pretty box but very much at the mercy of your connecting leads.

Raspberry box with covers removed
Raspberry box with covers removed
Clear plastic box
Clear plastic box

The third one was the DesignSpark  clear transparent case (available in other colours) also around £5.50+VAT from RS.  This has ventilation holes in the base and slot all round the sides of the case.  However, the lid is only held on by the friction fit of four small lugs.  Once you have taken the lid off a few times, you will need sticky tape or some other way to keep it on.  It is very easy to assemble and has fixing holes in the base. Also, you can easily see the indicator LEDs and the GPIO connections.  This has become my favourite for project work.

Clear box with Pi board fitted
Clear box with Pi board fitted

The fourth is an entirely different proposition. It is the DesignSpark ‘Quattro’ case which holds the Pi and a thin 2.5-inch HDD (or SDD) in a very presentable square black box. (Other colours are available.) This is intended for use as a media server and is a very neat solution, for only £8.99 +VAT from RS Components, which is inexpensive when you look at the cost of ordinary project boxes.

Prior to this, I’d intended to put the Pi in a sandwich box along with a USB hard disk, but I was put off by the work involved in making access holes for the HDMI and power leads and fixing everything firmly.  My other half complained that it looked too complicated and untidy to have on the TV stand, and I’d gone back to saving home videos onto USB flash drives.  They supply it with a ‘VESA’ mount which would allow you to fix it onto the back of a monitor to provide a nice all-in-one display unit.

DesignSpark Quattro Case
DesignSpark Quattro Case

This box makes it all much neater. You put the Pi circuit board in first, and then a bare-bones 2.5 inch HDD. The base then clips on firmly.  You can access the Pi’s GPIO pins and the camera and display connectors from above.  There are no apertures in the box specifically for these connectors, but they supply spacers which will create a slot between the lid and the sides if you need access or to add a circuit board or HAT.  Also, there is a small round aperture at the ‘front’ of the box and a slot behind it to hold the Pi’s camera, so you could use this as a webcam or even a ‘hidden’ camera.  However, next to the camera aperture there are two light guides for the Pi’s activity LEDs, so the Pi’s presence may not be secret.

The Quattro case with Pi board and Seagate Hard disk
The Quattro case with Pi board and Seagate Hard disk

The camera aperture is in a slot-in cover which can be removed to reach the SD card. The whole unit can be secured by screws from underneath (not supplied) to deter prying fingers or accidental disintegration.

Seagate Barracuda 1 TB disk
Seagate Barracuda 1 TB disk with USB connecting cable

I bought a Seagate Barracuda 1 TB 2.5 inch SATA HDD for storing the media. This disk requires a power supply of 1A at 5V which is supplied over the USB connector. I could have gone for a larger capacity, but this will be fine for my purposes.

The box does not have any means of connecting the HDD to the Pi.  I have bought a StarTech USB3S2AT3CB USB to SATA connecting cable for this.  Although this cable is very short, you have to coil it rather annoyingly round the outside of the box.

Logitech keyboard
Logitech keyboard

Of course, a media server needs some sort of user interface.  I bought a Logitec K400+ TV keyboard for this purpose.  It uses ordinary wireless communication, not Bluetooth.  I’ve had trouble with Bluetooth keyboards.  They seem to go to sleep after a period of inactivity, and when you press a key to pause the film, etc, there is no response.  If and when the keyboard and Pi start talking again, you have tapped so many keys so many times that either the program has crashed or done something equally annoying. I’ve also had trouble with pairing Bluetooth devices – some won’t pair at all. The wireless keyboard doesn’t seem to suffer from this, and it includes a trackpad for scrolling and selecting.

Installing the HDD
The ‘barebones’ Seagate HDD [type ST1000LM048] is not formatted when you get it and the Pi just did not find it. Rather than struggle with sorting it out on the Pi,  I plugged it into a USB3 port on my PC which simply showed a device called ASMT 2115 SCSI Disk Device.  The Seagate disk manager software refused to do anything because it could not detect a Seagate disk.

So I went to the Windows Run command and started the disk manager using the command run diskmgmt.msc.  This showed the Seagate drive but said it was uninitialized. Being careful not to select the wrong drive by mistake, I selected that drive and clicked initialize.  I assigned an arbitrary drive letter and gave it a volume name, SeagPiMedia.  Then I formatted it with NTFS.  This file system is readable on both the PC and the Pi, which means I can put files onto the disk using either machine.

After putting some video files on it, I plugged it back into the Pi.  It was then visible in /media/pi/SeagPiMedia. Brilliant!  I put some video files on it and they play beautifully using OMXPlayer and Kodi.  The keyboard works very well too.  Maybe we can view our my old videos again.

Repairing LED Fairy Lights

LEDs with rusted lead
LEDs with rusted lead

LEDs are supposed to be long-lasting, so why have mine lasted only two seasons?  The answer turned out to be RUST!

Before I say any more, I must issue the customary warning not to tamper with anything electrical unless you are familiar with the risks involved and take care. You could get an electric shock or burn your house down.

I had a string of 240 ‘multi-coloured’ LEDs – in fact, four single coloured lamps alternately red, blue, green and amber along the string. In two separate parts of the string, the red and green lamps did not light.

It seemed fairly clear that the controller was working, as in some parts of the string all the lights came on.  The wiring looked fiendishly complex, with five wires running along parts of it, although only three wires came from the ‘multi-function’ controller.  I speculated as to how they controlled four colours with only three wires: I could not see why so many wires apparently went into one lamp in some places, but the covering of shrink-sleeving around the lamp connections made it impossible to work out. In particular I was puzzled as to why red and green had failed in two places, but blue and amber were OK.

After some hesitation, I decided they would have to submit to the knife.  Out came Stanley and I slit along the length of the sleeving on the first dead lamp and to my surprise, at the base of the lamp was a good coating of rust.

I had not expected this – in the old days, electrical devices used copper and brass for all the conductive parts, but device leads, such as in resistors, transistors and LEDs are now made from plated iron or steel.  Since electrical circuits need to be kept dry, this may be acceptable in general, but these were clearly marked for ‘Indoor and Outdoor use’, with a rating of IP44 ‘Splashproof’. If that means they can’t be immersed, I’m not bothered.  I’d put them over a shrub in the garden and no doubt they were rained on quite a bit.

The rust only seemed to be superficial on the first lamp, so I slit the sleeving off another dead one – there was a lot of rust and one of the wires broke off at the bottom of the lamp — or was it already broken? Not only was the lead rusted, but the metal electrode within the lamp was red with rust.  In the end I decided that I’d have to cut off the insulation on all the dead lamps. On several, one of the wires broke off – and I soon realised that in each case this was the positive wire.  I had tried to measure the voltages, but on the DC setting I got some silly low, unsteady value.  On AC I got about 5 volts. Interesting!  I was aware that on ‘multi-function’ lights, the brightness is controlled by switching the lamps rapidly on and off – on simple controllers, this is done by ‘phase control’ – the lamp is only lit for part of the mains sine-wave cycle.  Clearly, my inexpensive voltmeter was not able to cope with the fluctuating cycle on the DC setting. Probably the voltage was not accurate on the AC setting either, because (I imagine) it is designed to measure the RMS value of a sine wave, probably at mains frequency. Of course, on AC, you can’t measure the polarity, so how did I guess the polarity?  On common LED lamps, the positive lead is made longer than the negative lead.

Connections in LED
Connections in LED

Simple! Not!!! The leads had been trimmed before fitting and in some cases they’d already broken off. The saving grace was that on most LEDs, the two connections inside the lamp are completely different – one is large and has a cup or bowl right in the centre of the lamp moulding.  This is the negative or ‘cathode’.  The positive is a smaller and thinner electrode.  If you have good eyesight, you can see that a very fine wire runs from the end of this electrode and loops over to touch the centre of the cup on the cathode, which contains the light-emitting semiconductor material.

Puzzling out the wiring, I soon realised that the red and green lamps are connected with 12 in series, and the blue and amber lamps likewise with 12 in series.  So the string of 240 lamps is made up of 10 sections, each section containing 12 lamps red and green and 12 blue and amber lamps.  So if one green lamp fails, for example, all 12 red and green lamps in the section will go out.  The diagram below shows the schematic of two of the ten sections.  There is a 100 ohm resistor in each chain to limit the current. Given that each LED requires a forward voltage of about 2.1 v (the exact value depends on the semiconductor material being used) and that the power supply is nominally  30 v, this gives a total forward voltage of 25.2 v, and thus 4.8 v across the resistor, giving a current flow of 48 mA. In fact, LEDs are normally limited to a current of 10 to 20 mA, so it is possible that the output voltage of the controller is slightly less than 30 v.

Wiring of LED string
Wiring of LED string

I went to Maplin and bought a ‘lucky bag’ of mixed LEDs.  I just unsoldered the broken lamps and soldered in new ones of the same colour, taking care that I put them with the ‘cup’ or cathode facing towards the same end of the string as the good lamps.  Making sure that there were no short-circuits, I switched on.

Hey Presto! Nothing happened. No loud bang, but the new section was still dead. What a waste of time! But, out with the voltmeter. I accidentally short-circuited across the leads to one of the new lamps. Abracadabra!! the other lamps all came on.  For some reason, the lamp at one end of the circuit should actually be connected with the cathode facing the other way. A quick dab with the soldering iron and all was working.

The final job was to replace all the heat-shrink sleeving. Well I haven’t got any, and I haven’t got a heat gun either. So I used cling film. It’s not pretty – it’s not waterproof. But it will be fine around the picture rail or on an inside tree.

So why have the leads rusted like that?  Obviously, the heat-shrink sleeving isn’t water-tight and the warming and cooling of the lamp will tend to draw moisture in. There must then be some sort of electrolytic action – in each case the anode (positive) connection had rusted through.  Rust (iron oxide) does not conduct electricity, but water contains dissolved salts (carbonates and chlorides) that do. The flow of current, albeit tiny, speeds up the corrosion. Iron expands as it rusts, and this can cause cracks within the plastic casing of the LED and allow moisture to get inside, causing further corrosion. The makers could stop this by using a flexible sealant, but it’s not worth it for lights intended to sell cheaply and be replaced when they fail.  I can’t explain why the green ones failed most: do they heat up more? Was the plating on them thinner?

If I’d costed my time, the repair wasn’t cost-effective either, but I’ve learned a lot.

 

PS – I should say something about the ‘Positive’ and ‘Negative’ connections on a diode – be it an LED or rectifier.  LEDs light up when a ‘forward current’ is passed through them. This means that the current flows from the positive pole to the negative pole. For a diode, current goes into the device at the Anode and out at the Cathode. [This is a convention decided by early physicists  long before they discovered that electrons flow in the opposite direction: and it still remains true.]  If you make the cathode positive and the anode negative, no current will flow, unless the voltage is so high that the device breaks down. However, when a diode is connected as a rectifier, the current comes out of the cathode.  This makes it look to be positive, but it is still at a lower voltage than the anode, so as far as the diode is concerned, current is still flowing in the correct direction.  You can see this in the Bridge Rectifier circuit I have drawn below.  The positive terminal of the rectifier is actually the cathode of the diode.  I think this is why the cathode of a silicon (rectifier) diode is marked with a line around it. Anode actually means ‘leading to’ and cathode means ‘leading from’.

Bridge Rectifier
Bridge Rectifier

A further question is ‘Why is this called a Bridge Rectifier’?  It’s because its shape is the same as in a ‘Wheatstone Bridge’, although that was used for measuring resistance.