Stuffination

Can Crusher

For my Mechatronics class my team and I were assigned to build an automated can crusher. The crusher is to be loaded with 10 uncrushed cans and then output 10 crushed cans in under 2 minutes. The following video demonstrates our can crushing device.

Our team still needs to solve the issue of loading cans into our crusher through some sort of hopper device, but for now, we are satisfied with our can crusher.

A few tech specs:
6″ throw, 1.5″ bore diameter pneumatic Cylinder
Operating Pressure: 100 psi
Control is achieved using a 4-way solenoid valve paired with a L298 based motor driver.
An Arduino Mega provides the smarts.

Braitenberg Project

Valentino Braitenberg is an Italian-Austrian neuroscientist. In his book, entitled “Vehicles: Experiments in Synthetic Psychology”, he performs thought experiments creating vehicles which, while simple in nature, exhibit complex behaviors such as fear, love, aggression and optimism. His vehicles are simple, with the simplest consisting of a single sensor and single motor. This simplicity makes it easy for someone to construct one of his vehicles. While Braitenberg like behaviors can be programmed into any robot with the proper sensors and actuators it is a more interesting challenge to construct a Braitenberg vehicle in hardware, as described in his thought experiments.
Due to the interesting nature of Braitenberg’s vehicles, the CMU Robotics Institute has provided funding to a project to create Braitenberg-esque vehicles that would then go on display in the Robotics Institute. I’m acting as co-project leader, coordinating with a graduate student in the Machine Learning program who obtained the funding for the project. I’m hoping the project will produce 5 to 6 artistic Braitenberg inspired creations. I’ve spent some time thinking about possible things I could create and I’m excited to see what ideas other people come up with after I present the project at the Robotics Club’s general body meeting.

More to come on Braitenberg in the coming weeks as projects get started.

Paint Bot: Frame

Paint Bot Frame

I built a frame that paint bot can be mounted on for testing.  I built it out of scrap lumber from the CMU Robotics Club.  The frame has the motors mounted near the top with the cables running through guides at the top of the frame.

Mounted Motor Cable Guide

I currently do not have any sort of painting mechanism mounted to paint bot.  I’m thinking about building a marker holder so I can test it a little easier than using spray paint.  Currently I just have a weight attached to the two cables to simulate the painting mechanism.

Frame

Building a stepper motor driver.

Stepper Motor Driver

I’ve been working on trying to learn more about stepper motors.  In the past month or so I’ve learned that there are two varieties of stepper motor:  Unipolar and bipolar (and sometimes both!).  In all of the research I’ve been doing I came across a lot of great resources.  They are listed at the end of this post.

All of my interest in stepper motors comes from the fact that the Robotics Club recently received a large supply of nice stepper motors and because the original spray painting graffiti bot, Hektor, as well as some other recent Hektor-esque bots, used stepper motors for its control.  The particular motors that the Robotics Club obtained are 6-wire stepper motors.  This means they can be used as either unipolar or bipolar steppers.  This is very useful because it gives me a larger range of control options.  However, the motors run at an odd voltage (3.68 volts) which limits the range of available drivers ( I’ve only found 2 capable of driving these motors).  Due to the lack of available motor drivers for all these stepper motors we now have, I decided to build my own.

After doing some looking, I decided to control the motors in unipolar mode because the control circuit is simpler.  The circuit I build, which is based on this one, is basically 4 Darlington transistors which are used to toggle the coils on and off and some diodes for protection.  The stepper motor driver turns each one of the four half coils in the stepper motor on and off sequentially to drive it.  The original circuit uses a L297 stepper motor driver to handle sending signals to the Darlingtons, but, I didn’t have any on hand, so I just sent the signals sequentially from and Arduino.

