ROBOTC.net Blog  

ROBOTC News

Archive for the ‘nxt’ tag

ROBOTC for Beginners

with 8 comments

We are working on making ROBOTC simpler and more beginner friendly! Here is our documentation for some new, simplified functions.  Each function can be used both with and without parameters!  (Everything is designed to work for the default REMBOT, but is customizable through parameters for more advanced users.)

Take a look and let us know what you think!

http://www.robotc.net/support/nxt/ROBOTC-for-Beginners/

NOTE: we have not yet released this version of ROBOTC to the public.

Written by bfeher

November 24th, 2010 at 4:04 pm

Posted in NXT

Tagged with , , , , ,

Ringtone converter for ROBOTC

with one comment

Thanks to Shep from our forums for providing us information about his very cool project!

Submitted by Shep:

—————————————————————————————–

If you like to play music on your NXT, if you use RobotC and have access to Microsoft Excel, have I got a deal for you!

I have created an Excel spreadsheet that will very easily convert RTTTL (Ring Tone Text Transfer Language) ringtones into RobotC code with very little effort. RTTTL ringtones are the original ringtones that were just beeps and tones.

The Excel file contains over 300 ringtones ready to convert just by selecting which one you want and then putting the code into your file. You can also add your own ringtones that you may already have or have found on the ‘net. I have found thousands of free ringtones. It will only work with RTTTL format files and RobotC.

Some of the files need considerable tempo adjusting to sound right, so I have added a way to adjust the tempo of the music.

Here is a sample of the output of the file: (yes, this code works, try it out!)

nxtDisplayCenteredTextLine(0, “Star Wars”);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(929, 83); while(bSoundActive);
PlayTone(1401, 83); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1054, 55); while(bSoundActive);
wait1Msec(280);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(929, 83); while(bSoundActive);
PlayTone(1401, 83); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1054, 55); while(bSoundActive);

I don’t have a site for downloading, so all you’ll have to do is send me an email at Tinkernology_at_yahoo_dot_com requesting the converter and I will reply with the Excel file along with a RobotC file I created with 42 songs already converted and ready to play for your use. That’s almost 10 minutes of music ready to play.

And if you are an Excel Junkie like me, you will enjoy tearing this file apart. I spent many hours working on it.

Rock On!

—————————————————————————————–

Source: http://tinkernology.blogspot.com/2010/07/ringtone-converter-for-robotc.html

Written by Vu Nguyen

September 7th, 2010 at 9:29 pm

Posted in Cool projects,NXT

Tagged with

Agriculture robot: TETRIX Field Robot

without comments

Here’s a video of a TETRIX robot running through a small farm. The robot uses its sensors to make sure that it’s running along the lines correctly.

This was submitted by T.N.T. of our forums. Thanks T.N.T.!


YouTube Direct Link 

Written by Vu Nguyen

August 25th, 2010 at 5:16 pm

Posted in Cool projects,FTC,NXT

Tagged with ,

Shooter robot using the NXTCam v3

without comments


YouTube Direct Link 

The description below is from DRV47 from our forums. Thanks for the post!

This is our first project using the NXTcam v3 frommindsensors.com.

The aim of this bot is to find and shoot down three red targets. It’s programmed with RobotC.

The design is the Multi-Bot by Dave Parker from nxtprograms.com (except for the NXTcam module and the LEGO Color Sensor).

Here are some pictures of the robot:

Image

Image

Image

Image

Image

Image

Image

The robot searches and detects red targets made out of LEGOs, it then moves into position as follows:

- It aims at the center of the target

- It moves forward or backward until the height of the target is right.

If the robot hits anything with the two bumpers, it will move out of the way. The robot will turn on a different LED on the Color Sensor depending on the situation:

-Green while searching.

-Blue while aiming.

-Red while firing (blinking at first).

All comments are welcome and if you wish to contact me, you can send me an e-mail at

duvit47@gmail.com

You can download the source files here.

Written by Vu Nguyen

August 25th, 2010 at 5:11 pm

Posted in Cool projects,NXT

Tagged with

Want to be in the loop? Sign up to our mailing list!

with one comment

Hello fellow ROBOTC fans!

I just created a ROBOTC Mailing list for those of you who like to be in the “in” crowd. :)

Just go to www.robotc.net and type in your Name and Email address on the right side. Subscribe by clicking the “Subscribe” button, unsubscribe by clicking the “unsubscribe” button.

I’ll update you on when a new release or beta version is out. Or if any important information regarding ROBOTC needs to be announced.

Happy programming!

Written by Vu Nguyen

June 30th, 2010 at 2:22 pm

Posted in FTC,General News,NXT,VEX

Tagged with , , ,

FREE ROBOTC download for training, and more!

with 4 comments

ROBOTC available as FREE download for training this summer

ftc

The teams have spoken!
Three out of four teams at the FTC national championships programmed their prize-winning robots with ROBOTC this year.

