AnyWay -- Build a Segway in 30 minutes

Last Saturday, I blogged about a Segway programmed in NXT-G. Many NXT Segways out there work very well, but they're hard to get to work with common tools software. Therefore, I decided to create a step-by-step tutorial to making your own Segway with simple tools. All you need is Any version of the NXT set (Hence AnyWay), plus the HiTechnic Gyro Sensor. The tutorial can be found here, and a video of the robot is shown below.

Comments

gloomyandy said…
Hi, very nice. Is the "source" for the program also available?
Laurens Valk said…
Andy,

It is not at this point. I wanted to avoid problems with compiling (broken My Blocks, etc)

Also, it wouldn't compile in NXT-G versions 1.x.

Maybe I'll publish the source later.
Laurens
Laurens Valk said…
Oh, and thanks Chris!
that is very smooth for being nxt-g brilliant brilliant robot. How many blocks are in this robot?
gloomyandy said…
Hi Laurens,
Thanks for getting back. I'd be interested to see how complex things ended up with your control code. Perhaps you could publish some sort of pseudo code for it (which would be easier to read...). I built my own version of this along with a PID loop etc, in Java (leJOS), but never really got the movement part working very well. So great job...
Laurens Valk said…
Mega,

Sorry, I didn't plan on counting the number of blocks I used :-)
My favourite code in C translated to NXT-G blocks is:

i++;

I just love how many NXT-G blocks you need for this :)

Andy,

I made the original code in RobotC for the school project, and this was much like a 1:1 translation to NXT-G to make it all a bit more accessible for the public.

Perhaps publishing the RobotC code could be helpful, though I need to clean it up.

I'm not going to have much time in the near future however (on vacation!). But if you have any specific questions, please do email me.

Laurens
Humm... i really should get this sensor and after seeing what you did with it in NXT-G, I'm even more tempted :)

Also, your video is featured on MAKE:Online along with a very nice write up. Congrats!!
Laurens Valk said…
Marc,
Thanks for bringing that to my attention. I did not see that.
Laurens
Unknown said…
What type of controller does this robot use? PID perhaps?

Popular Posts