Program Maker pHAT Using Scratch on Raspberry Pi

With Scratch, you can program your own interactive stories, games, and animations. Besides, if you are using Raspberry Pi, you can control GPIO pins on Raspberry Pi.

Introduction

With Scratch, you can program your own interactive stories, games, and animations. Besides, if you are using Raspberry Pi, you can control GPIO pins on Raspberry Pi. In this tutorial, I will share with you how to program Maker pHAT (equipped with LEDs, buttons and buzzer) using Scratch.

Video

This video shows how to program Maker pHAT using Scratch on Raspberry Pi.

Hardware Preparation

This is the list of items used in the video.

OR

OR

Sample Program

This is Scratch program to control LED and buzzer through push buttons on Maker pHAT.

Scratch Maker pHAT

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Send Data to Firebase Using Arduino Uno WiFi Rev2
Simple Alarm System Using Maker Nano
Program Cucumber ESP32-S2 Using CircuitPython
Face Recognition Using OpenCV on Raspberry Pi 400
Turned Your Tablet as a Display for the Raspberry Pi 400
Scroll to Top