Showing posts with label robotics. Show all posts
Showing posts with label robotics. Show all posts

Friday, June 1, 2012

NXT Programs - Lego Mindstorms NXT 2.0 Robotics Development

Lego NXT

Lego Robotics (Mindstorms NXT 2.0) have been around since 08/01/2009 and were quite the improvement over the original Lego Mindstorms NXT program released in '06. Users are able to come up with some incredible creations that perform real and useful tasks. These tasks can include driving around, launching things, playing sports, solving puzzle, and a whole lot more. Because of the more powerful Intelligent Brick from Lego that has 3 motor inputs and 4 sensor inputs, a lot more capabilities were unlocked and the possibilities are infinite! Check out Lego's official website here.

Lego Mindstorms For Students and Hardcore Robotics Fanatics

Some of the robots that have been built using the Lego Mindstorms NXT 2.0 platform have taken the entire world by storm. It's not just children playing with the building brick style toys anymore. Many adults have become actively involved and addicted to this awesome robotics program from Lego. High schools and universities the world over have adopted this creative platform to enhance technical education and stimulate young imaginations.

There are people that have taken this to the extreme. Serious robotics developers have taken the Lego Mindstorms platform to a whole new level and integrated it with professional style electronics instead of using NXT programs. Rather than using the novice-style intelligent Brick from Lego for NXT programming, they have integrated better, faster, and more complex microcontroller chips into the mix. The ATMEL AVR chip is a more complex microcontroller that can be used in a myriad of applications. They are used in everyday electronics and products that are sold around the globe. Some microwaves, keyboards, vacuum cleaners, televisions, and other consumer products utilize this powerful chip. In the video below, you will see that it has even been used to create a full autonomous Lego robot. The robot represents the the Dreadnought from Dawn of War.

This is just one example of the many impressive Lego Mindstorms NXT 2.0 builds users have already created. Although most use the Intelligent Brick, it is possible to use more advanced control methods to make your robots complete more complex tasks. The vast array of Lego sensors, actuators, and easy-assembly building blocks that come in the Mindstorms NXT 2.0 kit can be integrated with more than just the Intelligent Brick.

Creating NXT Programs

For those who are not so advanced as to create things like that seen in the video above, utilizing the Lego Mindstorms Intelligent Brick is absolutely a viable option to engineer some amazing and imaginative bots. Kits start at a little over $300, but they include everything needed for a beginner. Right out of the box, users can begin to build beautiful mechanical designs and then hook them up to their computer to program them. Programming the NXT Intelligent Brick can be done a variety of different ways. There are tons of different programming languages one can use, but for novices, it is recommended they use the basic, graphical programming language. All of the software for the graphical programming IDE (Integrated Development Environment) are provided in the kit, and it is literally a drag-and-drop method to create NXT programs. It is called the NXT-G programming language and is a great way to learn how to program (even for absolute beginners)!

For more information on NXT programs and the different APIs (Application Programming Interface) available to make NXT robots autonomous, there are many sites on the web that have tutorials on each of the programming languages that are compatible with the Lego Intelligent Brick. Again, NXT programming can be done various ways with the Intelligent Brick, but it can also be done with other electronics and microntrollers, such as the AVR, 8051, Arduino (AVR-based chip), and others, to make them even more powerful. What NXT programs will you create?

Sunday, March 4, 2012

Arduino Code for Ball Bot - FREE, FULLY WORKING BALLBOT CODE

Arduino Code for Ball Bot - FREE, FULLY WORKING BALLBOT CODE Hey guys!
Sorry it took me so long to find the Ball-Bot Arduino code and upload it. Finally, I have placed the zip file and the individual .pde files on dropbox.com. Please refer to the earlier blog for dropbox.com account access below. You do not have to install DropBox. You can just go to DropBox.com You will also find our final research documentation there. The research paper (PDF) is full of figures & diagrams, theoretical/mathematical proofs, trade studies & verification of approaches, and everything related to the final product that is the Ball-Bot.



You will find the latest version of our Arduino code that runs on the Arduino MEGA 2560. You can run this code on any Arduino, but you may have to change some of the pin configurations in the code. This code includes the PID controller and noise filtering algorithm. The code is of course designed for our unique Ball-Bot. However, this code was written as a non-linear, advanced, control system, and it should work for any Ball-Bot project of any size with very minor modifications.



The Arduino is a great way to build a custom ball-bot (or any hobby robot), but for something more simple and quicker, check out Lego Mindstorms NXT Robots.

Friday, February 10, 2012

Senior Design Project Ideas



As a robotics engineering student at Southern Polytechnic State University, I know the stress and challenges presented when the time has come to do your senior design (or Capstone) project. I felt the necessity to share my senior design project with fellow engineering students across the world looking for inspiration or ideas for their project. The Ball-Bot project, which will be explained in detail, was quite an ambitious project for a group of undergraduate engineering students, but the pride and positive feedback certainly paid off.

First of all, one should click here to see a YouTube video of our Ball-Bot. This will immediately give you an idea of what it is and all the multidisciplinary engineering challenges that it presents for engineering students. As seen in the video, a Ball-Bot is a robot (fully autonomous) that balances on a ball. In our case, it was a vertical aluminum structure approximately 3' tall and balanced on a basketball. Our system used four motors independently controlling four omni-directional wheels that rolled the ball in the direction of the tilt angle. The tilt angle refers to the angle of the superstructure (aluminum frame) that sits atop the basketball. We used an Arduino MEGA 2560 and an on-board MicroITX computer for the brains of the whole system. An IDG500 gyroscope and ADXL345 accelerometer were used to take inertial measurements and determine the three-dimensional orientation of the robot in real time. An inverted spherical pendulum best describes the kinematics of the system. If you decide to build a Ball-Bot, make sure that you understand the difficulties and investments associated with a project of this scale.

To give credit where credit is due, I would like to introduce our group that completed the Ball-Bot project for our mechatronics engineering senior design project at Southern Polytechnic State University. Brian Kosoris was the group leader, Yuriy Psarev was the mechanical engineer, Bahati Gitego was the control systems engineer, and myself, Jeroen Waning, was the electrical engineer and programmer. In reality we all worked very hard together and each worked on all aspects of the build.





I will be more than happy to share the final paper and all of our research freely. I am working on getting a website online, but in the meantime I will provide it to anyone via email requests: jeroenwaning@gmail.com.


Thanks for reading!

Also, please check out my other YouTube videos. Thanks!Jeroen Waning - Find me on Bloggers.com