Archive

Archive for the ‘Information’ Category

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.

http://cepstral.com/demos/

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.

http://bricxcc.sourceforge.net/utilities.html

Now your robot can say anything you want.

Advertisements
Categories: Information Tags: , , ,

Code Downloads Fixed!

December 30, 2010 Leave a comment

I moved the code files to another service that is much easier for me to control.  The main framework code and the featured robot code in the following page should give you a good start.

My Framework Code

Thank you for your patience.

My NXTCam v3 arrived last week!

September 8, 2010 Leave a comment

image

I started working on a new set of projects last week.  I have been dreaming about the Mindsensors NXTCam for a very long time and now I finally have one.  I thought I would kick this thread off by outlining some of the more obvious possibilities that are available when your robot is equipped with this FANTASTIC sensor!

I can’t wait to start building and programming.  Thank you Mindsensors!

  • Sorting objects by color
  • Finding a ball or balls and pursue it if it moves
  • Determine distance from a known object like a ball
  • Maintain a certain distance from an object
  • Use colored beacons for navigation around a room
  • Aim a turret at an object and track it side to side and up and down
  • Sequence by object color (Ex. find a red ball, then yellow ball, etc…)
  • Use the NXTCam as a range finder using a laser guide
  • Create a docking station and guide the robot in by “sight”
  • Follow a line, make decisions at markers, make decisions at forks and crossings

Many people have done some really cool things with the NXTCam too…  I will post some of the interesting stuff at a later date.

My first order of business is to try to understand how this sensor works and reviewing and extending a driver to make programming easier.  There is a lot of documentation to look at.  This sensor allows you to customize the firmware as well, but my initial review is that it might be best to leave that to the professionals.  We will see.

Categories: Information Tags: , ,

More fun with Math – Boolean Functions

August 6, 2010 1 comment

This is a quick post about some more math functions I found that might be useful.

I found a reference on the net that defined some boolean functions.  I added these to may math utility libary (just in case) and tested them.

image

OR, AND & NOT are already implemented in RobotC, but I included them because the math and logic to get the correct answer is kind of cool. 

Let me know what you think.

(I added a couple more boolean functions to the list tonight…

Precision Robot Turning – Baby Steps

July 28, 2010 Leave a comment

Have you ever tried searching for something on the Internet and been left with a feeling that you must be the only one out there who does not know how to do something?  I have!  I decided to pursue precision turning with my robot, but tried to find out how to do it.  It sounds simple… but there was very little information out there to help me understand how to do it.  I wanted to be able to make a robot turn 90 degrees, or any other random angle.

Turns out, that turning a robot (with Math) is not too difficult, but also very complicated at the same time.  I will follow up with the theory later, but wanted to post a working program first.  This code allows you to set an angle, radius, and speed to turn a differential drive robot.

Read more…

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…

Code Downloads FIXED

April 5, 2010 Leave a comment

I guess when you don’t keep up with your services, they change on you.  My links to download framework and robot code were corrected today in the “My Framework Code” pages.  Sorry for any confusion this may have caused.

Let me know what you think of the framework, and definitely let me know if you make modifications and improvements.

Thanks.
Thom

Categories: Information