Let's Make Robots!

My first Arduino SHR


Hello LMRians. I'm now super exited as most of my robot parts have finally arrived!

These parts are going to be used for my first SHR. The brain, if you would like to know, is an Arduino-based microcontroller.

It is indeed the Ubotino Controller V3 and measures at a mouth-gaping (for me that is) 5 x 5 cm!

This board can be bought by our well known Ro-Bot-X at his online shop : http://robotxdesigns.ca/

Here are some very bad pictures of the parts :

1. Ubotino Controller V3

2. Ubotino (size comparison)

3. Pre-uploaded blink sketch works! It's alive!!!

4. GM9 and wheels. Ooh! Blue!

5.GM9 (size comparison)

6.Sharp GP2Y0A21YK IR sensor. (Afraid to unpack due to fears of ESD)

7.A badly abused parcel. (By me) Ooh... what do you think is inside?

8.Aww... their my first servos. They look so snug as if in their nest.

9.Here they are again. (Better view) I see they have left the nest.

10.What my SHR should look like. (Lol) Looks like a broke down car...

Well, thats all of them. Now all I have to do is wait for tomorrow, when my long-awaited FTDI

cable will arive. Then I can get down to business...

UPDATE (31.10.2011)

Aaron to LMR. Do you copy? The FTDI cable has landed! I repeat, the FTDI cable has landed!

I'm now doing various experiments with my Ubotino aka. Arduino! Look forward to seeing my robot

on the robot list a week or two later!

SHR_code_2_0.pde2.52 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Nice! Hope you get that cable. I ordes too some parts and they will arrive on Wednesday(?).

kudos to you!! i cant wait for your project to finish!

I like your style. You have a bright future in robotics. 

I would not be too afraid about opening the Sharp sensor package.

Thnx for all the good feedback guys!

Looks like my cable didn't arrive on Sunday (today) cuz the post office is always closed on Sundays.

Oh, well, Monday it is, then. 

No sign of cable yet today...(Monday). Maybe i'll have better luck tommorow.


and I noticed only a couple things.

Line 35

could be changed to:

And, you need to adjust some lines.

void ObAv()
  Fdistance = analogRead(IRPin);
  if (Fdistance <= threshold)

should be:

void ObAv()
  Neck.write(PosM); //These two lines need to move here so your neck will be
  delay(sdelay); //centered before you take the forward reading
  Fdistance = analogRead(IRPin);
  if (Fdistance <= threshold) 

Ok, thnx for pointing that out! Updating code...

"4. GM9 and wheels. Ooh! Blue!"

Thnx, lol. I have a slight fondness for blue.

Todays Wednesday and it's a public holiday so...yeah, still no cable. (Sigh) Better luck tommorow, i guess.