Posts Tagged ‘NXT’

Making Your Robot Talk–Custom Voices

April 15, 2011 Leave a comment

I was recently playing with the Lego Color sensor and decided to experiment with sound files to identify the colors it detected.  I don’t have the NXT 2.0 set (I am assuming it comes with sound files for each color), so I researched the internet for a solution.

I was looking for an application like “voice of sam” (I am dating myself) and found something cooler.  Several sites have voice synthesizers you can demo.  I found the Cepstral site the easiest to use and with the most options.

You basically type in the words you want to hear, select a voice, rate, pitch, and effect and it plays.  This site also lets you save your creation to a local drive.  Cool.  So I typed in the word for a color, selected some options and WOW.  Robot voices!  They even have effects like “Old Robot” and “Dizzy Droid” and “Liquid Love”.  Making the words/voices was so easy.  The hard part is finding the right settings from so many options.

Anyway, once you save your voices to the local drive, use Wav2RSO to convert the voices into NXT sound files.  I think the NXT 2.0 software has this built in.  You can find it here.

Now your robot can say anything you want.

Categories: Information Tags: , , ,

Fun with Math – Returning plus or minus a Value

April 11, 2010 Leave a comment

Have you ever wanted to add or subtract a number from another at random?  This might come in handy when programming a robot to add randomness to otherwise predictable movement or decision making.  I checked out the web to see what the math world had done to help out.

I found a cool formula:

n = n + 2f(random(1) – 0.5)

Read more…

Behavior-Based Robot Framework 3.0

April 11, 2010 1 comment

I released a new version of my behavior-based robot framework today.  It includes inhibit and enable functionality.  Let me know what you think.

Download it here: Behavior-Based Robot Framework 3.0

I included a sample robot that extends the basic CRUISE robot by adding a new behavior SPIN that periodically inhibits CRUISE and takes control. 

Read more…

Puckbot I – Collector Robot Success!

July 18, 2009 1 comment

The collector is a more complex robot building on concepts learns from AreaBot.  The robot covers are much area of a closed arena as possible collecting Mindstorms NXT foam pucks, and delivering them to a central home base (light source).  The following represents the sensors, drivers, and behavior hierarchy to accomplish the task.


See all of the collector robot articles here.
Download the Code: Download:
See the video here.

Read more…

Bumpers and Light – Combining Sensors into One Port

July 14, 2009 Leave a comment

TFR_20090713_0694_thumb.jpgSome of you may have noticed that my Collector Robot has more than two light sensors hanging off the sides…  There is an archaic bumper (design from the original Mindstorms 1.0 kit) and a legacy light sensor buried in the bumper.  There is also a couple of white arched technic pieces under the bumper.

I thought I would go into more detail on this design because the implementation was interesting.  This robot is designed to find and move Lego NXT pucks around.  It does not specifically search for pucks, but happens upon them because it is able to cover all areas of the arena.

Download the driver here: BumpLightCombo.h

Read more…

AreaRover III – Video

July 13, 2009 Leave a comment

Sorry this video took so long to post.  Some time in the past two weeks, my microphone/Windows 7 combination started acting up.  The voice was recorded choppy and awful.  I sounds like two drivers are competing for control of the microphone processing, but I can’t tell for sure.  I guess those are the breaks with release candidate software…

Any way, here is the missing video.

Read more…

AreaRover – Adding Wall Following with the Lego Ultrasonic Sensor

June 25, 2009 3 comments

Building on our behavior-based programming concepts

I thought I better start building more robots to supportTFR_20090624_0340 my articles on behavior-based programming.  The world loves examples and there are very few in this area, if any for the Mindstorms robots.  This robot is a natural progression from the BumperBot.  It is called AreaRover (clever names!).

AreaRover’s job is to bounce around a closed area and cover as much ground as possible in the least amount of time.  In order to accomplish this task, I started with the BumperBot, and added a Lego Ultrasonic sensor on the left side of the robot facing sideways.  I then added a new behavior that triggers if a wall is in range helping the robot to follow walls for a period of time.

Download Program:
See the Video:

Read more…