gadgets-gizmos
Arduino Internal Temperature Measuring
· β˜• 3 min read
The code below, somewhere, shows how to measure the temperature of the ATmega328 microcontroller built in to numerous Arduino boards. You can find all the gory details in my new book Arduino Software Internals available from Apress, Amazon and good bookshops everywhere. A complete guide to how the Arduino Language works, and how it makes the hardware work. Apress.com: https://www.apress.com/gb/book/9781484257890 Amazon.co.uk: https://www.amazon.co.uk/Arduino-Software-Internals-Complete-Language/dp/1484257898/ The Warning Do not use this code if your Arduino has the AREF pin connected to any voltage source.

ATMega328P 8MHz on a Breadboard
· β˜• 4 min read
I had an urgent need (!) to build a breadboard version of an Arduino board which I needed to run without the 16MHz crystal and the two 22pF capacitors used by most Arduino boards. The following steps are what I had to do, as my brand new ATmega328P micro-controller came supplied with an Arduino Uno boot-loader installed. I didn’t want that one because it depends on having the 16MHz crystal and that takes up two of the I/O pins, which I might have a good use for, plus I can run it at 3.

Arduino Nano - Cannot Upload Sketches after Board Upgrade to 1.6.21
· β˜• 1 min read
My Arduino Nano started to refuse to upload sketches after I upgraded the boards library to version 1.6.21 from 1.6.20. All I got was this: ... avrdude: stk500\_recv(): programmer is not responding avrdude: stk500\_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500\_recv(): programmer is not responding avrdude: stk500\_getsync() attempt 2 of 10: not in sync: resp=0x00 ... Repeat 100 times! After reverting back to the previous boards library, version 1.

Does Your Raspberry Pi 3 Lose WiFi Connections After a While?
· β˜• 2 min read
If you find that your Raspberry Pi – those with built in WiFi and Bluetooth – loses the WiFi connection after a period of inactivity, then this thread on the Raspberry Pi Forums, which will open in a new tab, might be of interest. Have a read. If you want to miss out on the preliminaries of the thread, start reading here instead. The problem is likely to be the power saving mode of the Wifi.

Raspberry Pi, PiZero, Raspbian Jessie, Networking and WiFi Setup
· β˜• 8 min read
With a title like that, I should get some hits! ;-) Note: Updated 6th October 2018 to cover Raspbian Stretch which is slightly different to Jessie. But not much. Note: Updated 8th February 2016 to cover the new Raspberry Pi 3 with built in WiFi and Bluetooth. Note: Checked 20th October 2017 to make sure that the instructions below still apply, and work, on the new stretch release of Raspbian. They do!

HP Printer Ink - WTF?
· β˜• 9 min read
Running a business, I like to keep a small stock of spare printer ink cartridges, so I usually have a couple of spare colour and a couple of black ones, just in case. However, after a recent cartridge change, one black and one colour at the same time, the printer has suddenly stopped working. This was after about a month of perfect usage, not immediately after the change. The printer is an HP Photosmart 2610 All in one - and now, it’s an HP Photo-not-very-smart-at-all 2610 none in one!

Getting Arduino Working from a Windows 7 VirtualBox Guest
· β˜• 6 min read
Do I like problems or what? :-) I’m running Linux Mint 17.2 as my host, and I have a VirtualBox 5.0 VM running Windows 7 Professional. I decided I’d like to be able to run the Arduino software from within the VM, but not talking to an Arduino, but to a bare bones setup and programming AtTiny85 devices. The following might be of use to other people’s needs as it explains how the FDTI device cane be automatically assigned to the VM rather than to the host, when plugged in and the VM is running.

Arduino Christmas Light
· β˜• 3 min read
Here’s a short Arduino sketch that will fade and flash an LED on pin 9. Works a treat on a Shrimp as well. Which is what mine runs on - my Breaded Shrimp which stared like on a tiny breadboard like the one at the end of the above link, but which is now permanently soldered onto a piece of copper “breadboard” as you can see in the image that’s around here somewhere.

Astell & Kern - AK100 Review
· β˜• 10 min read
Astell & Kern AK100: My wife bought me one of these because my old iRiver H340 has begun eating batteries. It’s on its third replacement now, plus I have more music than fits the H340’s hard drive. I do not buy Apple products, so any iWhatever (other than iRiver) was out of the question. Nothing personal, I just don’t like them. Finding a suitable replacement music player with decent storage, no hard drive, and Linux compatibility (64 bit essential) was very difficult especially if you are not fond of Apple kit.

Give Your Raspberry Pi Turbo Mode
· β˜• 4 min read
And while you are at it, no warranty problems when you do so! An announcement on the Raspberry Pi Foundation web site, read it here, (Update: 23/02/2023: Sorry, dead link now.) explains that it is now possible to use Turbo mode on your Raspberry Pi without invalidating your warranty by over volting the device. Please go and read it and then pop back here for instructions on adding Turbo mode to your own Raspberry Pi.

The Dangers of Cheap USB Hubs
· β˜• 5 min read
As a Raspberry Pi user, I figured I needed a USB hub to allow me to connect stuff (that’s a technical term by the way) to my Pi without overloading the two on board USB ports as these are limited to a maximum of 100 mA each. I purchased a cheap 7 port externally powered hub and it arrived by next day delivery. The USB 2.0 specification says that anything advertising compliance should, amongst other things be able to supply 500 mA minimum on each and every port while externally powered and should not feed any power back to the computer via the USB interconnect cable - that’s the one between the computer and the hub.

Raspberry Pi Goes Into Manufacturing - Yippee!
· β˜• 1 min read
It’s finally coming! Raspberry Pi has now officially started manufacture of the first production boards. See http://www.raspberrypi.org/archives/509 for details. (Update 25/02/2023: Sorry folks, dead link!) Sadly, you can also see there why the tax situation in the UK (or possibly because of the EU) is preventing the charity from manufacturing these boards in the UK. (Update 25/02/2023: However, eventually, Sony in Wales started making the boards, and have done so ever since.