Let's Make Robots!

Chopstick Junior 1.0

walking straight forward, turn left & right, backwards. Avoiding obstacles with the Sharp IR sensor, beconing, laying down, getting up, glowing blue
AttachmentSize
chopstick_junior_1_0_3.pde9.73 KB
chopstick_junior_1_0_6_up.pde12.87 KB

It's been to long that I submitted something here. Now I got my new workplace in our new home...nothing fancy but mine ;-) There is still a lot of things to improve (a rack on the backside, better power supply etc. but I don't want to keep you waiting...you are here to see robots - right?)

UPDATE ON VIDEO: Finally I figured out how to change the aspect ratio. Video is now in 16:9 available ;-)

UPDATE 12.11.11:

- attached a new and more clean PDE file with some comments

- attached new videos

 

UPDATE 17.11.11:

- got the Sharp IR sensor attached. 
- adjusted the code for walking sequences 
- activated the obstacle avoidance function
  (not very promising but I will improve this later)
- attached new code with the Sharp sensor code
  (have to improve this too)
- NO new video since my videocamera is sleeping
  with my sweetheart outside by friends (tomorrow,
  i promise)
UPDATE 18.11.11:
- soldered on/off switch to the board
- uploaded video with obstacle avoidance function enabled 
UPDATE 5.12.11:
- tried some EL wire on him...looks pretty good (have to cut off the cable tie ends tomorrow...
- uploaded 2 fun videos to Youku
UPDATE 6.12.11
- new video available on Youtube 

Just to test the working conditions there I put some parts together and let my idea become true. Inspired by OddBot's amazing Chopsticks I decided to follow his steps but a little bit smaller (since I do not have the 28 servos yet),

So I started cutting, glueing and thinking...

A couple of minutes later the first leg was prepared. Just shortened chopsticks and a piece for between.

Not it's time to build the chassies where all thoise legs should be attached. I got this done by glueing some of "Fritsl Sticks" together...perfect, lightweight and stable.

As it should be just a testing platform for future projects it does not have to look very pretty. My idea is when it's done on the hardware side to cover it with a customized Polymorph case.

This is how I attached the servos to the base. two chopsticks hotglued on the base serve as "brackets" to keep the servos in position.

Ok, i don't want to hotglue everything....so drilling some holes for the servo screws. Tried without but the chopstick was splitting apart.

That worked and i got all 4 hip servos attached to the base, each fixed with two screws on the chopstick. If you watch carefully then you can see that the sticks still being splitted...anyway...not the big deal...hotglue will fix this too...

Ok, the hip servos are attaced, now we need some thighs. Last week i placed an order in taobao (a kind of chinese ebay) to buy sme small things. among these things (solar panels, ball bearings, LiPo bateries etc.) was two pack of those wooden spatulas with which your doctor is checking your throat.(I could not find how Frits'l call them) but I am sure you know what i mean.

Ok, attaching the thights on the hip servos. It's just a shortened wooden spatula with a hotglued servo horn on it.

On the thights I hotglued (yes shame on my but without any brackets I saw no other way to finish this) one micro servo on each for the legs.

The result was this. the base with four attached hip servos. On each hip servo attached a thight with a knee servo for the lower leg.

Well, now it was time to think...what better than a cup of coffee and a yummy cheese cake...i deserved it. (see this cup where the cheese cake is in? Could be used as a robot part as well...)

Now change of location....no pictures from there, the kitchen. Boiling water with some Polymorph inside to make the lower legs. After 20 minutes (yes i know, it could be done much faster and nicer looking...need to exercise this more ;-) )

Now it's time to put the parts together. in the center of the base is the battery holder for 4x AA Eneloop, on the back the Arduino Nano (on a selfmade PCB for easy removing and servo connector attachment. This will be explained in a "Blog" post.) The cables are fixed with cable ties but the tangle is still present...later i need to fix this too...no i do not want to cut them...

Finally the lower legs are attached too. By drilling the holes into the upper part I had to discover that the Polymorph inside was still sticky after 30 minutes. So, if you're working with Polymorph, just give it the time needed to cooling down on the inside as well...

Right now I am upoloading the video but it failed 3 times after 90% :-( so please wait a bit.

UPDATE: Video is online....yeah...but the aspect ratio is wrong :-( damn...

The attached code is the first working attempt to get this guy walking and do some sample moves. It's weird written code without comments...i just atached it to complete the task ;-) Later when i make progress with the different walking pattern I will update the code continuously. After checking code from other LMR geeks I decided to write my own one because I want to understand how the things working. Later I will tweak the code to make nicer and better to read.

What to do next?

1. Program different walking pattern (turn left, right, go backwards, turn on the spot, sit down, stand up, run, walk slow, sleep)

2. Give it eyes (maybe infrared compound eyes) and other sensors like light sensor, sound sensor to achieve a independent behavior

3. Build a shell around to give it a peronal style

4. Special move

UPDATE November 12:

Programming the walking pattern done (so far). He is able to walk forward, turn left, turn right. Then he can standup from lying and lay down again...also doing a special move (see by yourself) I attached a new and more clean PDE file with some mor comments and a new video (also a video on Youku for my Chinese friends)

UPDATE November 16: Last night he got an infrered eye mounted on a servo. The programming was not finished since I also need to sleep ;-) As soon as there are results I will update the code, pictures and video.

UPDATE November 17:

After attaching the IR Sharp sensor I needed the code for the obstacle avoidance. I am not good in programming for the Sharp sensor but i do not want to put a ultrasound sensor on it. Anyway, he is seeing something now and not that helpless anymore ;-)

I also changed the walking pattern, now its lowering the opposite diagonal leg when lifting one leg. Not the walking sequence looks awesome funny....have t change this later again.

Summary:

 

- got the Sharp IR sensor attached. 
- adjusted the code for walking sequences 
- activated the obstacle avoidance function   (not very promising but I will improve this later)
- attached new code with the Sharp sensor code   (have to improve this too)
- NO new video since my videocamera is sleeping with my sweetheart outside by friends (tomorrow, i promise)
Ok, now still some new pictures with the new things attached.

 

Cables, electronics, wooden bars and some plastic...this is Chopstick Junior

Top view. below you still can see the ruler sticked on my table...it's centimeter guys...NOT inch.

Details of the IR sensor. It's sitting on a servo but not intended to move it (yet)...

What a nice ass -) I had to move the MC to the rearside since the servo with the Sharp sensor is sitting in front now. 

