Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the titan-security domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/functions.php:6131) in /home1/kennydai/public_html/vesnam/NXTrobot/wp-includes/rest-api/class-wp-rest-server.php on line 1902
{"id":8,"date":"2012-12-13T21:11:40","date_gmt":"2012-12-13T21:11:40","guid":{"rendered":"http:\/\/www.vesnam.com\/NXTrobot\/?page_id=8"},"modified":"2012-12-16T19:25:08","modified_gmt":"2012-12-16T19:25:08","slug":"about-nxt","status":"publish","type":"page","link":"http:\/\/www.vesnam.com\/NXTrobot\/about-nxt\/","title":{"rendered":"About NXT…"},"content":{"rendered":"

I always found the idea about making robots interesting, but I’ve never really thought about doing it until I saw an article about the\u00a0Lego\u00ae Mindstorms\u2122 robot<\/a> in the December (2011) issue of IEEE Spectrum<\/a>. This sounded like a fun thing to have, so I got it.<\/p>\n

The Mindstorms\u2122 box co\"Lego<\/a>mes with 619 building blocks, plus the NXT\u2122 brick (i.e.<\/em>, the micro-computer), servo motors with built-in rotation sensors, and multiple types of sensors (color, touch, and ultrasonic). The box also comes with the NXT-G\u2122 software – a graphical, icon-based drag-and-drop, programming interface, developed in the colaboration with National Instruments (unfortunately, NXT-G\u2122 currently lacks a support for Linux). The NXT-G\u2122 provides intuitive way to program NXT\u2122 and it can be seen as an introduction to NXT\u2122 programming. Nevertheless, this does not mean that NXT-G\u2122 can be used to program only simple activities and, hence, more experienced users may also find it quite useful.<\/p>\n

However, the best thing about the Lego\u00ae Mindstorms\u2122 is\u00a0 that it is not dependent on NXT-G, but allows for many different programming software\/packages to be used for the NXT\u2122 brick programming (here<\/a> is a nice summary). Additionally, users can get\u00a0additional motors, sensors, e.g.<\/em>, sound, compass, or acceleration sensor, and\u00a0 NXT\u2122 bricks. Of course, there is always an option to include and reuse already own Lego block in the robot assembly. Finally, as the NXT\u2122 bricks come with a Bluetooth adapter, all creations can be controlled through a Bluetooth link. All these features give a user a wide range of possibilities for robot designs, as well as a fun way of learning robotics and programming.<\/p>\n

Unfortunately, there are not many on-line resources that provide introductory tutorials for the NXT\u2122 brick programming, especially for people without previous programming experience. Thus, in this blog, I plan to write about how to build a simple robot and how to program it to perform different tasks (using Not eXactly C – NXC – programming language). Since neither the robot assembly nor programming are trivial tasks, I will start with a basics of NXC programming, then demonstrate how to use NXC to get and process inputs from different sensors, how to combine sensors with motors, how to create stable mechanic, and finally how to combine everything in a robot.<\/p>\n

For those who want to learn more, I can recommend the John C. Hansen’s book “Lego\u00ae Mindstorms\u2122 NXT\u2122 Power Programming – Robotics in C.” This book provides lots of examples and references for the NXC API functions.<\/p>\n","protected":false},"excerpt":{"rendered":"

I always found the idea about making robots interesting, but I’ve never really thought about doing it until I saw an article about the\u00a0Lego\u00ae Mindstorms\u2122 robot in the December (2011) issue of IEEE Spectrum. This sounded like a fun thing … Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":14,"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/pages\/8\/revisions"}],"predecessor-version":[{"id":53,"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/pages\/8\/revisions\/53"}],"wp:attachment":[{"href":"http:\/\/www.vesnam.com\/NXTrobot\/wp-json\/wp\/v2\/media?parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}