1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Stonehenge 3: A fast, precise robot arm

Discussion specific to projects ideas and support.

Stonehenge 3: A fast, precise robot arm

Postby rghansen » 12 Oct 2010, 18:14

I'm still surprised at how few people have tried to build Philo's stonehenge project which can be found at http://mindstorms.lego.com/en-us/support/buildinginstructions/8547/Bonus%20Model%204.aspx.

Building it was not only a real learning experience, but also a lot of fun. It's also kept me very busy improving on it and learning even more about making better robots.

In addition to making the arm faster and more precise, I've also greatly improved my sorting algorithm. Although I've also improved my video
, I'm still a better engineer than a film maker.
rghansen
 
Posts: 67
Joined: 12 Oct 2010, 17:44

Re: Stonehenge 3: A fast, precise robot arm

Postby dudmaster » 12 Oct 2010, 21:18

Very nice! ;)
2Labz.com, My Website
User avatar
dudmaster
 
Posts: 171
Joined: 06 Oct 2010, 02:38
Location: Texas, Santa Fe

Re: Stonehenge 3: A fast, precise robot arm

Postby philoo » 13 Oct 2010, 07:07

Excellent, Ron!
Any chance you share your code and/or photos of your improvements? I see that you light shielded the colors sensor - which is a good idea, it's clearly one weak point of my design...
Philo
User avatar
philoo
 
Posts: 76
Joined: 29 Sep 2010, 09:04
Location: Paris, France

Re: Stonehenge 3: A fast, precise robot arm

Postby rghansen » 13 Oct 2010, 19:18

Philo, thanks for the complement, coming from a man of your caliber, that's a real complement. But the easiest way to look good is to improve something that's already excellent.

I'll happily post the source code, but I'm too much of a newbee to know how to do it properly. At 1500 lines, it seems a bit long to just drop it into the middle of a forum.

Most of the hardware changes that I made where minor, and most of them probably weren't necessary. But I'll take some close up photos and post them on the weekend.
rghansen
 
Posts: 67
Joined: 12 Oct 2010, 17:44

Re: Stonehenge 3: A fast, precise robot arm

Postby rghansen » 13 Oct 2010, 19:28

dudmaster wrote:Very nice! ;)



You're only 11!?!? You're going to be awesome before you become old enough to drink. (And then it goes down hill from there).

In any case, thanks for the complement.
rghansen
 
Posts: 67
Joined: 12 Oct 2010, 17:44

Re: Stonehenge 3: A fast, precise robot arm

Postby mightor » 14 Oct 2010, 05:33

rghansen wrote:I'll happily post the source code, but I'm too much of a newbee to know how to do it properly. At 1500 lines, it seems a bit long to just drop it into the middle of a forum.

Just attach the source code file to a post. As long as it's less than 5MB, you should be fine :)

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
User avatar
mightor
Site Admin
 
Posts: 1060
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands

Re: Stonehenge 3: A fast, precise robot arm

Postby rghansen » 14 Oct 2010, 19:07

mightor wrote:
rghansen wrote:I'll happily post the source code, but I'm too much of a newbee to know how to do it properly. At 1500 lines, it seems a bit long to just drop it into the middle of a forum.

Just attach the source code file to a post. As long as it's less than 5MB, you should be fine :)

- Xander


I tried to attach the source file, but was told that "The extension nxc is not allowed". Maybe I should stick with programming robots.
rghansen
 
Posts: 67
Joined: 12 Oct 2010, 17:44

Re: Stonehenge 3: A fast, precise robot arm

Postby mightor » 14 Oct 2010, 19:54

Throw it in a zip file and you'll be fine :)

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
User avatar
mightor
Site Admin
 
Posts: 1060
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands

Re: Stonehenge 3: A fast, precise robot arm

Postby rghansen » 16 Oct 2010, 07:25

Thanks for the tip.

And now for the usual disclaimer:

This code is not as clean as I'd like it to be.

It's not as well documented as it should be.

But anyone is free to use any or all of it.

I'm willing to answer any questions anyone may have.

Hansen's first law of software applies (There are only two kinds of software: improvable or beyond redemption)
Attachments
theSource.zip
(7.6 KiB) Downloaded 73 times
rghansen
 
Posts: 67
Joined: 12 Oct 2010, 17:44

Re: Stonehenge 3: A fast, precise robot arm

Postby rbnnxt » 16 Oct 2010, 13:04

I've built up the stonehenge model and modified it as best I can from your video (any chance of the photos showing changes?) In particular I've altered the grabber motor drive, the ball chute at the bottom end and the screening round the colour sensor. I've downloaded and compiled the program, and it runs with the following sequence.
The grab closes
The arm raises
The arm rotates to the zero position
the arm rotates until over the bottom of the chute
the arm lowers and stop clear of the chute
the grab opens
the arm raises
the arm lowers a tiny bit
then the program stops

I seen there is a simulation mode, but this needs the file nxc.h to compile which is not present.
Any ideas as to where I go from here?
rbnnxt
 
Posts: 19
Joined: 06 Oct 2010, 19:08

Next

Return to Mindstorms Projects

Who is online

Users browsing this forum: No registered users and 0 guests