New HiTechnic Prototype Baord
Thursday, November 29th, 2007
HiTechnic released their ‘Prototype board’. The Prototype board is available in two models, one with a prototype grid to solder your designs creating a permanent sensor or device interface and the solderless design that plugs into a solderless breadboard so you can quickly create many designs and reuse your electronic components. They also have a Prototype Kit which includes jumper wires and a breadboard.
What can you do with this? Well, even without exensive knowledge in electronics you can build your own sensors for NXT. The board has 5 analog inputs (i.e. the NXT will read a numeric value proportional to the voltage on these pins) and 6 digital pins which may be inputs (e.g. switchs) or outputs (e.g. LEDs). Also, you have 9v, 4.3v, 5v and 3.3v power supply wires.
Take a look at HiTechnic website for more details.
Posted in hardware, news | Comments Off
Homemade Gramophone NXT
Friday, November 23rd, 2007
In the above video José Pino’s demonstrates how to built a Mindstorms NXT gramophone from a little more then an NXT, a motor, some wheels and a fast food cup. He powered the motor at 25% which makes the vinyl disk to spin approximately 33 1/2 RPM. Very nice!
[Via Hacked Gadgets]
Posted in projects, news | Comments Off
Thanksgiving Discount at mindsensors.com
Tuesday, November 20th, 2007Here’s an email I received from mindsensors.com:
We are offering 30% off Any Purchase.
At website, use coupon code: BLACKFRIDAY
The sale is valid until end of the day on Nov-23-2007
Posted in news | Comments Off
NXT Container Crane
Tuesday, November 20th, 2007
Another nice work from NXTLiftBoy - a container crane, made from a single LEGO Mindstorms NXT set, two long axis, rope and a few centimeters garden or aquarium hose. Read more here.
Posted in projects, news | Comments Off
LEJOS OSEK v. 1.06
Tuesday, November 20th, 2007LEJOS OSEK version 1.06 was just released. LEJOS OSEK is an open source firmware for LEGO MINDSTORMS NXT focused on high speed real-time control applications for the NXT. You can read more and download it here.
A nice feature is the Embedded Coder Robot NXT which allow you to create MATLAB(tm) and Simulink(tm) code (both from the MathWorks company) and compile it into the NXT.
Posted in firmware, news, software | Comments Off
Physics 101
Tuesday, November 20th, 2007
As some already noticed, I have a passion for doing physical experiments using NXT. This time I got hold of the HiTechnic Acceleration sensor. Well, Brian Davis already posted on thenxtstep on some nice measurements in a ride, so I looked for something else. At the end, I decided to measure the centripetal force acting on a rotating body. For those who haven’t studied physics (or finished it too long ago..) any body in a rotating frame of reference experience two forces - Coriolis force and the centripetal force. I will ignore the former since it is too weak, and concentrate on the second term only. The magnitude of the centripetal force is proportional to the square of the angular velocity (i.e. how many rotations per second) and to the distance from the radial distance from the center. The centripetal force points toward the center of rotation. One can read more on the centripetal force here.
The apparatus I built, which is shown above, use two motors to rotate the NXT, the motors and the acceleration sensor inside a solid triangular construction. The frame was built to allow for either horizontal measurement (as seen in the picture) or vertical measurement when connected to a large LEGO board (not yet performed). The code, written in NXT-G, increases the speed (”power” value in Move block) gradually from 30 to 100. At each speed, it rotated for 15 seconds collecting timer, rotation counter and X, Y, Z accelerations into a file. The picture below (click to enlarge) shows the main loop of the code:

Each file contained a long list of numbers, which need to be arranged into a 5 column spreadsheet for the respective measurement. This was done using either Excel or MATLAB (my favorite tool for just about everything..). This already made some problems as I found the NXT, for an unknown reason), cut off some of the last values in some of the files. Nevertheless, I had plenty of measurement points at each speed, and in zero power too (i.e. stationary). The raw data files (the speed is denoted in the filename, e.g. ‘Speed50.txt’ is for motors power 50) can be downloaded here.
What’s next? First I calculated the rotation velocity. To do this, one has to do a numerical derivative of the rotation counter values. Since the intervals between measurements is not always constant (as was observed many times in the past, the NXT pauses for several 10s of ms to store data in it’s non-volatile memory) I divided the rotation counter increment by the timer increment between each two consecutive measurements. The average of this, when taking into consideration gear ratio (8:24 in this setup) and doing some scaling, is the number of degrees the sensor rotates in a second. Next, the average acceleration for each axis was calculated, using data only from the 10′th measurement point onward. This ensured that the jerk experienced when the motors start moving (my code had them stopped and restarted, in retrospect it could’ve been done better..) is removed from the analysis.
Finally, I plot the average and standard deviation of each acceleration component, as a function of rotation velocity:

What do we see? Well, I don’t quite understand it myself… The HiTechnic sensor has it’s three axes oriented as shown in the picture below (taken from HiTechnic website):

Thus, the Y direction points down (toward the center of Earth) in my setup. When there is no motion, it reads about 200 (which is equal to 1 g or 10 m/s^2). This is the correct magnitude, although the I expected the opposite sign (HiTechnic: is there an error in the direction of the Y axis in this diagram?). However, when the NXT starts spinning there is a pronounced decrease in the Y component. This I cannot explain. The X component is about zero, which makes perfect sense, and the Z component (which I expected to be the centripetal force) does indeed increase non-linearly with velocity (more detailed analysis will be published in the future, once I understand the Y axis behavior).
I’ll be happy to get your comments and answer questions in this forum topic. If anyone understands what happened in the Y axis - I’ll be happy to hear it!
Guy Ziv
Posted in news | Comments Off
NXTCam Follower
Monday, November 19th, 2007Check out NXTCam Follower by Mark R. It uses the new mindsensors NXTCam sensor to keep a ball at a set distance from the robot. Mark has posted his programs on the NXTCam Wiki. Nice work!
Posted in development, news | Comments Off
Taito Space Invaders
Sunday, November 18th, 2007
Antonio Scarfone created this arcade game for the NXT, adapted from an original Commodore 64 game. It uses NXC and the Enhanced NXT Firmware by John Hansen.
Amazing!
Posted in projects, news | Comments Off
Comparison of Programming Environments for NXT
Tuesday, November 13th, 2007The winter issue of Robot magazine contains a comparison of the various programming solutions for the NXT. It’s available online at http://www.botmag.com/articles/10-31-07_NXT.shtml. The comparison includes implementation of a simple line following program using the different programming languages including screenshots from the different environments. [Note: I wrote the article and also helped author ROBOTC].
Another NXT programming language discussion was justed posted on the Wired magazine web site at http://blog.wired.com/geekdad/2007/11/the-best-progra.html. Chris Anderson of Wired has been using his NXT to control his UAV — Unmanned Aerial Vehicle — and has tried many of the programming environments. For more on his airplane, see the videos at http://diydrones.com/video/video/show?id=705844:Video:43
Posted in development, news, software, Programming, Reviews | No Comments »
NXT Fireworks Igniter
Wednesday, November 7th, 2007
To celebrate Guy Fawkes day safely, BlueToothKiwi prepared an autonomous NXT to lit multiple fireworks. Nice work!