Thanks to its real-time debugger, optimized code, free online training materials, and large forum support community, ROBOTC is quickly becoming the language of choice for the robotics competition community.

The Robotics Academy supports teams competing in ROBOFEST, the National Robotics Challenge, FTC, and the VEX competition, just to name a few.  And, this summer only, you can train with it for FREE!

Concentrated

Go to ROBOTC for Mindstorms to register to receive a free copy of ROBOTC that you can load onto either your personal computer or a classroom set of computers for training teachers and students to program LEGO and TETRIX robots this summer.

Go to ROBOTC for IFI to register to receive a free copy of ROBOTC to prepare teachers and students to program with VEX and Cortex robots.

Feel free to pass these links on to students, teachers, and hobbyists!


Teacher training at Carnegie Mellon’s Robotics Academy is filling fast!

full_room

Over the last five years over one thousand teachers from across the United States have come to Carnegie Mellon to receive training straight from the experts at the Robotics Academy. Remaining spots are filling fast!

To find out more about these classes, click here!

Can’t make it to Pittsburgh this year? Check out our online summer courses! Each course provides guided instruction with live instructors, using internet voice, video, and screen sharing technology to bring high-quality robotics instruction directly to your home, office, or classroom.

To learn more about our Online Training, click here!

Written by Vu Nguyen

June 9th, 2010 at 9:40 am

Posted in General News,NXT,VEX

Tagged with ,

ROBOTC for Mindstorms 2.16.1 Beta Released – Now with Color Sensor Support!

with one comment

The ROBOTC dev team has worked hard to push this new release out. If you didn’t see in the title, this release supports the Color Sensor!

Click here to go to the download page, Under the BETA releases

See below for the list of changes…

Changelog:

  • Version 2.16.1 Bug Fixes:
    • Invalid switch case statement was preventing NXT from downloading – Fixed.
    • Breakpoint from v810 firmware removed, firmware up-issued to v811.
    • Typo in preferences fixed.
    • Deactivate License feature re-enabled.
  • Bug Fixes:
    • Preserve platform type when registry information is deleted.
    • Improve code allocation of temporary variables.
    • Add “unsigned” qualifier to eliminate compiler warning.
    • Add “default” clause to switch statement.
    • “sgn” opcode for ‘float’ parameter was incorrectly checking the ‘short’ result to see if it was a ‘float’ NAN (Not A Number). This check should only be performed when the function return is a float variable. This issue has been fixed
    • Generate error message if “motor and sensors setup” pragma declaration not found as first lines of program. Some users had these statements elsewhere and problems were occuring.
    • Status tool bar now displays the “port number” or “NXT name” of connected robot. Previously the field was “===========”
    • Vertical scroll was not being hidden when screen was expanded large enough to fit complete file. This problem has been fixed.
  • Enhancements:
    • Added support for LEGO Color Sensor and LEGO I2C Temperature Sensor.

Written by Vu Nguyen

May 27th, 2010 at 5:05 pm

Posted in General News,NXT,Releases

Tagged with

Liquid Handling Robot

with one comment

Mike Barnkob posted a really nice project on the ROBOTC forums;  a liquid handling robot.  I am sure you’ve seen them on most CSI shows; not like this one, however.  As you can see from the picture, it’s a fairly large contraption.  For additional coolness, he made use of the Firgelli Linear Actuators. The motors are controlled by using two NXTs that communicate through BlueTooth.

Mike’s written a rather nice project journal of sorts where he kept track of his project’s progress.  You can read it here: [LINK].  There are plenty of videos and source code snippets to illustrate how it was all put together.

A job well done, I’d say!


YouTube Direct Link 

Written by Xander Soldaat

May 1st, 2010 at 2:42 pm

Posted in Cool projects,NXT

Tagged with

Autonomous can collecting robot

with 3 comments


YouTube Direct Link 

“Teemune” from the forums contributed this cool robot participating in a competition. The robot collects cans in a checkered board. Here’s a description of the competition:

The robot automatically arranges cans on the grid to a chosen corner, also the colors of the can and the tile need to match. In the beginning the cans are in random order. We used RobotC to program the robot.

Here’s a video of the competition:


YouTube Direct Link 

Written by Vu Nguyen

April 28th, 2010 at 10:37 am

Posted in Cool projects,NXT

Tagged with

ROBOTC 2.x Network Drivers have been updated (All platforms)

without comments

Hi all,

Just letting you know that the Network Driver files have been updated for all platforms (NXT & VEX). This is  for those of you who are in charge of installing ROBOTC onto workstations that run from a centralized network location.

For single user license users who run from their personal laptops/computers, this doesn’t apply to you so don’t worry about downloading them. In fact, I’d advise you not to! :)

Thanks to all for continuing to support us

Written by Vu Nguyen

April 26th, 2010 at 2:52 pm

Posted in General News,NXT,Releases,VEX

Tagged with , ,