To test the circuit, I didn’t want to potentially harm one of the nice stepper motors we have, so I was using an old stepper motor out of an IBM floppy drive.  I couldn’t find documentation so I couldn’t figure out what order to toggle the coils to properly step the motor.  I was able to get it to step some, but never rotate continuously.  It would step a bit one way, and then step back.  I believe my control circuit was ok, because the motor was able to step some.  The issue at this point may be the motor itself (just having it hooked up incorrectly) or my code.

I’m going to keep working with this circuit, maybe get an L297 to try out, or I’ve know some people who have used shift registers to accomplish the stepping.  I’m also going to try this out on some other motors as well.  Hopefully I will soon have a nice inexpensive stepper motor driver that other people in the club will be able to use for these nice motors we have.

List of stepper motor resources:

  • HobbyCNC
    • http://www.hobbycnc.com/
    • Has some nice information, and points at more
  • Wikipedia Labs/Books
    • http://en.wikibooks.org/wiki/Practical_Electronics/Stepper_Motors
    • Some good general information on steppers, and some control circuits
  • Northwestern University LIMS wiki
    • http://hades.mech.northwestern.edu/index.php/Unipolar_Stepper_Motor_Driver_Circuit
    • Great control circuit for unipolar steppers.  Mine is based on this one
  • Iowa University Stepper Motor Tutorial
    • http://www.cs.uiowa.edu/~jones/step/
    • Lots of info about steppers

Urban Search and Rescue

USAR

During the previous semester, as part of a class project, we built urban search and rescue robots.  We built the robots using the LEGO NXT set.  For our robot I built a custom pan-tilt mechanism to mount the camera we were provided with.

The pan-tilt used two servos and a custom microntroller board to interface the servos with the NXT.  The controller board also allowed for LEDs (used for illumination) to be turned on and off.

USAR

We controlled the robot over a bluetooth link via joystick.  It turns out that the NXT brick times out after 15 min no activity and that an open bluetooth does not count as activity.

In short, this project ruined my childhood and made me hate LEGOs.  The constraints of the project made it very difficult to build an effective robot.  However, a simple combination of wheels and treads let a build a robot to fit the constraints.

Ornithopter Project


As part of a class project, for Micro/Nano Robotics, we’re building an ornithoper.  The above video shows an example of the flapping mechanism.
For this project we will be building an ornithopter that uses passive wing pitching to increase the amount of total lift.  As the video shows, the flapping mechanism is complete.  The wings should be built within the next few days.

Stairbot Tests

We’ve mounted Stairbot in a hanging position so we could perform some testing on its legs.    We’ve discovered some issues with our servos, and we keep blowing some of them up.  We’re not sure if it’s an issue with the design, or if the servos are bad.

A video of the legs cycling through some motions:

We also have some pictures of the hanging setup:

DSCF0780 DSCF0779 DSCF0782

Stairbot: 1 Leg complete

Friday afternoon we were able to complete the first of four legs of Stairbot.  We were hoping to complete more than that, but, we currently only have enough servos for one leg and we’re waiting on the rest to arrive.  However, in the meantime, we will work on being able to control this one leg so when we add more, it will be easy to develop gaits.    To control Stairbot, we’re going to be tethering an Arduino to a computer for extra computational power,  to allow us to perform inverse kinematic calculations.

More updates to follow as more parts come in.

Mobot 2010: Build Complete

Mobot 2010

My Mobot for the 2010 Mobot race has finally been completed.  I have tested it electrically, so I know that part works (all of the sensors!).  I’m working on writing code for the race (just over a week away!).  I’ll add more pictures and talk about progress as it’s made.  Hopefully I’ll get some video of it in action!

Stairbot Update

Stairbot Render

Stairbot is getting closer and closer to completion.  The above render is what the final version should look like.  We’ve decided to laser cut a lot of acrylic to build most of the leg and body structure.

We’ve ordered all of our electronics, and we should be receiving them soon.  Then we can start actually programming and getting gaits set up.  Our goal is to have the construction mostly completed by the end of the month, and start working on some basic motion control.

Below are some images from the build process.

Parts Shoulder Joint Shoulder Joint Parts