I used the projects on raspberry pi and followed along to make the project
View this project in Scratch
Scratch