Your shopping cart is empty!
Program Maker pHAT Using Scratch on Raspberry Pi
- Idris Zainal Abidin
- 03 Jun 2020
- 475
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.
- Raspberry Pi 4 Model B (2GB RAM) OR
- Raspberry Pi 4 Model B (4GB RAM) OR
- Raspberry Pi 4 Model B (8GB RAM)
- 16GB Micro SD Card
- Official RPi 15W (5V/3A) PSU USB C UK Plug
- Maker pHAT
Sample Program
This is Scratch program to control LED and buzzer through push buttons on 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 a better application."