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 minutes624

Things used in this project

Hardware components

Meadow F7 Micro
Wilderness Labs Meadow F7 Micro
×1
Meadow F7 Micro Development kit w/Hack Kit Pro.
Wilderness Labs Meadow F7 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

ServoButton complete project

You can check the ServoButton project in Meadow.Samples/Source/MeadowSamples/Projects/ServoButton

Credits

Jorge Ramírez

Jorge Ramírez

38 projects • 32 followers
Software developer getting into Hardware in the .Net world! Music lover, guitar enthusiast, intermediate hiker, and bike commuter!
Adrian Stevens

Adrian Stevens

35 projects • 17 followers
bryan costanich

bryan costanich

35 projects • 22 followers

Comments