Gizmo your first steampunk robot

Dear: LMR

Just to let you know I have been developing for the past month a steampunk robot. I have finished the mechanical and moving onto electrical and software. I am using arduino uno and arduino and the following materials.

List of materials.

  • 2 * Red LED
  • 3 * Green LED
  • 1 * 9" by 9" cardboard sheet.
  • 1 * 3" by 3" cardboard sheet.
  • Lots of gears.
  • Lots of bolts and nuts.
  • Tape

So wish me good luck and enjoy the video.

*****UPDATE 4/18/2015*****

Dear: LMR

You should know my progress is coming along fine. Just to let you know I am very sorry it took me so long to get as far as I did. In my defense this is my first robot and I ran into a lot of problems sourcing parts, building the robot, and remaining on task and for that I hope you don't hold against me for that. Anyways I finished the code and some of the electronics. The only problem is I am running into power issues which I am sure I can figure out. Enjoy!!!

From: Noah

#include <Servo.h>

#include <IRremote.h>

int IRpin = A0;

IRrecv irrecv(IRpin);

decode_results results;

 

Servo myServoLeft;

Servo myServoRight;

void setup() {

  // put your setup code here, to run once:

  Serial.begin(9600);

  Serial.println("IR Results");

  irrecv.enableIRIn();

}

 

void loop() {

  // put your main code here, to run repeatedly:

  if (irrecv.decode(&results))

  {

    translateIR();

    Serial.println(results.value, DEC);

    irrecv.resume();

  }

}

void translateIR()

{

  switch (results.value)

  {

 

    case 3459683302:

      Serial.println("Robot Pause");

      RobotStop(true,true);

      break;

    case 1400905448:

      Serial.println("Robot Move Right");

      RobotMove(180,180);

      break;

    case 3305092678:

      Serial.println("Robot Move Backwards");

      RobotMove(0, 180);

      break;

    case 1972149634:

      Serial.println("Robot Move Left");

      RobotMove(0,0);

      break;

    case 3261853764:

      Serial.println("Robot Move Forward");

      RobotMove(180,0);

      break;

  }

}

void RobotMove(int directionRight, int directionLeft)

{

  if (!myServoLeft.attached())

  {

    myServoLeft.attach(12);

  }

  if (!myServoRight.attached())

  {

    myServoRight.attach(13);

  }

  myServoLeft.write(directionLeft);

  myServoRight.write(directionRight);

}

void RobotStop(bool rightServoAttached, bool leftServoAttached)

{

  if (myServoLeft.attached() && leftServoAttached == true)

  {

    myServoLeft.detach();

  }

  if (myServoRight.attached() && rightServoAttached == true)

  {

    myServoRight.detach();

  }

}

Looks cool and is RC!!!


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/gizmo-your-first-steampunk-robot

I’m also looking forward to
I’m also looking forward to seeing Gizmo function.

Are you planning on any sensors?

Even a couple of whisker switches in the front can be useful to stop it before it hurts itself.

My first robot had two whisker switches or maybe one bumper switch, I can’t remember, and the single program (in psuedo code):

  1. Go forward at max speed until one of the switches is activated
  2. Turn clockwise or counterclockwise (90-720 degrees)
  3. If any switch is activated go to 2 else go to 1

It was hilarious, sort of like an overactive puppy on crack (never tired this on real puppy; like them too much).

Puppies have enough sensors
Puppies have enough sensors of their own. Though it takes a while for their internal programming to get them all working together.

Sometimes it feels like they

Sometimes it feels like they don’t have enough internal sensors and they could use an Arduino Ping or two. You should know I have a puppy of my own his name is Frankie and he is insane about what is food what is not. I know he is going to grow out of it eventually but I am still mad about him eating my 5 of my capacitors. Since then I have learnt to be careful about what I leave to his reach and what is on the floor. If I leave something too close to the floor or on it he will devour it. LOL

Really like how the

Really like how the steampunk effect turned out! You should check out Crabfu’s steampunk robotson youtube…he’s built some pretty badass steampunk robots.

Cheers!

Whoa man very cool. I don’t

Whoa man very cool. I don’t think I have heard of crabfu untill now. I wish I could be more like him. Do you think I can do it. Honestly I am on a great start. Thanks!!!

There you go. You see, a

There you go. You see, a video is more than 1000 written words. Very cool robot.I like the design and now I am waiting to see that little Steampunk beast moving. Just put the UNO and sensor in and let him run :slight_smile:

Wow another complement.

Wow another complement. Thank you first of all. You should know that my programming is almost done but unfortunately I am running into some errors with my internet so I havn’t been able to ask nearly as many questions as I have been intending. Also you should know that right now I am running into some electrical errors I have an idea how to solve it but it’s going to wait a few days to solve it. Thank you…

Nice robot

That’s a cool robot noah :slight_smile:

From

Dev

OMG thank you!!!

Dear: Deviated Dude

I know not to many LMR members care about my robot but anyways thank you. I am still working on getting a new power supply but anyways.

From: Noah

The steampunk effect has

The steampunk effect has indeed turned out incredibly well. I would love to see Gizmo in action, with all the gears turning and whizzing. Looking forward to it! Nice job!

Thank you. Did you see my forum topic?

Hi rpopeye thank you for the compliment. Did you see my forum topic about making robots steampunk? You should give it a try.

yes gizmo will be awesome,

yes gizmo will be awesome, I’m waiting for gizmo ! hopefully you can send me one of your gizmo ! I love steampunk robots !

will you send me one of your gizmo ?

Maybe lol! Depends on what happens next. Been thinking about a Mk2. Just not sure where to begin lol. Thanks!