Archive for the ‘EOPD Sensor’ Category

EOPD – How to measure distance

Thursday, 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. (more…)

WallBot – NXC Version

Wednesday, February 10th, 2010

Here is an NXC version of the HiTechnic WallBot. This program is essentially the same as the NXT-G program from the previous post except it does add one small improvement. This version displays on the NXT screen information such as the raw EOPD value, the processed steering value, and the power that is being used for the two motors. (more…)

WallBot – an EOPD Based Wall Follower

Tuesday, February 2nd, 2010

The WallBot is wall follower that uses a HiTechnic EOPD sensor to track the wall on the right side of the robot and an Ultrasonic Sensor to detect inside corners.  The robot is based on the new HiTechnic Trike Base.  In this article the program is in the LEGO Mindstorms NXT-G programming language.  Future articles will demonstrate the WallBot in other languages too. (more…)