Make: Projects

Add a Demo Button to Your TurtleBot

This tutorial will show you how to add a button to your TurtleBot.

  • By Michael Ferguson
  • Category: Robotics
  • Time Required: 30 Minutes
  • Difficulty: Easy
Add a Demo Button to Your TurtleBot

This tutorial shows how to connect a button to the TurtleBot power and gyro board.

Steps

Step #1:

Next
Add a Demo Button to Your TurtleBot
  • You will need:
  • Giant button
  • 10K Resistor
  • Wires
  • TurtleBot Power Board
  • A TurtleBot might be of use as well

Step #2:

Next
Add a Demo Button to Your TurtleBotAdd a Demo Button to Your TurtleBotAdd a Demo Button to Your TurtleBot
  • Solder one end of the 10K resistor to Pin 8 (5V) on the DB-25 connector of the TurtleBot power board.

Step #3:

Next
Add a Demo Button to Your TurtleBot
  • Solder one of the wires onto Pin 14 (Ground) of the DB-25 connector on TurtleBot Power Board. (white wire in picture)
  • Solder the other wire onto Pin 6 (Digital Input 3) of the DB-25 connector on TurtleBot Power Board. (green wire in picture).
  • Connect the other end of the 10K resistor to the wire attached to Pin 6. (green wire in picture)

Step #4:

Next
Add a Demo Button to Your TurtleBot
  • Solder the two wires onto the switch.

Step #5:

Add a Demo Button to Your TurtleBot
  • Attach the button to your robot.
  • Try out this script on your ROS-configured TurtleBot laptop. This script makes the robot drive forward, pressing the button toggles motion on or off.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

%d bloggers like this: