I'd Rather Be Building Robots

February 8, 2010

FLL Benelux Finals

Filed under: Ramblings — Xander @ 23:43

As Martijn already reported on The NXT Step, the FLL Benelux finals were held in Arnhem, the Netherlands last Saturday.  Laurens, Martijn and I were there to demo Lego Mindstorms.

Laurens had built a very cool segway robot that could be remote controlled.  I had built the new Wall Following robot from the HiTechnic website.  It uses the HT EOPD and Lego Ultrasonic sensors to keep the same distance to the wall at all times.  It’s a great little robot based on a really easy to build but versatile base, all designed by Gus Jansson.  The thing I liked most about this model that during the 7 hours I had it running at the show, it never once strayed from the wall.

I took some pictures of the stands that a couple of the FLL teams had.  Some were very colourful and elaborate, others were much simpler.  It looked like most of the kids had a lot of fun, though.

CIMG0268 CIMG0269 CIMG0270 CIMG0271 CIMG0272 CIMG0274 CIMG0275 CIMG0276 CIMG0279 CIMG0280 CIMG0281 CIMG0282

Congratulations to all the winners. I can’t wait for next year’s competitions!

February 2, 2010

And the winners are…

Filed under: Ramblings — Xander @ 20:42

After much deliberation between me, myself and I, we’ve picked 4 winners; they are:

  • Pretzel (Tammy)
  • Crud (Merijn)
  • Asimov (Sidneys1)
  • Untitled (NickNackGus)

As they say in the gaming world, screenshots or it never happened, so here are pictures of the four bricks with their new names:

Pretzel Untitled Crud
Pretzel Untitled Crud

 

Asimov

Asimov

To everyone whose suggestions were not picked, thanks for taking part anyway! To the winners, you can now tell all your friends that you came up with a name for an NXT brick for me.  Even though they’ll have no idea who you are talking about. Hopefully there will be more bricks in the future that need names.

All pictures were taken by Tammy.

January 27, 2010

Name that brick…

Filed under: Ramblings — Xander @ 17:08

What's my name? I have a problem.  It’s not life threatening, but important none the less.  I am need of no less than 4 names for my NXT bricks.  Do you think you could come up with a cool name that is no more than 8 characters long?  I will pick the 4 best one and you’ll have the dubious honour of having a brick named after something you came up with!  A win-win situation, if you ask me!

One of the bricks a little bit damaged, it has a broken screen, so perhaps try and think of a name that would reflect that; Quasimodo is too long, I’m afraid.  So let your imagination run wild.  Post your names in the comments below.  I will accept names for nomination until Tuesday 2 February  20:00 Central European Time (CET).

Pictures of the bricks with the names on them in nice black lettering will be shows in a post in the days after that. Here’s a picture of one my bricks named “Pepper” [LINK], so you can get an idea of what it’ll look like.

January 24, 2010

And so it begins…

Filed under: Ramblings, Sensors — Xander @ 19:49

The programming of the NXTCam-V3 has begun in earnest now. AndyM has set up the Source Forge project and the first couple of developers (including yours truly) have been added.  It’s been set up so that each developer has his/her own branch of the source code to play with.  This way we shouldn’t be able to get in each other’s way.

If you’d like to take a look and see what we’re up to, check out the Trac page for the project and hit the “Browse Source” link.

January 19, 2010

A New Toy – Mindsensors NXTCam V3

Filed under: Ramblings, Sensors — Xander @ 13:26

Mindsensors NXTCam V3 My new toy arrived this morning.  It’s a beta version of the Mindsensors NXTCam v3.  This one is able to be reprogrammed by the user via USB, so you can tweak the way it handles all the visual information before sending it to the NXT.  Rather than relying on the standard firmware, you can now create your own.  I have some cunning plans for this little thing.  I can’t wait!

Below are some more pictures.  Click on them for a larger version. I will post more information about the camera when I start playing with it.

 

Mindsensors NXTCam V3 Mindsensors NXTCam V3 Mindsensors NXTCam V3

