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,293

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

55 projects • 55 followers
Developer advocate for Wilderness Labs.
Adrian Stevens

Adrian Stevens

52 projects • 31 followers
bryan costanich

bryan costanich

52 projects • 35 followers

Comments