Friday, 6 December 2019

Pimoroni Explorer Hat Tricks

Yesterday I talked about my plans for the Pimoroni Explorer HAT.

I've started the GitHub repository for the code from Explorer Hat Tricks. That's the ebook I'm writing for users of the Explorer HAT, HAT Pro and pHAT.

At present there are just a few examples and a single project, but I only started yesterday :)

I'll post here and tweet (@rareblog) as more code becomes available.


I'm developing the ebook on Leanpub, a publishing platform.

Leanpub is good for authors and great for readers.

Readers like it because they get
  • a chance to see a sample
  • free lifetime updates for every book in their library, paid-for or free
  • a 45-day money-back guarantee, and
  • DRM-free content in pdf, mobi and epub formats.


Try the code out

You'll need
  1. a Raspberry Pi with 40-pin header (zero, 2, 3 or 4) running Raspbian Buster
  2. a Pimoroni Explorer HAT Pro. Most of the code will also work on the original HAT or pHAT, but some will need the Pro features.
  3. some LEDs, resistors and jumper wires like the ones in the Pimoroni Explorer HAT Parts Kit.
Start with the Traffic Lights project:

The code is on GitHib. Please raise an issue if you see a problem or have a suggestion for a project that uses the Explorer HAT!

Thursday, 5 December 2019

Raspberry Pi fun with the Pimoroni Explorer Hat

Pimoroni Explorer Hat Pro
I love the pirate crew at Pimoroni more than ever!

Last week Pimoroni ran a series of competitions on twitter. The prizes were gift tokens and I was lucky enough to win one.

My Pirate booty included an Explorer Hat Pro and a parts kit. I've been playing with them ever since.

The Hat lets you protoype Raspberry Pi projects in minutes.

You don't need to do any soldering and the Python library is quick to install, well written and commented and really easy to use.

One good turn deserves another

I suspect that beginners would welcome more  'how-to' guides, and I'm putting some together.

I plan to publish open source code on GitHub, and to publish detailed instructions in a low-cost e-book.

If you've got suggestions or ideas for content that you'd be happy for me to use,  let me know in a comment, or tweet your ideas to @rareblog on Twitter.

Wednesday, 7 August 2019

Docker build for TensorFlow 1.14 + Jupyter for Rasapbian Buster on Raspberry Pi 4B

I've updated an old Docker build to create a Docker image for Raspberry Pi  Buster. It contains Katsuya Hyodo's TensorFlow wheel which has TensorFlow Lite enabled.

The image contains Jupyter, so you can connect to the running image from anywhere on your network and run TensorFlow notebooks on the Pi.

This is highly experimental - don't use it for anything important :)

Once I've done some tidying up (and a lot more testing!) I'll put the image up pon DockerHub.

To build/run it you need the Docker nightly build. I installed it by invoking

curl -fsSL | CHANNEL=nightly sh
If you find any problems please raise an issue on GitHub.