• Skip to primary navigation
  • Skip to main content

The Cardboard Carnival

Design & Build a Cardboard Carnival Game

  • Home
  • Rules
  • Challenge Support
    • Tutorials
    • Workshops
  • Prizes
  • Showcase
    • Cardboard Carnival 2022
    • Marble Adventure 2021
  • About Us

Swinging Obstacle

by Kennedy Joseph

Get Started

Build the Obstacle

Program the Servo

Wire Your Servo

Upload Your Code

MakeCode Overview

We will be using the website, MakeCode.com, to program the Circuit Playground to control the servo motor.

It is a free, browsed based platform that uses block coding.

MakeCode will save your coding programs in the browser memory, so be sure to save your programs first before clearing your browser history.

Coding Tutorial

We will be coding the positional servo in your kit to swing back and forth, starting at 0 degrees and moving in an arc to 180 degrees.

Follow our step-by-step guide on how to program your servo.

How to Program a Positional Servo

<< Build the Obstacle

Wire Your Servo >>

Copyright © 2023 ยท Log in