My first assembled 'bot

Finally, my first robot.

I believe I should clarify a couple things. First, build time was not me sitting down and building it beginning to end. I had spare time over a few days that allowed me to assemble it. Some build updates from Chris the Carpenter helped make the "finished" article a bit easier to assemble.

Finally, and most importantly, build time does not include programming time. For as smart as the crew here thinks I am, I can manage some MAJOR bone headed moves. Right off the bat, I managed to forget to set the OUTPUT pins to, oh, I don't know, OUTPUT? It is amazing that motors will move when you tell them to when the proper pins are set the correct way. WooHoo! It moves! It doesn't avoid a damn thing, but, it does move.

Time to go back over the code. What is going on? I add some Serial.print() lines to the code to get some feedback. The numbers I am getting aren't what one would call stable, but, I figured it must be right. Fight with it for an evening, and, give in.

Weeks go by. I finally decide it is time to make the bugger work. I go back over the code. I even look at the IR LEDs with my phone camera. *Ding* There is no light?!? Next, I look at where the TRIGGER pin is plugged in, and, back to the code. Doh! code says IRTRIGGER = 0. Trigger wire is plugged into D13; also the pin that controls the onboard LED. I move the trigger wire to D12, and, change the code to reflect that change. Yes! I am seeing the LEDs flash. I am also getting real solid numbers(300 - 3000) being returned from my sensor now. I am sure that, if I had watched CtC's video, I would have realized something was wrong. Oh well, live and learn. :D Now, it moves, and, avoids. It still doesn't travel in a straight-ish line, but, it does avoid, mostly. :) My code is bare bones with respect to what it senses, and, how it reacts. Currently, my code only looks at the reading from the Center sensor, and, if it is too close, it simply backs up, turns a bit, and, takes off again.

 

Obstacle avoidance

  • Actuators / output devices: Gutted 9g servos
  • CPU: ATMega8 16Mhz
  • Power source: 4 AA batteries
  • Programming language: Arduino
  • Sensors / input devices: IR LEDs, and, IR Phototransistors
  • Target environment: indoor

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/my-first-assembled-bot

OMG OMG

FIRST!

I was expecting a background

I was expecting a background music like “The very first time” :stuck_out_tongue:

Well I’d heard some utterances in the SB

The anticipation of this event has to almost rival the awaited delivery of the next LMR. Great stuff Birdmun, hopefully an inspiration to other procrastinators out there, myself included.
Now how long before we see another one?
Also congratulations to Chris for giving you a push along with the generous donation.

Re: background music

That would have run way too long. :smiley:

If I can focus, and, motivate?

A few months? Considering I started that with If, I will lean more toward a number of months. I have all manner of irons in the fire. Maybe I can share some info from one of those irons, when they really flesh out.

And, yes, many thanks to CtC.

Finally…the first one!!!

Finally…the first one!!!

WooHoo! \o/

Looks great. I really like the “SOS” blink when the batteries are low. Now it needs a sibling? :stuck_out_tongue:

This is…

This is the greatest post ever, here at LMR, and always will be.

Congrats, dude.

Yes…Hundred

Yes…Hundred percent true !!!

AWWWWW YEAH

Congrats birdmun, you finally scaled that wall.
Welcome to the land of the roboteers!

Seriously though, getting that first robot across the finish line is a great accomplishment and I hope looking back on it will motivate you - if not for the next robot then for another project =)

Wooohooo!

An LMR icon finally breaks his robot cherry.

 

So what are you making next?

Well, it was about time that

Well, it was about time that you come up with something. And I am probably the last to congrats you :frowning:

Great job bird, as I always said…you need to build one. You are the icon of LMR, if everybody is asleep, bird is in the SB, whenever (and wer daytime)  I checked the LMR page bird was there. Well done buddy, i am looking forward to the second one :slight_smile:


hey birdmun that was a nice

hey birdmun that was a nice try , i mean better than mine .if i too had material then probably i too would have made 1

 

Good job!

First of anything is never easy but you’ve done it. Congratulations!

A great achievment birdmun!

A great achievment birdmun! The devil is in the detail but most of the pain come in the first robot so its easy sailing from now on in :slight_smile:

yeah right.