January 17, 2010

It’s alive!!! It’s alive!!!

Filed under: Ramblings, Robots — Xander @ 22:49

dr-frank.jpg (393×315)After weeks of programming, I can finally say that the robot arm is done!  it moves quite  nicely, albeit a little slow. All in all, I am quite pleased with the final result.  The whole thing was programmed in ROBOTC 2.x.

After a weekend of programming and fiddling, it has now become an integral part of the Lego High Bay Storage project.

You can watch the move below.  I hope you enjoy it!

A picture and a video of the High Bay Storage System can be found in my previous article.

Now I need to find a new project to work on!

January 7, 2010

Current project: giant robot arm

Filed under: Ramblings, Robots — Xander @ 08:17

At the last Lego World in Zwolle, a very large High Bay Storage system was demoed.  Unfortunately, due to time constraints, certain parts of it hadn’t been completely finished yet.  I was lucky enough to be able to get involved with this amazing project and was given the responsibility of programming one of the many robots in it.

Xander playing with Lego 

This picture was taken last Sunday in the empty office building where the guys (Martijn, Gerrit and Eric) are working on putting the finishing touches on the High Bay Storage.

Some stats of this robot:

  • It has two NXTs that communicate with RS485
  • Programmed in ROBOTC 2.x
  • 4 NXT motors
  • 2 PF motors
  • 5 Degrees of Freedom (DOF)
  • Requires two moving boxes to be transported; the base can be separated from the robot itself.

I didn’t build this robot, that honour goes to Gerrit and Eric, I was merely adding some extra bits to it to strengthen the vertical part that comes up from the base and redesigning the gearing on the claw.

If you read the NXT Step then you will have seen this picture and perhaps the video as well, but I’ve added them so you can get an idea of the size of the whole thing.  Makes the arm above look dwarfed, wouldn’t you say?

High Bay Storage

There are an estimated 400,000 Lego parts in this thing, that includes around 28 NXTs.  No, you may not know the address where this thing is currently being worked on. We have snipers deployed on nearby roof tops to keep intruders out.

Joe Meno made an awesome video of the High Bay at the Lego World in Zwolle, you can watch it below.  Enjoy!

Leg godt!

December 24, 2009

Merry Christmas!!!

Filed under: Ramblings — Xander @ 22:16

Merry Christmas

Merry Christmas to one and all!  I hope you have a great time with your family and friends.  May all your gifts be Lego! (Perhaps some socks as well, they’re always handy)

Mindstorms Power Scope

Filed under: Experiments, RobotC Drivers, Sensors — Xander @ 15:32

Mindsensors Power Meter

Mindsensors was kind of enough to send me one of their prototype sensors, the Power Meter, to play with.  It’s a sensor that allows you to measure, among other things, the current and voltage of anything you care to connect to it (within limits, of course). 

The first thing that came to mind was building something that would log the incoming data to an Excel sheet using the NXT HID, but then Andy M scooped me on that so I had to come up with something else (damn you, Andy!).  Then it hit me!  Why not make an oscilloscope? So without further ado I started programming. This is what I came up with.

The result is quite nice, I must say.  Right now it takes a sample every couple of milliseconds and refreshes the screen every 20 milliseconds.  There are five scales for each unit (amps and volts), to cover the full range of the sensor (up to 13V5 and up to 3A).  You can switch between ranges using the arrow keys and between units using the enter key.  This program, together with the driver will be available with the next release of the 3rd Party Driver Suite.

Things I’d like to implement at some point is data recording, zooming and manual scrolling of the screen.  I had the manual scrolling implemented at one point but ditched it for the cardiogram-look instead.

Another cool project using the Power Meter sensor can be found here: [LINK].

December 20, 2009

Power Programming – Robotics in C

Filed under: Book Reviews, NXC — Xander @ 17:17
Tags: , ,

Power Programming - Robotics in C I received my copy of John Hansen’s “Power Programming – Robotics in C”, second edition, a few weeks ago and I’ve read the whole thing. It’s a big book, a little over 540 pages, so it took me some time. 

