Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
STEMpedia
Published © CC BY

Controlling a Servo Motor Using Ultrasonic Sensor

Learn how to control a servo using an ultrasonic sensor by making an interesting Scratch Angry Birds project in PictoBlox.

BeginnerFull instructions provided4,077
Controlling a Servo Motor Using Ultrasonic Sensor

Things used in this project

Hardware components

evive Starter Kit
STEMpedia evive Starter Kit
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Corrugated Sheets
×1
Icecream Sticks
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Arduino Mega 2560
Arduino Mega 2560
×1

Software apps and online services

PictoBlox
STEMpedia PictoBlox

Story

Read more

Schematics

Fritzin Diagram for Controlling Servo Using Ultrasonic sensor

Code

PictoBlox Code for Controlling Servo

Scratch
No preview (download only).

Credits

STEMpedia

STEMpedia

42 projects • 169 followers
STEMpedia blends theory with experiential learning by offering state-of-the-art technology, projects, tutorials, courses, and much more.

Comments