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!
Jorge RamírezAdrian Stevensbryan costanich
Published © Apache-2.0

Control a Servo with a Push Button Using Meadow

Learn how to control a servo using a push button with just a few lines of code using a Meadow F7 Micro board and Meadow. Foundation library.

BeginnerFull instructions provided15 minutes1,592

Things used in this project

Hardware components

Meadow F7v2 Micro Development Kit
Wilderness Labs Meadow F7v2 Micro Development Kit
×1
Meadow F7v2 Micro Development kit w/Hack Kit Pro.
Wilderness Labs Meadow F7v2 Micro Development kit w/Hack Kit Pro.
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×1
Resistor 4.75k ohm
Resistor 4.75k ohm
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Microsoft Visual Studio 2019

Story

Read more

Schematics

ServoButton circuit diagram

Code

Complete project

Credits

Jorge Ramírez

Jorge Ramírez

74 projects • 76 followers
Developer advocate for Wilderness Labs.
Adrian Stevens

Adrian Stevens

70 projects • 45 followers
bryan costanich

bryan costanich

70 projects • 55 followers

Comments