Explorer HAT tricks
Explorer HAT tricks
$5.00
Minimum price
$5.00
Suggested price
Explorer HAT tricks

This book is 25% complete

Last updated on 2020-01-07

About the Book

If you're

  • a beginner who wants to start monitoring and controlling things with your Raspberry Pi
  • an experienced maker new to the Pimoroni Explorer HAT
  • an educator looking for fun projects to inspire
  • an inventor needing to prototype your ideas

you should buy this book!

You'll learn how to

  • configure your Raspberry Pi for use with the Pimoroni Explorer Pro
  • turn the four on-board coloured LEDs on and off
  • use the capacitive touch sensors to control your Pi
  • add push-buttons and specialised LEDs to your projects
  • fade the brightness of LEDs up and down
  • measure voltage, light level and temperatures
  • control electric motors with your Pi

You'll consolidate what you learn through fun projects.

If you have a Pi. the extra hardware will cost about £40.

You don't need to solder.

The programs are written on the Python language. If you don't know Python yet, it's a great way to start learning it!

About the Author

Romilly Cocking
Romilly Cocking

Romilly is a lifelong learner, maker and educator interested in Electronics, Robotics and AI.


He's taught thousands of students how to program, he's a veteran blogger, and he is a popular presenter at technical meetups.

Table of Contents

  • Preface
    • About the author
  • How to have fun with this book
    • The Raspberry Pi
    • Physical computing
    • The Pimoroni Explorer HAT
    • How much will the hardware cost?
    • What skills do you need?
    • What skills will you learn?
    • Your choices
  • Ready, steady, go!
    • Prepare your Raspberry Pi
    • Plugging the HAT onto the Pi
    • Enabling interfaces
    • Using Python 3
    • Installing extra software
  • Hello, Explorer world!
    • Turning a LED on and off from Python
    • Control a LED from inside a Python program.
    • Blink an LED repeatedly
    • Red is not the only LED
    • Summary
  • The Touchy Explorer HAT
  • LED to the breadboard
    • Breadboards
    • A quick experiment
  • Traffic Lights Project - First Version
  • What’s the Buzz?
  • Weather, light and temperature
  • The Plot Thickens
  • Getting Pushy
  • Traffic Lights Project - Second Version
  • Now you’re motoring
  • Where next?
  • Appendix A - Python
  • Notes

Authors have earned$9,068,759writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub