Home > Books > Coding Compendium

Coding Compendium: A free ebook of Python, Scratch, Raspberry Pi and micro:bit tutorials

Book cover: Coding CompendiumBy Sean McManus

This free ebook compiles a selection of articles I’ve written about Raspberry Pi, Scratch and Python coding. Most of these articles originally appeared in The MagPi, Hello World, Raspberry Pi Geek, and micro:mag magazines, while others are taken from my blog.

With about 100 pages, this ebook includes:

  1. Raspberry Pi tutorial:
    • An introduction to using the Raspberry Pi, its desktop software, and VNC and SSH for remote connections
  2. Scratch programming tutorials and projects:
    • What's new in Scratch 3? Top tips for using older tutorials with the latest version of Scratch.
    • An introduction to Scratch programming
    • How to make a multiple choice quiz in Scratch
    • How to add a title screen to your Scratch game
    • How to add a high score table to your Scratch game
    • How to make a car racing game in Scratch using the Sense HAT as a steering wheel. This article has been remastered with larger scripts to improve readability.
    • How to make a Scratch audio game using the micro:bit as a controller
    • Top tips on debugging Scratch projects for teachers
    • A handy reference chart for the musical notes in Scratch and Sonic Pi
  3. Python programming tutorials and projects:
    • An introduction to Python, using the turtle. This article was first published in Raspberry Pi Geek magazine and has been updated for this ebook.
    • How to code a quiz game in Scratch with questions like the TV show Only connect
    • How to make an electronic torch and a light-up puzzle game using the Raspberry Pi, some basic electronic components, and Python
    • How to make text scroll on the Unicorn HAT
    • An introduction to Pygame Zero
    • How to make a game to teach sheet music skills using the Piano HAT and Python
    • Demo code for the 64-LED PiCube add-on for the Raspberry Pi
    • How to make a pomodoro timer with the micro:bit and Python
    • How to use ImageMagick to transform your images
    • How to create an abstract art installation, ArtEvolver, that continuously fades between images
    • How to download and output the news and weather using Python
    • How to create a virtual DJ that analyses your music tracks and reads an introduction before playing them
    • How to generate AI-based stories and images using ChatGPT and DeepAI, to create a bedtime storyteller

Although these articles were mostly written for Raspberry Pi users, the Scratch and Python tutorials will also work on Windows and Mac computers, except where they require special hardware.

Download this free coding tutorials ebook

To get this ebook, sign up for my free newsletter. The newsletter includes updates on my new books, articles, and creative projects and is issued every month or two, when I have something new to share.

Sign up for Sean's newsletter

About the Author

Sean McManus is a writer specialising in technology and business. His books include Mission Python, Scratch Programming in Easy Steps, Web Design in Easy Steps, and Raspberry Pi For Dummies (with Mike Cook).

Credits

© Sean McManus. All rights reserved.

Visit www.sean.co.uk for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!

Discover my latest books

Coding Compendium

Coding Compendium

A free 100-page ebook collecting my projects and tutorials for Raspberry Pi, micro:bit, Scratch and Python. Simply join my newsletter to download it.

Web Design in Easy Steps

Web Design IES

Web Design in Easy Steps, now in its 7th Edition, shows you how to make effective websites that work on any device.

100 Top Tips: Microsoft Excel

100 Top Tips: Microsoft Excel

Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.

Scratch Programming in Easy Steps

Scratch Programming IES

This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.

Mission Python book

Mission Python

Code a space adventure game in this Python programming book published by No Starch Press.

Cool Scratch Projects in Easy Steps book

Cool Scratch Projects in Easy Steps

Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!

Walking astronaut from Mission Python book Top | Search | Help | Privacy | Access Keys | Contact me
Home | Newsletter | Blog | Copywriting Services | Books | Free book chapters | Articles | Music | Photos | Games | Shop | About