# Slider Crank Mechanism -- from Cardboard and Craft Sticks

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/053/409/medium800thumb/robotics___cnc_sliderCrank02.jpg?1525473838)

https://youtu.be/8JwJQQ3hZUk

A slider crank mechanism is a simple, effective way to convert rotation to linear motion. You can make one very easily out of craft sticks or cardboard, a hole punch, and some paper fasteners.

By attaching the crank shaft stick to a servo motor horn, we can drive our slider crank using a Circuit Playground Express programmed with MakeCode!

![](https://cdn-learn.adafruit.com/assets/assets/000/053/425/medium800/robotics___cnc_sliderCrank_0043_2k.jpg?1525491936)

### Part: Circuit Playground Express
quantity: 1
Incredibly awesome microcontroller board
[Circuit Playground Express](https://www.adafruit.com/product/3333)

### Part: Standard servo
quantity: 1
TowerPro SG-5010
[Standard servo](https://www.adafruit.com/product/155)

### Part: Small Alligator Clip to Male Jumper Wire Bundle
quantity: 1
6 pieces
[Small Alligator Clip to Male Jumper Wire Bundle](https://www.adafruit.com/product/3448)

### Part: 3 x AA Battery Holder
quantity: 1
with On/Off Switch, JST, and Belt Clip
[3 x AA Battery Holder](https://www.adafruit.com/product/3287)

### Part: Alkaline AA batteries
quantity: 1
3 pack
[Alkaline AA batteries](https://www.adafruit.com/product/3521)

![](https://cdn-learn.adafruit.com/assets/assets/000/053/410/medium800/robotics___cnc_IMG_2315.jpg?1525475584)

## Materials

In addition to the parts above, you'll need:

- corrugated cardboard box
- three craft sticks
- brass paper fasteners

## Tools

You could build this entire project using only a pair of scissors, but here are some additional tools that can make things a bit easier:

- single hole punch
- hobby knife
- metal ruler
- hot melt glue gun and hot melt glue -- either low or high temperature is fine
- pencil or marker
- small screwdriver

- [Next Page](https://learn.adafruit.com/cardboard-slider-crank/temp-build-notes.md)

## Featured Products

### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)
### Standard servo - TowerPro SG-5010

[Standard servo - TowerPro SG-5010](https://www.adafruit.com/product/155)
This high-torque standard servo can rotate approximately 180 degrees (90 in each direction). You can use any servo code, hardware, or library to control these servos. Good for beginners who want to make stuff move without building a motor controller with feedback & gearbox. Comes with 3...

In Stock
[Buy Now](https://www.adafruit.com/product/155)
[Related Guides to the Product](https://learn.adafruit.com/products/155/guides)
### Small Alligator Clip to Male Jumper Wire Bundle - 6 Pieces

[Small Alligator Clip to Male Jumper Wire Bundle - 6 Pieces](https://www.adafruit.com/product/3448)
When working&nbsp;with unusual non-header-friendly surfaces, these handy cables will be your best friends! No longer will you have long, cumbersome strands of alligator clips. These compact jumper cables have a premium male header on one end and a grippy mini alligator clip on the...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3448)
[Related Guides to the Product](https://learn.adafruit.com/products/3448/guides)
### 3 x AA Battery Holder with On/Off Switch, JST, and Belt Clip

[3 x AA Battery Holder with On/Off Switch, JST, and Belt Clip](https://www.adafruit.com/product/3287)
This battery holder connects 3 AA batteries together in series for powering all kinds of projects. We spec'd these out because the box is compact, and 3 AA's add up to about 3.3-4.5V, a very similar range to Lithium Ion/polymer (Li-Ion) batteries, plus it has&nbsp;a nifty&nbsp;on-off...

In Stock
[Buy Now](https://www.adafruit.com/product/3287)
[Related Guides to the Product](https://learn.adafruit.com/products/3287/guides)
### Alkaline AA batteries (LR6) - 3 pack

[Alkaline AA batteries (LR6) - 3 pack](https://www.adafruit.com/product/3521)
Battery power for your portable project! These batteries are good quality at a good price, and work fantastic with any of the kits or projects in the shop that use AAs. This is a pack of **3 AA batteries**.  
  
These batteries are Alkaline (MnO2) chemistry, with a voltage...

In Stock
[Buy Now](https://www.adafruit.com/product/3521)
[Related Guides to the Product](https://learn.adafruit.com/products/3521/guides)

## Related Guides

- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [Xenomorph Halloween Candy Bucket](https://learn.adafruit.com/xenomorph-halloween-candy-bucket.md)
- [Circuit Playground Express Spinner Game in MakeCode](https://learn.adafruit.com/circuit-playground-makecode-spinner-game.md)
- [Hello World of Robotics with Crickit](https://learn.adafruit.com/hello-world-of-robotics-with-crickit.md)
- [CircuitPython Sound Box](https://learn.adafruit.com/circuitpython-sound-box.md)
- [Using Circuit Playground Express, MakeCode and CircuitPython on a Chromebook](https://learn.adafruit.com/using-circuit-playground-express-makecode-circuitpython-on-a-chromebook.md)
- [Glue Stick Light Pipe Sculpture](https://learn.adafruit.com/glue-stick-archway.md)
- [NeoPixels with MakeCode](https://learn.adafruit.com/neopixels-with-makecode.md)
- [Automatic Cat Treat Dispenser](https://learn.adafruit.com/automatic-cat-treat-dispenser.md)
- [Circuit Playground Morse Code Flasher](https://learn.adafruit.com/circuitplayground-morse-code-flasher-makecode-circuit-python.md)
- [Stumble-Bot](https://learn.adafruit.com/stumble-bot-with-circuit-playground-and-crickit.md)
- [Circuit Playground Express Head-Tilt Ears](https://learn.adafruit.com/circuit-playground-express-head-tilt-ears.md)
- [CircuitPython Powered AT Hand-Raiser](https://learn.adafruit.com/at-hand-raiser.md)
- [Cosplay Floating LED Fireball with Motion Sensing](https://learn.adafruit.com/cosplay-fireball-prop-with-motion-sensing.md)
- [Make It Shake, Rattle, and Roll: Accelerometer Use](https://learn.adafruit.com/make-it-shake-rattle-and-roll.md)
- [Sparky the Blue Smoke Monster Automaton](https://learn.adafruit.com/sparky-automaton.md)
