Servo Controls
Let's Home the 180° Base Servo
Ever seen a cat stretch before it pounces? That's basically what we're doing here—getting the servo warmed up and centered before we lock in the horn. Skip this step and your robot could end up pointing the wrong way.
1
Wiring Diagram
Make sure your 180° base servo is connected exactly like this.
2
Load the Code
Plug your microcontroller into your computer using the USB cable before uploading.
Hit the button below to open the homing code in Kriya Station. Then just hit upload!
Load Code in Kriya Station3
Open Serial Monitor
After uploading, open the Serial Monitor in Kriya Station. This is how we'll talk to the board and tell it what to do.
4
Home the 180° Base Servo
B
Send This Command
Homes the 180° base servo to 90°
- Type B in Serial Monitor
- Press Enter
What Happens
The servo wiggles back and forth a few times, then settles at exactly 90°.