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

Display on MAX7219 Dot Matrix Using Maker NANO
Heart Rate Monitor Using Pulse Sensor and Maker Nano
Gas Detector Using The MQ2 Sensor on Maker NANO
Control NeoPixel RGB LED Color Code Using Keypad and Maker Nano
Audio Doorbell Using M5GO IoT Starter Kit
Scroll to Top