i made this by my own by taking some help from my teacher
View this project in Scratch
Scratch
Hardware