One of the coolest thing I like about this book is that almost all of the models can be built with either the NXT 1.0 and the NXT 2.0 kit.  The only exception is the large robot arm at the end of the book.  However, a detailed list of additional parts that you need is available, including some parts that may be substituted.  I am sure that a skilled Lego builder would have no problems making a modified version of this arm.  Another nice touch is that all the currently supported platforms (Windows, Linux and OSX) are discussed and instructions on how to set up and program your robot are available for all three OSes.

Synopsis

Section I of the the book starts off gently, with a small introduction and a quickstart.  Chapters 2 and 3 discuss the hardware of the NXT such as the processor, and the way the brick can communicate with the world around it.  The motors and the standard sensors are discussed, how they work and how the brick can use them to gather information from them.  Chapter 3 briefly describes the function of the NXT’s firmware and how to interact with it through the menu.

Chapter 4 is a great help for people new to Technic Lego, also those who are migrating from the RCX platform and are not familiar with studless building techniques. There is a comprehensive list of the various Technic Lego pieces that come with the 1.0 and 2.0 kits as well as some additional ones, complete with their Peeron name!

Chapters 5 and 6 describe in great detail all the various aspects and workings of the BrixCC programming environment and the multitude of utilities that come with it.  Everything you ever wanted to know and more!  I’ve used BrixCC quite a bit in the past but I’ve also learned quite a few new handy tricks from these chapters.  Definitely don’t skim or skip over these chapters, no matter how familiar you may think you are with BrixCC.

Chapters 7 and 8 introduce you to the actual programming languages with which you can instruct your NXT.  What I thought was very cool was that not just NXC and NBC are discussed but also RICScript, a very nice language for drawing anything you like on the NXT’s screen.  RICScript programs can be embedded in your NXC programs with great ease and their contents displayed. Chapter 7 highlights the various programming concepts you’ll need to make your NXC programs.  The differences and similarities between NXC and its predecessor NQC are also outlined, another example of this book’s usefulness for those migrating from the RCX platform.  Chapter 8 is great for the hardcore programmer.  It covers advanced programming techniques using assembly (NBC).

Section II is where you will start doing some actual robot building and hone your programming skills.  In Chapter 9 you build the basic robot that you expand on in the following chapters.  Clear instructions with pictures tell you how to build it. 

Chapter 10 deals with the NXT’s basic outputs.  You add some extra bits to your robot and then it dives into some examples of programs that allow you to move the motors, make sounds and put stuff on the LCD screen using NXC and also NBC.  Chapter 11 is like 10 only this time it deals with all the basic inputs such as the sensors that come with your NXT kit.

Chapters 12 and 13 pick up where the previous chapters left off.  The inputs and outputs of the NXT are discussed in great detail.  The reading and writing of files, various 3rd party sensors and how to communicate with BlueTooth. Even how to talk to your own home made sensor via I2C is explained. 

In chapter 14 you get to make two cool games on your NXT, namely Tic-Tac-Toe and Pong.  A friend of mine made the Pong game into a small console-like setup which is one of the most popular models at Mindstorms demonstrations.

People with two NXT bricks will love the project in chapter 15; you get to build a remote control for the robot you built earlier.  It uses a feature called Direct Commands to control the robot via BlueTooth. 

The final project in chapter 16, the big robot arm, is by far the coolest and most bad-ass looking project in the book. Here you will learn about a very cool technique called Inverse Kinetics (IK) to control your robot’s movements. IK is also use in industrial robots to precisely calculate and control their movements. 

Conclusion

This is a great book and even if you’ve already been using NXC for a while, there is still a lot this book can teach you.  The projects are fun to do and look great.  If you’ve been using NXT-G for a while and are ready to take your programming skills to the next level, you’ll love the in-depth explanations of the various NXC language features.  If you’re a hard-core NXC programmer and want to optimise your robots with snippets of ASM (NBC), this book will show you how.

Next Page »

Blog at WordPress.com.