New HiTechnic blocks for Sin, Cos, and ATan2

January 21st, 2011

Announcing NXT-G blocks to calculate sine, cosine, as well as arctangent! These functions can be useful for advanced navigation or to process the data from sensors such as the Acceleration sensor. Both floating point (for LEGO Mindstorms 2.0 and above only) and integer versions (for all Mindstorms versions but intended for 1.0 users) are available. Read the rest of this entry »

IRLink Single Output Block Available

January 7th, 2011

A new IRLink Power Functions block was recently added to the HiTechnic downloads page which uses a mode known as Single Output Mode. Unlike the other IRLink PF blocks, this block sends a command that is not subject to timeout by the PF controller. This should be useful to anyone who uses the IRLink for controlling PF motors but especially for train folks where it is desirable for the train to keep going even when it goes out of range.
Read the rest of this entry »

Introducing the NEW HiTechnic Magnetic Sensor

September 23rd, 2010

HiTechnic recently released the Magnetic Sensor. This sensor is designed to detect the magnetic field of a magnet and return a value that corresponds to the polarity and strength of the field. In this post I will present a simple program to view the sensor value and give some explanation on what kind of values you can expect from the sensor.
Read the rest of this entry »

Experimenter’s Kit with Java using Lejos

August 16th, 2010

Allan Caine has written on his blog an entry on programming the HiTechnic Experiment’s Kit in Java with Lejos.  You will find a download for interfacing with the HiTechnic Prototype board using Lejos as well as an excellent video tutorial where he goes through one of the experiments from the HiTechnic handbook using Lejos instead of NXC or NXT-G, which are the languages used in the handbook.
Read the rest of this entry »

SMUX NXT-G Blocks Now Available

August 2nd, 2010

Sensor blocks for the LEGO Mindstorms software are now available on the HiTechnic Downloads page that add support for the HiTechnic Sensor Multiplexer (SMUX). In addition to SMUX support, the new HiTechnic Color, Compass, Acceleration, and Gyro sensors also add support for the data logging feature of the Education Edition of the LEGO Mindstorms 2.0 software. There are also blocks available for the LEGO Touch, Light, Sound, and Ultrasonic sensors that make it possible to use these sensors with the SMUX. This post will describe how to use these blocks in your NXT-G programs.
Read the rest of this entry »

HTWay – Bluetooth Version

July 24th, 2010

The HTWay programs, both the NXT-G and the NXC versions, are designed so that the control code and the balance code are separate. This makes it possible to modify the control code without effecting the balance code. Want to add different sensors such as a Light sensor for line tracking or Ultrasonic for obstacle avoidance, then you can do that in the control code without having to worry about the details needed to make the robot balance. This post will show you and example of how that can be done by creating a remote controlled Bluetooth version using a second NXT for the Bluetooth controller. This second NXT features active controls using the NXT motors that will self-center when you let go of them.
Read the rest of this entry »

Using HiTechnic sensors with the LEGO Mindstorms software

July 22nd, 2010

This post will show you how to download and install the HiTechnic Sensor Blocks for use with the LEGO Mindstorms software. It will also give you a brief tutorial on using the sensor blocks as well as how to access the online help from within the LEGO Mindstorms software.
Read the rest of this entry »

HTWay – A Segway type robot

June 11th, 2010

Introducing the HTWay, a Segway type self-balancing robot. This robot uses the HiTechnic Gyro Sensor as well as the HiTechnic IRReceiver. The Gyro sensor is used to maintain balance while the IR Receiver allows it to be controlled with a LEGO Power Functions remote.
Read the rest of this entry »

EOPD – How to measure distance

April 29th, 2010

In this post I will show you how to measure distance with the EOPD sensor. I will explain the math and give you some data and show you how it was analyzed. Equations for calculating distance as well as calibration constants will be presented. Sample code in LEGO Mindstorms NXT-G and NXC. Read the rest of this entry »

HockeyBot – Trike Based IR Seeker Robot

February 25th, 2010

This HiTechnic Trike based project uses the HiTechnic IR Seeker V2 together with the IR Ball to make a Hockey Bot. (Or call it a Soccer bot if you prefer, but as I write this we are in the middle of the 2010 Winter Olympics so I have Hockey on my mind). This robot uses the IR Seeker to locate the IR Ball and drive towards it. When the Ultrasonic sensor detects the ball right in front of it, then it gives it a good slap shot (or kick if like soccer). Read the rest of this entry »