Todo next:

- Urgent -> install an ON/OFF switch... it's annoying always to pull the battery out of the holder :-( DONE

- improve the obstacle avoidance function inclusive the walking sequences

UPDATE November 18:

Soldered a switch on the board....much more convenient and captured a video. It' uploading now but freaking slow...

UPDATE 5.12.11:

Uploaded 2 fun videos to Youku after i wired him up with a meter of blue EL wire. See him glowing in TRON style ;-)

UPDATE 6.12.11

Finally I got the upload to youtube done. after 4 failed attempts it's on air now. See what robots like this littel guy are capable of :-)

UPDATE 7.12.11

Chopstick is wired up and running with 130 Volts ;-) Haha, not really but the now attached EL wire needs 130 V power supply. Video is coming soon...

The power converter is sticked under the base...with double sided foam tape

And that is how it looks like when he is moving...ok, long exposure still picture....but looks cool ;-)

I consider Chopstick Junior as DONE now. It will still used as a test platform but there will be no news here anymore. If he gets a brother or even a sister then I will open another project page.

Thanks for watching this little guy...i am glad that he did perform so good....oh yeah, I will still improve te programming.

 

Finally Chopstick Junior will be retired now. After winning the 3rd price in the Campus Party Robot Competition it's time to step back for a while and just having some fun. Probably you will see Chopstick Junior as a model with models later.

Chopstick Junior 3rd price

Here some of the newest pictures of Chopsticks Junior before he go to the hall of fame :-)

Project DONE!!! (However, he might get a better programming when I find time to do that)

Model photo session with Chopstick Junior

 

 

Comment viewing options

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

My own walker! Thank you lumi... check it out here

Ok, thanks for making another one ;-) It seems OddBot's Chopsticks will have a big family.

I will check the video later since I do not have VPN here where I am now. 

I really like the quick confident way this bot moves around, the use of EL wire takes it to another level. Will be much imitated I think.

Thanks. Yeah, the EL wire draws a lot of attention and I am sure there will be more TRON-like bots soon ;-)

 

Are you powering all the electronics with the same 4x eneloop batteries?  (1.2v x 4 = 4.8v) The arduino nano, 9 x servos and IR sensor.

Thats pretty awesome!

Yes i do, no cheating, no hidden power source ;-)

I am running the whole thing with just that 4 AA Eneloop and it's running already a total time of about 1 hour. But I consider to change to 2x LiPo each 3.7V to save some weight. Reduce weight = reduce amount of power needed to move the thing ;-)

You forgot the EL wire... it's powered by the same batteries...but still no idea how long it will last now with this additional power demand.

Thats awesome! I definitely have to make a robot based on this one. This is too cool to ignore. Have you considered using a blackberry cell phone battery? I have used a old phone battery from a blackberry 8220 (BAT-11004-001) for my trackbot's motoros and it worked well. See here... 

I do not have a Blackberry battery but a couple of LiPo's lying around. later I will exchange the heavy 4xAAA with 2x LiPo 3.7V. So it's running on 7.4V then...will see if the servos can handle it.

 

Based on my experience with the Quad Puppy robot I suggest you put a few 3A diodes in series between your battery and servo power rail. Diodes like 1N54001 will handle 3A continuous and drop about 0.7V.

As your LiPo will have 8.4V when fully charged I suggest using 3 diodes in series. If you use 2 diodes you'll get more power but the servos can overheat if the robot runs around too much without a break.

 

P.S. Love the "TRON" video!

Thanks OddBot, I will consider your suggestion. It makes sence since the servos got already warm when walking for 10 minutes without a break under the current power conditions. As I still have space on my Nano board I simply can solder them on the board and hide them under the Arduino Nano.

If I get more time i will add .... but no...will not tell you now...surprise ;-)